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
642 SIM_FRV_TRAPDUMP_FLAGS
653 SIM_ENABLE_IGEN_FALSE
655 SIM_ENABLE_ARCH_v850_FALSE
656 SIM_ENABLE_ARCH_v850_TRUE
657 SIM_ENABLE_ARCH_erc32_FALSE
658 SIM_ENABLE_ARCH_erc32_TRUE
659 SIM_ENABLE_ARCH_sh_FALSE
660 SIM_ENABLE_ARCH_sh_TRUE
661 SIM_ENABLE_ARCH_rx_FALSE
662 SIM_ENABLE_ARCH_rx_TRUE
663 SIM_ENABLE_ARCH_rl78_FALSE
664 SIM_ENABLE_ARCH_rl78_TRUE
665 SIM_ENABLE_ARCH_riscv_FALSE
666 SIM_ENABLE_ARCH_riscv_TRUE
667 SIM_ENABLE_ARCH_pru_FALSE
668 SIM_ENABLE_ARCH_pru_TRUE
669 SIM_ENABLE_ARCH_ppc_FALSE
670 SIM_ENABLE_ARCH_ppc_TRUE
671 SIM_ENABLE_ARCH_or1k_FALSE
672 SIM_ENABLE_ARCH_or1k_TRUE
673 SIM_ENABLE_ARCH_msp430_FALSE
674 SIM_ENABLE_ARCH_msp430_TRUE
675 SIM_ENABLE_ARCH_moxie_FALSE
676 SIM_ENABLE_ARCH_moxie_TRUE
677 SIM_ENABLE_ARCH_mn10300_FALSE
678 SIM_ENABLE_ARCH_mn10300_TRUE
679 SIM_ENABLE_ARCH_mips_FALSE
680 SIM_ENABLE_ARCH_mips_TRUE
681 SIM_ENABLE_ARCH_microblaze_FALSE
682 SIM_ENABLE_ARCH_microblaze_TRUE
683 SIM_ENABLE_ARCH_mcore_FALSE
684 SIM_ENABLE_ARCH_mcore_TRUE
685 SIM_ENABLE_ARCH_m68hc11_FALSE
686 SIM_ENABLE_ARCH_m68hc11_TRUE
687 SIM_ENABLE_ARCH_m32r_FALSE
688 SIM_ENABLE_ARCH_m32r_TRUE
689 SIM_ENABLE_ARCH_m32c_FALSE
690 SIM_ENABLE_ARCH_m32c_TRUE
691 SIM_ENABLE_ARCH_lm32_FALSE
692 SIM_ENABLE_ARCH_lm32_TRUE
693 SIM_ENABLE_ARCH_iq2000_FALSE
694 SIM_ENABLE_ARCH_iq2000_TRUE
695 SIM_ENABLE_ARCH_h8300_FALSE
696 SIM_ENABLE_ARCH_h8300_TRUE
697 SIM_ENABLE_ARCH_ft32_FALSE
698 SIM_ENABLE_ARCH_ft32_TRUE
699 SIM_ENABLE_ARCH_frv_FALSE
700 SIM_ENABLE_ARCH_frv_TRUE
701 SIM_ENABLE_ARCH_d10v_FALSE
702 SIM_ENABLE_ARCH_d10v_TRUE
703 SIM_ENABLE_ARCH_cris_FALSE
704 SIM_ENABLE_ARCH_cris_TRUE
705 SIM_ENABLE_ARCH_cr16_FALSE
706 SIM_ENABLE_ARCH_cr16_TRUE
707 SIM_ENABLE_ARCH_bpf_FALSE
708 SIM_ENABLE_ARCH_bpf_TRUE
710 SIM_ENABLE_ARCH_bfin_FALSE
711 SIM_ENABLE_ARCH_bfin_TRUE
712 SIM_ENABLE_ARCH_avr_FALSE
713 SIM_ENABLE_ARCH_avr_TRUE
714 SIM_ENABLE_ARCH_arm_FALSE
715 SIM_ENABLE_ARCH_arm_TRUE
716 SIM_ENABLE_ARCH_aarch64_FALSE
717 SIM_ENABLE_ARCH_aarch64_TRUE
718 SIM_COMMON_BUILD_FALSE
719 SIM_COMMON_BUILD_TRUE
743 INSTALL_STRIP_PROGRAM
755 MAINTAINER_MODE_FALSE
863 program_transform_name
878 enable_option_checking
889 enable_maintainer_mode
890 enable_dependency_tracking
900 enable_sim_environment
904 enable_sim_reserved_bits
909 enable_build_warnings
910 enable_sim_build_warnings
911 enable_sim_frv_trapdump
912 enable_sim_rx_cycle_accurate
914 ac_precious_vars
='build_alias
936 # Initialize some variables set by options.
938 ac_init_version
=false
939 ac_unrecognized_opts
=
941 # The variables have the same names as the options, with
942 # dashes changed to underlines.
950 program_transform_name
=s
,x
,x
,
958 # Installation directory options.
959 # These are left unexpanded so users can "make install exec_prefix=/foo"
960 # and all the variables that are supposed to be based on exec_prefix
961 # by default will actually change.
962 # Use braces instead of parens because sh, perl, etc. also accept them.
963 # (The list follows the same order as the GNU Coding Standards.)
964 bindir
='${exec_prefix}/bin'
965 sbindir
='${exec_prefix}/sbin'
966 libexecdir
='${exec_prefix}/libexec'
967 datarootdir
='${prefix}/share'
968 datadir
='${datarootdir}'
969 sysconfdir
='${prefix}/etc'
970 sharedstatedir
='${prefix}/com'
971 localstatedir
='${prefix}/var'
972 includedir
='${prefix}/include'
973 oldincludedir
='/usr/include'
974 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
975 infodir
='${datarootdir}/info'
980 libdir
='${exec_prefix}/lib'
981 localedir
='${datarootdir}/locale'
982 mandir
='${datarootdir}/man'
988 # If the previous option needs an argument, assign it.
989 if test -n "$ac_prev"; then
990 eval $ac_prev=\
$ac_option
996 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1001 # Accept the important Cygnus configure options, so we can diagnose typos.
1003 case $ac_dashdash$ac_option in
1007 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1009 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1010 bindir
=$ac_optarg ;;
1012 -build |
--build |
--buil |
--bui |
--bu)
1013 ac_prev
=build_alias
;;
1014 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1015 build_alias
=$ac_optarg ;;
1017 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1018 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1019 ac_prev
=cache_file
;;
1020 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1021 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1022 cache_file
=$ac_optarg ;;
1024 --config-cache |
-C)
1025 cache_file
=config.cache
;;
1027 -datadir |
--datadir |
--datadi |
--datad)
1029 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1030 datadir
=$ac_optarg ;;
1032 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1033 |
--dataroo |
--dataro |
--datar)
1034 ac_prev
=datarootdir
;;
1035 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1036 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1037 datarootdir
=$ac_optarg ;;
1039 -disable-* |
--disable-*)
1040 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1041 # Reject names that are not valid shell variable names.
1042 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1043 as_fn_error $?
"invalid feature name: $ac_useropt"
1044 ac_useropt_orig
=$ac_useropt
1045 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1046 case $ac_user_opts in
1048 "enable_
$ac_useropt"
1050 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1051 ac_unrecognized_sep
=', ';;
1053 eval enable_
$ac_useropt=no
;;
1055 -docdir |
--docdir |
--docdi |
--doc |
--do)
1057 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1058 docdir
=$ac_optarg ;;
1060 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1062 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1063 dvidir
=$ac_optarg ;;
1065 -enable-* |
--enable-*)
1066 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1067 # Reject names that are not valid shell variable names.
1068 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1069 as_fn_error $?
"invalid feature name: $ac_useropt"
1070 ac_useropt_orig
=$ac_useropt
1071 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1072 case $ac_user_opts in
1074 "enable_
$ac_useropt"
1076 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1077 ac_unrecognized_sep
=', ';;
1079 eval enable_
$ac_useropt=\
$ac_optarg ;;
1081 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1082 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1083 |
--exec |
--exe |
--ex)
1084 ac_prev
=exec_prefix
;;
1085 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1086 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1087 |
--exec=* |
--exe=* |
--ex=*)
1088 exec_prefix
=$ac_optarg ;;
1090 -gas |
--gas |
--ga |
--g)
1091 # Obsolete; use --with-gas.
1094 -help |
--help |
--hel |
--he |
-h)
1095 ac_init_help
=long
;;
1096 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1097 ac_init_help
=recursive
;;
1098 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1099 ac_init_help
=short
;;
1101 -host |
--host |
--hos |
--ho)
1102 ac_prev
=host_alias
;;
1103 -host=* |
--host=* |
--hos=* |
--ho=*)
1104 host_alias
=$ac_optarg ;;
1106 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1108 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1110 htmldir
=$ac_optarg ;;
1112 -includedir |
--includedir |
--includedi |
--included |
--include \
1113 |
--includ |
--inclu |
--incl |
--inc)
1114 ac_prev
=includedir
;;
1115 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1116 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1117 includedir
=$ac_optarg ;;
1119 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1121 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1122 infodir
=$ac_optarg ;;
1124 -libdir |
--libdir |
--libdi |
--libd)
1126 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1127 libdir
=$ac_optarg ;;
1129 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1130 |
--libexe |
--libex |
--libe)
1131 ac_prev
=libexecdir
;;
1132 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1133 |
--libexe=* |
--libex=* |
--libe=*)
1134 libexecdir
=$ac_optarg ;;
1136 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1137 ac_prev
=localedir
;;
1138 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1139 localedir
=$ac_optarg ;;
1141 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1142 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1143 ac_prev
=localstatedir
;;
1144 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1145 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1146 localstatedir
=$ac_optarg ;;
1148 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1150 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1151 mandir
=$ac_optarg ;;
1153 -nfp |
--nfp |
--nf)
1154 # Obsolete; use --without-fp.
1157 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1158 |
--no-cr |
--no-c |
-n)
1161 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1162 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1165 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1166 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1167 |
--oldin |
--oldi |
--old |
--ol |
--o)
1168 ac_prev
=oldincludedir
;;
1169 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1170 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1171 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1172 oldincludedir
=$ac_optarg ;;
1174 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1176 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1177 prefix
=$ac_optarg ;;
1179 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1180 |
--program-pre |
--program-pr |
--program-p)
1181 ac_prev
=program_prefix
;;
1182 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1183 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1184 program_prefix
=$ac_optarg ;;
1186 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1187 |
--program-suf |
--program-su |
--program-s)
1188 ac_prev
=program_suffix
;;
1189 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1190 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1191 program_suffix
=$ac_optarg ;;
1193 -program-transform-name |
--program-transform-name \
1194 |
--program-transform-nam |
--program-transform-na \
1195 |
--program-transform-n |
--program-transform- \
1196 |
--program-transform |
--program-transfor \
1197 |
--program-transfo |
--program-transf \
1198 |
--program-trans |
--program-tran \
1199 |
--progr-tra |
--program-tr |
--program-t)
1200 ac_prev
=program_transform_name
;;
1201 -program-transform-name=* |
--program-transform-name=* \
1202 |
--program-transform-nam=* |
--program-transform-na=* \
1203 |
--program-transform-n=* |
--program-transform-=* \
1204 |
--program-transform=* |
--program-transfor=* \
1205 |
--program-transfo=* |
--program-transf=* \
1206 |
--program-trans=* |
--program-tran=* \
1207 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1208 program_transform_name
=$ac_optarg ;;
1210 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1212 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1213 pdfdir
=$ac_optarg ;;
1215 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1217 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1220 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1221 |
-silent |
--silent |
--silen |
--sile |
--sil)
1224 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1226 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1228 sbindir
=$ac_optarg ;;
1230 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1231 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1232 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1234 ac_prev
=sharedstatedir
;;
1235 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1236 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1237 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1239 sharedstatedir
=$ac_optarg ;;
1241 -site |
--site |
--sit)
1243 -site=* |
--site=* |
--sit=*)
1246 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1248 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1249 srcdir
=$ac_optarg ;;
1251 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1252 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1253 ac_prev
=sysconfdir
;;
1254 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1255 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1256 sysconfdir
=$ac_optarg ;;
1258 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1259 ac_prev
=target_alias
;;
1260 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1261 target_alias
=$ac_optarg ;;
1263 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1266 -version |
--version |
--versio |
--versi |
--vers |
-V)
1267 ac_init_version
=: ;;
1270 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1271 # Reject names that are not valid shell variable names.
1272 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1273 as_fn_error $?
"invalid package name: $ac_useropt"
1274 ac_useropt_orig
=$ac_useropt
1275 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1276 case $ac_user_opts in
1280 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1281 ac_unrecognized_sep
=', ';;
1283 eval with_
$ac_useropt=\
$ac_optarg ;;
1285 -without-* |
--without-*)
1286 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1287 # Reject names that are not valid shell variable names.
1288 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1289 as_fn_error $?
"invalid package name: $ac_useropt"
1290 ac_useropt_orig
=$ac_useropt
1291 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1292 case $ac_user_opts in
1296 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1297 ac_unrecognized_sep
=', ';;
1299 eval with_
$ac_useropt=no
;;
1302 # Obsolete; use --with-x.
1305 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1306 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1307 ac_prev
=x_includes
;;
1308 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1309 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1310 x_includes
=$ac_optarg ;;
1312 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1313 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1314 ac_prev
=x_libraries
;;
1315 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1316 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1317 x_libraries
=$ac_optarg ;;
1319 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1320 Try \`$0 --help' for more information"
1324 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1325 # Reject names that are not valid shell variable names.
1326 case $ac_envvar in #(
1327 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1328 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1330 eval $ac_envvar=\
$ac_optarg
1331 export $ac_envvar ;;
1334 # FIXME: should be removed in autoconf 3.0.
1335 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1336 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1337 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1338 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1344 if test -n "$ac_prev"; then
1345 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1346 as_fn_error $?
"missing argument to $ac_option"
1349 if test -n "$ac_unrecognized_opts"; then
1350 case $enable_option_checking in
1352 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1353 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1357 # Check all directory arguments for consistency.
1358 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1359 datadir sysconfdir sharedstatedir localstatedir includedir \
1360 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1361 libdir localedir mandir
1363 eval ac_val
=\$
$ac_var
1364 # Remove trailing slashes.
1367 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1368 eval $ac_var=\
$ac_val;;
1370 # Be sure to have absolute directory names.
1372 [\\/$
]* | ?
:[\\/]* ) continue;;
1373 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1375 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1378 # There might be people who depend on the old broken behavior: `$host'
1379 # used to hold the argument of --host etc.
1380 # FIXME: To remove some day.
1383 target
=$target_alias
1385 # FIXME: To remove some day.
1386 if test "x$host_alias" != x
; then
1387 if test "x$build_alias" = x
; then
1388 cross_compiling
=maybe
1389 elif test "x$build_alias" != "x$host_alias"; then
1395 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1397 test "$silent" = yes && exec 6>/dev
/null
1400 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1401 ac_ls_di
=`ls -di .` &&
1402 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1403 as_fn_error $?
"working directory cannot be determined"
1404 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1405 as_fn_error $?
"pwd does not report name of working directory"
1408 # Find the source files, if location was not specified.
1409 if test -z "$srcdir"; then
1410 ac_srcdir_defaulted
=yes
1411 # Try the directory containing this script, then the parent directory.
1412 ac_confdir
=`$as_dirname -- "$as_myself" ||
1413 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1414 X"$as_myself" : 'X\(//\)[^/]' \| \
1415 X"$as_myself" : 'X\(//\)$' \| \
1416 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1417 $as_echo X"$as_myself" |
1418 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1436 if test ! -r "$srcdir/$ac_unique_file"; then
1440 ac_srcdir_defaulted
=no
1442 if test ! -r "$srcdir/$ac_unique_file"; then
1443 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1444 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1446 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1448 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1450 # When building in place, set srcdir=.
1451 if test "$ac_abs_confdir" = "$ac_pwd"; then
1454 # Remove unnecessary trailing slashes from srcdir.
1455 # Double slashes in file names in object file debugging info
1456 # mess up M-x gdb in Emacs.
1458 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1460 for ac_var
in $ac_precious_vars; do
1461 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1462 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1463 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1464 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1468 # Report the --help message.
1470 if test "$ac_init_help" = "long"; then
1471 # Omit some internal or obsolete options to make the list less imposing.
1472 # This message is too long to be a string in the A/UX 3.1 sh.
1474 \`configure' configures sim 0 to adapt to many kinds of systems.
1476 Usage: $0 [OPTION]... [VAR=VALUE]...
1478 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1479 VAR=VALUE. See below for descriptions of some of the useful variables.
1481 Defaults for the options are specified in brackets.
1484 -h, --help display this help and exit
1485 --help=short display options specific to this package
1486 --help=recursive display the short help of all the included packages
1487 -V, --version display version information and exit
1488 -q, --quiet, --silent do not print \`checking ...' messages
1489 --cache-file=FILE cache test results in FILE [disabled]
1490 -C, --config-cache alias for \`--cache-file=config.cache'
1491 -n, --no-create do not create output files
1492 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1494 Installation directories:
1495 --prefix=PREFIX install architecture-independent files in PREFIX
1496 [$ac_default_prefix]
1497 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1500 By default, \`make install' will install all the files in
1501 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1502 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1503 for instance \`--prefix=\$HOME'.
1505 For better control, use the options below.
1507 Fine tuning of the installation directories:
1508 --bindir=DIR user executables [EPREFIX/bin]
1509 --sbindir=DIR system admin executables [EPREFIX/sbin]
1510 --libexecdir=DIR program executables [EPREFIX/libexec]
1511 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1512 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1513 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1514 --libdir=DIR object code libraries [EPREFIX/lib]
1515 --includedir=DIR C header files [PREFIX/include]
1516 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1517 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1518 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1519 --infodir=DIR info documentation [DATAROOTDIR/info]
1520 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1521 --mandir=DIR man documentation [DATAROOTDIR/man]
1522 --docdir=DIR documentation root [DATAROOTDIR/doc/sim]
1523 --htmldir=DIR html documentation [DOCDIR]
1524 --dvidir=DIR dvi documentation [DOCDIR]
1525 --pdfdir=DIR pdf documentation [DOCDIR]
1526 --psdir=DIR ps documentation [DOCDIR]
1532 --program-prefix=PREFIX prepend PREFIX to installed program names
1533 --program-suffix=SUFFIX append SUFFIX to installed program names
1534 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1537 --build=BUILD configure
for building on BUILD
[guessed
]
1538 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1539 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1543 if test -n "$ac_init_help"; then
1544 case $ac_init_help in
1545 short | recursive
) echo "Configuration of sim 0:";;
1550 --disable-option-checking ignore unrecognized
--enable/--with options
1551 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1552 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1553 --enable-plugins Enable support
for plugins
1554 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1555 --enable-static[=PKGS
] build static libraries
[default
=yes]
1556 --enable-fast-install[=PKGS
]
1557 optimize
for fast installation
[default
=yes]
1558 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1559 --enable-maintainer-mode
1560 enable make rules and dependencies not useful
(and
1561 sometimes confusing
) to the casual installer
1562 --enable-dependency-tracking
1563 do not reject slow dependency extractors
1564 --disable-dependency-tracking
1565 speeds up one-time build
1566 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1567 --disable-silent-rules verbose build output
(undo
: "make V=0")
1568 --enable-sim Enable the GNU simulator
1569 --enable-example-sims enable example GNU simulators
1570 --enable-targets alternative target configurations
1571 --enable-sim-alignment=align
1572 Specify strict
, nonstrict or forced alignment of
1574 --enable-sim-assert Specify whether to perform random assertions
1575 --enable-cgen-maint=DIR build cgen generated files
1576 --enable-sim-debug=opts Enable debugging flags
(for developers of the sim
1578 --enable-sim-endian=endian
1579 Specify target byte endian orientation
1580 --enable-sim-environment=environment
1581 Specify mixed
, user
, virtual or operating
1583 --enable-sim-hardware Whether to
enable hardware
/device simulation
1584 --enable-sim-inline=inlines
1585 Specify
which functions should be inlined
1586 --enable-sim-profile=opts
1587 Enable profiling flags
1588 --enable-sim-reserved-bits
1589 Specify whether to check reserved bits
in
1591 --enable-sim-scache=size
1592 Specify simulator execution cache size
1593 --enable-sim-stdio Specify whether to use stdio
for console
1595 --enable-sim-trace=opts Enable tracing of simulated programs
1596 --enable-werror treat compile warnings as errors
1597 --enable-build-warnings enable build-time compiler warnings
if gcc is used
1598 --enable-sim-build-warnings
1599 enable SIM specific build-time compiler warnings
if
1601 --enable-sim-frv-trapdump
1602 Make unknown traps dump the registers
1603 --disable-sim-rx-cycle-accurate
1604 Disable cycle accurate simulation
(faster runtime
)
1607 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1608 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1609 --with-pkgversion=PKG Use PKG
in the version string
in place of
"SIM"
1610 --with-bugurl=URL Direct users to URL to report a bug
1611 --with-system-zlib use installed libz
1612 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1614 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1616 Some influential environment variables
:
1617 CC C compiler
command
1618 CFLAGS C compiler flags
1619 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1620 nonstandard directory
<lib dir
>
1621 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1622 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1623 you have headers
in a nonstandard directory
<include dir
>
1625 PKG_CONFIG path to pkg-config utility
1627 directories to add to pkg-config
's search path
1629 path overriding pkg-config's built-in search path
1630 SDL_CFLAGS C compiler flags
for SDL
, overriding pkg-config
1631 SDL_LIBS linker flags
for SDL
, overriding pkg-config
1633 Use these variables to override the choices made by
`configure' or to help
1634 it to find libraries and programs with nonstandard names/locations.
1636 Report bugs to <https://sourceware.org/bugzilla/enter_bug.cgi?product=gdb&component=sim>.
1637 sim home page: <https://sourceware.org/gdb/wiki/Sim/>.
1642 if test "$ac_init_help" = "recursive"; then
1643 # If there are subdirs, report their specific --help.
1644 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1645 test -d "$ac_dir" ||
1646 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1651 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1653 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1654 # A ".." for each directory in $ac_dir_suffix.
1655 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1656 case $ac_top_builddir_sub in
1657 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1658 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1661 ac_abs_top_builddir=$ac_pwd
1662 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1663 # for backward compatibility:
1664 ac_top_builddir=$ac_top_build_prefix
1667 .) # We are building in place.
1669 ac_top_srcdir=$ac_top_builddir_sub
1670 ac_abs_top_srcdir=$ac_pwd ;;
1671 [\\/]* | ?:[\\/]* ) # Absolute name.
1672 ac_srcdir=$srcdir$ac_dir_suffix;
1673 ac_top_srcdir=$srcdir
1674 ac_abs_top_srcdir=$srcdir ;;
1676 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1677 ac_top_srcdir=$ac_top_build_prefix$srcdir
1678 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1680 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1682 cd "$ac_dir" || { ac_status=$?; continue; }
1683 # Check for guested configure.
1684 if test -f "$ac_srcdir/configure.gnu"; then
1686 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1687 elif test -f "$ac_srcdir/configure"; then
1689 $SHELL "$ac_srcdir/configure" --help=recursive
1691 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1693 cd "$ac_pwd" || { ac_status=$?; break; }
1697 test -n "$ac_init_help" && exit $ac_status
1698 if $ac_init_version; then
1701 generated by GNU Autoconf 2.69
1703 Copyright (C) 2012 Free Software Foundation, Inc.
1704 This configure script is free software; the Free Software Foundation
1705 gives unlimited permission to copy, distribute and modify it.
1710 ## ------------------------ ##
1711 ## Autoconf initialization. ##
1712 ## ------------------------ ##
1714 # ac_fn_c_try_compile LINENO
1715 # --------------------------
1716 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1717 ac_fn_c_try_compile ()
1719 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1720 rm -f conftest.$ac_objext
1721 if { { ac_try="$ac_compile"
1723 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1724 *) ac_try_echo
=$ac_try;;
1726 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1727 $as_echo "$ac_try_echo"; } >&5
1728 (eval "$ac_compile") 2>conftest.err
1730 if test -s conftest.err
; then
1731 grep -v '^ *+' conftest.err
>conftest.er1
1732 cat conftest.er1
>&5
1733 mv -f conftest.er1 conftest.err
1735 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1736 test $ac_status = 0; } && {
1737 test -z "$ac_c_werror_flag" ||
1738 test ! -s conftest.err
1739 } && test -s conftest.
$ac_objext; then :
1742 $as_echo "$as_me: failed program was:" >&5
1743 sed 's/^/| /' conftest.
$ac_ext >&5
1747 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1748 as_fn_set_status
$ac_retval
1750 } # ac_fn_c_try_compile
1752 # ac_fn_c_try_cpp LINENO
1753 # ----------------------
1754 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1757 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1758 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1760 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1761 *) ac_try_echo=$ac_try;;
1763 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1764 $as_echo "$ac_try_echo"; } >&5
1765 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1767 if test -s conftest.err; then
1768 grep -v '^ *+' conftest.err >conftest.er1
1769 cat conftest.er1 >&5
1770 mv -f conftest.er1 conftest.err
1772 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1773 test $ac_status = 0; } > conftest.i && {
1774 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1775 test ! -s conftest.err
1779 $as_echo "$as_me: failed program was:" >&5
1780 sed 's/^/| /' conftest.$ac_ext >&5
1784 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1785 as_fn_set_status $ac_retval
1789 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1790 # -------------------------------------------------------
1791 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1792 # the include files in INCLUDES and setting the cache variable VAR
1794 ac_fn_c_check_header_mongrel ()
1796 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1797 if eval \${$3+:} false; then :
1798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1799 $as_echo_n "checking for $2... " >&6; }
1800 if eval \${$3+:} false; then :
1801 $as_echo_n "(cached) " >&6
1804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1805 $as_echo "$ac_res" >&6; }
1807 # Is the header compilable?
1808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1809 $as_echo_n "checking $2 usability... " >&6; }
1810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1811 /* end confdefs.h. */
1815 if ac_fn_c_try_compile "$LINENO"; then :
1816 ac_header_compiler=yes
1818 ac_header_compiler=no
1820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1822 $as_echo "$ac_header_compiler" >&6; }
1824 # Is the header present?
1825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1826 $as_echo_n "checking $2 presence... " >&6; }
1827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1828 /* end confdefs.h. */
1831 if ac_fn_c_try_cpp "$LINENO"; then :
1832 ac_header_preproc=yes
1834 ac_header_preproc=no
1836 rm -f conftest.err conftest.i conftest.$ac_ext
1837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1838 $as_echo "$ac_header_preproc" >&6; }
1840 # So? What about this header?
1841 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1843 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1844 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1845 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1846 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1849 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1850 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1851 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1852 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1853 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1854 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1855 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1856 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1857 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1858 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1859 ( $as_echo "## -------------------------------------------------------------------------------------- ##
1860 ## Report this to https://sourceware.org/bugzilla/enter_bug.cgi?product=gdb&component=sim ##
1861 ## -------------------------------------------------------------------------------------- ##"
1862 ) | sed "s/^/$as_me: WARNING: /" >&2
1865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1866 $as_echo_n "checking for $2... " >&6; }
1867 if eval \${$3+:} false; then :
1868 $as_echo_n "(cached) " >&6
1870 eval "$3=\$ac_header_compiler"
1873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1874 $as_echo "$ac_res" >&6; }
1876 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1878 } # ac_fn_c_check_header_mongrel
1880 # ac_fn_c_try_run LINENO
1881 # ----------------------
1882 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1883 # that executables *can* be run.
1886 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1887 if { { ac_try="$ac_link"
1889 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1890 *) ac_try_echo
=$ac_try;;
1892 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1893 $as_echo "$ac_try_echo"; } >&5
1894 (eval "$ac_link") 2>&5
1896 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1897 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1898 { { case "(($ac_try" in
1899 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1900 *) ac_try_echo=$ac_try;;
1902 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1903 $as_echo "$ac_try_echo"; } >&5
1904 (eval "$ac_try") 2>&5
1906 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1907 test $ac_status = 0; }; }; then :
1910 $as_echo "$as_me: program exited with status $ac_status" >&5
1911 $as_echo "$as_me: failed program was:" >&5
1912 sed 's/^/| /' conftest.$ac_ext >&5
1914 ac_retval=$ac_status
1916 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1917 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1918 as_fn_set_status $ac_retval
1922 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1923 # -------------------------------------------------------
1924 # Tests whether HEADER exists and can be compiled using the include files in
1925 # INCLUDES, setting the cache variable VAR accordingly.
1926 ac_fn_c_check_header_compile ()
1928 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1930 $as_echo_n "checking for $2... " >&6; }
1931 if eval \${$3+:} false; then :
1932 $as_echo_n "(cached) " >&6
1934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1935 /* end confdefs.h. */
1939 if ac_fn_c_try_compile "$LINENO"; then :
1944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1948 $as_echo "$ac_res" >&6; }
1949 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1951 } # ac_fn_c_check_header_compile
1953 # ac_fn_c_try_link LINENO
1954 # -----------------------
1955 # Try to link conftest.$ac_ext, and return whether this succeeded.
1958 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1959 rm -f conftest.$ac_objext conftest$ac_exeext
1960 if { { ac_try="$ac_link"
1962 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1963 *) ac_try_echo
=$ac_try;;
1965 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1966 $as_echo "$ac_try_echo"; } >&5
1967 (eval "$ac_link") 2>conftest.err
1969 if test -s conftest.err
; then
1970 grep -v '^ *+' conftest.err
>conftest.er1
1971 cat conftest.er1
>&5
1972 mv -f conftest.er1 conftest.err
1974 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1975 test $ac_status = 0; } && {
1976 test -z "$ac_c_werror_flag" ||
1977 test ! -s conftest.err
1978 } && test -s conftest
$ac_exeext && {
1979 test "$cross_compiling" = yes ||
1980 test -x conftest
$ac_exeext
1984 $as_echo "$as_me: failed program was:" >&5
1985 sed 's/^/| /' conftest.
$ac_ext >&5
1989 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1990 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1991 # interfere with the next link command; also delete a directory that is
1992 # left behind by Apple's compiler. We do this before executing the actions.
1993 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1994 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1995 as_fn_set_status
$ac_retval
1997 } # ac_fn_c_try_link
1999 # ac_fn_c_check_func LINENO FUNC VAR
2000 # ----------------------------------
2001 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2002 ac_fn_c_check_func
()
2004 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2006 $as_echo_n "checking for $2... " >&6; }
2007 if eval \
${$3+:} false
; then :
2008 $as_echo_n "(cached) " >&6
2010 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2011 /* end confdefs.h. */
2012 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2013 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2014 #define $2 innocuous_$2
2016 /* System header to define __stub macros and hopefully few prototypes,
2017 which can conflict with char $2 (); below.
2018 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2019 <limits.h> exists even on freestanding compilers. */
2022 # include <limits.h>
2024 # include <assert.h>
2029 /* Override any GCC internal prototype to avoid an error.
2030 Use char because int might match the return type of a GCC
2031 builtin and then its argument prototype would still apply. */
2036 /* The GNU C library defines this for functions which it implements
2037 to always fail with ENOSYS. Some functions are actually named
2038 something starting with __ and the normal name is an alias. */
2039 #if defined __stub_$2 || defined __stub___$2
2051 if ac_fn_c_try_link
"$LINENO"; then :
2056 rm -f core conftest.err conftest.
$ac_objext \
2057 conftest
$ac_exeext conftest.
$ac_ext
2060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2061 $as_echo "$ac_res" >&6; }
2062 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2064 } # ac_fn_c_check_func
2066 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2067 # ----------------------------------------------------
2068 # Tries to find if the field MEMBER exists in type AGGR, after including
2069 # INCLUDES, setting cache variable VAR accordingly.
2070 ac_fn_c_check_member
()
2072 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2074 $as_echo_n "checking for $2.$3... " >&6; }
2075 if eval \
${$4+:} false
; then :
2076 $as_echo_n "(cached) " >&6
2078 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2079 /* end confdefs.h. */
2091 if ac_fn_c_try_compile
"$LINENO"; then :
2094 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2095 /* end confdefs.h. */
2101 if (sizeof ac_aggr.$3)
2107 if ac_fn_c_try_compile
"$LINENO"; then :
2112 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2114 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2118 $as_echo "$ac_res" >&6; }
2119 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2121 } # ac_fn_c_check_member
2123 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2124 # ---------------------------------------------
2125 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2127 ac_fn_c_check_decl
()
2129 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2130 as_decl_name
=`echo $2|sed 's/ *(.*//'`
2131 as_decl_use
=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2133 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2134 if eval \
${$3+:} false
; then :
2135 $as_echo_n "(cached) " >&6
2137 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2138 /* end confdefs.h. */
2143 #ifndef $as_decl_name
2145 (void) $as_decl_use;
2147 (void) $as_decl_name;
2155 if ac_fn_c_try_compile
"$LINENO"; then :
2160 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2164 $as_echo "$ac_res" >&6; }
2165 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2167 } # ac_fn_c_check_decl
2169 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2170 # -------------------------------------------
2171 # Tests whether TYPE exists after having included INCLUDES, setting cache
2172 # variable VAR accordingly.
2173 ac_fn_c_check_type
()
2175 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2177 $as_echo_n "checking for $2... " >&6; }
2178 if eval \
${$3+:} false
; then :
2179 $as_echo_n "(cached) " >&6
2182 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2183 /* end confdefs.h. */
2194 if ac_fn_c_try_compile
"$LINENO"; then :
2195 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2196 /* end confdefs.h. */
2207 if ac_fn_c_try_compile
"$LINENO"; then :
2212 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2214 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2218 $as_echo "$ac_res" >&6; }
2219 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2221 } # ac_fn_c_check_type
2222 cat >config.log
<<_ACEOF
2223 This file contains any messages produced by compilers while
2224 running configure, to aid debugging if configure makes a mistake.
2226 It was created by sim $as_me 0, which was
2227 generated by GNU Autoconf 2.69. Invocation command line was
2239 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2240 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2241 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2242 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2243 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2245 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2246 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2248 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2249 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2250 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2251 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2252 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2253 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2254 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2258 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2262 test -z "$as_dir" && as_dir
=.
2263 $as_echo "PATH: $as_dir"
2279 # Keep a trace of the command line.
2280 # Strip out --no-create and --no-recursion so they do not pile up.
2281 # Strip out --silent because we don't want to record it for future runs.
2282 # Also quote any args containing shell meta-characters.
2283 # Make two passes to allow for proper duplicate-argument suppression.
2287 ac_must_keep_next
=false
2293 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2294 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2295 |
-silent |
--silent |
--silen |
--sile |
--sil)
2298 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2301 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2303 as_fn_append ac_configure_args1
" '$ac_arg'"
2304 if test $ac_must_keep_next = true
; then
2305 ac_must_keep_next
=false
# Got value, back to normal.
2308 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2309 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2310 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2311 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2312 case "$ac_configure_args0 " in
2313 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2316 -* ) ac_must_keep_next
=true
;;
2319 as_fn_append ac_configure_args
" '$ac_arg'"
2324 { ac_configure_args0
=; unset ac_configure_args0
;}
2325 { ac_configure_args1
=; unset ac_configure_args1
;}
2327 # When interrupted or exit'd, cleanup temporary files, and complete
2328 # config.log. We remove comments because anyway the quotes in there
2329 # would cause problems or look ugly.
2330 # WARNING: Use '\'' to represent an apostrophe within the trap.
2331 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2332 trap 'exit_status=$?
2333 # Save into config.log some information that might help in debugging.
2337 $as_echo "## ---------------- ##
2338 ## Cache variables. ##
2339 ## ---------------- ##"
2341 # The following way of writing the cache mishandles newlines in values,
2343 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2344 eval ac_val=\$$ac_var
2348 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2349 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2352 _ | IFS | as_nl) ;; #(
2353 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2354 *) { eval $ac_var=; unset $ac_var;} ;;
2359 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2360 *${as_nl}ac_space=\ *)
2362 "s/'\''/'\''\\\\'\'''\''/g;
2363 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2366 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2373 $as_echo "## ----------------- ##
2374 ## Output variables. ##
2375 ## ----------------- ##"
2377 for ac_var in $ac_subst_vars
2379 eval ac_val=\$$ac_var
2381 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2383 $as_echo "$ac_var='\''$ac_val'\''"
2387 if test -n "$ac_subst_files"; then
2388 $as_echo "## ------------------- ##
2389 ## File substitutions. ##
2390 ## ------------------- ##"
2392 for ac_var
in $ac_subst_files
2394 eval ac_val
=\$
$ac_var
2396 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2398 $as_echo "$ac_var='\''$ac_val'\''"
2403 if test -s confdefs.h; then
2404 $as_echo "## ----------- ##
2411 test "$ac_signal" != 0 &&
2412 $as_echo "$as_me: caught signal $ac_signal"
2413 $as_echo "$as_me: exit $exit_status"
2415 rm -f core *.core core.conftest.* &&
2416 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2419 for ac_signal
in 1 2 13 15; do
2420 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2424 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2425 rm -f -r conftest
* confdefs.h
2427 $as_echo "/* confdefs.h */" > confdefs.h
2429 # Predefined preprocessor variables.
2431 cat >>confdefs.h
<<_ACEOF
2432 #define PACKAGE_NAME "$PACKAGE_NAME"
2435 cat >>confdefs.h
<<_ACEOF
2436 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2439 cat >>confdefs.h
<<_ACEOF
2440 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2443 cat >>confdefs.h
<<_ACEOF
2444 #define PACKAGE_STRING "$PACKAGE_STRING"
2447 cat >>confdefs.h
<<_ACEOF
2448 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2451 cat >>confdefs.h
<<_ACEOF
2452 #define PACKAGE_URL "$PACKAGE_URL"
2456 # Let the site file select an alternate cache file if it wants to.
2457 # Prefer an explicitly selected file to automatically selected ones.
2460 if test -n "$CONFIG_SITE"; then
2461 # We do not want a PATH search for config.site.
2462 case $CONFIG_SITE in #((
2463 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2464 */*) ac_site_file1
=$CONFIG_SITE;;
2465 *) ac_site_file1
=.
/$CONFIG_SITE;;
2467 elif test "x$prefix" != xNONE
; then
2468 ac_site_file1
=$prefix/share
/config.site
2469 ac_site_file2
=$prefix/etc
/config.site
2471 ac_site_file1
=$ac_default_prefix/share
/config.site
2472 ac_site_file2
=$ac_default_prefix/etc
/config.site
2474 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2476 test "x$ac_site_file" = xNONE
&& continue
2477 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2478 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2479 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2480 sed 's/^/| /' "$ac_site_file" >&5
2482 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2483 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2484 as_fn_error $?
"failed to load site script $ac_site_file
2485 See \`config.log' for more details" "$LINENO" 5; }
2489 if test -r "$cache_file"; then
2490 # Some versions of bash will fail to source /dev/null (special files
2491 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2492 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2493 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2494 $as_echo "$as_me: loading cache $cache_file" >&6;}
2496 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2497 *) .
"./$cache_file";;
2501 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2502 $as_echo "$as_me: creating cache $cache_file" >&6;}
2506 as_fn_append ac_header_list
" dlfcn.h"
2507 as_fn_append ac_header_list
" fcntl.h"
2508 as_fn_append ac_header_list
" fpu_control.h"
2509 as_fn_append ac_header_list
" termios.h"
2510 as_fn_append ac_header_list
" unistd.h"
2511 as_fn_append ac_header_list
" utime.h"
2512 as_fn_append ac_header_list
" linux/if_tun.h"
2513 as_fn_append ac_header_list
" linux/mii.h"
2514 as_fn_append ac_header_list
" linux/types.h"
2515 as_fn_append ac_header_list
" net/if.h"
2516 as_fn_append ac_header_list
" netinet/in.h"
2517 as_fn_append ac_header_list
" netinet/tcp.h"
2518 as_fn_append ac_header_list
" sys/ioctl.h"
2519 as_fn_append ac_header_list
" sys/mman.h"
2520 as_fn_append ac_header_list
" sys/mount.h"
2521 as_fn_append ac_header_list
" sys/param.h"
2522 as_fn_append ac_header_list
" sys/resource.h"
2523 as_fn_append ac_header_list
" sys/socket.h"
2524 as_fn_append ac_header_list
" sys/stat.h"
2525 as_fn_append ac_header_list
" sys/statfs.h"
2526 as_fn_append ac_header_list
" sys/termio.h"
2527 as_fn_append ac_header_list
" sys/termios.h"
2528 as_fn_append ac_header_list
" sys/types.h"
2529 as_fn_append ac_header_list
" sys/vfs.h"
2530 as_fn_append ac_func_list
" __setfpucw"
2531 as_fn_append ac_func_list
" access"
2532 as_fn_append ac_func_list
" aint"
2533 as_fn_append ac_func_list
" anint"
2534 as_fn_append ac_func_list
" cfgetispeed"
2535 as_fn_append ac_func_list
" cfgetospeed"
2536 as_fn_append ac_func_list
" cfsetispeed"
2537 as_fn_append ac_func_list
" cfsetospeed"
2538 as_fn_append ac_func_list
" chdir"
2539 as_fn_append ac_func_list
" chmod"
2540 as_fn_append ac_func_list
" dup"
2541 as_fn_append ac_func_list
" dup2"
2542 as_fn_append ac_func_list
" execv"
2543 as_fn_append ac_func_list
" execve"
2544 as_fn_append ac_func_list
" fcntl"
2545 as_fn_append ac_func_list
" fork"
2546 as_fn_append ac_func_list
" fstat"
2547 as_fn_append ac_func_list
" fstatfs"
2548 as_fn_append ac_func_list
" ftruncate"
2549 as_fn_append ac_func_list
" getdirentries"
2550 as_fn_append ac_func_list
" getegid"
2551 as_fn_append ac_func_list
" geteuid"
2552 as_fn_append ac_func_list
" getgid"
2553 as_fn_append ac_func_list
" getpid"
2554 as_fn_append ac_func_list
" getppid"
2555 as_fn_append ac_func_list
" getrusage"
2556 as_fn_append ac_func_list
" gettimeofday"
2557 as_fn_append ac_func_list
" getuid"
2558 as_fn_append ac_func_list
" ioctl"
2559 as_fn_append ac_func_list
" kill"
2560 as_fn_append ac_func_list
" link"
2561 as_fn_append ac_func_list
" lseek"
2562 as_fn_append ac_func_list
" mmap"
2563 as_fn_append ac_func_list
" munmap"
2564 as_fn_append ac_func_list
" pipe"
2565 as_fn_append ac_func_list
" posix_fallocate"
2566 as_fn_append ac_func_list
" pread"
2567 as_fn_append ac_func_list
" rmdir"
2568 as_fn_append ac_func_list
" setregid"
2569 as_fn_append ac_func_list
" setreuid"
2570 as_fn_append ac_func_list
" setgid"
2571 as_fn_append ac_func_list
" setuid"
2572 as_fn_append ac_func_list
" sigaction"
2573 as_fn_append ac_func_list
" sigprocmask"
2574 as_fn_append ac_func_list
" sqrt"
2575 as_fn_append ac_func_list
" stat"
2576 as_fn_append ac_func_list
" strsignal"
2577 as_fn_append ac_func_list
" symlink"
2578 as_fn_append ac_func_list
" tcdrain"
2579 as_fn_append ac_func_list
" tcflow"
2580 as_fn_append ac_func_list
" tcflush"
2581 as_fn_append ac_func_list
" tcgetattr"
2582 as_fn_append ac_func_list
" tcgetpgrp"
2583 as_fn_append ac_func_list
" tcsendbreak"
2584 as_fn_append ac_func_list
" tcsetattr"
2585 as_fn_append ac_func_list
" tcsetpgrp"
2586 as_fn_append ac_func_list
" time"
2587 as_fn_append ac_func_list
" truncate"
2588 as_fn_append ac_func_list
" umask"
2589 as_fn_append ac_func_list
" unlink"
2590 as_fn_append ac_func_list
" utime"
2591 # Check that the precious variables saved in the cache have kept the same
2593 ac_cache_corrupted
=false
2594 for ac_var
in $ac_precious_vars; do
2595 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2596 eval ac_new_set
=\
$ac_env_${ac_var}_set
2597 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2598 eval ac_new_val
=\
$ac_env_${ac_var}_value
2599 case $ac_old_set,$ac_new_set in
2601 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2602 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2603 ac_cache_corrupted
=: ;;
2605 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2606 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2607 ac_cache_corrupted
=: ;;
2610 if test "x$ac_old_val" != "x$ac_new_val"; then
2611 # differences in whitespace do not lead to failure.
2612 ac_old_val_w
=`echo x $ac_old_val`
2613 ac_new_val_w
=`echo x $ac_new_val`
2614 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2615 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2616 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2617 ac_cache_corrupted
=:
2619 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2620 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2621 eval $ac_var=\
$ac_old_val
2623 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2624 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2625 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2626 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2629 # Pass precious variables to config.status.
2630 if test "$ac_new_set" = set; then
2632 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2633 *) ac_arg
=$ac_var=$ac_new_val ;;
2635 case " $ac_configure_args " in
2636 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2637 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2641 if $ac_cache_corrupted; then
2642 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2643 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2644 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2645 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2646 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2648 ## -------------------- ##
2649 ## Main body of script. ##
2650 ## -------------------- ##
2653 ac_cpp
='$CPP $CPPFLAGS'
2654 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2655 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2656 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2665 # Check whether --with-pkgversion was given.
2666 if test "${with_pkgversion+set}" = set; then :
2667 withval
=$with_pkgversion; case "$withval" in
2668 yes) as_fn_error $?
"package version not specified" "$LINENO" 5 ;;
2670 *) PKGVERSION
="($withval) " ;;
2680 cat >>confdefs.h
<<_ACEOF
2681 #define PKGVERSION "$PKGVERSION"
2686 # Check whether --with-bugurl was given.
2687 if test "${with_bugurl+set}" = set; then :
2688 withval
=$with_bugurl; case "$withval" in
2689 yes) as_fn_error $?
"bug URL not specified" "$LINENO" 5 ;;
2692 *) BUGURL
="$withval"
2696 BUGURL
="$PACKAGE_BUGREPORT"
2706 REPORT_BUGS_TO
="<$BUGURL>"
2707 REPORT_BUGS_TEXI
=@uref
{`echo "$BUGURL" | sed 's/@/@@/g'`}
2714 cat >>confdefs.h
<<_ACEOF
2715 #define REPORT_BUGS_TO "$REPORT_BUGS_TO"
2719 ac_config_headers
="$ac_config_headers config.h"
2723 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2724 if test -f "$ac_dir/install-sh"; then
2726 ac_install_sh
="$ac_aux_dir/install-sh -c"
2728 elif test -f "$ac_dir/install.sh"; then
2730 ac_install_sh
="$ac_aux_dir/install.sh -c"
2732 elif test -f "$ac_dir/shtool"; then
2734 ac_install_sh
="$ac_aux_dir/shtool install -c"
2738 if test -z "$ac_aux_dir"; then
2739 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2742 # These three variables are undocumented and unsupported,
2743 # and are intended to be withdrawn in a future Autoconf release.
2744 # They can cause serious problems if a builder's source tree is in a directory
2745 # whose full name contains unusual characters.
2746 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2747 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2748 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2751 # Make sure we can run config.sub.
2752 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2753 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2756 $as_echo_n "checking build system type... " >&6; }
2757 if ${ac_cv_build+:} false
; then :
2758 $as_echo_n "(cached) " >&6
2760 ac_build_alias
=$build_alias
2761 test "x$ac_build_alias" = x
&&
2762 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2763 test "x$ac_build_alias" = x
&&
2764 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2765 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2766 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2770 $as_echo "$ac_cv_build" >&6; }
2771 case $ac_cv_build in
2773 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2776 ac_save_IFS
=$IFS; IFS
='-'
2782 # Remember, the first character of IFS is used to create $*,
2783 # except with old shells:
2786 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2790 $as_echo_n "checking host system type... " >&6; }
2791 if ${ac_cv_host+:} false
; then :
2792 $as_echo_n "(cached) " >&6
2794 if test "x$host_alias" = x
; then
2795 ac_cv_host
=$ac_cv_build
2797 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2798 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2803 $as_echo "$ac_cv_host" >&6; }
2806 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2809 ac_save_IFS
=$IFS; IFS
='-'
2815 # Remember, the first character of IFS is used to create $*,
2816 # except with old shells:
2819 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2823 $as_echo_n "checking target system type... " >&6; }
2824 if ${ac_cv_target+:} false
; then :
2825 $as_echo_n "(cached) " >&6
2827 if test "x$target_alias" = x
; then
2828 ac_cv_target
=$ac_cv_host
2830 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2831 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2836 $as_echo "$ac_cv_target" >&6; }
2837 case $ac_cv_target in
2839 *) as_fn_error $?
"invalid value of canonical target" "$LINENO" 5;;
2841 target
=$ac_cv_target
2842 ac_save_IFS
=$IFS; IFS
='-'
2848 # Remember, the first character of IFS is used to create $*,
2849 # except with old shells:
2852 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2855 # The aliases save the names the user supplied, while $host etc.
2856 # will get canonicalized.
2857 test -n "$target_alias" &&
2858 test "$program_prefix$program_suffix$program_transform_name" = \
2860 program_prefix
=${target_alias}-
2861 # Expand $ac_aux_dir to an absolute path.
2862 am_aux_dir
=`cd "$ac_aux_dir" && pwd`
2865 ac_cpp
='$CPP $CPPFLAGS'
2866 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2867 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2868 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2869 if test -n "$ac_tool_prefix"; then
2870 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2871 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2873 $as_echo_n "checking for $ac_word... " >&6; }
2874 if ${ac_cv_prog_CC+:} false
; then :
2875 $as_echo_n "(cached) " >&6
2877 if test -n "$CC"; then
2878 ac_cv_prog_CC
="$CC" # Let the user override the test.
2880 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2884 test -z "$as_dir" && as_dir
=.
2885 for ac_exec_ext
in '' $ac_executable_extensions; do
2886 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2887 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2888 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2898 if test -n "$CC"; then
2899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2900 $as_echo "$CC" >&6; }
2902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2903 $as_echo "no" >&6; }
2908 if test -z "$ac_cv_prog_CC"; then
2910 # Extract the first word of "gcc", so it can be a program name with args.
2911 set dummy gcc
; ac_word
=$2
2912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2913 $as_echo_n "checking for $ac_word... " >&6; }
2914 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2915 $as_echo_n "(cached) " >&6
2917 if test -n "$ac_ct_CC"; then
2918 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2920 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2924 test -z "$as_dir" && as_dir
=.
2925 for ac_exec_ext
in '' $ac_executable_extensions; do
2926 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2927 ac_cv_prog_ac_ct_CC
="gcc"
2928 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2937 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2938 if test -n "$ac_ct_CC"; then
2939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2940 $as_echo "$ac_ct_CC" >&6; }
2942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2943 $as_echo "no" >&6; }
2946 if test "x$ac_ct_CC" = x
; then
2949 case $cross_compiling:$ac_tool_warned in
2951 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2952 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2953 ac_tool_warned
=yes ;;
2961 if test -z "$CC"; then
2962 if test -n "$ac_tool_prefix"; then
2963 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2964 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2966 $as_echo_n "checking for $ac_word... " >&6; }
2967 if ${ac_cv_prog_CC+:} false
; then :
2968 $as_echo_n "(cached) " >&6
2970 if test -n "$CC"; then
2971 ac_cv_prog_CC
="$CC" # Let the user override the test.
2973 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2977 test -z "$as_dir" && as_dir
=.
2978 for ac_exec_ext
in '' $ac_executable_extensions; do
2979 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2980 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2981 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2991 if test -n "$CC"; then
2992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2993 $as_echo "$CC" >&6; }
2995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2996 $as_echo "no" >&6; }
3002 if test -z "$CC"; then
3003 # Extract the first word of "cc", so it can be a program name with args.
3004 set dummy cc
; ac_word
=$2
3005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3006 $as_echo_n "checking for $ac_word... " >&6; }
3007 if ${ac_cv_prog_CC+:} false
; then :
3008 $as_echo_n "(cached) " >&6
3010 if test -n "$CC"; then
3011 ac_cv_prog_CC
="$CC" # Let the user override the test.
3014 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3018 test -z "$as_dir" && as_dir
=.
3019 for ac_exec_ext
in '' $ac_executable_extensions; do
3020 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3021 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3022 ac_prog_rejected
=yes
3026 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3033 if test $ac_prog_rejected = yes; then
3034 # We found a bogon in the path, so make sure we never use it.
3035 set dummy
$ac_cv_prog_CC
3037 if test $# != 0; then
3038 # We chose a different compiler from the bogus one.
3039 # However, it has the same basename, so the bogon will be chosen
3040 # first if we set CC to just the basename; use the full file name.
3042 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3048 if test -n "$CC"; then
3049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3050 $as_echo "$CC" >&6; }
3052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3053 $as_echo "no" >&6; }
3058 if test -z "$CC"; then
3059 if test -n "$ac_tool_prefix"; then
3060 for ac_prog
in cl.exe
3062 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3063 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3065 $as_echo_n "checking for $ac_word... " >&6; }
3066 if ${ac_cv_prog_CC+:} false
; then :
3067 $as_echo_n "(cached) " >&6
3069 if test -n "$CC"; then
3070 ac_cv_prog_CC
="$CC" # Let the user override the test.
3072 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3076 test -z "$as_dir" && as_dir
=.
3077 for ac_exec_ext
in '' $ac_executable_extensions; do
3078 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3079 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3080 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3090 if test -n "$CC"; then
3091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3092 $as_echo "$CC" >&6; }
3094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3095 $as_echo "no" >&6; }
3099 test -n "$CC" && break
3102 if test -z "$CC"; then
3104 for ac_prog
in cl.exe
3106 # Extract the first word of "$ac_prog", so it can be a program name with args.
3107 set dummy
$ac_prog; ac_word
=$2
3108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3109 $as_echo_n "checking for $ac_word... " >&6; }
3110 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3111 $as_echo_n "(cached) " >&6
3113 if test -n "$ac_ct_CC"; then
3114 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3116 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3120 test -z "$as_dir" && as_dir
=.
3121 for ac_exec_ext
in '' $ac_executable_extensions; do
3122 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3123 ac_cv_prog_ac_ct_CC
="$ac_prog"
3124 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3133 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3134 if test -n "$ac_ct_CC"; then
3135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3136 $as_echo "$ac_ct_CC" >&6; }
3138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3139 $as_echo "no" >&6; }
3143 test -n "$ac_ct_CC" && break
3146 if test "x$ac_ct_CC" = x
; then
3149 case $cross_compiling:$ac_tool_warned in
3151 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3152 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3153 ac_tool_warned
=yes ;;
3162 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3163 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3164 as_fn_error $?
"no acceptable C compiler found in \$PATH
3165 See \`config.log' for more details" "$LINENO" 5; }
3167 # Provide some information about the compiler.
3168 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3171 for ac_option
in --version -v -V -qversion; do
3172 { { ac_try
="$ac_compiler $ac_option >&5"
3174 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3175 *) ac_try_echo=$ac_try;;
3177 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3178 $as_echo "$ac_try_echo"; } >&5
3179 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3181 if test -s conftest.err; then
3183 ... rest of stderr output deleted ...
3184 10q' conftest.err >conftest.er1
3185 cat conftest.er1 >&5
3187 rm -f conftest.er1 conftest.err
3188 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3189 test $ac_status = 0; }
3192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3193 /* end confdefs.h. */
3203 ac_clean_files_save=$ac_clean_files
3204 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3205 # Try to create an executable without -o first, disregard a.out.
3206 # It will help us diagnose broken compilers, and finding out an intuition
3208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3209 $as_echo_n "checking whether the C compiler works... " >&6; }
3210 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3212 # The possible output files:
3213 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3216 for ac_file in $ac_files
3219 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3220 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3225 if { { ac_try="$ac_link_default"
3227 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3228 *) ac_try_echo
=$ac_try;;
3230 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3231 $as_echo "$ac_try_echo"; } >&5
3232 (eval "$ac_link_default") 2>&5
3234 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3235 test $ac_status = 0; }; then :
3236 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3237 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3238 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3239 # so that the user can short-circuit this test for compilers unknown to
3241 for ac_file
in $ac_files ''
3243 test -f "$ac_file" ||
continue
3245 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3248 # We found the default executable, but exeext='' is most
3252 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3254 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3256 # We set ac_cv_exeext here because the later test for it is not
3257 # safe: cross compilers may not add the suffix if given an `-o'
3258 # argument, so we may need to know it at that point already.
3259 # Even if this section looks crufty: it has the advantage of
3266 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3271 if test -z "$ac_file"; then :
3272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3273 $as_echo "no" >&6; }
3274 $as_echo "$as_me: failed program was:" >&5
3275 sed 's/^/| /' conftest.
$ac_ext >&5
3277 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3278 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3279 as_fn_error
77 "C compiler cannot create executables
3280 See \`config.log' for more details" "$LINENO" 5; }
3282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3283 $as_echo "yes" >&6; }
3285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3286 $as_echo_n "checking for C compiler default output file name... " >&6; }
3287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3288 $as_echo "$ac_file" >&6; }
3289 ac_exeext
=$ac_cv_exeext
3291 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3292 ac_clean_files
=$ac_clean_files_save
3293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3294 $as_echo_n "checking for suffix of executables... " >&6; }
3295 if { { ac_try
="$ac_link"
3297 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3298 *) ac_try_echo=$ac_try;;
3300 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3301 $as_echo "$ac_try_echo"; } >&5
3302 (eval "$ac_link") 2>&5
3304 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3305 test $ac_status = 0; }; then :
3306 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3307 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3308 # work properly (i.e., refer to `conftest.exe'), while it won't with
3310 for ac_file
in conftest.exe conftest conftest.
*; do
3311 test -f "$ac_file" ||
continue
3313 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3314 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3320 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3321 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3322 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3323 See \`config.log' for more details" "$LINENO" 5; }
3325 rm -f conftest conftest
$ac_cv_exeext
3326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3327 $as_echo "$ac_cv_exeext" >&6; }
3329 rm -f conftest.
$ac_ext
3330 EXEEXT
=$ac_cv_exeext
3332 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3333 /* end confdefs.h. */
3338 FILE *f = fopen ("conftest.out", "w");
3339 return ferror (f) || fclose (f) != 0;
3345 ac_clean_files
="$ac_clean_files conftest.out"
3346 # Check that the compiler produces executables we can run. If not, either
3347 # the compiler is broken, or we cross compile.
3348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3349 $as_echo_n "checking whether we are cross compiling... " >&6; }
3350 if test "$cross_compiling" != yes; then
3351 { { ac_try
="$ac_link"
3353 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3354 *) ac_try_echo=$ac_try;;
3356 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3357 $as_echo "$ac_try_echo"; } >&5
3358 (eval "$ac_link") 2>&5
3360 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3361 test $ac_status = 0; }
3362 if { ac_try='./conftest$ac_cv_exeext'
3363 { { case "(($ac_try" in
3364 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3365 *) ac_try_echo
=$ac_try;;
3367 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3368 $as_echo "$ac_try_echo"; } >&5
3369 (eval "$ac_try") 2>&5
3371 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3372 test $ac_status = 0; }; }; then
3375 if test "$cross_compiling" = maybe
; then
3378 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3379 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3380 as_fn_error $?
"cannot run C compiled programs.
3381 If you meant to cross compile, use \`--host'.
3382 See \`config.log' for more details" "$LINENO" 5; }
3386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3387 $as_echo "$cross_compiling" >&6; }
3389 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3390 ac_clean_files
=$ac_clean_files_save
3391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3392 $as_echo_n "checking for suffix of object files... " >&6; }
3393 if ${ac_cv_objext+:} false
; then :
3394 $as_echo_n "(cached) " >&6
3396 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3397 /* end confdefs.h. */
3407 rm -f conftest.o conftest.obj
3408 if { { ac_try
="$ac_compile"
3410 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3411 *) ac_try_echo=$ac_try;;
3413 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3414 $as_echo "$ac_try_echo"; } >&5
3415 (eval "$ac_compile") 2>&5
3417 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3418 test $ac_status = 0; }; then :
3419 for ac_file in conftest.o conftest.obj conftest.*; do
3420 test -f "$ac_file" || continue;
3422 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3423 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3428 $as_echo "$as_me: failed program was:" >&5
3429 sed 's/^/| /' conftest.$ac_ext >&5
3431 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3432 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3433 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3434 See \
`config.log' for more details" "$LINENO" 5; }
3436 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3439 $as_echo "$ac_cv_objext" >&6; }
3440 OBJEXT=$ac_cv_objext
3442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3443 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3444 if ${ac_cv_c_compiler_gnu+:} false; then :
3445 $as_echo_n "(cached) " >&6
3447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3448 /* end confdefs.h. */
3461 if ac_fn_c_try_compile "$LINENO"; then :
3466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3467 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3471 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3472 if test $ac_compiler_gnu = yes; then
3477 ac_test_CFLAGS=${CFLAGS+set}
3478 ac_save_CFLAGS=$CFLAGS
3479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3480 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3481 if ${ac_cv_prog_cc_g+:} false; then :
3482 $as_echo_n "(cached) " >&6
3484 ac_save_c_werror_flag=$ac_c_werror_flag
3485 ac_c_werror_flag=yes
3488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3489 /* end confdefs.h. */
3499 if ac_fn_c_try_compile "$LINENO"; then :
3503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3504 /* end confdefs.h. */
3514 if ac_fn_c_try_compile "$LINENO"; then :
3517 ac_c_werror_flag=$ac_save_c_werror_flag
3519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3520 /* end confdefs.h. */
3530 if ac_fn_c_try_compile "$LINENO"; then :
3533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3538 ac_c_werror_flag=$ac_save_c_werror_flag
3540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3541 $as_echo "$ac_cv_prog_cc_g" >&6; }
3542 if test "$ac_test_CFLAGS" = set; then
3543 CFLAGS=$ac_save_CFLAGS
3544 elif test $ac_cv_prog_cc_g = yes; then
3545 if test "$GCC" = yes; then
3551 if test "$GCC" = yes; then
3557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3558 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3559 if ${ac_cv_prog_cc_c89+:} false; then :
3560 $as_echo_n "(cached) " >&6
3562 ac_cv_prog_cc_c89=no
3564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3565 /* end confdefs.h. */
3569 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3570 struct buf { int x; };
3571 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3572 static char *e (p, i)
3578 static char *f (char * (*g) (char **, int), char **p, ...)
3583 s = g (p, va_arg (v,int));
3588 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3589 function prototypes and stuff, but not '\xHH' hex character constants.
3590 These don't provoke an error unfortunately, instead are silently treated
3591 as 'x'. The following induces an error, until -std is added to get
3592 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3593 array size at least. It's necessary to write '\x00'==0 to get something
3594 that's true only with -std. */
3595 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3597 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3598 inside strings and character constants. */
3600 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3602 int test (int i, double x);
3603 struct s1 {int (*f) (int a);};
3604 struct s2 {int (*f) (double a);};
3605 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3611 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3616 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3617 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3619 CC="$ac_save_CC $ac_arg"
3620 if ac_fn_c_try_compile "$LINENO"; then :
3621 ac_cv_prog_cc_c89=$ac_arg
3623 rm -f core conftest.err conftest.$ac_objext
3624 test "x$ac_cv_prog_cc_c89" != "xno" && break
3626 rm -f conftest.$ac_ext
3631 case "x$ac_cv_prog_cc_c89" in
3633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3634 $as_echo "none needed" >&6; } ;;
3636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3637 $as_echo "unsupported" >&6; } ;;
3639 CC="$CC $ac_cv_prog_cc_c89"
3640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3641 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3643 if test "x$ac_cv_prog_cc_c89" != xno; then :
3648 ac_cpp='$CPP $CPPFLAGS'
3649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3654 ac_cpp='$CPP $CPPFLAGS'
3655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3659 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3660 if ${am_cv_prog_cc_c_o+:} false; then :
3661 $as_echo_n "(cached) " >&6
3663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3664 /* end confdefs.h. */
3674 # Make sure it works both with $CC and with simple cc.
3675 # Following AC_PROG_CC_C_O, we do the test twice because some
3676 # compilers refuse to overwrite an existing .o file with -o,
3677 # though they will create one.
3678 am_cv_prog_cc_c_o=yes
3680 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3681 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3684 (exit $ac_status); } \
3685 && test -f conftest2.$ac_objext; then
3688 am_cv_prog_cc_c_o=no
3692 rm -f core conftest*
3695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3696 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3697 if test "$am_cv_prog_cc_c_o" != yes; then
3698 # Losing compiler, so override with the script.
3699 # FIXME: It is wrong to rewrite CC.
3700 # But if we don't then we get into trouble of one sort or another.
3701 # A longer-term fix would be to have automake use am__CC in this case,
3702 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3703 CC="$am_aux_dir/compile $CC"
3706 ac_cpp='$CPP $CPPFLAGS'
3707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3714 ac_cpp='$CPP $CPPFLAGS'
3715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3719 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3720 # On Suns, sometimes $CPP names a directory.
3721 if test -n "$CPP" && test -d "$CPP"; then
3724 if test -z "$CPP"; then
3725 if ${ac_cv_prog_CPP+:} false; then :
3726 $as_echo_n "(cached) " >&6
3728 # Double quotes because CPP needs to be expanded
3729 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3732 for ac_c_preproc_warn_flag in '' yes
3734 # Use a header file that comes with gcc, so configuring glibc
3735 # with a fresh cross-compiler works.
3736 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3737 # <limits.h> exists even on freestanding compilers.
3738 # On the NeXT, cc -E runs the code through the compiler's parser,
3739 # not just through cpp. "Syntax error" is here to catch this case.
3740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3741 /* end confdefs.h. */
3743 # include <limits.h>
3745 # include <assert.h>
3749 if ac_fn_c_try_cpp "$LINENO"; then :
3752 # Broken: fails on valid input.
3755 rm -f conftest.err conftest.i conftest.$ac_ext
3757 # OK, works on sane cases. Now check whether nonexistent headers
3758 # can be detected and how.
3759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3760 /* end confdefs.h. */
3761 #include <ac_nonexistent.h>
3763 if ac_fn_c_try_cpp "$LINENO"; then :
3764 # Broken: success on invalid input.
3767 # Passes both tests.
3771 rm -f conftest.err conftest.i conftest.$ac_ext
3774 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3775 rm -f conftest.i conftest.err conftest.
$ac_ext
3776 if $ac_preproc_ok; then :
3788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3789 $as_echo "$CPP" >&6; }
3791 for ac_c_preproc_warn_flag
in '' yes
3793 # Use a header file that comes with gcc, so configuring glibc
3794 # with a fresh cross-compiler works.
3795 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3796 # <limits.h> exists even on freestanding compilers.
3797 # On the NeXT, cc -E runs the code through the compiler's parser,
3798 # not just through cpp. "Syntax error" is here to catch this case.
3799 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3800 /* end confdefs.h. */
3802 # include <limits.h>
3804 # include <assert.h>
3808 if ac_fn_c_try_cpp
"$LINENO"; then :
3811 # Broken: fails on valid input.
3814 rm -f conftest.err conftest.i conftest.
$ac_ext
3816 # OK, works on sane cases. Now check whether nonexistent headers
3817 # can be detected and how.
3818 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3819 /* end confdefs.h. */
3820 #include <ac_nonexistent.h>
3822 if ac_fn_c_try_cpp
"$LINENO"; then :
3823 # Broken: success on invalid input.
3826 # Passes both tests.
3830 rm -f conftest.err conftest.i conftest.
$ac_ext
3833 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3834 rm -f conftest.i conftest.err conftest.
$ac_ext
3835 if $ac_preproc_ok; then :
3838 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3839 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3840 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
3841 See \`config.log' for more details" "$LINENO" 5; }
3845 ac_cpp
='$CPP $CPPFLAGS'
3846 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3847 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3848 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3852 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3853 if ${ac_cv_path_GREP+:} false
; then :
3854 $as_echo_n "(cached) " >&6
3856 if test -z "$GREP"; then
3857 ac_path_GREP_found
=false
3858 # Loop through the user's path and test for each of PROGNAME-LIST
3859 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3860 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3863 test -z "$as_dir" && as_dir
=.
3864 for ac_prog
in grep ggrep
; do
3865 for ac_exec_ext
in '' $ac_executable_extensions; do
3866 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3867 as_fn_executable_p
"$ac_path_GREP" ||
continue
3868 # Check for GNU ac_path_GREP and select it if it is found.
3869 # Check for GNU $ac_path_GREP
3870 case `"$ac_path_GREP" --version 2>&1` in
3872 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3875 $as_echo_n 0123456789 >"conftest.in"
3878 cat "conftest.in" "conftest.in" >"conftest.tmp"
3879 mv "conftest.tmp" "conftest.in"
3880 cp "conftest.in" "conftest.nl"
3881 $as_echo 'GREP' >> "conftest.nl"
3882 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3883 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3884 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3885 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3886 # Best one so far, save it but keep looking for a better one
3887 ac_cv_path_GREP
="$ac_path_GREP"
3888 ac_path_GREP_max
=$ac_count
3890 # 10*(2^10) chars as input seems more than enough
3891 test $ac_count -gt 10 && break
3893 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3896 $ac_path_GREP_found && break 3
3901 if test -z "$ac_cv_path_GREP"; then
3902 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3905 ac_cv_path_GREP
=$GREP
3909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3910 $as_echo "$ac_cv_path_GREP" >&6; }
3911 GREP
="$ac_cv_path_GREP"
3914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3915 $as_echo_n "checking for egrep... " >&6; }
3916 if ${ac_cv_path_EGREP+:} false
; then :
3917 $as_echo_n "(cached) " >&6
3919 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3920 then ac_cv_path_EGREP
="$GREP -E"
3922 if test -z "$EGREP"; then
3923 ac_path_EGREP_found
=false
3924 # Loop through the user's path and test for each of PROGNAME-LIST
3925 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3926 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3929 test -z "$as_dir" && as_dir
=.
3930 for ac_prog
in egrep; do
3931 for ac_exec_ext
in '' $ac_executable_extensions; do
3932 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3933 as_fn_executable_p
"$ac_path_EGREP" ||
continue
3934 # Check for GNU ac_path_EGREP and select it if it is found.
3935 # Check for GNU $ac_path_EGREP
3936 case `"$ac_path_EGREP" --version 2>&1` in
3938 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3941 $as_echo_n 0123456789 >"conftest.in"
3944 cat "conftest.in" "conftest.in" >"conftest.tmp"
3945 mv "conftest.tmp" "conftest.in"
3946 cp "conftest.in" "conftest.nl"
3947 $as_echo 'EGREP' >> "conftest.nl"
3948 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3949 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3950 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3951 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3952 # Best one so far, save it but keep looking for a better one
3953 ac_cv_path_EGREP
="$ac_path_EGREP"
3954 ac_path_EGREP_max
=$ac_count
3956 # 10*(2^10) chars as input seems more than enough
3957 test $ac_count -gt 10 && break
3959 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3962 $ac_path_EGREP_found && break 3
3967 if test -z "$ac_cv_path_EGREP"; then
3968 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3971 ac_cv_path_EGREP
=$EGREP
3976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3977 $as_echo "$ac_cv_path_EGREP" >&6; }
3978 EGREP
="$ac_cv_path_EGREP"
3981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3982 $as_echo_n "checking for ANSI C header files... " >&6; }
3983 if ${ac_cv_header_stdc+:} false
; then :
3984 $as_echo_n "(cached) " >&6
3986 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3987 /* end confdefs.h. */
4001 if ac_fn_c_try_compile
"$LINENO"; then :
4002 ac_cv_header_stdc
=yes
4004 ac_cv_header_stdc
=no
4006 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4008 if test $ac_cv_header_stdc = yes; then
4009 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4010 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4011 /* end confdefs.h. */
4015 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4016 $EGREP "memchr" >/dev
/null
2>&1; then :
4019 ac_cv_header_stdc
=no
4025 if test $ac_cv_header_stdc = yes; then
4026 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4027 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4028 /* end confdefs.h. */
4032 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4033 $EGREP "free" >/dev
/null
2>&1; then :
4036 ac_cv_header_stdc
=no
4042 if test $ac_cv_header_stdc = yes; then
4043 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4044 if test "$cross_compiling" = yes; then :
4047 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4048 /* end confdefs.h. */
4051 #if ((' ' & 0x0FF) == 0x020)
4052 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4053 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4055 # define ISLOWER(c) \
4056 (('a' <= (c) && (c) <= 'i') \
4057 || ('j' <= (c) && (c) <= 'r') \
4058 || ('s' <= (c) && (c) <= 'z'))
4059 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4062 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4067 for (i = 0; i < 256; i++)
4068 if (XOR (islower (i), ISLOWER (i))
4069 || toupper (i) != TOUPPER (i))
4074 if ac_fn_c_try_run
"$LINENO"; then :
4077 ac_cv_header_stdc
=no
4079 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4080 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4086 $as_echo "$ac_cv_header_stdc" >&6; }
4087 if test $ac_cv_header_stdc = yes; then
4089 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4093 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4094 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4095 inttypes.h stdint.h unistd.h
4097 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4098 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4100 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
4101 cat >>confdefs.h
<<_ACEOF
4102 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4111 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4112 if test "x$ac_cv_header_minix_config_h" = xyes
; then :
4119 if test "$MINIX" = yes; then
4121 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4124 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4127 $as_echo "#define _MINIX 1" >>confdefs.h
4132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4133 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4134 if ${ac_cv_safe_to_define___extensions__+:} false
; then :
4135 $as_echo_n "(cached) " >&6
4137 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4138 /* end confdefs.h. */
4140 # define __EXTENSIONS__ 1
4141 $ac_includes_default
4150 if ac_fn_c_try_compile
"$LINENO"; then :
4151 ac_cv_safe_to_define___extensions__
=yes
4153 ac_cv_safe_to_define___extensions__
=no
4155 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4158 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4159 test $ac_cv_safe_to_define___extensions__ = yes &&
4160 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4162 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4164 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4166 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4168 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4171 test "$program_prefix" != NONE
&&
4172 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
4173 # Use a double $ so make ignores it.
4174 test "$program_suffix" != NONE
&&
4175 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
4176 # Double any \ or $.
4177 # By default was `s,x,x', remove it if useless.
4178 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
4179 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
4181 # Find a good install program. We prefer a C program (faster),
4182 # so one script is as good as another. But avoid the broken or
4183 # incompatible versions:
4184 # SysV /etc/install, /usr/sbin/install
4185 # SunOS /usr/etc/install
4186 # IRIX /sbin/install
4188 # AmigaOS /C/install, which installs bootblocks on floppy discs
4189 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4190 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4191 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4192 # OS/2's system install, which has a completely different semantic
4193 # ./install, which can be erroneously created by make from ./install.sh.
4194 # Reject install programs that cannot install multiple files.
4195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
4196 $as_echo_n "checking for a BSD-compatible install... " >&6; }
4197 if test -z "$INSTALL"; then
4198 if ${ac_cv_path_install+:} false
; then :
4199 $as_echo_n "(cached) " >&6
4201 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4205 test -z "$as_dir" && as_dir
=.
4206 # Account for people who put trailing slashes in PATH elements.
4207 case $as_dir/ in #((
4208 .
/ | .
// |
/[cC
]/* | \
4209 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4210 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
4213 # OSF1 and SCO ODT 3.0 have their own names for install.
4214 # Don't use installbsd from OSF since it installs stuff as root
4216 for ac_prog
in ginstall scoinst
install; do
4217 for ac_exec_ext
in '' $ac_executable_extensions; do
4218 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
4219 if test $ac_prog = install &&
4220 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4221 # AIX install. It has an incompatible calling convention.
4223 elif test $ac_prog = install &&
4224 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4225 # program-specific install script used by HP pwplus--don't use.
4228 rm -rf conftest.one conftest.two conftest.dir
4229 echo one
> conftest.one
4230 echo two
> conftest.two
4232 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
4233 test -s conftest.one
&& test -s conftest.two
&&
4234 test -s conftest.dir
/conftest.one
&&
4235 test -s conftest.dir
/conftest.two
4237 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4250 rm -rf conftest.one conftest.two conftest.dir
4253 if test "${ac_cv_path_install+set}" = set; then
4254 INSTALL
=$ac_cv_path_install
4256 # As a last resort, use the slow shell script. Don't cache a
4257 # value for INSTALL within a source directory, because that will
4258 # break other packages using the cache if that directory is
4259 # removed, or if the value is a relative name.
4260 INSTALL
=$ac_install_sh
4263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4264 $as_echo "$INSTALL" >&6; }
4266 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4267 # It thinks the first close brace ends the variable substitution.
4268 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4270 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4272 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
4279 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
4280 if ${ac_cv_c_bigendian+:} false
; then :
4281 $as_echo_n "(cached) " >&6
4283 ac_cv_c_bigendian
=unknown
4284 # See if we're dealing with a universal compiler.
4285 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4286 /* end confdefs.h. */
4287 #ifndef __APPLE_CC__
4288 not a universal capable compiler
4293 if ac_fn_c_try_compile
"$LINENO"; then :
4295 # Check for potential -arch flags. It is not universal unless
4296 # there are at least two -arch flags with different values.
4299 for ac_word
in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
4300 if test -n "$ac_prev"; then
4302 i?
86 | x86_64 | ppc | ppc64
)
4303 if test -z "$ac_arch" ||
test "$ac_arch" = "$ac_word"; then
4306 ac_cv_c_bigendian
=universal
4312 elif test "x$ac_word" = "x-arch"; then
4317 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4318 if test $ac_cv_c_bigendian = unknown
; then
4319 # See if sys/param.h defines the BYTE_ORDER macro.
4320 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4321 /* end confdefs.h. */
4322 #include <sys/types.h>
4323 #include <sys/param.h>
4328 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
4329 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
4338 if ac_fn_c_try_compile
"$LINENO"; then :
4339 # It does; now see whether it defined to BIG_ENDIAN or not.
4340 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4341 /* end confdefs.h. */
4342 #include <sys/types.h>
4343 #include <sys/param.h>
4348 #if BYTE_ORDER != BIG_ENDIAN
4356 if ac_fn_c_try_compile
"$LINENO"; then :
4357 ac_cv_c_bigendian
=yes
4359 ac_cv_c_bigendian
=no
4361 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4363 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4365 if test $ac_cv_c_bigendian = unknown
; then
4366 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
4367 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4368 /* end confdefs.h. */
4374 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
4382 if ac_fn_c_try_compile
"$LINENO"; then :
4383 # It does; now see whether it defined to _BIG_ENDIAN or not.
4384 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4385 /* end confdefs.h. */
4399 if ac_fn_c_try_compile
"$LINENO"; then :
4400 ac_cv_c_bigendian
=yes
4402 ac_cv_c_bigendian
=no
4404 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4406 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4408 if test $ac_cv_c_bigendian = unknown
; then
4409 # Compile a test program.
4410 if test "$cross_compiling" = yes; then :
4411 # Try to guess by grepping values from an object file.
4412 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4413 /* end confdefs.h. */
4414 short int ascii_mm[] =
4415 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
4416 short int ascii_ii[] =
4417 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
4418 int use_ascii (int i) {
4419 return ascii_mm[i] + ascii_ii[i];
4421 short int ebcdic_ii[] =
4422 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
4423 short int ebcdic_mm[] =
4424 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
4425 int use_ebcdic (int i) {
4426 return ebcdic_mm[i] + ebcdic_ii[i];
4433 return use_ascii (foo) == use_ebcdic (foo);
4438 if ac_fn_c_try_compile
"$LINENO"; then :
4439 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
4440 ac_cv_c_bigendian
=yes
4442 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
4443 if test "$ac_cv_c_bigendian" = unknown
; then
4444 ac_cv_c_bigendian
=no
4446 # finding both strings is unlikely to happen, but who knows?
4447 ac_cv_c_bigendian
=unknown
4451 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4453 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4454 /* end confdefs.h. */
4455 $ac_includes_default
4460 /* Are we little or big endian? From Harbison&Steele. */
4464 char c[sizeof (long int)];
4467 return u.c[sizeof (long int) - 1] == 1;
4473 if ac_fn_c_try_run
"$LINENO"; then :
4474 ac_cv_c_bigendian
=no
4476 ac_cv_c_bigendian
=yes
4478 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4479 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
4485 $as_echo "$ac_cv_c_bigendian" >&6; }
4486 case $ac_cv_c_bigendian in #(
4488 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
4494 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
4498 as_fn_error $?
"unknown endianness
4499 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
4505 if test -n "$ac_tool_prefix"; then
4506 # Extract the first word of "${ac_tool_prefix}dtc", so it can be a program name with args.
4507 set dummy
${ac_tool_prefix}dtc
; ac_word
=$2
4508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4509 $as_echo_n "checking for $ac_word... " >&6; }
4510 if ${ac_cv_prog_DTC+:} false
; then :
4511 $as_echo_n "(cached) " >&6
4513 if test -n "$DTC"; then
4514 ac_cv_prog_DTC
="$DTC" # Let the user override the test.
4516 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4520 test -z "$as_dir" && as_dir
=.
4521 for ac_exec_ext
in '' $ac_executable_extensions; do
4522 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4523 ac_cv_prog_DTC
="${ac_tool_prefix}dtc"
4524 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4534 if test -n "$DTC"; then
4535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DTC" >&5
4536 $as_echo "$DTC" >&6; }
4538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4539 $as_echo "no" >&6; }
4544 if test -z "$ac_cv_prog_DTC"; then
4546 # Extract the first word of "dtc", so it can be a program name with args.
4547 set dummy dtc
; ac_word
=$2
4548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4549 $as_echo_n "checking for $ac_word... " >&6; }
4550 if ${ac_cv_prog_ac_ct_DTC+:} false
; then :
4551 $as_echo_n "(cached) " >&6
4553 if test -n "$ac_ct_DTC"; then
4554 ac_cv_prog_ac_ct_DTC
="$ac_ct_DTC" # Let the user override the test.
4556 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4560 test -z "$as_dir" && as_dir
=.
4561 for ac_exec_ext
in '' $ac_executable_extensions; do
4562 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4563 ac_cv_prog_ac_ct_DTC
="dtc"
4564 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4573 ac_ct_DTC
=$ac_cv_prog_ac_ct_DTC
4574 if test -n "$ac_ct_DTC"; then
4575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DTC" >&5
4576 $as_echo "$ac_ct_DTC" >&6; }
4578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4579 $as_echo "no" >&6; }
4582 if test "x$ac_ct_DTC" = x
; then
4585 case $cross_compiling:$ac_tool_warned in
4587 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4588 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4589 ac_tool_warned
=yes ;;
4594 DTC
="$ac_cv_prog_DTC"
4598 if test "x$cross_compiling" = "xno"; then
4599 : "${AR_FOR_BUILD:=\$(AR)}"
4600 : "${CC_FOR_BUILD:=\$(CC)}"
4601 : "${RANLIB_FOR_BUILD:=\$(RANLIB)}"
4602 : "${CFLAGS_FOR_BUILD:=\$(CFLAGS)}"
4603 : "${LDFLAGS_FOR_BUILD:=\$(LDFLAGS)}"
4605 : "${AR_FOR_BUILD:=ar}"
4606 : "${CC_FOR_BUILD:=gcc}"
4607 : "${RANLIB_FOR_BUILD:=ranlib}"
4608 : "${CFLAGS_FOR_BUILD:=-g -O}"
4609 : "${LDLFAGS_FOR_BUILD:=}"
4618 if test -n "$ac_tool_prefix"; then
4619 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4620 set dummy
${ac_tool_prefix}ar; ac_word
=$2
4621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4622 $as_echo_n "checking for $ac_word... " >&6; }
4623 if ${ac_cv_prog_AR+:} false
; then :
4624 $as_echo_n "(cached) " >&6
4626 if test -n "$AR"; then
4627 ac_cv_prog_AR
="$AR" # Let the user override the test.
4629 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4633 test -z "$as_dir" && as_dir
=.
4634 for ac_exec_ext
in '' $ac_executable_extensions; do
4635 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4636 ac_cv_prog_AR
="${ac_tool_prefix}ar"
4637 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4647 if test -n "$AR"; then
4648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4649 $as_echo "$AR" >&6; }
4651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4652 $as_echo "no" >&6; }
4657 if test -z "$ac_cv_prog_AR"; then
4659 # Extract the first word of "ar", so it can be a program name with args.
4660 set dummy
ar; ac_word
=$2
4661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4662 $as_echo_n "checking for $ac_word... " >&6; }
4663 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
4664 $as_echo_n "(cached) " >&6
4666 if test -n "$ac_ct_AR"; then
4667 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
4669 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4673 test -z "$as_dir" && as_dir
=.
4674 for ac_exec_ext
in '' $ac_executable_extensions; do
4675 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4676 ac_cv_prog_ac_ct_AR
="ar"
4677 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4686 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
4687 if test -n "$ac_ct_AR"; then
4688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4689 $as_echo "$ac_ct_AR" >&6; }
4691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4692 $as_echo "no" >&6; }
4695 if test "x$ac_ct_AR" = x
; then
4698 case $cross_compiling:$ac_tool_warned in
4700 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4701 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4702 ac_tool_warned
=yes ;;
4710 if test -n "$ac_tool_prefix"; then
4711 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4712 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4714 $as_echo_n "checking for $ac_word... " >&6; }
4715 if ${ac_cv_prog_RANLIB+:} false
; then :
4716 $as_echo_n "(cached) " >&6
4718 if test -n "$RANLIB"; then
4719 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4721 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4725 test -z "$as_dir" && as_dir
=.
4726 for ac_exec_ext
in '' $ac_executable_extensions; do
4727 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4728 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4729 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4738 RANLIB
=$ac_cv_prog_RANLIB
4739 if test -n "$RANLIB"; then
4740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4741 $as_echo "$RANLIB" >&6; }
4743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4744 $as_echo "no" >&6; }
4749 if test -z "$ac_cv_prog_RANLIB"; then
4750 ac_ct_RANLIB
=$RANLIB
4751 # Extract the first word of "ranlib", so it can be a program name with args.
4752 set dummy ranlib
; ac_word
=$2
4753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4754 $as_echo_n "checking for $ac_word... " >&6; }
4755 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
4756 $as_echo_n "(cached) " >&6
4758 if test -n "$ac_ct_RANLIB"; then
4759 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4761 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4765 test -z "$as_dir" && as_dir
=.
4766 for ac_exec_ext
in '' $ac_executable_extensions; do
4767 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4768 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4769 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4778 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4779 if test -n "$ac_ct_RANLIB"; then
4780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4781 $as_echo "$ac_ct_RANLIB" >&6; }
4783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4784 $as_echo "no" >&6; }
4787 if test "x$ac_ct_RANLIB" = x
; then
4790 case $cross_compiling:$ac_tool_warned in
4792 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4793 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4794 ac_tool_warned
=yes ;;
4796 RANLIB
=$ac_ct_RANLIB
4799 RANLIB
="$ac_cv_prog_RANLIB"
4809 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
4810 if test -n "$ac_tool_prefix"; then
4811 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
4812 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
4813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4814 $as_echo_n "checking for $ac_word... " >&6; }
4815 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
4816 $as_echo_n "(cached) " >&6
4820 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
4823 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4827 test -z "$as_dir" && as_dir
=.
4828 for ac_exec_ext
in '' $ac_executable_extensions; do
4829 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4830 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
4831 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4841 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
4842 if test -n "$PKG_CONFIG"; then
4843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
4844 $as_echo "$PKG_CONFIG" >&6; }
4846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4847 $as_echo "no" >&6; }
4852 if test -z "$ac_cv_path_PKG_CONFIG"; then
4853 ac_pt_PKG_CONFIG
=$PKG_CONFIG
4854 # Extract the first word of "pkg-config", so it can be a program name with args.
4855 set dummy pkg-config
; ac_word
=$2
4856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4857 $as_echo_n "checking for $ac_word... " >&6; }
4858 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
4859 $as_echo_n "(cached) " >&6
4861 case $ac_pt_PKG_CONFIG in
4863 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
4866 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4870 test -z "$as_dir" && as_dir
=.
4871 for ac_exec_ext
in '' $ac_executable_extensions; do
4872 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4873 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
4874 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4884 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
4885 if test -n "$ac_pt_PKG_CONFIG"; then
4886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
4887 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
4889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4890 $as_echo "no" >&6; }
4893 if test "x$ac_pt_PKG_CONFIG" = x
; then
4896 case $cross_compiling:$ac_tool_warned in
4898 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4899 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4900 ac_tool_warned
=yes ;;
4902 PKG_CONFIG
=$ac_pt_PKG_CONFIG
4905 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
4909 if test -n "$PKG_CONFIG"; then
4910 _pkg_min_version
=0.9.0
4911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
4912 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
4913 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
4914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4915 $as_echo "yes" >&6; }
4917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4918 $as_echo "no" >&6; }
4923 # Require C11 or newer. Autoconf-2.70 provides ac_cv_prog_cc_c11 when using
4924 # AC_PROG_CC, but we're still using Autoconf-2.69, and the newest it understands
4925 # is C99. So handle it ourselves.
4928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C11 is supported by default" >&5
4929 $as_echo_n "checking whether C11 is supported by default... " >&6; }
4930 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4931 /* end confdefs.h. */
4933 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
4934 # error "C11 support not found"
4938 if ac_fn_c_try_compile
"$LINENO"; then :
4939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4940 $as_echo "yes" >&6; }
4943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4944 $as_echo "no" >&6; }
4945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -std=c11 support" >&5
4946 $as_echo_n "checking for -std=c11 support... " >&6; }
4949 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4950 /* end confdefs.h. */
4952 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
4953 # error "C11 support not found"
4957 if ac_fn_c_try_compile
"$LINENO"; then :
4959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4960 $as_echo "yes" >&6; }
4962 C_DIALECT
="-std=c11"
4965 as_fn_error $?
"C11 is required" "$LINENO" 5
4967 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4969 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4975 for ac_header
in $ac_header_list
4977 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4978 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4980 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
4981 cat >>confdefs.h
<<_ACEOF
4982 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5040 for ac_func
in $ac_func_list
5042 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5043 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
5044 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
5045 cat >>confdefs.h
<<_ACEOF
5046 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
5174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
5175 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
5176 if ${ac_cv_struct_tm+:} false
; then :
5177 $as_echo_n "(cached) " >&6
5179 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5180 /* end confdefs.h. */
5181 #include <sys/types.h>
5188 int *p = &tm.tm_sec;
5194 if ac_fn_c_try_compile
"$LINENO"; then :
5195 ac_cv_struct_tm
=time.h
5197 ac_cv_struct_tm
=sys
/time.h
5199 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
5202 $as_echo "$ac_cv_struct_tm" >&6; }
5203 if test $ac_cv_struct_tm = sys
/time.h
; then
5205 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
5209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
5210 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
5211 if ${ac_cv_type_uid_t+:} false
; then :
5212 $as_echo_n "(cached) " >&6
5214 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5215 /* end confdefs.h. */
5216 #include <sys/types.h>
5219 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5220 $EGREP "uid_t" >/dev
/null
2>&1; then :
5221 ac_cv_type_uid_t
=yes
5228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
5229 $as_echo "$ac_cv_type_uid_t" >&6; }
5230 if test $ac_cv_type_uid_t = no
; then
5232 $as_echo "#define uid_t int" >>confdefs.h
5235 $as_echo "#define gid_t int" >>confdefs.h
5241 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5242 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5247 macro_version
='2.2.7a'
5248 macro_revision
='1.3134'
5262 ltmain
="$ac_aux_dir/ltmain.sh"
5264 # Backslashify metacharacters that are still active within
5265 # double-quoted strings.
5266 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
5268 # Same as above, but do not quote variable references.
5269 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
5271 # Sed substitution to delay expansion of an escaped shell variable in a
5272 # double_quote_subst'ed string.
5273 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
5275 # Sed substitution to delay expansion of an escaped single quote.
5276 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
5278 # Sed substitution to avoid accidental globbing in evaled expressions
5279 no_glob_subst
='s/\*/\\\*/g'
5281 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5282 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5283 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5286 $as_echo_n "checking how to print strings... " >&6; }
5287 # Test print first, because it will be a builtin if present.
5288 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5289 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5291 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5294 # Use this function as a fallback that always works.
5295 func_fallback_echo ()
5297 eval 'cat <<_LTECHO_EOF
5301 ECHO='func_fallback_echo
'
5304 # func_echo_all arg...
5305 # Invoke $ECHO with all args, space-separated.
5312 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5313 $as_echo "printf" >&6; } ;;
5314 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5315 $as_echo "print -r" >&6; } ;;
5316 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5317 $as_echo "cat" >&6; } ;;
5333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5334 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5335 if ${ac_cv_path_SED+:} false; then :
5336 $as_echo_n "(cached) " >&6
5338 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5339 for ac_i in 1 2 3 4 5 6 7; do
5340 ac_script="$ac_script$as_nl$ac_script"
5342 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5343 { ac_script=; unset ac_script;}
5344 if test -z "$SED"; then
5345 ac_path_SED_found=false
5346 # Loop through the user's path and
test for each of PROGNAME-LIST
5347 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5351 test -z "$as_dir" && as_dir
=.
5352 for ac_prog
in sed gsed
; do
5353 for ac_exec_ext
in '' $ac_executable_extensions; do
5354 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
5355 as_fn_executable_p
"$ac_path_SED" ||
continue
5356 # Check for GNU ac_path_SED and select it if it is found.
5357 # Check for GNU $ac_path_SED
5358 case `"$ac_path_SED" --version 2>&1` in
5360 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
5363 $as_echo_n 0123456789 >"conftest.in"
5366 cat "conftest.in" "conftest.in" >"conftest.tmp"
5367 mv "conftest.tmp" "conftest.in"
5368 cp "conftest.in" "conftest.nl"
5369 $as_echo '' >> "conftest.nl"
5370 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5371 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5372 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5373 if test $ac_count -gt ${ac_path_SED_max-0}; then
5374 # Best one so far, save it but keep looking for a better one
5375 ac_cv_path_SED
="$ac_path_SED"
5376 ac_path_SED_max
=$ac_count
5378 # 10*(2^10) chars as input seems more than enough
5379 test $ac_count -gt 10 && break
5381 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5384 $ac_path_SED_found && break 3
5389 if test -z "$ac_cv_path_SED"; then
5390 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
5397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5398 $as_echo "$ac_cv_path_SED" >&6; }
5399 SED
="$ac_cv_path_SED"
5402 test -z "$SED" && SED
=sed
5403 Xsed
="$SED -e 1s/^X//"
5415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5416 $as_echo_n "checking for fgrep... " >&6; }
5417 if ${ac_cv_path_FGREP+:} false
; then :
5418 $as_echo_n "(cached) " >&6
5420 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
5421 then ac_cv_path_FGREP
="$GREP -F"
5423 if test -z "$FGREP"; then
5424 ac_path_FGREP_found
=false
5425 # Loop through the user's path and test for each of PROGNAME-LIST
5426 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5427 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5430 test -z "$as_dir" && as_dir
=.
5431 for ac_prog
in fgrep
; do
5432 for ac_exec_ext
in '' $ac_executable_extensions; do
5433 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
5434 as_fn_executable_p
"$ac_path_FGREP" ||
continue
5435 # Check for GNU ac_path_FGREP and select it if it is found.
5436 # Check for GNU $ac_path_FGREP
5437 case `"$ac_path_FGREP" --version 2>&1` in
5439 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
5442 $as_echo_n 0123456789 >"conftest.in"
5445 cat "conftest.in" "conftest.in" >"conftest.tmp"
5446 mv "conftest.tmp" "conftest.in"
5447 cp "conftest.in" "conftest.nl"
5448 $as_echo 'FGREP' >> "conftest.nl"
5449 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5450 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5451 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5452 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5453 # Best one so far, save it but keep looking for a better one
5454 ac_cv_path_FGREP
="$ac_path_FGREP"
5455 ac_path_FGREP_max
=$ac_count
5457 # 10*(2^10) chars as input seems more than enough
5458 test $ac_count -gt 10 && break
5460 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5463 $ac_path_FGREP_found && break 3
5468 if test -z "$ac_cv_path_FGREP"; then
5469 as_fn_error $?
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5472 ac_cv_path_FGREP
=$FGREP
5477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5478 $as_echo "$ac_cv_path_FGREP" >&6; }
5479 FGREP
="$ac_cv_path_FGREP"
5482 test -z "$GREP" && GREP
=grep
5502 # Check whether --with-gnu-ld was given.
5503 if test "${with_gnu_ld+set}" = set; then :
5504 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
5510 if test "$GCC" = yes; then
5511 # Check if gcc -print-prog-name=ld gives a path.
5512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5513 $as_echo_n "checking for ld used by $CC... " >&6; }
5516 # gcc leaves a trailing carriage return which upsets mingw
5517 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5519 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5522 # Accept absolute paths.
5524 re_direlt
='/[^/][^/]*/\.\./'
5525 # Canonicalize the pathname of ld
5526 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5527 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
5528 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5530 test -z "$LD" && LD
="$ac_prog"
5533 # If it fails, then pretend we aren't using GCC.
5537 # If it is relative, then search for the first ld in PATH.
5541 elif test "$with_gnu_ld" = yes; then
5542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5543 $as_echo_n "checking for GNU ld... " >&6; }
5545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5546 $as_echo_n "checking for non-GNU ld... " >&6; }
5548 if ${lt_cv_path_LD+:} false
; then :
5549 $as_echo_n "(cached) " >&6
5551 if test -z "$LD"; then
5552 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5553 for ac_dir
in $PATH; do
5555 test -z "$ac_dir" && ac_dir
=.
5556 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5557 lt_cv_path_LD
="$ac_dir/$ac_prog"
5558 # Check to see if the program is GNU ld. I'd rather use --version,
5559 # but apparently some variants of GNU ld only accept -v.
5560 # Break only if it was the GNU/non-GNU ld that we prefer.
5561 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5562 *GNU
* |
*'with BFD'*)
5563 test "$with_gnu_ld" != no
&& break
5566 test "$with_gnu_ld" != yes && break
5573 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
5578 if test -n "$LD"; then
5579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5580 $as_echo "$LD" >&6; }
5582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5583 $as_echo "no" >&6; }
5585 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
5586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5587 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5588 if ${lt_cv_prog_gnu_ld+:} false
; then :
5589 $as_echo_n "(cached) " >&6
5591 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5592 case `$LD -v 2>&1 </dev/null` in
5593 *GNU
* |
*'with BFD'*)
5594 lt_cv_prog_gnu_ld
=yes
5597 lt_cv_prog_gnu_ld
=no
5601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5602 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5603 with_gnu_ld
=$lt_cv_prog_gnu_ld
5613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5614 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5615 if ${lt_cv_path_NM+:} false
; then :
5616 $as_echo_n "(cached) " >&6
5618 if test -n "$NM"; then
5619 # Let the user override the nm to test.
5620 lt_nm_to_check
="$NM"
5622 lt_nm_to_check
="${ac_tool_prefix}nm"
5623 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5624 lt_nm_to_check
="$lt_nm_to_check nm"
5627 for lt_tmp_nm
in $lt_nm_to_check; do
5628 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5629 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
5631 test -z "$ac_dir" && ac_dir
=.
5632 case "$lt_tmp_nm" in
5633 */*|
*\\*) tmp_nm
="$lt_tmp_nm";;
5634 *) tmp_nm
="$ac_dir/$lt_tmp_nm";;
5636 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
5637 # Check to see if the nm accepts a BSD-compat flag.
5638 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5639 # nm: unknown option "B" ignored
5640 case `"$tmp_nm" -B "$tmp_nm" 2>&1 | grep -v '^ *$' | sed '1q'` in
5641 *$tmp_nm*) lt_cv_path_NM
="$tmp_nm -B"
5645 case `"$tmp_nm" -p "$tmp_nm" 2>&1 | grep -v '^ *$' | sed '1q'` in
5647 lt_cv_path_NM
="$tmp_nm -p"
5651 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5652 continue # so that we can try to find one that supports BSD flags
5661 : ${lt_cv_path_NM=no}
5663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5664 $as_echo "$lt_cv_path_NM" >&6; }
5665 if test "$lt_cv_path_NM" != "no"; then
5668 # Didn't find any BSD compatible name lister, look for dumpbin.
5669 if test -n "$DUMPBIN"; then :
5670 # Let the user override the test.
5672 if test -n "$ac_tool_prefix"; then
5673 for ac_prog
in dumpbin
"link -dump"
5675 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5676 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5678 $as_echo_n "checking for $ac_word... " >&6; }
5679 if ${ac_cv_prog_DUMPBIN+:} false
; then :
5680 $as_echo_n "(cached) " >&6
5682 if test -n "$DUMPBIN"; then
5683 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
5685 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5689 test -z "$as_dir" && as_dir
=.
5690 for ac_exec_ext
in '' $ac_executable_extensions; do
5691 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5692 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
5693 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5702 DUMPBIN
=$ac_cv_prog_DUMPBIN
5703 if test -n "$DUMPBIN"; then
5704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5705 $as_echo "$DUMPBIN" >&6; }
5707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5708 $as_echo "no" >&6; }
5712 test -n "$DUMPBIN" && break
5715 if test -z "$DUMPBIN"; then
5716 ac_ct_DUMPBIN
=$DUMPBIN
5717 for ac_prog
in dumpbin
"link -dump"
5719 # Extract the first word of "$ac_prog", so it can be a program name with args.
5720 set dummy
$ac_prog; ac_word
=$2
5721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5722 $as_echo_n "checking for $ac_word... " >&6; }
5723 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false
; then :
5724 $as_echo_n "(cached) " >&6
5726 if test -n "$ac_ct_DUMPBIN"; then
5727 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
5729 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5733 test -z "$as_dir" && as_dir
=.
5734 for ac_exec_ext
in '' $ac_executable_extensions; do
5735 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5736 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
5737 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5746 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
5747 if test -n "$ac_ct_DUMPBIN"; then
5748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5749 $as_echo "$ac_ct_DUMPBIN" >&6; }
5751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5752 $as_echo "no" >&6; }
5756 test -n "$ac_ct_DUMPBIN" && break
5759 if test "x$ac_ct_DUMPBIN" = x
; then
5762 case $cross_compiling:$ac_tool_warned in
5764 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5765 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5766 ac_tool_warned
=yes ;;
5768 DUMPBIN
=$ac_ct_DUMPBIN
5772 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5774 DUMPBIN
="$DUMPBIN -symbols"
5782 if test "$DUMPBIN" != ":"; then
5786 test -z "$NM" && NM
=nm
5793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5794 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5795 if ${lt_cv_nm_interface+:} false
; then :
5796 $as_echo_n "(cached) " >&6
5798 lt_cv_nm_interface
="BSD nm"
5799 echo "int some_variable = 0;" > conftest.
$ac_ext
5800 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5801 (eval "$ac_compile" 2>conftest.err
)
5802 cat conftest.err
>&5
5803 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5804 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
5805 cat conftest.err
>&5
5806 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5807 cat conftest.out
>&5
5808 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
5809 lt_cv_nm_interface
="MS dumpbin"
5813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5814 $as_echo "$lt_cv_nm_interface" >&6; }
5816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5817 $as_echo_n "checking whether ln -s works... " >&6; }
5819 if test "$LN_S" = "ln -s"; then
5820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5821 $as_echo "yes" >&6; }
5823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5824 $as_echo "no, using $LN_S" >&6; }
5827 # find the maximum length of command line arguments
5828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5829 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5830 if ${lt_cv_sys_max_cmd_len+:} false
; then :
5831 $as_echo_n "(cached) " >&6
5838 # On DJGPP, this test can blow up pretty badly due to problems in libc
5839 # (any single argument exceeding 2000 bytes causes a buffer overrun
5840 # during glob expansion). Even if it were fixed, the result of this
5841 # check would be larger than it should be.
5842 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5846 # Under GNU Hurd, this test is not required because there is
5847 # no limit to the length of command line arguments.
5848 # Libtool will interpret -1 as no limit whatsoever
5849 lt_cv_sys_max_cmd_len
=-1;
5852 cygwin
* | mingw
* | cegcc
*)
5853 # On Win9x/ME, this test blows up -- it succeeds, but takes
5854 # about 5 minutes as the teststring grows exponentially.
5855 # Worse, since 9x/ME are not pre-emptively multitasking,
5856 # you end up with a "frozen" computer, even though with patience
5857 # the test eventually succeeds (with a max line length of 256k).
5858 # Instead, let's just punt: use the minimum linelength reported by
5859 # all of the supported platforms: 8192 (on NT/2K/XP).
5860 lt_cv_sys_max_cmd_len
=8192;
5864 # On MiNT this can take a long time and run out of memory.
5865 lt_cv_sys_max_cmd_len
=8192;
5869 # On AmigaOS with pdksh, this test takes hours, literally.
5870 # So we just punt and use a minimum line length of 8192.
5871 lt_cv_sys_max_cmd_len
=8192;
5874 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5875 # This has been around since 386BSD, at least. Likely further.
5876 if test -x /sbin
/sysctl
; then
5877 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5878 elif test -x /usr
/sbin
/sysctl
; then
5879 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5881 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
5883 # And add a safety zone
5884 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5885 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5889 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5890 lt_cv_sys_max_cmd_len
=196608
5894 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5895 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5896 # nice to cause kernel panics so lets avoid the loop below.
5897 # First set a reasonable default.
5898 lt_cv_sys_max_cmd_len
=16384
5900 if test -x /sbin
/sysconfig
; then
5901 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5902 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
5907 lt_cv_sys_max_cmd_len
=102400
5909 sysv5
* | sco5v6
* | sysv4.2uw2
*)
5910 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5911 if test -n "$kargmax"; then
5912 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
5914 lt_cv_sys_max_cmd_len
=32768
5918 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
5919 if test -n "$lt_cv_sys_max_cmd_len"; then
5920 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5921 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5923 # Make teststring a little bigger before we do anything with it.
5924 # a 1K string should be a reasonable start.
5925 for i
in 1 2 3 4 5 6 7 8 ; do
5926 teststring
=$teststring$teststring
5928 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
5929 # If test is not a shell built-in, we'll probably end up computing a
5930 # maximum length that is only half of the actual maximum length, but
5932 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5933 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
5934 test $i != 17 # 1/2 MB should be enough
5937 teststring
=$teststring$teststring
5939 # Only check the string length outside the loop.
5940 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
5942 # Add a significant safety factor because C++ compilers can tack on
5943 # massive amounts of additional arguments before passing them to the
5944 # linker. It appears as though 1/2 is a usable value.
5945 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
5952 if test -n $lt_cv_sys_max_cmd_len ; then
5953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5954 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5957 $as_echo "none" >&6; }
5959 max_cmd_len
=$lt_cv_sys_max_cmd_len
5970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5971 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5972 # Try some XSI features
5975 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5977 && eval 'test $(( 1 + 1 )) -eq 2 \
5978 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5980 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
5981 $as_echo "$xsi_shell" >&6; }
5984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
5985 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
5987 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
5989 && lt_shell_append=yes
5990 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
5991 $as_echo "$lt_shell_append" >&6; }
5994 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6004 # test EBCDIC or ASCII
6005 case `echo X|tr X '\101'` in
6006 A) # ASCII based system
6007 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6008 lt_SP2NL='tr \040 \012'
6009 lt_NL2SP='tr \015\012 \040\040'
6011 *) # EBCDIC based system
6012 lt_SP2NL='tr \100 \n'
6013 lt_NL2SP='tr \r\n \100\100'
6025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
6026 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
6027 if ${lt_cv_ld_reload_flag+:} false; then :
6028 $as_echo_n "(cached
) " >&6
6030 lt_cv_ld_reload_flag='-r'
6032 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
6033 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6034 reload_flag=$lt_cv_ld_reload_flag
6035 case $reload_flag in
6037 *) reload_flag=" $reload_flag" ;;
6039 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6042 if test "$GCC" = yes; then
6043 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6045 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6058 if test -n "$ac_tool_prefix"; then
6059 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
6060 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6062 $as_echo_n "checking
for $ac_word...
" >&6; }
6063 if ${ac_cv_prog_OBJDUMP+:} false; then :
6064 $as_echo_n "(cached
) " >&6
6066 if test -n "$OBJDUMP"; then
6067 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6069 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6073 test -z "$as_dir" && as_dir=.
6074 for ac_exec_ext in '' $ac_executable_extensions; do
6075 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6076 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
6077 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6086 OBJDUMP=$ac_cv_prog_OBJDUMP
6087 if test -n "$OBJDUMP"; then
6088 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
6089 $as_echo "$OBJDUMP" >&6; }
6091 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6092 $as_echo "no
" >&6; }
6097 if test -z "$ac_cv_prog_OBJDUMP"; then
6098 ac_ct_OBJDUMP=$OBJDUMP
6099 # Extract the first word of "objdump
", so it can be a program name with args.
6100 set dummy objdump; ac_word=$2
6101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6102 $as_echo_n "checking
for $ac_word...
" >&6; }
6103 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6104 $as_echo_n "(cached
) " >&6
6106 if test -n "$ac_ct_OBJDUMP"; then
6107 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6113 test -z "$as_dir" && as_dir=.
6114 for ac_exec_ext in '' $ac_executable_extensions; do
6115 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6116 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
6117 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6126 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6127 if test -n "$ac_ct_OBJDUMP"; then
6128 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
6129 $as_echo "$ac_ct_OBJDUMP" >&6; }
6131 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6132 $as_echo "no
" >&6; }
6135 if test "x
$ac_ct_OBJDUMP" = x; then
6138 case $cross_compiling:$ac_tool_warned in
6140 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6141 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6142 ac_tool_warned=yes ;;
6144 OBJDUMP=$ac_ct_OBJDUMP
6147 OBJDUMP="$ac_cv_prog_OBJDUMP"
6150 test -z "$OBJDUMP" && OBJDUMP=objdump
6160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
6161 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
6162 if ${lt_cv_deplibs_check_method+:} false; then :
6163 $as_echo_n "(cached
) " >&6
6165 lt_cv_file_magic_cmd='$MAGIC_CMD'
6166 lt_cv_file_magic_test_file=
6167 lt_cv_deplibs_check_method='unknown'
6168 # Need to set the preceding variable on all platforms that support
6169 # interlibrary dependencies.
6170 # 'none' -- dependencies not supported.
6171 # `unknown' -- same as none, but documents that we really don't know.
6172 # 'pass_all' -- all dependencies passed with no checks.
6173 # 'test_compile' -- check by making test program.
6174 # 'file_magic [[regex]]' -- check by looking for files in library path
6175 # which responds to the $file_magic_cmd with a given extended regex.
6176 # If you have `file' or equivalent on your system and you're not sure
6177 # whether `pass_all' will *always* work, you probably want this one.
6181 lt_cv_deplibs_check_method=pass_all
6185 lt_cv_deplibs_check_method=pass_all
6189 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6190 lt_cv_file_magic_cmd='/usr/bin/file -L'
6191 lt_cv_file_magic_test_file=/shlib/libc.so
6195 # func_win32_libid is a shell function defined in ltmain.sh
6196 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6197 lt_cv_file_magic_cmd='func_win32_libid'
6201 # Base MSYS/MinGW do not provide the 'file' command needed by
6202 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6203 # unless we find 'file', for example because we are cross-compiling.
6204 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6205 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
6206 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6207 lt_cv_file_magic_cmd='func_win32_libid'
6209 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6210 lt_cv_file_magic_cmd='$OBJDUMP -f'
6215 # use the weaker test based on 'objdump'. See mingw*.
6216 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6217 lt_cv_file_magic_cmd='$OBJDUMP -f'
6220 darwin* | rhapsody*)
6221 lt_cv_deplibs_check_method=pass_all
6224 freebsd* | dragonfly*)
6225 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6228 # Not sure whether the presence of OpenBSD here was a mistake.
6229 # Let's accept both of them until this is cleared up.
6230 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6231 lt_cv_file_magic_cmd=/usr/bin/file
6232 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6236 lt_cv_deplibs_check_method=pass_all
6241 lt_cv_deplibs_check_method=pass_all
6245 lt_cv_deplibs_check_method=pass_all
6248 hpux10.20* | hpux11*)
6249 lt_cv_file_magic_cmd=/usr/bin/file
6252 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6253 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6256 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]'
6257 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6260 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6261 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6267 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6268 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6271 irix5* | irix6* | nonstopux*)
6273 *-32|*"-32 ") libmagic=32-bit;;
6274 *-n32|*"-n32 ") libmagic=N32;;
6275 *-64|*"-64 ") libmagic=64-bit;;
6276 *) libmagic=never-match;;
6278 lt_cv_deplibs_check_method=pass_all
6281 # This must be Linux ELF.
6282 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6283 lt_cv_deplibs_check_method=pass_all
6287 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6288 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6290 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6295 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6296 lt_cv_file_magic_cmd=/usr/bin/file
6297 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6301 lt_cv_deplibs_check_method=pass_all
6305 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
6306 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6308 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6312 osf3* | osf4* | osf5*)
6313 lt_cv_deplibs_check_method=pass_all
6317 lt_cv_deplibs_check_method=pass_all
6321 lt_cv_deplibs_check_method=pass_all
6324 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6325 lt_cv_deplibs_check_method=pass_all
6329 case $host_vendor in
6331 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]'
6332 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6335 lt_cv_deplibs_check_method=pass_all
6338 lt_cv_file_magic_cmd='/bin/file'
6339 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6342 lt_cv_file_magic_cmd='/bin/file'
6343 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
6344 lt_cv_file_magic_test_file=/lib/libc.so
6347 lt_cv_deplibs_check_method=pass_all
6350 lt_cv_deplibs_check_method=pass_all
6356 lt_cv_deplibs_check_method=pass_all
6361 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
6362 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6363 file_magic_cmd=$lt_cv_file_magic_cmd
6364 deplibs_check_method=$lt_cv_deplibs_check_method
6365 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6379 plugin_names="liblto_plugin.so liblto_plugin-0.dll cyglto_plugin-0.dll
"
6380 for plugin in $plugin_names; do
6381 plugin_so=`${CC} ${CFLAGS} --print-prog-name $plugin`
6382 if test x$plugin_so = x$plugin; then
6383 plugin_so=`${CC} ${CFLAGS} --print-file-name $plugin`
6385 if test x$plugin_so != x$plugin; then
6386 plugin_option="--plugin $plugin_so"
6391 if test -n "$ac_tool_prefix"; then
6392 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6393 set dummy ${ac_tool_prefix}ar; ac_word=$2
6394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6395 $as_echo_n "checking
for $ac_word...
" >&6; }
6396 if ${ac_cv_prog_AR+:} false; then :
6397 $as_echo_n "(cached
) " >&6
6399 if test -n "$AR"; then
6400 ac_cv_prog_AR="$AR" # Let the user override the test.
6402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6406 test -z "$as_dir" && as_dir=.
6407 for ac_exec_ext in '' $ac_executable_extensions; do
6408 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6409 ac_cv_prog_AR="${ac_tool_prefix}ar"
6410 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6420 if test -n "$AR"; then
6421 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
6422 $as_echo "$AR" >&6; }
6424 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6425 $as_echo "no
" >&6; }
6430 if test -z "$ac_cv_prog_AR"; then
6432 # Extract the first word of "ar", so it can be a program name with args.
6433 set dummy ar; ac_word=$2
6434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6435 $as_echo_n "checking
for $ac_word...
" >&6; }
6436 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6437 $as_echo_n "(cached
) " >&6
6439 if test -n "$ac_ct_AR"; then
6440 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6446 test -z "$as_dir" && as_dir=.
6447 for ac_exec_ext in '' $ac_executable_extensions; do
6448 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6449 ac_cv_prog_ac_ct_AR="ar"
6450 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6459 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6460 if test -n "$ac_ct_AR"; then
6461 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
6462 $as_echo "$ac_ct_AR" >&6; }
6464 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6465 $as_echo "no
" >&6; }
6468 if test "x
$ac_ct_AR" = x; then
6471 case $cross_compiling:$ac_tool_warned in
6473 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6474 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6475 ac_tool_warned=yes ;;
6483 test -z "$AR" && AR=ar
6484 if test -n "$plugin_option"; then
6485 if $AR --help 2>&1 | grep -q "\
--plugin"; then
6487 $AR $plugin_option rc conftest.a conftest.c
6488 if test "$?
" != 0; then
6489 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: Failed
: $AR $plugin_option rc
" >&5
6490 $as_echo "$as_me: WARNING
: Failed
: $AR $plugin_option rc
" >&2;}
6492 AR="$AR $plugin_option"
6497 test -z "$AR_FLAGS" && AR_FLAGS=cru
6509 if test -n "$ac_tool_prefix"; then
6510 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6511 set dummy ${ac_tool_prefix}strip; ac_word=$2
6512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6513 $as_echo_n "checking
for $ac_word...
" >&6; }
6514 if ${ac_cv_prog_STRIP+:} false; then :
6515 $as_echo_n "(cached
) " >&6
6517 if test -n "$STRIP"; then
6518 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6520 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6524 test -z "$as_dir" && as_dir=.
6525 for ac_exec_ext in '' $ac_executable_extensions; do
6526 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6527 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6528 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6537 STRIP=$ac_cv_prog_STRIP
6538 if test -n "$STRIP"; then
6539 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
6540 $as_echo "$STRIP" >&6; }
6542 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6543 $as_echo "no
" >&6; }
6548 if test -z "$ac_cv_prog_STRIP"; then
6550 # Extract the first word of "strip
", so it can be a program name with args.
6551 set dummy strip; ac_word=$2
6552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6553 $as_echo_n "checking
for $ac_word...
" >&6; }
6554 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6555 $as_echo_n "(cached
) " >&6
6557 if test -n "$ac_ct_STRIP"; then
6558 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6560 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6564 test -z "$as_dir" && as_dir=.
6565 for ac_exec_ext in '' $ac_executable_extensions; do
6566 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6567 ac_cv_prog_ac_ct_STRIP="strip
"
6568 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6577 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6578 if test -n "$ac_ct_STRIP"; then
6579 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
6580 $as_echo "$ac_ct_STRIP" >&6; }
6582 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6583 $as_echo "no
" >&6; }
6586 if test "x
$ac_ct_STRIP" = x; then
6589 case $cross_compiling:$ac_tool_warned in
6591 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6592 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6593 ac_tool_warned=yes ;;
6598 STRIP="$ac_cv_prog_STRIP"
6601 test -z "$STRIP" && STRIP=:
6608 if test -n "$ac_tool_prefix"; then
6609 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6610 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6612 $as_echo_n "checking
for $ac_word...
" >&6; }
6613 if ${ac_cv_prog_RANLIB+:} false; then :
6614 $as_echo_n "(cached
) " >&6
6616 if test -n "$RANLIB"; then
6617 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6619 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6623 test -z "$as_dir" && as_dir=.
6624 for ac_exec_ext in '' $ac_executable_extensions; do
6625 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6626 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
6627 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6636 RANLIB=$ac_cv_prog_RANLIB
6637 if test -n "$RANLIB"; then
6638 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
6639 $as_echo "$RANLIB" >&6; }
6641 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6642 $as_echo "no
" >&6; }
6647 if test -z "$ac_cv_prog_RANLIB"; then
6648 ac_ct_RANLIB=$RANLIB
6649 # Extract the first word of "ranlib
", so it can be a program name with args.
6650 set dummy ranlib; ac_word=$2
6651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6652 $as_echo_n "checking
for $ac_word...
" >&6; }
6653 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6654 $as_echo_n "(cached
) " >&6
6656 if test -n "$ac_ct_RANLIB"; then
6657 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6659 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6663 test -z "$as_dir" && as_dir=.
6664 for ac_exec_ext in '' $ac_executable_extensions; do
6665 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6666 ac_cv_prog_ac_ct_RANLIB="ranlib
"
6667 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6676 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6677 if test -n "$ac_ct_RANLIB"; then
6678 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
6679 $as_echo "$ac_ct_RANLIB" >&6; }
6681 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6682 $as_echo "no
" >&6; }
6685 if test "x
$ac_ct_RANLIB" = x; then
6688 case $cross_compiling:$ac_tool_warned in
6690 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6691 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6692 ac_tool_warned=yes ;;
6694 RANLIB=$ac_ct_RANLIB
6697 RANLIB="$ac_cv_prog_RANLIB"
6700 test -z "$RANLIB" && RANLIB=:
6701 if test -n "$plugin_option" && test "$RANLIB" != ":"; then
6702 if $RANLIB --help 2>&1 | grep -q "\
--plugin"; then
6703 RANLIB="$RANLIB $plugin_option"
6712 # Determine commands to create old-style static archives.
6713 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6714 old_postinstall_cmds='chmod 644 $oldlib'
6715 old_postuninstall_cmds=
6717 if test -n "$RANLIB"; then
6720 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
6723 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
6726 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
6731 lock_old_archive_extraction=yes ;;
6733 lock_old_archive_extraction=no ;;
6756 for ac_prog in gawk mawk nawk awk
6758 # Extract the first word of "$ac_prog", so it can be a program name with args.
6759 set dummy $ac_prog; ac_word=$2
6760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6761 $as_echo_n "checking
for $ac_word...
" >&6; }
6762 if ${ac_cv_prog_AWK+:} false; then :
6763 $as_echo_n "(cached
) " >&6
6765 if test -n "$AWK"; then
6766 ac_cv_prog_AWK="$AWK" # Let the user override the test.
6768 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6772 test -z "$as_dir" && as_dir=.
6773 for ac_exec_ext in '' $ac_executable_extensions; do
6774 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6775 ac_cv_prog_AWK="$ac_prog"
6776 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6786 if test -n "$AWK"; then
6787 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AWK" >&5
6788 $as_echo "$AWK" >&6; }
6790 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6791 $as_echo "no
" >&6; }
6795 test -n "$AWK" && break
6816 # If no C compiler was specified, use CC.
6819 # If no C compiler flags were specified, use CFLAGS.
6820 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6822 # Allow CC to be a program name with arguments.
6826 # Check for command to grab the raw symbol name followed by C symbol from nm.
6827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
6828 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
6829 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6830 $as_echo_n "(cached
) " >&6
6833 # These are sane defaults that work on at least a few old systems.
6834 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6836 # Character class describing NM global symbol codes.
6837 symcode='[BCDEGRST]'
6839 # Regexp to match symbols that can be accessed directly from C.
6840 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6842 # Define system-specific variables.
6847 cygwin* | mingw* | pw32* | cegcc*)
6848 symcode='[ABCDGISTW]'
6851 if test "$host_cpu" = ia64; then
6852 symcode='[ABCDEGRST]'
6856 symcode='[BCDEGRST]'
6859 symcode='[BCDEGQRST]'
6870 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6878 # If we're using GNU nm, then use its standard symbol codes.
6879 case `$NM -V 2>&1` in
6880 *GNU* | *'with BFD'*)
6881 symcode='[ABCDGIRSTW]' ;;
6884 # Transform an extracted symbol line into a proper C declaration.
6885 # Some systems (esp. on ia64) link data and code symbols differently,
6886 # so use this general approach.
6887 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6889 # Transform an extracted symbol line into symbol name and symbol address
6890 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6891 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'"
6893 # Handle CRLF in mingw tool chain
6897 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6901 # Try without a prefix underscore, then with it.
6902 for ac_symprfx in "" "_
"; do
6904 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6905 symxfrm="\\1 $ac_symprfx\\2 \\2"
6907 # Write the raw and C identifiers.
6908 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6909 # Fake it for dumpbin and say T for any non-static function
6910 # and D for any global variable.
6911 # Also find C++ and __fastcall symbols from MSVC++,
6912 # which start with @ or ?.
6913 lt_cv_sys_global_symbol_pipe="$AWK '"\
6914 " {last_section=section; section=\$ 3};"\
6915 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6916 " \$ 0!~/External *\|/{next};"\
6917 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6918 " {if(hide[section]) next};"\
6919 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6920 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6921 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6922 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6923 " ' prfx
=^
$ac_symprfx"
6925 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6928 # Check to see that the pipe works correctly.
6932 cat > conftest.$ac_ext <<_LT_EOF
6937 void nm_test_func(void);
6938 void nm_test_func(void){}
6942 int main(){nm_test_var='a';nm_test_func();return(0);}
6945 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6946 (eval $ac_compile) 2>&5
6948 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6949 test $ac_status = 0; }; then
6950 # Now try to grab the symbols.
6952 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
6953 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6955 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6956 test $ac_status = 0; } && test -s "$nlist"; then
6957 # Try sorting and uniquifying the output.
6958 if sort "$nlist" | uniq > "$nlist"T; then
6959 mv -f "$nlist"T "$nlist"
6964 # Make sure that we snagged all the symbols we need.
6965 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6966 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6967 cat <<_LT_EOF > conftest.$ac_ext
6973 # Now generate the symbol file.
6974 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6976 cat <<_LT_EOF >> conftest.$ac_ext
6978 /* The mapping between symbol names and symbols. */
6983 lt__PROGRAM__LTX_preloaded_symbols[] =
6985 { "@PROGRAM@
", (void *) 0 },
6987 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6988 cat <<\_LT_EOF >> conftest.$ac_ext
6992 /* This works around a problem in FreeBSD linker */
6993 #ifdef FREEBSD_WORKAROUND
6994 static const void *lt_preloaded_setup() {
6995 return lt__PROGRAM__LTX_preloaded_symbols;
7003 # Now try linking the two files.
7004 mv conftest.$ac_objext conftstm.$ac_objext
7005 lt_save_LIBS="$LIBS"
7006 lt_save_CFLAGS="$CFLAGS"
7007 LIBS="conftstm.
$ac_objext"
7008 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7009 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7010 (eval $ac_link) 2>&5
7012 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7013 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7016 LIBS="$lt_save_LIBS"
7017 CFLAGS="$lt_save_CFLAGS"
7019 echo "cannot
find nm_test_func
in $nlist" >&5
7022 echo "cannot
find nm_test_var
in $nlist" >&5
7025 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
7028 echo "$progname: failed program was
:" >&5
7029 cat conftest.$ac_ext >&5
7031 rm -rf conftest* conftst*
7033 # Do not use the global_symbol_pipe unless it works.
7034 if test "$pipe_works" = yes; then
7037 lt_cv_sys_global_symbol_pipe=
7043 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7044 lt_cv_sys_global_symbol_to_cdecl=
7046 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7047 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
7048 $as_echo "failed
" >&6; }
7050 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
7051 $as_echo "ok
" >&6; }
7075 # Check whether --enable-libtool-lock was given.
7076 if test "${enable_libtool_lock+set}" = set; then :
7077 enableval=$enable_libtool_lock;
7080 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
7082 # Some flags need to be propagated to the compiler or linker for good
7086 # Find out which ABI we are using.
7087 echo 'int i;' > conftest.$ac_ext
7088 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7089 (eval $ac_compile) 2>&5
7091 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7092 test $ac_status = 0; }; then
7093 case `/usr/bin/file conftest.$ac_objext` in
7105 # Find out which ABI we are using.
7106 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
7107 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7108 (eval $ac_compile) 2>&5
7110 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7111 test $ac_status = 0; }; then
7112 if test "$lt_cv_prog_gnu_ld" = yes; then
7113 case `/usr/bin/file conftest.$ac_objext` in
7115 LD="${LD-ld} -melf32bsmip"
7118 LD="${LD-ld} -melf32bmipn32"
7121 LD="${LD-ld} -melf64bmip"
7125 case `/usr/bin/file conftest.$ac_objext` in
7141 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7142 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7143 # Find out which ABI we are using.
7144 echo 'int i;' > conftest.$ac_ext
7145 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7146 (eval $ac_compile) 2>&5
7148 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7149 test $ac_status = 0; }; then
7150 case `/usr/bin/file conftest.o` in
7153 x86_64-*kfreebsd*-gnu)
7154 LD="${LD-ld} -m elf_i386_fbsd
"
7157 case `/usr/bin/file conftest.o` in
7159 LD="${LD-ld} -m elf32_x86_64
"
7162 LD="${LD-ld} -m elf_i386
"
7166 powerpc64le-*linux*)
7167 LD="${LD-ld} -m elf32lppclinux
"
7170 LD="${LD-ld} -m elf32ppclinux
"
7173 LD="${LD-ld} -m elf_s390
"
7176 LD="${LD-ld} -m elf32_sparc
"
7182 x86_64-*kfreebsd*-gnu)
7183 LD="${LD-ld} -m elf_x86_64_fbsd
"
7186 LD="${LD-ld} -m elf_x86_64
"
7189 LD="${LD-ld} -m elf64lppc
"
7192 LD="${LD-ld} -m elf64ppc
"
7194 s390*-*linux*|s390*-*tpf*)
7195 LD="${LD-ld} -m elf64_s390
"
7198 LD="${LD-ld} -m elf64_sparc
"
7208 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7209 SAVE_CFLAGS="$CFLAGS"
7210 CFLAGS="$CFLAGS -belf"
7211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
7212 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
7213 if ${lt_cv_cc_needs_belf+:} false; then :
7214 $as_echo_n "(cached
) " >&6
7217 ac_cpp='$CPP $CPPFLAGS'
7218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7223 /* end confdefs.h. */
7233 if ac_fn_c_try_link "$LINENO"; then :
7234 lt_cv_cc_needs_belf=yes
7236 lt_cv_cc_needs_belf=no
7238 rm -f core conftest.err conftest.$ac_objext \
7239 conftest$ac_exeext conftest.$ac_ext
7241 ac_cpp='$CPP $CPPFLAGS'
7242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7247 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
7248 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7249 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7250 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7251 CFLAGS="$SAVE_CFLAGS"
7255 # Find out which ABI we are using.
7256 echo 'int i;' > conftest.$ac_ext
7257 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7258 (eval $ac_compile) 2>&5
7260 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7261 test $ac_status = 0; }; then
7262 case `/usr/bin/file conftest.o` in
7264 case $lt_cv_prog_gnu_ld in
7265 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
7267 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7279 need_locks="$enable_libtool_lock"
7283 rhapsody* | darwin*)
7284 if test -n "$ac_tool_prefix"; then
7285 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
7286 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7288 $as_echo_n "checking
for $ac_word...
" >&6; }
7289 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7290 $as_echo_n "(cached
) " >&6
7292 if test -n "$DSYMUTIL"; then
7293 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7299 test -z "$as_dir" && as_dir=.
7300 for ac_exec_ext in '' $ac_executable_extensions; do
7301 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7302 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
7303 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7312 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7313 if test -n "$DSYMUTIL"; then
7314 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
7315 $as_echo "$DSYMUTIL" >&6; }
7317 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7318 $as_echo "no
" >&6; }
7323 if test -z "$ac_cv_prog_DSYMUTIL"; then
7324 ac_ct_DSYMUTIL=$DSYMUTIL
7325 # Extract the first word of "dsymutil
", so it can be a program name with args.
7326 set dummy dsymutil; ac_word=$2
7327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7328 $as_echo_n "checking
for $ac_word...
" >&6; }
7329 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7330 $as_echo_n "(cached
) " >&6
7332 if test -n "$ac_ct_DSYMUTIL"; then
7333 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7339 test -z "$as_dir" && as_dir=.
7340 for ac_exec_ext in '' $ac_executable_extensions; do
7341 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7342 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
7343 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7352 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7353 if test -n "$ac_ct_DSYMUTIL"; then
7354 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
7355 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7357 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7358 $as_echo "no
" >&6; }
7361 if test "x
$ac_ct_DSYMUTIL" = x; then
7364 case $cross_compiling:$ac_tool_warned in
7366 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7367 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7368 ac_tool_warned=yes ;;
7370 DSYMUTIL=$ac_ct_DSYMUTIL
7373 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7376 if test -n "$ac_tool_prefix"; then
7377 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
7378 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7380 $as_echo_n "checking
for $ac_word...
" >&6; }
7381 if ${ac_cv_prog_NMEDIT+:} false; then :
7382 $as_echo_n "(cached
) " >&6
7384 if test -n "$NMEDIT"; then
7385 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7391 test -z "$as_dir" && as_dir=.
7392 for ac_exec_ext in '' $ac_executable_extensions; do
7393 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7394 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
7395 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7404 NMEDIT=$ac_cv_prog_NMEDIT
7405 if test -n "$NMEDIT"; then
7406 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
7407 $as_echo "$NMEDIT" >&6; }
7409 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7410 $as_echo "no
" >&6; }
7415 if test -z "$ac_cv_prog_NMEDIT"; then
7416 ac_ct_NMEDIT=$NMEDIT
7417 # Extract the first word of "nmedit
", so it can be a program name with args.
7418 set dummy nmedit; ac_word=$2
7419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7420 $as_echo_n "checking
for $ac_word...
" >&6; }
7421 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7422 $as_echo_n "(cached
) " >&6
7424 if test -n "$ac_ct_NMEDIT"; then
7425 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7427 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7431 test -z "$as_dir" && as_dir=.
7432 for ac_exec_ext in '' $ac_executable_extensions; do
7433 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7434 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
7435 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7444 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7445 if test -n "$ac_ct_NMEDIT"; then
7446 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
7447 $as_echo "$ac_ct_NMEDIT" >&6; }
7449 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7450 $as_echo "no
" >&6; }
7453 if test "x
$ac_ct_NMEDIT" = x; then
7456 case $cross_compiling:$ac_tool_warned in
7458 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7459 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7460 ac_tool_warned=yes ;;
7462 NMEDIT=$ac_ct_NMEDIT
7465 NMEDIT="$ac_cv_prog_NMEDIT"
7468 if test -n "$ac_tool_prefix"; then
7469 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
7470 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7472 $as_echo_n "checking
for $ac_word...
" >&6; }
7473 if ${ac_cv_prog_LIPO+:} false; then :
7474 $as_echo_n "(cached
) " >&6
7476 if test -n "$LIPO"; then
7477 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7479 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7483 test -z "$as_dir" && as_dir=.
7484 for ac_exec_ext in '' $ac_executable_extensions; do
7485 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7486 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
7487 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7496 LIPO=$ac_cv_prog_LIPO
7497 if test -n "$LIPO"; then
7498 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
7499 $as_echo "$LIPO" >&6; }
7501 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7502 $as_echo "no
" >&6; }
7507 if test -z "$ac_cv_prog_LIPO"; then
7509 # Extract the first word of "lipo
", so it can be a program name with args.
7510 set dummy lipo; ac_word=$2
7511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7512 $as_echo_n "checking
for $ac_word...
" >&6; }
7513 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7514 $as_echo_n "(cached
) " >&6
7516 if test -n "$ac_ct_LIPO"; then
7517 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7519 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7523 test -z "$as_dir" && as_dir=.
7524 for ac_exec_ext in '' $ac_executable_extensions; do
7525 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7526 ac_cv_prog_ac_ct_LIPO="lipo
"
7527 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7536 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7537 if test -n "$ac_ct_LIPO"; then
7538 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
7539 $as_echo "$ac_ct_LIPO" >&6; }
7541 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7542 $as_echo "no
" >&6; }
7545 if test "x
$ac_ct_LIPO" = x; then
7548 case $cross_compiling:$ac_tool_warned in
7550 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7551 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7552 ac_tool_warned=yes ;;
7557 LIPO="$ac_cv_prog_LIPO"
7560 if test -n "$ac_tool_prefix"; then
7561 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
7562 set dummy ${ac_tool_prefix}otool; ac_word=$2
7563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7564 $as_echo_n "checking
for $ac_word...
" >&6; }
7565 if ${ac_cv_prog_OTOOL+:} false; then :
7566 $as_echo_n "(cached
) " >&6
7568 if test -n "$OTOOL"; then
7569 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7571 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7575 test -z "$as_dir" && as_dir=.
7576 for ac_exec_ext in '' $ac_executable_extensions; do
7577 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7578 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
7579 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7588 OTOOL=$ac_cv_prog_OTOOL
7589 if test -n "$OTOOL"; then
7590 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
7591 $as_echo "$OTOOL" >&6; }
7593 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7594 $as_echo "no
" >&6; }
7599 if test -z "$ac_cv_prog_OTOOL"; then
7601 # Extract the first word of "otool
", so it can be a program name with args.
7602 set dummy otool; ac_word=$2
7603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7604 $as_echo_n "checking
for $ac_word...
" >&6; }
7605 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7606 $as_echo_n "(cached
) " >&6
7608 if test -n "$ac_ct_OTOOL"; then
7609 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7611 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7615 test -z "$as_dir" && as_dir=.
7616 for ac_exec_ext in '' $ac_executable_extensions; do
7617 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7618 ac_cv_prog_ac_ct_OTOOL="otool
"
7619 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7628 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7629 if test -n "$ac_ct_OTOOL"; then
7630 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
7631 $as_echo "$ac_ct_OTOOL" >&6; }
7633 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7634 $as_echo "no
" >&6; }
7637 if test "x
$ac_ct_OTOOL" = x; then
7640 case $cross_compiling:$ac_tool_warned in
7642 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7643 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7644 ac_tool_warned=yes ;;
7649 OTOOL="$ac_cv_prog_OTOOL"
7652 if test -n "$ac_tool_prefix"; then
7653 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
7654 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7656 $as_echo_n "checking
for $ac_word...
" >&6; }
7657 if ${ac_cv_prog_OTOOL64+:} false; then :
7658 $as_echo_n "(cached
) " >&6
7660 if test -n "$OTOOL64"; then
7661 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7663 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7667 test -z "$as_dir" && as_dir=.
7668 for ac_exec_ext in '' $ac_executable_extensions; do
7669 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7670 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
7671 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7680 OTOOL64=$ac_cv_prog_OTOOL64
7681 if test -n "$OTOOL64"; then
7682 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
7683 $as_echo "$OTOOL64" >&6; }
7685 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7686 $as_echo "no
" >&6; }
7691 if test -z "$ac_cv_prog_OTOOL64"; then
7692 ac_ct_OTOOL64=$OTOOL64
7693 # Extract the first word of "otool64
", so it can be a program name with args.
7694 set dummy otool64; ac_word=$2
7695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7696 $as_echo_n "checking
for $ac_word...
" >&6; }
7697 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7698 $as_echo_n "(cached
) " >&6
7700 if test -n "$ac_ct_OTOOL64"; then
7701 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7703 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7707 test -z "$as_dir" && as_dir=.
7708 for ac_exec_ext in '' $ac_executable_extensions; do
7709 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7710 ac_cv_prog_ac_ct_OTOOL64="otool64
"
7711 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7720 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7721 if test -n "$ac_ct_OTOOL64"; then
7722 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
7723 $as_echo "$ac_ct_OTOOL64" >&6; }
7725 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7726 $as_echo "no
" >&6; }
7729 if test "x
$ac_ct_OTOOL64" = x; then
7732 case $cross_compiling:$ac_tool_warned in
7734 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7735 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7736 ac_tool_warned=yes ;;
7738 OTOOL64=$ac_ct_OTOOL64
7741 OTOOL64="$ac_cv_prog_OTOOL64"
7770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
7771 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
7772 if ${lt_cv_apple_cc_single_mod+:} false; then :
7773 $as_echo_n "(cached
) " >&6
7775 lt_cv_apple_cc_single_mod=no
7776 if test -z "${LT_MULTI_MODULE}"; then
7777 # By default we will add the -single_module flag. You can override
7778 # by either setting the environment variable LT_MULTI_MODULE
7779 # non-empty at configure time, or by adding -multi_module to the
7781 rm -rf libconftest.dylib*
7782 echo "int foo
(void
){return 1;}" > conftest.c
7783 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7784 -dynamiclib -Wl,-single_module conftest.c
" >&5
7785 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7786 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7788 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7789 lt_cv_apple_cc_single_mod=yes
7791 cat conftest.err >&5
7793 rm -rf libconftest.dylib*
7797 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
7798 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
7800 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
7801 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7802 $as_echo_n "(cached
) " >&6
7804 lt_cv_ld_exported_symbols_list=no
7805 save_LDFLAGS=$LDFLAGS
7806 echo "_main
" > conftest.sym
7807 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
7808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7809 /* end confdefs.h. */
7819 if ac_fn_c_try_link "$LINENO"; then :
7820 lt_cv_ld_exported_symbols_list=yes
7822 lt_cv_ld_exported_symbols_list=no
7824 rm -f core conftest.err conftest.$ac_objext \
7825 conftest$ac_exeext conftest.$ac_ext
7826 LDFLAGS="$save_LDFLAGS"
7829 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
7830 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
7832 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
7833 if ${lt_cv_ld_force_load+:} false; then :
7834 $as_echo_n "(cached
) " >&6
7836 lt_cv_ld_force_load=no
7837 cat > conftest.c << _LT_EOF
7838 int forced_loaded() { return 2;}
7840 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
7841 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7842 echo "$AR cru libconftest.a conftest.o
" >&5
7843 $AR cru libconftest.a conftest.o 2>&5
7844 cat > conftest.c << _LT_EOF
7845 int main() { return 0;}
7847 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
7848 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7850 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7851 lt_cv_ld_force_load=yes
7853 cat conftest.err >&5
7855 rm -f conftest.err libconftest.a conftest conftest.c
7856 rm -rf conftest.dSYM
7859 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
7860 $as_echo "$lt_cv_ld_force_load" >&6; }
7862 rhapsody* | darwin1.[012])
7863 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7865 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7866 darwin*) # darwin 5.x on
7867 # if running on 10.5 or later, the deployment target defaults
7868 # to the OS version, if on x86, and 10.4, the deployment
7869 # target defaults to 10.4. Don't you love it?
7870 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7871 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7872 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7874 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7876 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7880 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7881 _lt_dar_single_mod='$single_module'
7883 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7884 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7886 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7888 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
7889 _lt_dsymutil='~$DSYMUTIL $lib || :'
7896 for ac_header in dlfcn.h
7898 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h
" "ac_cv_header_dlfcn_h
" "$ac_includes_default
7900 if test "x
$ac_cv_header_dlfcn_h" = xyes; then :
7901 cat >>confdefs.h <<_ACEOF
7902 #define HAVE_DLFCN_H 1
7911 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
7912 as_ac_Header=`$as_echo "ac_cv_header_dirent_
$ac_hdr" | $as_tr_sh`
7913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_hdr that defines DIR
" >&5
7914 $as_echo_n "checking
for $ac_hdr that defines DIR...
" >&6; }
7915 if eval \${$as_ac_Header+:} false; then :
7916 $as_echo_n "(cached
) " >&6
7918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7919 /* end confdefs.h. */
7920 #include <sys/types.h>
7932 if ac_fn_c_try_compile "$LINENO"; then :
7933 eval "$as_ac_Header=yes"
7935 eval "$as_ac_Header=no
"
7937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7939 eval ac_res=\$$as_ac_Header
7940 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_res" >&5
7941 $as_echo "$ac_res" >&6; }
7942 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7943 cat >>confdefs.h <<_ACEOF
7944 #define `$as_echo "HAVE_
$ac_hdr" | $as_tr_cpp` 1
7947 ac_header_dirent=$ac_hdr; break
7951 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
7952 if test $ac_header_dirent = dirent.h; then
7953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for library containing opendir
" >&5
7954 $as_echo_n "checking
for library containing opendir...
" >&6; }
7955 if ${ac_cv_search_opendir+:} false; then :
7956 $as_echo_n "(cached
) " >&6
7958 ac_func_search_save_LIBS=$LIBS
7959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7960 /* end confdefs.h. */
7962 /* Override any GCC internal prototype to avoid an error.
7963 Use char because int might match the return type of a GCC
7964 builtin and then its argument prototype would still apply. */
7977 for ac_lib in '' dir; do
7978 if test -z "$ac_lib"; then
7979 ac_res="none required
"
7982 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
7984 if ac_fn_c_try_link "$LINENO"; then :
7985 ac_cv_search_opendir=$ac_res
7987 rm -f core conftest.err conftest.$ac_objext \
7989 if ${ac_cv_search_opendir+:} false; then :
7993 if ${ac_cv_search_opendir+:} false; then :
7996 ac_cv_search_opendir=no
7999 LIBS=$ac_func_search_save_LIBS
8001 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_search_opendir" >&5
8002 $as_echo "$ac_cv_search_opendir" >&6; }
8003 ac_res=$ac_cv_search_opendir
8004 if test "$ac_res" != no; then :
8005 test "$ac_res" = "none required
" || LIBS="$ac_res $LIBS"
8010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for library containing opendir
" >&5
8011 $as_echo_n "checking
for library containing opendir...
" >&6; }
8012 if ${ac_cv_search_opendir+:} false; then :
8013 $as_echo_n "(cached
) " >&6
8015 ac_func_search_save_LIBS=$LIBS
8016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8017 /* end confdefs.h. */
8019 /* Override any GCC internal prototype to avoid an error.
8020 Use char because int might match the return type of a GCC
8021 builtin and then its argument prototype would still apply. */
8034 for ac_lib in '' x; do
8035 if test -z "$ac_lib"; then
8036 ac_res="none required
"
8039 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
8041 if ac_fn_c_try_link "$LINENO"; then :
8042 ac_cv_search_opendir=$ac_res
8044 rm -f core conftest.err conftest.$ac_objext \
8046 if ${ac_cv_search_opendir+:} false; then :
8050 if ${ac_cv_search_opendir+:} false; then :
8053 ac_cv_search_opendir=no
8056 LIBS=$ac_func_search_save_LIBS
8058 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_search_opendir" >&5
8059 $as_echo "$ac_cv_search_opendir" >&6; }
8060 ac_res=$ac_cv_search_opendir
8061 if test "$ac_res" != no; then :
8062 test "$ac_res" = "none required
" || LIBS="$ac_res $LIBS"
8071 ac_fn_c_check_member "$LINENO" "struct stat
" "st_blksize
" "ac_cv_member_struct_stat_st_blksize
" "$ac_includes_default"
8072 if test "x
$ac_cv_member_struct_stat_st_blksize" = xyes; then :
8074 cat >>confdefs.h <<_ACEOF
8075 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
8079 $as_echo "#define HAVE_ST_BLKSIZE 1" >>confdefs.h
8084 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
8085 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
8087 cat >>confdefs.h
<<_ACEOF
8088 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
8092 $as_echo "#define HAVE_ST_BLOCKS 1" >>confdefs.h
8095 case " $LIBOBJS " in
8096 *" fileblocks.$ac_objext "* ) ;;
8097 *) LIBOBJS
="$LIBOBJS fileblocks.$ac_objext"
8104 ac_fn_c_check_member
"$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
8105 if test "x$ac_cv_member_struct_stat_st_rdev" = xyes
; then :
8107 cat >>confdefs.h
<<_ACEOF
8108 #define HAVE_STRUCT_STAT_ST_RDEV 1
8112 $as_echo "#define HAVE_ST_RDEV 1" >>confdefs.h
8117 ac_fn_c_check_member
"$LINENO" "struct tm" "tm_zone" "ac_cv_member_struct_tm_tm_zone" "#include <sys/types.h>
8118 #include <$ac_cv_struct_tm>
8121 if test "x$ac_cv_member_struct_tm_tm_zone" = xyes
; then :
8123 cat >>confdefs.h
<<_ACEOF
8124 #define HAVE_STRUCT_TM_TM_ZONE 1
8130 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
8132 $as_echo "#define HAVE_TM_ZONE 1" >>confdefs.h
8135 ac_fn_c_check_decl
"$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include <time.h>
8137 if test "x$ac_cv_have_decl_tzname" = xyes
; then :
8143 cat >>confdefs.h
<<_ACEOF
8144 #define HAVE_DECL_TZNAME $ac_have_decl
8147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5
8148 $as_echo_n "checking for tzname... " >&6; }
8149 if ${ac_cv_var_tzname+:} false
; then :
8150 $as_echo_n "(cached) " >&6
8152 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8153 /* end confdefs.h. */
8155 #if !HAVE_DECL_TZNAME
8156 extern char *tzname[];
8162 return tzname[0][0];
8167 if ac_fn_c_try_link
"$LINENO"; then :
8168 ac_cv_var_tzname
=yes
8172 rm -f core conftest.err conftest.
$ac_objext \
8173 conftest
$ac_exeext conftest.
$ac_ext
8175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_tzname" >&5
8176 $as_echo "$ac_cv_var_tzname" >&6; }
8177 if test $ac_cv_var_tzname = yes; then
8179 $as_echo "#define HAVE_TZNAME 1" >>confdefs.h
8185 ac_fn_c_check_member
"$LINENO" "struct stat" "st_dev" "ac_cv_member_struct_stat_st_dev" "#ifdef HAVE_SYS_TYPES_H
8186 #include <sys/types.h>
8188 #ifdef HAVE_SYS_STAT_H
8189 #include <sys/stat.h>
8192 if test "x$ac_cv_member_struct_stat_st_dev" = xyes
; then :
8194 cat >>confdefs.h
<<_ACEOF
8195 #define HAVE_STRUCT_STAT_ST_DEV 1
8200 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ino" "ac_cv_member_struct_stat_st_ino" "#ifdef HAVE_SYS_TYPES_H
8201 #include <sys/types.h>
8203 #ifdef HAVE_SYS_STAT_H
8204 #include <sys/stat.h>
8207 if test "x$ac_cv_member_struct_stat_st_ino" = xyes
; then :
8209 cat >>confdefs.h
<<_ACEOF
8210 #define HAVE_STRUCT_STAT_ST_INO 1
8215 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mode" "ac_cv_member_struct_stat_st_mode" "#ifdef HAVE_SYS_TYPES_H
8216 #include <sys/types.h>
8218 #ifdef HAVE_SYS_STAT_H
8219 #include <sys/stat.h>
8222 if test "x$ac_cv_member_struct_stat_st_mode" = xyes
; then :
8224 cat >>confdefs.h
<<_ACEOF
8225 #define HAVE_STRUCT_STAT_ST_MODE 1
8230 ac_fn_c_check_member
"$LINENO" "struct stat" "st_nlink" "ac_cv_member_struct_stat_st_nlink" "#ifdef HAVE_SYS_TYPES_H
8231 #include <sys/types.h>
8233 #ifdef HAVE_SYS_STAT_H
8234 #include <sys/stat.h>
8237 if test "x$ac_cv_member_struct_stat_st_nlink" = xyes
; then :
8239 cat >>confdefs.h
<<_ACEOF
8240 #define HAVE_STRUCT_STAT_ST_NLINK 1
8245 ac_fn_c_check_member
"$LINENO" "struct stat" "st_uid" "ac_cv_member_struct_stat_st_uid" "#ifdef HAVE_SYS_TYPES_H
8246 #include <sys/types.h>
8248 #ifdef HAVE_SYS_STAT_H
8249 #include <sys/stat.h>
8252 if test "x$ac_cv_member_struct_stat_st_uid" = xyes
; then :
8254 cat >>confdefs.h
<<_ACEOF
8255 #define HAVE_STRUCT_STAT_ST_UID 1
8260 ac_fn_c_check_member
"$LINENO" "struct stat" "st_gid" "ac_cv_member_struct_stat_st_gid" "#ifdef HAVE_SYS_TYPES_H
8261 #include <sys/types.h>
8263 #ifdef HAVE_SYS_STAT_H
8264 #include <sys/stat.h>
8267 if test "x$ac_cv_member_struct_stat_st_gid" = xyes
; then :
8269 cat >>confdefs.h
<<_ACEOF
8270 #define HAVE_STRUCT_STAT_ST_GID 1
8275 ac_fn_c_check_member
"$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "#ifdef HAVE_SYS_TYPES_H
8276 #include <sys/types.h>
8278 #ifdef HAVE_SYS_STAT_H
8279 #include <sys/stat.h>
8282 if test "x$ac_cv_member_struct_stat_st_rdev" = xyes
; then :
8284 cat >>confdefs.h
<<_ACEOF
8285 #define HAVE_STRUCT_STAT_ST_RDEV 1
8290 ac_fn_c_check_member
"$LINENO" "struct stat" "st_size" "ac_cv_member_struct_stat_st_size" "#ifdef HAVE_SYS_TYPES_H
8291 #include <sys/types.h>
8293 #ifdef HAVE_SYS_STAT_H
8294 #include <sys/stat.h>
8297 if test "x$ac_cv_member_struct_stat_st_size" = xyes
; then :
8299 cat >>confdefs.h
<<_ACEOF
8300 #define HAVE_STRUCT_STAT_ST_SIZE 1
8305 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "#ifdef HAVE_SYS_TYPES_H
8306 #include <sys/types.h>
8308 #ifdef HAVE_SYS_STAT_H
8309 #include <sys/stat.h>
8312 if test "x$ac_cv_member_struct_stat_st_blksize" = xyes
; then :
8314 cat >>confdefs.h
<<_ACEOF
8315 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
8320 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "#ifdef HAVE_SYS_TYPES_H
8321 #include <sys/types.h>
8323 #ifdef HAVE_SYS_STAT_H
8324 #include <sys/stat.h>
8327 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
8329 cat >>confdefs.h
<<_ACEOF
8330 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
8335 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atime" "ac_cv_member_struct_stat_st_atime" "#ifdef HAVE_SYS_TYPES_H
8336 #include <sys/types.h>
8338 #ifdef HAVE_SYS_STAT_H
8339 #include <sys/stat.h>
8342 if test "x$ac_cv_member_struct_stat_st_atime" = xyes
; then :
8344 cat >>confdefs.h
<<_ACEOF
8345 #define HAVE_STRUCT_STAT_ST_ATIME 1
8350 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtime" "ac_cv_member_struct_stat_st_mtime" "#ifdef HAVE_SYS_TYPES_H
8351 #include <sys/types.h>
8353 #ifdef HAVE_SYS_STAT_H
8354 #include <sys/stat.h>
8357 if test "x$ac_cv_member_struct_stat_st_mtime" = xyes
; then :
8359 cat >>confdefs.h
<<_ACEOF
8360 #define HAVE_STRUCT_STAT_ST_MTIME 1
8365 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctime" "ac_cv_member_struct_stat_st_ctime" "#ifdef HAVE_SYS_TYPES_H
8366 #include <sys/types.h>
8368 #ifdef HAVE_SYS_STAT_H
8369 #include <sys/stat.h>
8372 if test "x$ac_cv_member_struct_stat_st_ctime" = xyes
; then :
8374 cat >>confdefs.h
<<_ACEOF
8375 #define HAVE_STRUCT_STAT_ST_CTIME 1
8382 ac_fn_c_check_type
"$LINENO" "__int128" "ac_cv_type___int128" "$ac_includes_default"
8383 if test "x$ac_cv_type___int128" = xyes
; then :
8385 cat >>confdefs.h
<<_ACEOF
8386 #define HAVE___INT128 1
8392 ac_fn_c_check_type
"$LINENO" "socklen_t" "ac_cv_type_socklen_t" "#include <sys/types.h>
8393 #include <sys/socket.h>
8396 if test "x$ac_cv_type_socklen_t" = xyes
; then :
8398 cat >>confdefs.h
<<_ACEOF
8399 #define HAVE_SOCKLEN_T 1
8406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking type of array argument to getgroups" >&5
8407 $as_echo_n "checking type of array argument to getgroups... " >&6; }
8408 if ${ac_cv_type_getgroups+:} false
; then :
8409 $as_echo_n "(cached) " >&6
8411 if test "$cross_compiling" = yes; then :
8412 ac_cv_type_getgroups
=cross
8414 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8415 /* end confdefs.h. */
8416 /* Thanks to Mike Rendell for this test. */
8417 $ac_includes_default
8420 #define MAX(x, y) ((x) > (y) ? (x) : (y))
8427 union { gid_t gval; long int lval; } val;
8430 for (i = 0; i < NGID; i++)
8431 gidset[i] = val.gval;
8432 n = getgroups (sizeof (gidset) / MAX (sizeof (int), sizeof (gid_t)) - 1,
8434 /* Exit non-zero if getgroups seems to require an array of ints. This
8435 happens when gid_t is short int but getgroups modifies an array
8437 return n > 0 && gidset[n] != val.gval;
8440 if ac_fn_c_try_run
"$LINENO"; then :
8441 ac_cv_type_getgroups
=gid_t
8443 ac_cv_type_getgroups
=int
8445 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
8446 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
8449 if test $ac_cv_type_getgroups = cross
; then
8450 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8451 /* end confdefs.h. */
8455 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8456 $EGREP "getgroups.*int.*gid_t" >/dev
/null
2>&1; then :
8457 ac_cv_type_getgroups
=gid_t
8459 ac_cv_type_getgroups
=int
8465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_getgroups" >&5
8466 $as_echo "$ac_cv_type_getgroups" >&6; }
8468 cat >>confdefs.h
<<_ACEOF
8469 #define GETGROUPS_T $ac_cv_type_getgroups
8473 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
8474 if test "x$ac_cv_type_mode_t" = xyes
; then :
8478 cat >>confdefs.h
<<_ACEOF
8484 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
8485 if test "x$ac_cv_type_off_t" = xyes
; then :
8489 cat >>confdefs.h
<<_ACEOF
8490 #define off_t long int
8495 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
8496 if test "x$ac_cv_type_pid_t" = xyes
; then :
8500 cat >>confdefs.h
<<_ACEOF
8506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
8507 $as_echo_n "checking return type of signal handlers... " >&6; }
8508 if ${ac_cv_type_signal+:} false
; then :
8509 $as_echo_n "(cached) " >&6
8511 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8512 /* end confdefs.h. */
8513 #include <sys/types.h>
8519 return *(signal (0, 0)) (0) == 1;
8524 if ac_fn_c_try_compile
"$LINENO"; then :
8525 ac_cv_type_signal
=int
8527 ac_cv_type_signal
=void
8529 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
8532 $as_echo "$ac_cv_type_signal" >&6; }
8534 cat >>confdefs.h
<<_ACEOF
8535 #define RETSIGTYPE $ac_cv_type_signal
8539 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
8540 if test "x$ac_cv_type_size_t" = xyes
; then :
8544 cat >>confdefs.h
<<_ACEOF
8545 #define size_t unsigned int
8550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
8551 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
8552 if ${ac_cv_type_uid_t+:} false
; then :
8553 $as_echo_n "(cached) " >&6
8555 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8556 /* end confdefs.h. */
8557 #include <sys/types.h>
8560 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8561 $EGREP "uid_t" >/dev
/null
2>&1; then :
8562 ac_cv_type_uid_t
=yes
8569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
8570 $as_echo "$ac_cv_type_uid_t" >&6; }
8571 if test $ac_cv_type_uid_t = no
; then
8573 $as_echo "#define uid_t int" >>confdefs.h
8576 $as_echo "#define gid_t int" >>confdefs.h
8582 # If we haven't got the data from the intl directory,
8583 # assume NLS is disabled.
8592 if test -f ..
/intl
/config.intl
; then
8593 . ..
/intl
/config.intl
8595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
8596 $as_echo_n "checking whether NLS is requested... " >&6; }
8597 if test x
"$USE_NLS" != xyes
; then
8598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8599 $as_echo "no" >&6; }
8601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8602 $as_echo "yes" >&6; }
8604 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
8607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
8608 $as_echo_n "checking for catalogs to be installed... " >&6; }
8609 # Look for .po and .gmo files in the source directory.
8612 for cat in $srcdir/po
/*.gmo
$srcdir/po
/*.po
; do
8613 # If there aren't any .gmo files the shell will give us the
8614 # literal string "../path/to/srcdir/po/*.gmo" which has to be
8616 case "$cat" in *\
**)
8619 # The quadruple backslash is collapsed to a double backslash
8620 # by the backticks, then collapsed again by the double quotes,
8621 # leaving us with one backslash in the sed expression (right
8622 # before the dot that mustn't act as a wildcard).
8623 cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
8624 lang
=`echo $cat | sed -e "s!\\\\.gmo!!"`
8625 # The user is allowed to set LINGUAS to a list of languages to
8626 # install catalogs for. If it's empty that means "all of them."
8627 if test "x$LINGUAS" = x
; then
8628 CATALOGS
="$CATALOGS $cat"
8629 XLINGUAS
="$XLINGUAS $lang"
8631 case "$LINGUAS" in *$lang*)
8632 CATALOGS
="$CATALOGS $cat"
8633 XLINGUAS
="$XLINGUAS $lang"
8639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
8640 $as_echo "$LINGUAS" >&6; }
8654 # Use the system's zlib library.
8655 zlibdir
="-L\$(top_builddir)/../zlib"
8656 zlibinc
="-I\$(top_srcdir)/../zlib"
8658 # Check whether --with-system-zlib was given.
8659 if test "${with_system_zlib+set}" = set; then :
8660 withval
=$with_system_zlib; if test x
$with_system_zlib = xyes
; then
8673 for ac_header
in dlfcn.h
8675 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8677 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
8678 cat >>confdefs.h
<<_ACEOF
8679 #define HAVE_DLFCN_H 1
8686 for ac_header
in windows.h
8688 ac_fn_c_check_header_compile
"$LINENO" "windows.h" "ac_cv_header_windows_h" "$ac_includes_default
8690 if test "x$ac_cv_header_windows_h" = xyes
; then :
8691 cat >>confdefs.h
<<_ACEOF
8692 #define HAVE_WINDOWS_H 1
8700 # Check whether --enable-plugins was given.
8701 if test "${enable_plugins+set}" = set; then :
8702 enableval
=$enable_plugins; case "${enableval}" in
8705 if test "$maybe_plugins" != "yes" ; then
8706 as_fn_error $?
"Building with plugin support requires a host that supports dlopen." "$LINENO" 5
8710 plugins
=$maybe_plugins
8714 if test "$plugins" = "yes"; then
8715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlsym" >&5
8716 $as_echo_n "checking for library containing dlsym... " >&6; }
8717 if ${ac_cv_search_dlsym+:} false
; then :
8718 $as_echo_n "(cached) " >&6
8720 ac_func_search_save_LIBS
=$LIBS
8721 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8722 /* end confdefs.h. */
8724 /* Override any GCC internal prototype to avoid an error.
8725 Use char because int might match the return type of a GCC
8726 builtin and then its argument prototype would still apply. */
8739 for ac_lib
in '' dl
; do
8740 if test -z "$ac_lib"; then
8741 ac_res
="none required"
8744 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
8746 if ac_fn_c_try_link
"$LINENO"; then :
8747 ac_cv_search_dlsym
=$ac_res
8749 rm -f core conftest.err conftest.
$ac_objext \
8751 if ${ac_cv_search_dlsym+:} false
; then :
8755 if ${ac_cv_search_dlsym+:} false
; then :
8758 ac_cv_search_dlsym
=no
8761 LIBS
=$ac_func_search_save_LIBS
8763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlsym" >&5
8764 $as_echo "$ac_cv_search_dlsym" >&6; }
8765 ac_res
=$ac_cv_search_dlsym
8766 if test "$ac_res" != no
; then :
8767 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
8773 if test "$plugins" = yes; then
8794 # Check whether --enable-shared was given.
8795 if test "${enable_shared+set}" = set; then :
8796 enableval
=$enable_shared; p
=${PACKAGE-default}
8798 yes) enable_shared
=yes ;;
8799 no
) enable_shared
=no
;;
8802 # Look at the argument we got. We use all the common list separators.
8803 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8804 for pkg
in $enableval; do
8806 if test "X$pkg" = "X$p"; then
8825 # Check whether --enable-static was given.
8826 if test "${enable_static+set}" = set; then :
8827 enableval
=$enable_static; p
=${PACKAGE-default}
8829 yes) enable_static
=yes ;;
8830 no
) enable_static
=no
;;
8833 # Look at the argument we got. We use all the common list separators.
8834 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8835 for pkg
in $enableval; do
8837 if test "X$pkg" = "X$p"; then
8857 # Check whether --with-pic was given.
8858 if test "${with_pic+set}" = set; then :
8859 withval
=$with_pic; pic_mode
="$withval"
8865 test -z "$pic_mode" && pic_mode
=default
8873 # Check whether --enable-fast-install was given.
8874 if test "${enable_fast_install+set}" = set; then :
8875 enableval
=$enable_fast_install; p
=${PACKAGE-default}
8877 yes) enable_fast_install
=yes ;;
8878 no
) enable_fast_install
=no
;;
8880 enable_fast_install
=no
8881 # Look at the argument we got. We use all the common list separators.
8882 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8883 for pkg
in $enableval; do
8885 if test "X$pkg" = "X$p"; then
8886 enable_fast_install
=yes
8893 enable_fast_install
=yes
8906 # This can be used to rebuild libtool when needed
8907 LIBTOOL_DEPS
="$ltmain"
8909 # Always use our own libtool.
8910 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
8937 test -z "$LN_S" && LN_S
="ln -s"
8952 if test -n "${ZSH_VERSION+set}" ; then
8953 setopt NO_GLOB_SUBST
8956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8957 $as_echo_n "checking for objdir... " >&6; }
8958 if ${lt_cv_objdir+:} false
; then :
8959 $as_echo_n "(cached) " >&6
8961 rm -f .libs
2>/dev
/null
8962 mkdir .libs
2>/dev
/null
8963 if test -d .libs
; then
8966 # MS-DOS does not allow filenames that begin with a dot.
8969 rmdir .libs
2>/dev
/null
8971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8972 $as_echo "$lt_cv_objdir" >&6; }
8973 objdir
=$lt_cv_objdir
8979 cat >>confdefs.h
<<_ACEOF
8980 #define LT_OBJDIR "$lt_cv_objdir/"
8988 # AIX sometimes has problems with the GCC collect2 program. For some
8989 # reason, if we set the COLLECT_NAMES environment variable, the problems
8990 # vanish in a puff of smoke.
8991 if test "X${COLLECT_NAMES+set}" != Xset
; then
8993 export COLLECT_NAMES
9000 can_build_shared
=yes
9002 # All known linkers require a `.a' archive for static linking (except MSVC,
9003 # which needs '.lib').
9006 with_gnu_ld
="$lt_cv_prog_gnu_ld"
9009 old_CFLAGS
="$CFLAGS"
9011 # Set sane defaults for various variables
9012 test -z "$CC" && CC
=cc
9013 test -z "$LTCC" && LTCC
=$CC
9014 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
9015 test -z "$LD" && LD
=ld
9016 test -z "$ac_objext" && ac_objext
=o
9018 for cc_temp
in $compiler""; do
9020 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
9021 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
9026 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
9029 # Only perform the check for file, if the check method requires it
9030 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
9031 case $deplibs_check_method in
9033 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9035 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9036 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
9037 $as_echo_n "(cached) " >&6
9041 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
9044 lt_save_MAGIC_CMD
="$MAGIC_CMD"
9045 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
9046 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9047 for ac_dir
in $ac_dummy; do
9049 test -z "$ac_dir" && ac_dir
=.
9050 if test -f $ac_dir/${ac_tool_prefix}file; then
9051 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
9052 if test -n "$file_magic_test_file"; then
9053 case $deplibs_check_method in
9055 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9056 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9057 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
9058 $EGREP "$file_magic_regex" > /dev
/null
; then
9063 *** Warning: the command libtool uses to detect shared libraries,
9064 *** $file_magic_cmd, produces output that libtool cannot recognize.
9065 *** The result is that libtool may fail to recognize shared libraries
9066 *** as such. This will affect the creation of libtool libraries that
9067 *** depend on shared libraries, but programs linked with such libtool
9068 *** libraries will work regardless of this problem. Nevertheless, you
9069 *** may want to report the problem to your system manager and/or to
9070 *** bug-libtool@gnu.org
9080 MAGIC_CMD
="$lt_save_MAGIC_CMD"
9085 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9086 if test -n "$MAGIC_CMD"; then
9087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9088 $as_echo "$MAGIC_CMD" >&6; }
9090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9091 $as_echo "no" >&6; }
9098 if test -z "$lt_cv_path_MAGIC_CMD"; then
9099 if test -n "$ac_tool_prefix"; then
9100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9101 $as_echo_n "checking for file... " >&6; }
9102 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
9103 $as_echo_n "(cached) " >&6
9107 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
9110 lt_save_MAGIC_CMD
="$MAGIC_CMD"
9111 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
9112 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9113 for ac_dir
in $ac_dummy; do
9115 test -z "$ac_dir" && ac_dir
=.
9116 if test -f $ac_dir/file; then
9117 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
9118 if test -n "$file_magic_test_file"; then
9119 case $deplibs_check_method in
9121 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9122 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9123 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
9124 $EGREP "$file_magic_regex" > /dev
/null
; then
9129 *** Warning: the command libtool uses to detect shared libraries,
9130 *** $file_magic_cmd, produces output that libtool cannot recognize.
9131 *** The result is that libtool may fail to recognize shared libraries
9132 *** as such. This will affect the creation of libtool libraries that
9133 *** depend on shared libraries, but programs linked with such libtool
9134 *** libraries will work regardless of this problem. Nevertheless, you
9135 *** may want to report the problem to your system manager and/or to
9136 *** bug-libtool@gnu.org
9146 MAGIC_CMD
="$lt_save_MAGIC_CMD"
9151 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9152 if test -n "$MAGIC_CMD"; then
9153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9154 $as_echo "$MAGIC_CMD" >&6; }
9156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9157 $as_echo "no" >&6; }
9170 # Use C for the default configuration in the libtool script
9174 ac_cpp
='$CPP $CPPFLAGS'
9175 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9176 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9177 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9180 # Source file extension for C test sources.
9183 # Object file extension for compiled C test sources.
9187 # Code to be used in simple compile tests
9188 lt_simple_compile_test_code
="int some_variable = 0;"
9190 # Code to be used in simple link tests
9191 lt_simple_link_test_code
='int main(){return(0);}'
9199 # If no C compiler was specified, use CC.
9202 # If no C compiler flags were specified, use CFLAGS.
9203 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
9205 # Allow CC to be a program name with arguments.
9208 # Save the default compiler, since it gets overwritten when the other
9209 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9210 compiler_DEFAULT
=$CC
9212 # save warnings/boilerplate of simple test code
9213 ac_outfile
=conftest.
$ac_objext
9214 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
9215 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
9216 _lt_compiler_boilerplate
=`cat conftest.err`
9219 ac_outfile
=conftest.
$ac_objext
9220 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
9221 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
9222 _lt_linker_boilerplate
=`cat conftest.err`
9227 ## There is no encapsulation within the following macros, do not change
9228 ## the running order or otherwise move them around unless you know exactly
9229 ## what you are doing...
9230 if test -n "$compiler"; then
9232 lt_prog_compiler_no_builtin_flag
=
9234 if test "$GCC" = yes; then
9235 case $cc_basename in
9237 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
9239 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
9242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9243 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9244 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
9245 $as_echo_n "(cached) " >&6
9247 lt_cv_prog_compiler_rtti_exceptions
=no
9248 ac_outfile
=conftest.
$ac_objext
9249 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9250 lt_compiler_flag
="-fno-rtti -fno-exceptions"
9251 # Insert the option either (1) after the last *FLAGS variable, or
9252 # (2) before a word containing "conftest.", or (3) at the end.
9253 # Note that $ac_compile itself does not contain backslashes and begins
9254 # with a dollar sign (not a hyphen), so the echo should work correctly.
9255 # The option is referenced via a variable to avoid confusing sed.
9256 lt_compile
=`echo "$ac_compile" | $SED \
9257 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9258 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9259 -e 's:$: $lt_compiler_flag:'`
9260 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9261 (eval "$lt_compile" 2>conftest.err
)
9263 cat conftest.err
>&5
9264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9265 if (exit $ac_status) && test -s "$ac_outfile"; then
9266 # The compiler can only warn and ignore the option if not recognized
9267 # So say no if there are warnings other than the usual output.
9268 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
9269 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9270 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9271 lt_cv_prog_compiler_rtti_exceptions
=yes
9277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9278 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9280 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
9281 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9293 lt_prog_compiler_wl
=
9294 lt_prog_compiler_pic
=
9295 lt_prog_compiler_static
=
9297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9298 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9300 if test "$GCC" = yes; then
9301 lt_prog_compiler_wl
='-Wl,'
9302 lt_prog_compiler_static
='-static'
9306 # All AIX code is PIC.
9307 if test "$host_cpu" = ia64
; then
9308 # AIX 5 now supports IA64 processor
9309 lt_prog_compiler_static
='-Bstatic'
9311 lt_prog_compiler_pic
='-fPIC'
9317 # see comment about AmigaOS4 .so support
9318 lt_prog_compiler_pic
='-fPIC'
9321 # FIXME: we need at least 68020 code to build shared libraries, but
9322 # adding the `-m68020' flag to GCC prevents building anything better,
9324 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
9329 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
9330 # PIC is the default for these OSes.
9333 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9334 # This hack is so that the source file can tell whether it is being
9335 # built for inclusion in a dll (and should export symbols for example).
9336 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9337 # (--disable-auto-import) libraries
9338 lt_prog_compiler_pic
='-DDLL_EXPORT'
9341 darwin
* | rhapsody
*)
9342 # PIC is the default on this platform
9343 # Common symbols not allowed in MH_DYLIB files
9344 lt_prog_compiler_pic
='-fno-common'
9348 # PIC is the default for Haiku.
9349 # The "-static" flag exists, but is broken.
9350 lt_prog_compiler_static
=
9354 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9355 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9356 # sets the default TLS model and affects inlining.
9362 lt_prog_compiler_pic
='-fPIC'
9368 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9369 # Instead, we relocate shared libraries at runtime.
9373 # Just because we use GCC doesn't mean we suddenly get shared libraries
9374 # on systems that don't support them.
9375 lt_prog_compiler_can_build_shared
=no
9380 # QNX uses GNU C++, but need to define -shared option too, otherwise
9382 lt_prog_compiler_pic
='-fPIC -shared'
9386 if test -d /usr
/nec
; then
9387 lt_prog_compiler_pic
=-Kconform_pic
9392 lt_prog_compiler_pic
='-fPIC'
9396 case $cc_basename in
9397 nvcc
*) # Cuda Compiler Driver 2.2
9398 lt_prog_compiler_wl
='-Xlinker '
9399 lt_prog_compiler_pic
='-Xcompiler -fPIC'
9403 # PORTME Check for flag to pass linker flags through the system compiler.
9406 lt_prog_compiler_wl
='-Wl,'
9407 if test "$host_cpu" = ia64
; then
9408 # AIX 5 now supports IA64 processor
9409 lt_prog_compiler_static
='-Bstatic'
9411 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
9415 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9416 # This hack is so that the source file can tell whether it is being
9417 # built for inclusion in a dll (and should export symbols for example).
9418 lt_prog_compiler_pic
='-DDLL_EXPORT'
9421 hpux9
* | hpux10
* | hpux11
*)
9422 lt_prog_compiler_wl
='-Wl,'
9423 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9430 lt_prog_compiler_pic
='+Z'
9433 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9434 lt_prog_compiler_static
='${wl}-a ${wl}archive'
9437 irix5
* | irix6
* | nonstopux
*)
9438 lt_prog_compiler_wl
='-Wl,'
9439 # PIC (with -KPIC) is the default.
9440 lt_prog_compiler_static
='-non_shared'
9443 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9444 case $cc_basename in
9445 # old Intel for x86_64 which still supported -KPIC.
9447 lt_prog_compiler_wl
='-Wl,'
9448 lt_prog_compiler_pic
='-KPIC'
9449 lt_prog_compiler_static
='-static'
9451 # icc used to be incompatible with GCC.
9452 # ICC 10 doesn't accept -KPIC any more.
9454 lt_prog_compiler_wl
='-Wl,'
9455 lt_prog_compiler_pic
='-fPIC'
9456 lt_prog_compiler_static
='-static'
9458 # Lahey Fortran 8.1.
9460 lt_prog_compiler_wl
='-Wl,'
9461 lt_prog_compiler_pic
='--shared'
9462 lt_prog_compiler_static
='--static'
9464 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9465 # Portland Group compilers (*not* the Pentium gcc compiler,
9466 # which looks to be a dead project)
9467 lt_prog_compiler_wl
='-Wl,'
9468 lt_prog_compiler_pic
='-fpic'
9469 lt_prog_compiler_static
='-Bstatic'
9472 lt_prog_compiler_wl
='-Wl,'
9473 # All Alpha code is PIC.
9474 lt_prog_compiler_static
='-non_shared'
9476 xl
* | bgxl
* | bgf
* | mpixl
*)
9477 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9478 lt_prog_compiler_wl
='-Wl,'
9479 lt_prog_compiler_pic
='-qpic'
9480 lt_prog_compiler_static
='-qstaticlink'
9483 case `$CC -V 2>&1 | sed 5q` in
9484 *Sun\ F
* |
*Sun
*Fortran
*)
9485 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9486 lt_prog_compiler_pic
='-KPIC'
9487 lt_prog_compiler_static
='-Bstatic'
9488 lt_prog_compiler_wl
=''
9492 lt_prog_compiler_pic
='-KPIC'
9493 lt_prog_compiler_static
='-Bstatic'
9494 lt_prog_compiler_wl
='-Wl,'
9502 lt_prog_compiler_pic
='-KPIC'
9503 lt_prog_compiler_static
='-Bstatic'
9507 # QNX uses GNU C++, but need to define -shared option too, otherwise
9509 lt_prog_compiler_pic
='-fPIC -shared'
9512 osf3
* | osf4
* | osf5
*)
9513 lt_prog_compiler_wl
='-Wl,'
9514 # All OSF/1 code is PIC.
9515 lt_prog_compiler_static
='-non_shared'
9519 lt_prog_compiler_static
='-non_shared'
9523 lt_prog_compiler_pic
='-KPIC'
9524 lt_prog_compiler_static
='-Bstatic'
9525 case $cc_basename in
9527 lt_prog_compiler_wl
='-Qoption ld ';;
9529 lt_prog_compiler_wl
='-Wl,';;
9534 lt_prog_compiler_wl
='-Qoption ld '
9535 lt_prog_compiler_pic
='-PIC'
9536 lt_prog_compiler_static
='-Bstatic'
9539 sysv4 | sysv4.2uw2
* | sysv4.3
*)
9540 lt_prog_compiler_wl
='-Wl,'
9541 lt_prog_compiler_pic
='-KPIC'
9542 lt_prog_compiler_static
='-Bstatic'
9546 if test -d /usr
/nec
;then
9547 lt_prog_compiler_pic
='-Kconform_pic'
9548 lt_prog_compiler_static
='-Bstatic'
9552 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
9553 lt_prog_compiler_wl
='-Wl,'
9554 lt_prog_compiler_pic
='-KPIC'
9555 lt_prog_compiler_static
='-Bstatic'
9559 lt_prog_compiler_wl
='-Wl,'
9560 lt_prog_compiler_can_build_shared
=no
9564 lt_prog_compiler_pic
='-pic'
9565 lt_prog_compiler_static
='-Bstatic'
9569 lt_prog_compiler_can_build_shared
=no
9575 # For platforms which do not support PIC, -DPIC is meaningless:
9577 lt_prog_compiler_pic
=
9580 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
9583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9584 $as_echo "$lt_prog_compiler_pic" >&6; }
9592 # Check to make sure the PIC flag actually works.
9594 if test -n "$lt_prog_compiler_pic"; then
9595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9596 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9597 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
9598 $as_echo_n "(cached) " >&6
9600 lt_cv_prog_compiler_pic_works
=no
9601 ac_outfile
=conftest.
$ac_objext
9602 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9603 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
9604 # Insert the option either (1) after the last *FLAGS variable, or
9605 # (2) before a word containing "conftest.", or (3) at the end.
9606 # Note that $ac_compile itself does not contain backslashes and begins
9607 # with a dollar sign (not a hyphen), so the echo should work correctly.
9608 # The option is referenced via a variable to avoid confusing sed.
9609 lt_compile
=`echo "$ac_compile" | $SED \
9610 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9611 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9612 -e 's:$: $lt_compiler_flag:'`
9613 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9614 (eval "$lt_compile" 2>conftest.err
)
9616 cat conftest.err
>&5
9617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9618 if (exit $ac_status) && test -s "$ac_outfile"; then
9619 # The compiler can only warn and ignore the option if not recognized
9620 # So say no if there are warnings other than the usual output.
9621 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
9622 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9623 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9624 lt_cv_prog_compiler_pic_works
=yes
9630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9631 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9633 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
9634 case $lt_prog_compiler_pic in
9636 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
9639 lt_prog_compiler_pic
=
9640 lt_prog_compiler_can_build_shared
=no
9651 # Check to make sure the static flag actually works.
9653 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
9654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9655 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9656 if ${lt_cv_prog_compiler_static_works+:} false
; then :
9657 $as_echo_n "(cached) " >&6
9659 lt_cv_prog_compiler_static_works
=no
9660 save_LDFLAGS
="$LDFLAGS"
9661 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
9662 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9663 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9664 # The linker can only warn and ignore the option if not recognized
9665 # So say no if there are warnings
9666 if test -s conftest.err
; then
9667 # Append any errors to the config.log.
9668 cat conftest.err
1>&5
9669 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9670 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9671 if diff conftest.exp conftest.er2
>/dev
/null
; then
9672 lt_cv_prog_compiler_static_works
=yes
9675 lt_cv_prog_compiler_static_works
=yes
9679 LDFLAGS
="$save_LDFLAGS"
9682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9683 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9685 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
9688 lt_prog_compiler_static
=
9697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9698 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9699 if ${lt_cv_prog_compiler_c_o+:} false
; then :
9700 $as_echo_n "(cached) " >&6
9702 lt_cv_prog_compiler_c_o
=no
9703 $RM -r conftest
2>/dev
/null
9707 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9709 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9710 # Insert the option either (1) after the last *FLAGS variable, or
9711 # (2) before a word containing "conftest.", or (3) at the end.
9712 # Note that $ac_compile itself does not contain backslashes and begins
9713 # with a dollar sign (not a hyphen), so the echo should work correctly.
9714 lt_compile
=`echo "$ac_compile" | $SED \
9715 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9716 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9717 -e 's:$: $lt_compiler_flag:'`
9718 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9719 (eval "$lt_compile" 2>out
/conftest.err
)
9721 cat out
/conftest.err
>&5
9722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9723 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9725 # The compiler can only warn and ignore the option if not recognized
9726 # So say no if there are warnings
9727 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9728 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9729 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9730 lt_cv_prog_compiler_c_o
=yes
9735 # SGI C++ compiler will create directory out/ii_files/ for
9736 # template instantiation
9737 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9738 $RM out
/* && rmdir out
9744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9745 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9753 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9754 if ${lt_cv_prog_compiler_c_o+:} false
; then :
9755 $as_echo_n "(cached) " >&6
9757 lt_cv_prog_compiler_c_o
=no
9758 $RM -r conftest
2>/dev
/null
9762 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9764 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9765 # Insert the option either (1) after the last *FLAGS variable, or
9766 # (2) before a word containing "conftest.", or (3) at the end.
9767 # Note that $ac_compile itself does not contain backslashes and begins
9768 # with a dollar sign (not a hyphen), so the echo should work correctly.
9769 lt_compile
=`echo "$ac_compile" | $SED \
9770 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9771 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9772 -e 's:$: $lt_compiler_flag:'`
9773 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9774 (eval "$lt_compile" 2>out
/conftest.err
)
9776 cat out
/conftest.err
>&5
9777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9778 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9780 # The compiler can only warn and ignore the option if not recognized
9781 # So say no if there are warnings
9782 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9783 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9784 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9785 lt_cv_prog_compiler_c_o
=yes
9790 # SGI C++ compiler will create directory out/ii_files/ for
9791 # template instantiation
9792 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9793 $RM out
/* && rmdir out
9799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9800 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9805 hard_links
="nottested"
9806 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
9807 # do not overwrite the value of need_locks provided by the user
9808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9809 $as_echo_n "checking if we can lock with hard links... " >&6; }
9812 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9814 ln conftest.a conftest.b
2>&5 || hard_links
=no
9815 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9817 $as_echo "$hard_links" >&6; }
9818 if test "$hard_links" = no
; then
9819 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9820 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9833 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9836 allow_undefined_flag
=
9837 always_export_symbols
=no
9839 archive_expsym_cmds
=
9840 compiler_needs_object
=no
9841 enable_shared_with_static_runtimes
=no
9842 export_dynamic_flag_spec
=
9843 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9844 hardcode_automatic
=no
9846 hardcode_direct_absolute
=no
9847 hardcode_libdir_flag_spec
=
9848 hardcode_libdir_flag_spec_ld
=
9849 hardcode_libdir_separator
=
9851 hardcode_shlibpath_var
=unsupported
9853 link_all_deplibs
=unknown
9856 old_archive_from_new_cmds
=
9857 old_archive_from_expsyms_cmds
=
9858 thread_safe_flag_spec
=
9859 whole_archive_flag_spec
=
9860 # include_expsyms should be a list of space-separated symbols to be *always*
9861 # included in the symbol list
9863 # exclude_expsyms can be an extended regexp of symbols to exclude
9864 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9865 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9866 # as well as any symbol that contains `d'.
9867 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9868 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9869 # platforms (ab)use it in PIC code, but their linkers get confused if
9870 # the symbol is explicitly referenced. Since portable code cannot
9871 # rely on this symbol name, it's probably fine to never include it in
9872 # preloaded symbol tables.
9873 # Exclude shared library initialization/finalization symbols.
9874 extract_expsyms_cmds
=
9877 cygwin
* | mingw
* | pw32
* | cegcc
*)
9878 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9879 # When not using gcc, we currently assume that we are using
9880 # Microsoft Visual C++.
9881 if test "$GCC" != yes; then
9886 # we just hope/assume this is gcc and not c89 (= MSVC++)
9896 # On some targets, GNU ld is compatible enough with the native linker
9897 # that we're better off using the native interface for both.
9898 lt_use_gnu_ld_interface
=no
9899 if test "$with_gnu_ld" = yes; then
9902 # The AIX port of GNU ld has always aspired to compatibility
9903 # with the native linker. However, as the warning in the GNU ld
9904 # block says, versions before 2.19.5* couldn't really create working
9905 # shared libraries, regardless of the interface used.
9906 case `$LD -v 2>&1` in
9907 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
9908 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
9909 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
9911 lt_use_gnu_ld_interface
=yes
9916 lt_use_gnu_ld_interface
=yes
9921 if test "$lt_use_gnu_ld_interface" = yes; then
9922 # If archive_cmds runs LD, not CC, wlarc should be empty
9925 # Set some defaults for GNU ld with shared library support. These
9926 # are reset later if shared libraries are not supported. Putting them
9927 # here allows them to be overridden if necessary.
9928 runpath_var
=LD_RUN_PATH
9929 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9930 export_dynamic_flag_spec
='${wl}--export-dynamic'
9931 # ancient GNU ld didn't support --whole-archive et. al.
9932 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
9933 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9935 whole_archive_flag_spec
=
9937 supports_anon_versioning
=no
9938 case `$LD -v 2>&1` in
9939 *GNU\ gold
*) supports_anon_versioning
=yes ;;
9940 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
9941 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
9942 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
9943 *\
2.11.
*) ;; # other 2.11 versions
9944 *) supports_anon_versioning
=yes ;;
9947 # See if GNU ld supports shared libraries.
9950 # On AIX/PPC, the GNU linker is very broken
9951 if test "$host_cpu" != ia64
; then
9955 *** Warning: the GNU linker, at least up to release 2.19, is reported
9956 *** to be unable to reliably create shared libraries on AIX.
9957 *** Therefore, libtool is disabling shared libraries support. If you
9958 *** really care for shared libraries, you may want to install binutils
9959 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9960 *** You will then need to restart the configuration process.
9969 # see comment about AmigaOS4 .so support
9970 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9971 archive_expsym_cmds
=''
9974 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)'
9975 hardcode_libdir_flag_spec
='-L$libdir'
9976 hardcode_minus_L
=yes
9982 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9983 allow_undefined_flag
=unsupported
9984 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9985 # support --undefined. This deserves some investigation. FIXME
9986 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9992 cygwin
* | mingw
* | pw32
* | cegcc
*)
9993 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9994 # as there is no search path for DLLs.
9995 hardcode_libdir_flag_spec
='-L$libdir'
9996 export_dynamic_flag_spec
='${wl}--export-all-symbols'
9997 allow_undefined_flag
=unsupported
9998 always_export_symbols
=no
9999 enable_shared_with_static_runtimes
=yes
10000 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10002 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
10003 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10004 # If the export-symbols file already is a .def file (1st line
10005 # is EXPORTS), use it as is; otherwise, prepend...
10006 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10007 cp $export_symbols $output_objdir/$soname.def;
10009 echo EXPORTS > $output_objdir/$soname.def;
10010 cat $export_symbols >> $output_objdir/$soname.def;
10012 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10019 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10020 link_all_deplibs
=yes
10025 hardcode_shlibpath_var
=no
10026 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10027 export_dynamic_flag_spec
='${wl}-E'
10028 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10029 # Instead, shared libraries are loaded at an image base (0x10000000 by
10030 # default) and relocated if they conflict, which is a slow very memory
10031 # consuming and fragmenting process. To avoid this, we pick a random,
10032 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10033 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10034 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10035 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'
10038 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10040 if test "$host_os" = linux-dietlibc
; then
10041 case $cc_basename in
10042 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
10045 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
10046 && test "$tmp_diet" = no
10048 tmp_addflag
=' $pic_flag'
10049 tmp_sharedflag
='-shared'
10050 case $cc_basename,$host_cpu in
10051 pgcc
*) # Portland Group C compiler
10052 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'
10053 tmp_addflag
=' $pic_flag'
10055 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
10056 # Portland Group f77 and f90 compilers
10057 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'
10058 tmp_addflag
=' $pic_flag -Mnomain' ;;
10059 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
10060 tmp_addflag
=' -i_dynamic' ;;
10061 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
10062 tmp_addflag
=' -i_dynamic -nofor_main' ;;
10063 ifc
* | ifort
*) # Intel Fortran compiler
10064 tmp_addflag
=' -nofor_main' ;;
10065 lf95
*) # Lahey Fortran 8.1
10066 whole_archive_flag_spec
=
10067 tmp_sharedflag
='--shared' ;;
10068 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10069 tmp_sharedflag
='-qmkshrobj'
10071 nvcc
*) # Cuda Compiler Driver 2.2
10072 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'
10073 compiler_needs_object
=yes
10076 case `$CC -V 2>&1 | sed 5q` in
10077 *Sun\ C
*) # Sun C 5.9
10078 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'
10079 compiler_needs_object
=yes
10080 tmp_sharedflag
='-G' ;;
10081 *Sun\ F
*) # Sun Fortran 8.3
10082 tmp_sharedflag
='-G' ;;
10084 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10086 if test "x$supports_anon_versioning" = xyes
; then
10087 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10088 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10089 echo "local: *; };" >> $output_objdir/$libname.ver~
10090 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10093 case $cc_basename in
10094 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
10095 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10096 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
10097 hardcode_libdir_flag_spec
=
10098 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
10099 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
10100 if test "x$supports_anon_versioning" = xyes
; then
10101 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10102 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10103 echo "local: *; };" >> $output_objdir/$libname.ver~
10104 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10114 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10115 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10118 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10119 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10124 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
10128 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10129 *** create shared libraries on Solaris systems. Therefore, libtool
10130 *** is disabling shared libraries support. We urge you to upgrade GNU
10131 *** binutils to release 2.9.1 or newer. Another option is to modify
10132 *** your PATH or compiler configuration so that the native linker is
10133 *** used, and then restart.
10136 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
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'
10144 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
10145 case `$LD -v 2>&1` in
10146 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
10150 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10151 *** reliably create shared libraries on SCO systems. Therefore, libtool
10152 *** is disabling shared libraries support. We urge you to upgrade GNU
10153 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10154 *** your PATH or compiler configuration so that the native linker is
10155 *** used, and then restart.
10160 # For security reasons, it is highly recommended that you always
10161 # use absolute paths for naming shared libraries, and exclude the
10162 # DT_RUNPATH tag from executables and libraries. But doing so
10163 # requires that you compile everything twice, which is a pain.
10164 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10165 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10166 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10167 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10176 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10178 hardcode_direct
=yes
10179 hardcode_shlibpath_var
=no
10183 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10184 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10185 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10192 if test "$ld_shlibs" = no
; then
10194 hardcode_libdir_flag_spec
=
10195 export_dynamic_flag_spec
=
10196 whole_archive_flag_spec
=
10199 # PORTME fill in a description of your system's linker (not GNU ld)
10202 allow_undefined_flag
=unsupported
10203 always_export_symbols
=yes
10204 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'
10205 # Note: this linker hardcodes the directories in LIBPATH if there
10206 # are no directories specified by -L.
10207 hardcode_minus_L
=yes
10208 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10209 # Neither direct hardcoding nor static linking is supported with a
10211 hardcode_direct
=unsupported
10216 if test "$host_cpu" = ia64
; then
10217 # On IA64, the linker does run time linking by default, so we don't
10218 # have to do anything special.
10219 aix_use_runtimelinking
=no
10220 exp_sym_flag
='-Bexport'
10223 # If we're using GNU nm, then we don't want the "-C" option.
10224 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10225 # Also, AIX nm treats weak defined symbols like other global
10226 # defined symbols, whereas GNU nm marks them as "W".
10227 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
10228 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'
10230 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'
10232 aix_use_runtimelinking
=no
10234 # Test if we are trying to use run time linking or normal
10235 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10236 # need to do runtime linking.
10237 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
10238 for ld_flag
in $LDFLAGS; do
10239 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
10240 aix_use_runtimelinking
=yes
10247 exp_sym_flag
='-bexport'
10248 no_entry_flag
='-bnoentry'
10251 # When large executables or shared objects are built, AIX ld can
10252 # have problems creating the table of contents. If linking a library
10253 # or program results in "error TOC overflow" add -mminimal-toc to
10254 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10255 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10258 hardcode_direct
=yes
10259 hardcode_direct_absolute
=yes
10260 hardcode_libdir_separator
=':'
10261 link_all_deplibs
=yes
10262 file_list_spec
='${wl}-f,'
10264 if test "$GCC" = yes; then
10265 case $host_os in aix4.
[012]|aix4.
[012].
*)
10266 # We only want to do this on AIX 4.2 and lower, the check
10267 # below for broken collect2 doesn't work under 4.3+
10268 collect2name
=`${CC} -print-prog-name=collect2`
10269 if test -f "$collect2name" &&
10270 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
10272 # We have reworked collect2
10275 # We have old collect2
10276 hardcode_direct
=unsupported
10277 # It fails to find uninstalled libraries when the uninstalled
10278 # path is not listed in the libpath. Setting hardcode_minus_L
10279 # to unsupported forces relinking
10280 hardcode_minus_L
=yes
10281 hardcode_libdir_flag_spec
='-L$libdir'
10282 hardcode_libdir_separator
=
10286 shared_flag
='-shared'
10287 if test "$aix_use_runtimelinking" = yes; then
10288 shared_flag
="$shared_flag "'${wl}-G'
10292 if test "$host_cpu" = ia64
; then
10293 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10294 # chokes on -Wl,-G. The following line is correct:
10297 if test "$aix_use_runtimelinking" = yes; then
10298 shared_flag
='${wl}-G'
10300 shared_flag
='${wl}-bM:SRE'
10305 export_dynamic_flag_spec
='${wl}-bexpall'
10306 # It seems that -bexpall does not export symbols beginning with
10307 # underscore (_), so it is better to generate a list of symbols to export.
10308 always_export_symbols
=yes
10309 if test "$aix_use_runtimelinking" = yes; then
10310 # Warning - without using the other runtime loading flags (-brtl),
10311 # -berok will link without error, but may produce a broken library.
10312 allow_undefined_flag
='-berok'
10313 # Determine the default libpath from the value encoded in an
10314 # empty executable.
10315 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10316 /* end confdefs.h. */
10326 if ac_fn_c_try_link
"$LINENO"; then :
10328 lt_aix_libpath_sed
='
10329 /Import File Strings/,/^$/ {
10335 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10336 # Check for a 64-bit object if we didn't find anything.
10337 if test -z "$aix_libpath"; then
10338 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10341 rm -f core conftest.err conftest.
$ac_objext \
10342 conftest
$ac_exeext conftest.
$ac_ext
10343 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10345 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10346 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"
10348 if test "$host_cpu" = ia64
; then
10349 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
10350 allow_undefined_flag
="-z nodefs"
10351 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"
10353 # Determine the default libpath from the value encoded in an
10354 # empty executable.
10355 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10356 /* end confdefs.h. */
10366 if ac_fn_c_try_link
"$LINENO"; then :
10368 lt_aix_libpath_sed
='
10369 /Import File Strings/,/^$/ {
10375 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10376 # Check for a 64-bit object if we didn't find anything.
10377 if test -z "$aix_libpath"; then
10378 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10381 rm -f core conftest.err conftest.
$ac_objext \
10382 conftest
$ac_exeext conftest.
$ac_ext
10383 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10385 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10386 # Warning - without using the other run time loading flags,
10387 # -berok will link without error, but may produce a broken library.
10388 no_undefined_flag
=' ${wl}-bernotok'
10389 allow_undefined_flag
=' ${wl}-berok'
10390 if test "$with_gnu_ld" = yes; then
10391 # We only use this code for GNU lds that support --whole-archive.
10392 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10394 # Exported symbols can be pulled into shared objects from archives
10395 whole_archive_flag_spec
='$convenience'
10397 archive_cmds_need_lc
=yes
10398 # This is similar to how AIX traditionally builds its shared libraries.
10399 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'
10407 # see comment about AmigaOS4 .so support
10408 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10409 archive_expsym_cmds
=''
10412 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)'
10413 hardcode_libdir_flag_spec
='-L$libdir'
10414 hardcode_minus_L
=yes
10420 export_dynamic_flag_spec
=-rdynamic
10423 cygwin
* | mingw
* | pw32
* | cegcc
*)
10424 # When not using gcc, we currently assume that we are using
10425 # Microsoft Visual C++.
10426 # hardcode_libdir_flag_spec is actually meaningless, as there is
10427 # no search path for DLLs.
10428 hardcode_libdir_flag_spec
=' '
10429 allow_undefined_flag
=unsupported
10430 # Tell ltmain to make .lib files, not .a files.
10432 # Tell ltmain to make .dll files, not .so files.
10434 # FIXME: Setting linknames here is a bad hack.
10435 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10436 # The linker will automatically build a .lib file if we build a DLL.
10437 old_archive_from_new_cmds
='true'
10438 # FIXME: Should let the user specify the lib program.
10439 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
10440 fix_srcfile_path
='`cygpath -w "$srcfile"`'
10441 enable_shared_with_static_runtimes
=yes
10444 darwin
* | rhapsody
*)
10447 archive_cmds_need_lc
=no
10449 hardcode_automatic
=yes
10450 hardcode_shlibpath_var
=unsupported
10451 if test "$lt_cv_ld_force_load" = "yes"; then
10452 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\"`'
10454 whole_archive_flag_spec
=''
10456 link_all_deplibs
=yes
10457 allow_undefined_flag
="$_lt_dar_allow_undefined"
10458 case $cc_basename in
10459 ifort
*) _lt_dar_can_shared
=yes ;;
10460 *) _lt_dar_can_shared
=$GCC ;;
10462 if test "$_lt_dar_can_shared" = "yes"; then
10463 output_verbose_link_cmd
=func_echo_all
10464 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10465 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10466 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}"
10467 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}"
10476 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10477 hardcode_libdir_flag_spec
='-L$libdir'
10478 hardcode_shlibpath_var
=no
10481 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10482 # support. Future versions do this automatically, but an explicit c++rt0.o
10483 # does not break anything, and helps significantly (at the cost of a little
10486 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10487 hardcode_libdir_flag_spec
='-R$libdir'
10488 hardcode_direct
=yes
10489 hardcode_shlibpath_var
=no
10492 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10494 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10495 hardcode_direct
=yes
10496 hardcode_minus_L
=yes
10497 hardcode_shlibpath_var
=no
10500 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10501 freebsd
* | dragonfly
*)
10502 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10503 hardcode_libdir_flag_spec
='-R$libdir'
10504 hardcode_direct
=yes
10505 hardcode_shlibpath_var
=no
10509 if test "$GCC" = yes; then
10510 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'
10512 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'
10514 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10515 hardcode_libdir_separator
=:
10516 hardcode_direct
=yes
10518 # hardcode_minus_L: Not really in the search PATH,
10519 # but as the default location of the library.
10520 hardcode_minus_L
=yes
10521 export_dynamic_flag_spec
='${wl}-E'
10525 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10526 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10528 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10530 if test "$with_gnu_ld" = no
; then
10531 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10532 hardcode_libdir_flag_spec_ld
='+b $libdir'
10533 hardcode_libdir_separator
=:
10534 hardcode_direct
=yes
10535 hardcode_direct_absolute
=yes
10536 export_dynamic_flag_spec
='${wl}-E'
10537 # hardcode_minus_L: Not really in the search PATH,
10538 # but as the default location of the library.
10539 hardcode_minus_L
=yes
10544 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10547 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10550 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10553 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10559 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10562 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10566 # Older versions of the 11.00 compiler do not understand -b yet
10567 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10569 $as_echo_n "checking if $CC understands -b... " >&6; }
10570 if ${lt_cv_prog_compiler__b+:} false
; then :
10571 $as_echo_n "(cached) " >&6
10573 lt_cv_prog_compiler__b
=no
10574 save_LDFLAGS
="$LDFLAGS"
10575 LDFLAGS
="$LDFLAGS -b"
10576 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10577 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10578 # The linker can only warn and ignore the option if not recognized
10579 # So say no if there are warnings
10580 if test -s conftest.err
; then
10581 # Append any errors to the config.log.
10582 cat conftest.err
1>&5
10583 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
10584 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10585 if diff conftest.exp conftest.er2
>/dev
/null
; then
10586 lt_cv_prog_compiler__b
=yes
10589 lt_cv_prog_compiler__b
=yes
10593 LDFLAGS
="$save_LDFLAGS"
10596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10597 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10599 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
10600 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10602 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10608 if test "$with_gnu_ld" = no
; then
10609 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10610 hardcode_libdir_separator
=:
10615 hardcode_shlibpath_var
=no
10618 hardcode_direct
=yes
10619 hardcode_direct_absolute
=yes
10620 export_dynamic_flag_spec
='${wl}-E'
10622 # hardcode_minus_L: Not really in the search PATH,
10623 # but as the default location of the library.
10624 hardcode_minus_L
=yes
10630 irix5
* | irix6
* | nonstopux
*)
10631 if test "$GCC" = yes; then
10632 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'
10633 # Try to use the -exported_symbol ld option, if it does not
10634 # work, assume that -exports_file does not work either and
10635 # implicitly export all symbols.
10636 save_LDFLAGS
="$LDFLAGS"
10637 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10638 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10639 /* end confdefs.h. */
10642 if ac_fn_c_try_link
"$LINENO"; then :
10643 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'
10646 rm -f core conftest.err conftest.
$ac_objext \
10647 conftest
$ac_exeext conftest.
$ac_ext
10648 LDFLAGS
="$save_LDFLAGS"
10650 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'
10651 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'
10653 archive_cmds_need_lc
='no'
10654 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10655 hardcode_libdir_separator
=:
10657 link_all_deplibs
=yes
10661 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10662 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10664 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10666 hardcode_libdir_flag_spec
='-R$libdir'
10667 hardcode_direct
=yes
10668 hardcode_shlibpath_var
=no
10672 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10673 hardcode_direct
=yes
10674 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10675 hardcode_libdir_separator
=:
10676 hardcode_shlibpath_var
=no
10683 if test -f /usr
/libexec
/ld.so
; then
10684 hardcode_direct
=yes
10685 hardcode_shlibpath_var
=no
10686 hardcode_direct_absolute
=yes
10687 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10688 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10689 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10690 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10691 export_dynamic_flag_spec
='${wl}-E'
10694 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
10695 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10696 hardcode_libdir_flag_spec
='-R$libdir'
10699 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10700 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10710 hardcode_libdir_flag_spec
='-L$libdir'
10711 hardcode_minus_L
=yes
10712 allow_undefined_flag
=unsupported
10713 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'
10714 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10718 if test "$GCC" = yes; then
10719 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10720 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'
10722 allow_undefined_flag
=' -expect_unresolved \*'
10723 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'
10725 archive_cmds_need_lc
='no'
10726 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10727 hardcode_libdir_separator
=:
10730 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10731 if test "$GCC" = yes; then
10732 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10733 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'
10734 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10736 allow_undefined_flag
=' -expect_unresolved \*'
10737 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'
10738 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~
10739 $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'
10741 # Both c and cxx compiler support -rpath directly
10742 hardcode_libdir_flag_spec
='-rpath $libdir'
10744 archive_cmds_need_lc
='no'
10745 hardcode_libdir_separator
=:
10749 no_undefined_flag
=' -z defs'
10750 if test "$GCC" = yes; then
10752 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10753 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10754 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10756 case `$CC -V 2>&1` in
10759 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10760 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10761 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10765 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10766 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10767 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10771 hardcode_libdir_flag_spec
='-R$libdir'
10772 hardcode_shlibpath_var
=no
10774 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10776 # The compiler driver will combine and reorder linker options,
10777 # but understands `-z linker_flag'. GCC discards it without `$wl',
10778 # but is careful enough not to reorder.
10779 # Supported since Solaris 2.6 (maybe 2.5.1?)
10780 if test "$GCC" = yes; then
10781 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10783 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10787 link_all_deplibs
=yes
10791 if test "x$host_vendor" = xsequent
; then
10792 # Use $CC to link under sequent, because it throws in some extra .o
10793 # files that make .init and .fini sections work.
10794 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10796 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10798 hardcode_libdir_flag_spec
='-L$libdir'
10799 hardcode_direct
=yes
10800 hardcode_minus_L
=yes
10801 hardcode_shlibpath_var
=no
10805 case $host_vendor in
10807 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10808 hardcode_direct
=yes # is this really true???
10811 ## LD is ld it makes a PLAMLIB
10812 ## CC just makes a GrossModule.
10813 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10814 reload_cmds
='$CC -r -o $output$reload_objs'
10818 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10819 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10822 runpath_var
='LD_RUN_PATH'
10823 hardcode_shlibpath_var
=no
10827 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10828 hardcode_shlibpath_var
=no
10829 export_dynamic_flag_spec
='-Bexport'
10833 if test -d /usr
/nec
; then
10834 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10835 hardcode_shlibpath_var
=no
10836 runpath_var
=LD_RUN_PATH
10837 hardcode_runpath_var
=yes
10842 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10843 no_undefined_flag
='${wl}-z,text'
10844 archive_cmds_need_lc
=no
10845 hardcode_shlibpath_var
=no
10846 runpath_var
='LD_RUN_PATH'
10848 if test "$GCC" = yes; then
10849 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10850 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10852 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10853 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10857 sysv5
* | sco3.2v5
* | sco5v6
*)
10858 # Note: We can NOT use -z defs as we might desire, because we do not
10859 # link with -lc, and that would cause any symbols used from libc to
10860 # always be unresolved, which means just about no library would
10861 # ever link correctly. If we're not using GNU ld we use -z text
10862 # though, which does catch some bad symbols but isn't as heavy-handed
10864 no_undefined_flag
='${wl}-z,text'
10865 allow_undefined_flag
='${wl}-z,nodefs'
10866 archive_cmds_need_lc
=no
10867 hardcode_shlibpath_var
=no
10868 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10869 hardcode_libdir_separator
=':'
10870 link_all_deplibs
=yes
10871 export_dynamic_flag_spec
='${wl}-Bexport'
10872 runpath_var
='LD_RUN_PATH'
10874 if test "$GCC" = yes; then
10875 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10876 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10878 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10879 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10884 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10885 hardcode_libdir_flag_spec
='-L$libdir'
10886 hardcode_shlibpath_var
=no
10894 if test x
$host_vendor = xsni
; then
10896 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10897 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10904 $as_echo "$ld_shlibs" >&6; }
10905 test "$ld_shlibs" = no
&& can_build_shared
=no
10907 with_gnu_ld
=$with_gnu_ld
10924 # Do we need to explicitly link libc?
10926 case "x$archive_cmds_need_lc" in
10928 # Assume -lc should be added
10929 archive_cmds_need_lc
=yes
10931 if test "$enable_shared" = yes && test "$GCC" = yes; then
10932 case $archive_cmds in
10934 # FIXME: we may have to deal with multi-command sequences.
10937 # Test whether the compiler implicitly links with -lc since on some
10938 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10939 # to ld, don't add -lc before -lgcc.
10940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10941 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10942 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
10943 $as_echo_n "(cached) " >&6
10946 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10948 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10949 (eval $ac_compile) 2>&5
10951 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10952 test $ac_status = 0; } 2>conftest.err
; then
10955 libobjs
=conftest.
$ac_objext
10957 wl
=$lt_prog_compiler_wl
10958 pic_flag
=$lt_prog_compiler_pic
10964 lt_save_allow_undefined_flag
=$allow_undefined_flag
10965 allow_undefined_flag
=
10966 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10967 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10969 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10970 test $ac_status = 0; }
10972 lt_cv_archive_cmds_need_lc
=no
10974 lt_cv_archive_cmds_need_lc
=yes
10976 allow_undefined_flag
=$lt_save_allow_undefined_flag
10978 cat conftest.err
1>&5
10983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10984 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10985 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
11148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11149 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11151 if test "$GCC" = yes; then
11153 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
11154 *) lt_awk_arg
="/^libraries:/" ;;
11157 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
11158 *) lt_sed_strip_eq
="s,=/,/,g" ;;
11160 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11161 case $lt_search_path_spec in
11163 # if the path contains ";" then we assume it to be the separator
11164 # otherwise default to the standard path separator (i.e. ":") - it is
11165 # assumed that no part of a normal pathname contains ";" but that should
11166 # okay in the real world where ";" in dirpaths is itself problematic.
11167 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11170 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11173 # Ok, now we have the path, separated by spaces, we can step through it
11174 # and add multilib dir if necessary.
11175 lt_tmp_lt_search_path_spec
=
11176 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11177 for lt_sys_path
in $lt_search_path_spec; do
11178 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11179 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11181 test -d "$lt_sys_path" && \
11182 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
11185 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11186 BEGIN {RS=" "; FS="/|\n";} {
11189 for (lt_i = NF; lt_i > 0; lt_i--) {
11190 if ($lt_i != "" && $lt_i != ".") {
11191 if ($lt_i == "..") {
11194 if (lt_count == 0) {
11195 lt_foo="/" $lt_i lt_foo;
11202 if (lt_foo != "") { lt_freq[lt_foo]++; }
11203 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11205 # AWK program above erroneously prepends '/' to C:/dos/paths
11208 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
11209 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11211 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11213 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11215 library_names_spec
=
11216 libname_spec
='lib$name'
11220 postuninstall_cmds
=
11224 shlibpath_overrides_runpath
=unknown
11226 dynamic_linker
="$host_os ld.so"
11227 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11228 need_lib_prefix
=unknown
11229 hardcode_into_libs
=no
11231 # when you set need_version to no, make sure it does not cause -set_version
11232 # flags to be left without arguments
11233 need_version
=unknown
11238 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
11239 shlibpath_var
=LIBPATH
11241 # AIX 3 has no versioning support, so we append a major version to the name.
11242 soname_spec
='${libname}${release}${shared_ext}$major'
11249 hardcode_into_libs
=yes
11250 if test "$host_cpu" = ia64
; then
11251 # AIX 5 supports IA64
11252 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11253 shlibpath_var
=LD_LIBRARY_PATH
11255 # With GCC up to 2.95.x, collect2 would create an import file
11256 # for dependence libraries. The import file would start with
11257 # the line `#! .'. This would cause the generated library to
11258 # depend on `.', always an invalid library. This was fixed in
11259 # development snapshots of GCC prior to 3.0.
11261 aix4 | aix4.
[01] | aix4.
[01].
*)
11262 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11264 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
11267 can_build_shared
=no
11271 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11272 # soname into executable. Probably we can add versioning support to
11273 # collect2, so additional links can be useful in future.
11274 if test "$aix_use_runtimelinking" = yes; then
11275 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11276 # instead of lib<name>.a to let people know that these are not
11277 # typical AIX shared libraries.
11278 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11280 # We preserve .a as extension for shared libraries through AIX4.2
11281 # and later when we are not doing run time linking.
11282 library_names_spec
='${libname}${release}.a $libname.a'
11283 soname_spec
='${libname}${release}${shared_ext}$major'
11285 shlibpath_var
=LIBPATH
11292 # Since July 2007 AmigaOS4 officially supports .so libraries.
11293 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11294 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11297 library_names_spec
='$libname.ixlibrary $libname.a'
11298 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11299 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'
11305 library_names_spec
='${libname}${shared_ext}'
11306 dynamic_linker
="$host_os ld.so"
11307 shlibpath_var
=LIBRARY_PATH
11313 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11314 soname_spec
='${libname}${release}${shared_ext}$major'
11315 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11316 shlibpath_var
=LD_LIBRARY_PATH
11317 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11318 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11319 # the default ld.so.conf also contains /usr/contrib/lib and
11320 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11321 # libtool to hard-code these into programs
11324 cygwin
* | mingw
* | pw32
* | cegcc
*)
11325 version_type
=windows
11330 case $GCC,$host_os in
11331 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
11332 library_names_spec
='$libname.dll.a'
11333 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11334 postinstall_cmds
='base_file=`basename \${file}`~
11335 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11336 dldir=$destdir/`dirname \$dlpath`~
11337 test -d \$dldir || mkdir -p \$dldir~
11338 $install_prog $dir/$dlname \$dldir/$dlname~
11339 chmod a+x \$dldir/$dlname~
11340 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11341 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11343 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11344 dlpath=$dir/\$dldll~
11346 shlibpath_overrides_runpath
=yes
11350 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11351 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11353 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
11356 # MinGW DLLs use traditional 'lib' prefix
11357 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11360 # pw32 DLLs use 'pw' prefix rather than 'lib'
11361 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11367 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11370 dynamic_linker
='Win32 ld.exe'
11371 # FIXME: first we should search . and the directory the executable is in
11375 darwin
* | rhapsody
*)
11376 dynamic_linker
="$host_os dyld"
11377 version_type
=darwin
11380 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11381 soname_spec
='${libname}${release}${major}$shared_ext'
11382 shlibpath_overrides_runpath
=yes
11383 shlibpath_var
=DYLD_LIBRARY_PATH
11384 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
11386 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
11387 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11394 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11395 soname_spec
='${libname}${release}${shared_ext}$major'
11396 shlibpath_var
=LD_LIBRARY_PATH
11399 freebsd
* | dragonfly
*)
11400 # DragonFly does not have aout. When/if they implement a new
11401 # versioning mechanism, adjust this.
11402 if test -x /usr
/bin
/objformat
; then
11403 objformat
=`/usr/bin/objformat`
11406 freebsd
[23].
*) objformat
=aout
;;
11407 *) objformat
=elf
;;
11410 version_type
=freebsd-
$objformat
11411 case $version_type in
11413 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11418 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11422 shlibpath_var
=LD_LIBRARY_PATH
11425 shlibpath_overrides_runpath
=yes
11427 freebsd3.
[01]* | freebsdelf3.
[01]*)
11428 shlibpath_overrides_runpath
=yes
11429 hardcode_into_libs
=yes
11431 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
11432 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
11433 shlibpath_overrides_runpath
=no
11434 hardcode_into_libs
=yes
11436 *) # from 4.6 on, and DragonFly
11437 shlibpath_overrides_runpath
=yes
11438 hardcode_into_libs
=yes
11447 dynamic_linker
="$host_os runtime_loader"
11448 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11449 soname_spec
='${libname}${release}${shared_ext}$major'
11450 shlibpath_var
=LIBRARY_PATH
11451 shlibpath_overrides_runpath
=yes
11452 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11453 hardcode_into_libs
=yes
11456 hpux9
* | hpux10
* | hpux11
*)
11457 # Give a soname corresponding to the major version so that dld.sl refuses to
11458 # link against other versions.
11465 hardcode_into_libs
=yes
11466 dynamic_linker
="$host_os dld.so"
11467 shlibpath_var
=LD_LIBRARY_PATH
11468 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11469 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11470 soname_spec
='${libname}${release}${shared_ext}$major'
11471 if test "X$HPUX_IA64_MODE" = X32
; then
11472 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11474 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11476 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11480 hardcode_into_libs
=yes
11481 dynamic_linker
="$host_os dld.sl"
11482 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
11483 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11484 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11485 soname_spec
='${libname}${release}${shared_ext}$major'
11486 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11487 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11491 dynamic_linker
="$host_os dld.sl"
11492 shlibpath_var
=SHLIB_PATH
11493 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
11494 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11495 soname_spec
='${libname}${release}${shared_ext}$major'
11498 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11499 postinstall_cmds
='chmod 555 $lib'
11500 # or fails outright, so override atomically:
11501 install_override_mode
=555
11508 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11509 soname_spec
='${libname}${release}${shared_ext}$major'
11510 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
11511 shlibpath_var
=LD_LIBRARY_PATH
11512 shlibpath_overrides_runpath
=no
11513 hardcode_into_libs
=yes
11516 irix5
* | irix6
* | nonstopux
*)
11518 nonstopux
*) version_type
=nonstopux
;;
11520 if test "$lt_cv_prog_gnu_ld" = yes; then
11528 soname_spec
='${libname}${release}${shared_ext}$major'
11529 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11531 irix5
* | nonstopux
*)
11532 libsuff
= shlibsuff
=
11535 case $LD in # libtool.m4 will add one of these switches to LD
11536 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
11537 libsuff
= shlibsuff
= libmagic
=32-bit;;
11538 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
11539 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11540 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
11541 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11542 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
11546 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11547 shlibpath_overrides_runpath
=no
11548 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11549 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
11550 hardcode_into_libs
=yes
11553 # No shared lib support for Linux oldld, aout, or coff.
11554 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11558 # This must be Linux ELF.
11559 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
11563 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11564 soname_spec
='${libname}${release}${shared_ext}$major'
11565 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11566 shlibpath_var
=LD_LIBRARY_PATH
11567 shlibpath_overrides_runpath
=no
11569 # Some binutils ld are patched to set DT_RUNPATH
11570 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
11571 $as_echo_n "(cached) " >&6
11573 lt_cv_shlibpath_overrides_runpath
=no
11574 save_LDFLAGS
=$LDFLAGS
11575 save_libdir
=$libdir
11576 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11577 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11578 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11579 /* end confdefs.h. */
11589 if ac_fn_c_try_link
"$LINENO"; then :
11590 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
11591 lt_cv_shlibpath_overrides_runpath
=yes
11594 rm -f core conftest.err conftest.
$ac_objext \
11595 conftest
$ac_exeext conftest.
$ac_ext
11596 LDFLAGS
=$save_LDFLAGS
11597 libdir
=$save_libdir
11601 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
11603 # This implies no fast_install, which is unacceptable.
11604 # Some rework will be needed to allow for fast_install
11605 # before this can be enabled.
11606 hardcode_into_libs
=yes
11608 # Append ld.so.conf contents to the search path
11609 if test -f /etc
/ld.so.conf
; then
11610 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' ' '`
11611 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
11614 # We used to test for /lib/ld.so.1 and disable shared libraries on
11615 # powerpc, because MkLinux only supported shared libraries with the
11616 # GNU dynamic linker. Since this was broken with cross compilers,
11617 # most powerpc-linux boxes support dynamic linking these days and
11618 # people can always --disable-shared, the test was removed, and we
11619 # assume the GNU/Linux dynamic linker is in use.
11620 dynamic_linker
='GNU/Linux ld.so'
11627 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11628 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11629 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11630 dynamic_linker
='NetBSD (a.out) ld.so'
11632 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11633 soname_spec
='${libname}${release}${shared_ext}$major'
11634 dynamic_linker
='NetBSD ld.elf_so'
11636 shlibpath_var
=LD_LIBRARY_PATH
11637 shlibpath_overrides_runpath
=yes
11638 hardcode_into_libs
=yes
11643 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11644 shlibpath_var
=LD_LIBRARY_PATH
11645 shlibpath_overrides_runpath
=yes
11652 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11653 soname_spec
='${libname}${release}${shared_ext}$major'
11654 shlibpath_var
=LD_LIBRARY_PATH
11655 shlibpath_overrides_runpath
=no
11656 hardcode_into_libs
=yes
11657 dynamic_linker
='ldqnx.so'
11662 sys_lib_dlsearch_path_spec
="/usr/lib"
11664 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11666 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
11667 *) need_version
=no
;;
11669 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11670 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11671 shlibpath_var
=LD_LIBRARY_PATH
11672 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11674 openbsd2.
[89] | openbsd2.
[89].
*)
11675 shlibpath_overrides_runpath
=no
11678 shlibpath_overrides_runpath
=yes
11682 shlibpath_overrides_runpath
=yes
11687 libname_spec
='$name'
11690 library_names_spec
='$libname${shared_ext} $libname.a'
11691 dynamic_linker
='OS/2 ld.exe'
11692 shlibpath_var
=LIBPATH
11695 osf3
* | osf4
* | osf5
*)
11699 soname_spec
='${libname}${release}${shared_ext}$major'
11700 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11701 shlibpath_var
=LD_LIBRARY_PATH
11702 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11703 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11714 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11715 soname_spec
='${libname}${release}${shared_ext}$major'
11716 shlibpath_var
=LD_LIBRARY_PATH
11717 shlibpath_overrides_runpath
=yes
11718 hardcode_into_libs
=yes
11719 # ldd complains unless libraries are executable
11720 postinstall_cmds
='chmod +x $lib'
11725 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11726 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11727 shlibpath_var
=LD_LIBRARY_PATH
11728 shlibpath_overrides_runpath
=yes
11729 if test "$with_gnu_ld" = yes; then
11737 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11738 soname_spec
='${libname}${release}${shared_ext}$major'
11739 shlibpath_var
=LD_LIBRARY_PATH
11740 case $host_vendor in
11742 shlibpath_overrides_runpath
=no
11744 runpath_var
=LD_RUN_PATH
11752 shlibpath_overrides_runpath
=no
11753 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11759 if test -d /usr
/nec
;then
11761 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11762 soname_spec
='$libname${shared_ext}.$major'
11763 shlibpath_var
=LD_LIBRARY_PATH
11767 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11768 version_type
=freebsd-elf
11771 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11772 soname_spec
='${libname}${release}${shared_ext}$major'
11773 shlibpath_var
=LD_LIBRARY_PATH
11774 shlibpath_overrides_runpath
=yes
11775 hardcode_into_libs
=yes
11776 if test "$with_gnu_ld" = yes; then
11777 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11779 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11782 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11786 sys_lib_dlsearch_path_spec
='/usr/lib'
11790 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11794 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11795 shlibpath_var
=LD_LIBRARY_PATH
11796 shlibpath_overrides_runpath
=no
11797 hardcode_into_libs
=yes
11802 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11803 soname_spec
='${libname}${release}${shared_ext}$major'
11804 shlibpath_var
=LD_LIBRARY_PATH
11811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11812 $as_echo "$dynamic_linker" >&6; }
11813 test "$dynamic_linker" = no
&& can_build_shared
=no
11815 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11816 if test "$GCC" = yes; then
11817 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11820 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11821 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
11823 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11824 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
11918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11919 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11921 if test -n "$hardcode_libdir_flag_spec" ||
11922 test -n "$runpath_var" ||
11923 test "X$hardcode_automatic" = "Xyes" ; then
11925 # We can hardcode non-existent directories.
11926 if test "$hardcode_direct" != no
&&
11927 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11928 # have to relink, otherwise we might link with an installed library
11929 # when we should be linking with a yet-to-be-installed one
11930 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11931 test "$hardcode_minus_L" != no
; then
11932 # Linking always hardcodes the temporary library directory.
11933 hardcode_action
=relink
11935 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11936 hardcode_action
=immediate
11939 # We cannot hardcode anything, or else we can only hardcode existing
11941 hardcode_action
=unsupported
11943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11944 $as_echo "$hardcode_action" >&6; }
11946 if test "$hardcode_action" = relink ||
11947 test "$inherit_rpath" = yes; then
11948 # Fast installation is not supported
11949 enable_fast_install
=no
11950 elif test "$shlibpath_overrides_runpath" = yes ||
11951 test "$enable_shared" = no
; then
11952 # Fast installation is not necessary
11953 enable_fast_install
=needless
11961 if test "x$enable_dlopen" != xyes
; then
11962 enable_dlopen
=unknown
11963 enable_dlopen_self
=unknown
11964 enable_dlopen_self_static
=unknown
11971 lt_cv_dlopen
="load_add_on"
11973 lt_cv_dlopen_self
=yes
11976 mingw
* | pw32
* | cegcc
*)
11977 lt_cv_dlopen
="LoadLibrary"
11982 lt_cv_dlopen
="dlopen"
11987 # if libdl is installed we need to link against it
11988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11989 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11990 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11991 $as_echo_n "(cached) " >&6
11993 ac_check_lib_save_LIBS
=$LIBS
11995 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11996 /* end confdefs.h. */
11998 /* Override any GCC internal prototype to avoid an error.
11999 Use char because int might match the return type of a GCC
12000 builtin and then its argument prototype would still apply. */
12013 if ac_fn_c_try_link
"$LINENO"; then :
12014 ac_cv_lib_dl_dlopen
=yes
12016 ac_cv_lib_dl_dlopen
=no
12018 rm -f core conftest.err conftest.
$ac_objext \
12019 conftest
$ac_exeext conftest.
$ac_ext
12020 LIBS
=$ac_check_lib_save_LIBS
12022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12023 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12024 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12025 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12028 lt_cv_dlopen
="dyld"
12030 lt_cv_dlopen_self
=yes
12037 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
12038 if test "x$ac_cv_func_shl_load" = xyes
; then :
12039 lt_cv_dlopen
="shl_load"
12041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12042 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12043 if ${ac_cv_lib_dld_shl_load+:} false
; then :
12044 $as_echo_n "(cached) " >&6
12046 ac_check_lib_save_LIBS
=$LIBS
12048 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12049 /* end confdefs.h. */
12051 /* Override any GCC internal prototype to avoid an error.
12052 Use char because int might match the return type of a GCC
12053 builtin and then its argument prototype would still apply. */
12061 return shl_load ();
12066 if ac_fn_c_try_link
"$LINENO"; then :
12067 ac_cv_lib_dld_shl_load
=yes
12069 ac_cv_lib_dld_shl_load
=no
12071 rm -f core conftest.err conftest.
$ac_objext \
12072 conftest
$ac_exeext conftest.
$ac_ext
12073 LIBS
=$ac_check_lib_save_LIBS
12075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12076 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12077 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
12078 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
12080 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
12081 if test "x$ac_cv_func_dlopen" = xyes
; then :
12082 lt_cv_dlopen
="dlopen"
12084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12085 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12086 if ${ac_cv_lib_dl_dlopen+:} 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. */
12109 if ac_fn_c_try_link
"$LINENO"; then :
12110 ac_cv_lib_dl_dlopen
=yes
12112 ac_cv_lib_dl_dlopen
=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_dl_dlopen" >&5
12119 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12120 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12121 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12124 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12125 if ${ac_cv_lib_svld_dlopen+:} false
; then :
12126 $as_echo_n "(cached) " >&6
12128 ac_check_lib_save_LIBS
=$LIBS
12129 LIBS
="-lsvld $LIBS"
12130 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12131 /* end confdefs.h. */
12133 /* Override any GCC internal prototype to avoid an error.
12134 Use char because int might match the return type of a GCC
12135 builtin and then its argument prototype would still apply. */
12148 if ac_fn_c_try_link
"$LINENO"; then :
12149 ac_cv_lib_svld_dlopen
=yes
12151 ac_cv_lib_svld_dlopen
=no
12153 rm -f core conftest.err conftest.
$ac_objext \
12154 conftest
$ac_exeext conftest.
$ac_ext
12155 LIBS
=$ac_check_lib_save_LIBS
12157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12158 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12159 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
12160 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
12162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12163 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12164 if ${ac_cv_lib_dld_dld_link+:} false
; then :
12165 $as_echo_n "(cached) " >&6
12167 ac_check_lib_save_LIBS
=$LIBS
12169 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12170 /* end confdefs.h. */
12172 /* Override any GCC internal prototype to avoid an error.
12173 Use char because int might match the return type of a GCC
12174 builtin and then its argument prototype would still apply. */
12182 return dld_link ();
12187 if ac_fn_c_try_link
"$LINENO"; then :
12188 ac_cv_lib_dld_dld_link
=yes
12190 ac_cv_lib_dld_dld_link
=no
12192 rm -f core conftest.err conftest.
$ac_objext \
12193 conftest
$ac_exeext conftest.
$ac_ext
12194 LIBS
=$ac_check_lib_save_LIBS
12196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12197 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12198 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
12199 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
12220 if test "x$lt_cv_dlopen" != xno
; then
12226 case $lt_cv_dlopen in
12228 save_CPPFLAGS
="$CPPFLAGS"
12229 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12231 save_LDFLAGS
="$LDFLAGS"
12232 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12235 LIBS
="$lt_cv_dlopen_libs $LIBS"
12237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12238 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12239 if ${lt_cv_dlopen_self+:} false
; then :
12240 $as_echo_n "(cached) " >&6
12242 if test "$cross_compiling" = yes; then :
12243 lt_cv_dlopen_self
=cross
12245 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12246 lt_status
=$lt_dlunknown
12247 cat > conftest.
$ac_ext <<_LT_EOF
12248 #line 12248 "configure"
12249 #include "confdefs.h"
12258 # define LT_DLGLOBAL RTLD_GLOBAL
12261 # define LT_DLGLOBAL DL_GLOBAL
12263 # define LT_DLGLOBAL 0
12267 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12268 find out it does not work in some platform. */
12269 #ifndef LT_DLLAZY_OR_NOW
12271 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12274 # define LT_DLLAZY_OR_NOW DL_LAZY
12277 # define LT_DLLAZY_OR_NOW RTLD_NOW
12280 # define LT_DLLAZY_OR_NOW DL_NOW
12282 # define LT_DLLAZY_OR_NOW 0
12289 /* When -fvisbility=hidden is used, assume the code has been annotated
12290 correspondingly for the symbols needed. */
12291 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12292 void fnord () __attribute__((visibility("default")));
12295 void fnord () { int i=42; }
12298 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12299 int status = $lt_dlunknown;
12303 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12306 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12307 else puts (dlerror ());
12309 /* dlclose (self); */
12317 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12318 (eval $ac_link) 2>&5
12320 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12321 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12322 (.
/conftest
; exit; ) >&5 2>/dev
/null
12324 case x
$lt_status in
12325 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12326 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12327 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
12330 # compilation failed
12331 lt_cv_dlopen_self
=no
12338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12339 $as_echo "$lt_cv_dlopen_self" >&6; }
12341 if test "x$lt_cv_dlopen_self" = xyes
; then
12342 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
12343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12344 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12345 if ${lt_cv_dlopen_self_static+:} false
; then :
12346 $as_echo_n "(cached) " >&6
12348 if test "$cross_compiling" = yes; then :
12349 lt_cv_dlopen_self_static
=cross
12351 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12352 lt_status
=$lt_dlunknown
12353 cat > conftest.
$ac_ext <<_LT_EOF
12354 #line 12354 "configure"
12355 #include "confdefs.h"
12364 # define LT_DLGLOBAL RTLD_GLOBAL
12367 # define LT_DLGLOBAL DL_GLOBAL
12369 # define LT_DLGLOBAL 0
12373 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12374 find out it does not work in some platform. */
12375 #ifndef LT_DLLAZY_OR_NOW
12377 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12380 # define LT_DLLAZY_OR_NOW DL_LAZY
12383 # define LT_DLLAZY_OR_NOW RTLD_NOW
12386 # define LT_DLLAZY_OR_NOW DL_NOW
12388 # define LT_DLLAZY_OR_NOW 0
12395 /* When -fvisbility=hidden is used, assume the code has been annotated
12396 correspondingly for the symbols needed. */
12397 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12398 void fnord () __attribute__((visibility("default")));
12401 void fnord () { int i=42; }
12404 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12405 int status = $lt_dlunknown;
12409 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12412 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12413 else puts (dlerror ());
12415 /* dlclose (self); */
12423 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12424 (eval $ac_link) 2>&5
12426 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12427 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12428 (.
/conftest
; exit; ) >&5 2>/dev
/null
12430 case x
$lt_status in
12431 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
12432 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
12433 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
12436 # compilation failed
12437 lt_cv_dlopen_self_static
=no
12444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12445 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12448 CPPFLAGS
="$save_CPPFLAGS"
12449 LDFLAGS
="$save_LDFLAGS"
12454 case $lt_cv_dlopen_self in
12455 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12456 *) enable_dlopen_self
=unknown
;;
12459 case $lt_cv_dlopen_self_static in
12460 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
12461 *) enable_dlopen_self_static
=unknown
;;
12483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12484 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12485 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
12486 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12487 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12489 $as_echo "yes" >&6; }
12491 # FIXME - insert some real tests, host_os isn't really good enough
12494 if test -n "$STRIP" ; then
12495 striplib
="$STRIP -x"
12496 old_striplib
="$STRIP -S"
12497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12498 $as_echo "yes" >&6; }
12500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12501 $as_echo "no" >&6; }
12505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12506 $as_echo "no" >&6; }
12522 # Report which library types will actually be built
12523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12524 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12526 $as_echo "$can_build_shared" >&6; }
12528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12529 $as_echo_n "checking whether to build shared libraries... " >&6; }
12530 test "$can_build_shared" = "no" && enable_shared
=no
12532 # On AIX, shared libraries and static libraries use the same namespace, and
12533 # are all built from PIC.
12536 test "$enable_shared" = yes && enable_static
=no
12537 if test -n "$RANLIB"; then
12538 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12539 postinstall_cmds
='$RANLIB $lib'
12544 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
12545 test "$enable_shared" = yes && enable_static
=no
12549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12550 $as_echo "$enable_shared" >&6; }
12552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12553 $as_echo_n "checking whether to build static libraries... " >&6; }
12554 # Make sure either enable_shared or enable_static is yes.
12555 test "$enable_shared" = yes || enable_static
=yes
12556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12557 $as_echo "$enable_static" >&6; }
12564 ac_cpp
='$CPP $CPPFLAGS'
12565 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12566 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12567 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12583 ac_config_commands
="$ac_config_commands libtool"
12588 # Only expand once:
12593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bind in -lsocket" >&5
12594 $as_echo_n "checking for bind in -lsocket... " >&6; }
12595 if ${ac_cv_lib_socket_bind+:} false
; then :
12596 $as_echo_n "(cached) " >&6
12598 ac_check_lib_save_LIBS
=$LIBS
12599 LIBS
="-lsocket $LIBS"
12600 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12601 /* end confdefs.h. */
12603 /* Override any GCC internal prototype to avoid an error.
12604 Use char because int might match the return type of a GCC
12605 builtin and then its argument prototype would still apply. */
12618 if ac_fn_c_try_link
"$LINENO"; then :
12619 ac_cv_lib_socket_bind
=yes
12621 ac_cv_lib_socket_bind
=no
12623 rm -f core conftest.err conftest.
$ac_objext \
12624 conftest
$ac_exeext conftest.
$ac_ext
12625 LIBS
=$ac_check_lib_save_LIBS
12627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_bind" >&5
12628 $as_echo "$ac_cv_lib_socket_bind" >&6; }
12629 if test "x$ac_cv_lib_socket_bind" = xyes
; then :
12630 cat >>confdefs.h
<<_ACEOF
12631 #define HAVE_LIBSOCKET 1
12634 LIBS
="-lsocket $LIBS"
12638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
12639 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
12640 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
12641 $as_echo_n "(cached) " >&6
12643 ac_check_lib_save_LIBS
=$LIBS
12645 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12646 /* end confdefs.h. */
12648 /* Override any GCC internal prototype to avoid an error.
12649 Use char because int might match the return type of a GCC
12650 builtin and then its argument prototype would still apply. */
12654 char gethostbyname ();
12658 return gethostbyname ();
12663 if ac_fn_c_try_link
"$LINENO"; then :
12664 ac_cv_lib_nsl_gethostbyname
=yes
12666 ac_cv_lib_nsl_gethostbyname
=no
12668 rm -f core conftest.err conftest.
$ac_objext \
12669 conftest
$ac_exeext conftest.
$ac_ext
12670 LIBS
=$ac_check_lib_save_LIBS
12672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
12673 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
12674 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
12675 cat >>confdefs.h
<<_ACEOF
12676 #define HAVE_LIBNSL 1
12683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabs in -lm" >&5
12684 $as_echo_n "checking for fabs in -lm... " >&6; }
12685 if ${ac_cv_lib_m_fabs+:} false
; then :
12686 $as_echo_n "(cached) " >&6
12688 ac_check_lib_save_LIBS
=$LIBS
12690 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12691 /* end confdefs.h. */
12693 /* Override any GCC internal prototype to avoid an error.
12694 Use char because int might match the return type of a GCC
12695 builtin and then its argument prototype would still apply. */
12708 if ac_fn_c_try_link
"$LINENO"; then :
12709 ac_cv_lib_m_fabs
=yes
12711 ac_cv_lib_m_fabs
=no
12713 rm -f core conftest.err conftest.
$ac_objext \
12714 conftest
$ac_exeext conftest.
$ac_ext
12715 LIBS
=$ac_check_lib_save_LIBS
12717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fabs" >&5
12718 $as_echo "$ac_cv_lib_m_fabs" >&6; }
12719 if test "x$ac_cv_lib_m_fabs" = xyes
; then :
12720 cat >>confdefs.h
<<_ACEOF
12721 #define HAVE_LIBM 1
12728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log2 in -lm" >&5
12729 $as_echo_n "checking for log2 in -lm... " >&6; }
12730 if ${ac_cv_lib_m_log2+:} false
; then :
12731 $as_echo_n "(cached) " >&6
12733 ac_check_lib_save_LIBS
=$LIBS
12735 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12736 /* end confdefs.h. */
12738 /* Override any GCC internal prototype to avoid an error.
12739 Use char because int might match the return type of a GCC
12740 builtin and then its argument prototype would still apply. */
12753 if ac_fn_c_try_link
"$LINENO"; then :
12754 ac_cv_lib_m_log2
=yes
12756 ac_cv_lib_m_log2
=no
12758 rm -f core conftest.err conftest.
$ac_objext \
12759 conftest
$ac_exeext conftest.
$ac_ext
12760 LIBS
=$ac_check_lib_save_LIBS
12762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_log2" >&5
12763 $as_echo "$ac_cv_lib_m_log2" >&6; }
12764 if test "x$ac_cv_lib_m_log2" = xyes
; then :
12765 cat >>confdefs.h
<<_ACEOF
12766 #define HAVE_LIBM 1
12774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12775 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12776 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12777 $as_echo_n "(cached) " >&6
12779 ac_check_lib_save_LIBS
=$LIBS
12781 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12782 /* end confdefs.h. */
12784 /* Override any GCC internal prototype to avoid an error.
12785 Use char because int might match the return type of a GCC
12786 builtin and then its argument prototype would still apply. */
12799 if ac_fn_c_try_link
"$LINENO"; then :
12800 ac_cv_lib_dl_dlopen
=yes
12802 ac_cv_lib_dl_dlopen
=no
12804 rm -f core conftest.err conftest.
$ac_objext \
12805 conftest
$ac_exeext conftest.
$ac_ext
12806 LIBS
=$ac_check_lib_save_LIBS
12808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12809 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12810 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12811 cat >>confdefs.h
<<_ACEOF
12812 #define HAVE_LIBDL 1
12819 if test "${ac_cv_lib_dl_dlopen}" = "yes"; then
12822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sdl2" >&5
12823 $as_echo_n "checking for sdl2... " >&6; }
12825 if test -n "$SDL_CFLAGS"; then
12826 pkg_cv_SDL_CFLAGS
="$SDL_CFLAGS"
12827 elif test -n "$PKG_CONFIG"; then
12828 if test -n "$PKG_CONFIG" && \
12829 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sdl2\""; } >&5
12830 ($PKG_CONFIG --exists --print-errors "sdl2") 2>&5
12832 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12833 test $ac_status = 0; }; then
12834 pkg_cv_SDL_CFLAGS
=`$PKG_CONFIG --cflags "sdl2" 2>/dev/null`
12835 test "x$?" != "x0" && pkg_failed
=yes
12842 if test -n "$SDL_LIBS"; then
12843 pkg_cv_SDL_LIBS
="$SDL_LIBS"
12844 elif test -n "$PKG_CONFIG"; then
12845 if test -n "$PKG_CONFIG" && \
12846 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sdl2\""; } >&5
12847 ($PKG_CONFIG --exists --print-errors "sdl2") 2>&5
12849 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12850 test $ac_status = 0; }; then
12851 pkg_cv_SDL_LIBS
=`$PKG_CONFIG --libs "sdl2" 2>/dev/null`
12852 test "x$?" != "x0" && pkg_failed
=yes
12860 if test $pkg_failed = no
; then
12861 pkg_save_LDFLAGS
="$LDFLAGS"
12862 LDFLAGS
="$LDFLAGS $pkg_cv_SDL_LIBS"
12863 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12864 /* end confdefs.h. */
12874 if ac_fn_c_try_link
"$LINENO"; then :
12879 rm -f core conftest.err conftest.
$ac_objext \
12880 conftest
$ac_exeext conftest.
$ac_ext
12881 LDFLAGS
=$pkg_save_LDFLAGS
12886 if test $pkg_failed = yes; then
12887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12888 $as_echo "no" >&6; }
12890 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12891 _pkg_short_errors_supported
=yes
12893 _pkg_short_errors_supported
=no
12895 if test $_pkg_short_errors_supported = yes; then
12896 SDL_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "sdl2" 2>&1`
12898 SDL_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "sdl2" 2>&1`
12900 # Put the nasty error message in config.log where it belongs
12901 echo "$SDL_PKG_ERRORS" >&5
12906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sdl" >&5
12907 $as_echo_n "checking for sdl... " >&6; }
12909 if test -n "$SDL_CFLAGS"; then
12910 pkg_cv_SDL_CFLAGS
="$SDL_CFLAGS"
12911 elif test -n "$PKG_CONFIG"; then
12912 if test -n "$PKG_CONFIG" && \
12913 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sdl\""; } >&5
12914 ($PKG_CONFIG --exists --print-errors "sdl") 2>&5
12916 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12917 test $ac_status = 0; }; then
12918 pkg_cv_SDL_CFLAGS
=`$PKG_CONFIG --cflags "sdl" 2>/dev/null`
12919 test "x$?" != "x0" && pkg_failed
=yes
12926 if test -n "$SDL_LIBS"; then
12927 pkg_cv_SDL_LIBS
="$SDL_LIBS"
12928 elif test -n "$PKG_CONFIG"; then
12929 if test -n "$PKG_CONFIG" && \
12930 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sdl\""; } >&5
12931 ($PKG_CONFIG --exists --print-errors "sdl") 2>&5
12933 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12934 test $ac_status = 0; }; then
12935 pkg_cv_SDL_LIBS
=`$PKG_CONFIG --libs "sdl" 2>/dev/null`
12936 test "x$?" != "x0" && pkg_failed
=yes
12944 if test $pkg_failed = no
; then
12945 pkg_save_LDFLAGS
="$LDFLAGS"
12946 LDFLAGS
="$LDFLAGS $pkg_cv_SDL_LIBS"
12947 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12948 /* end confdefs.h. */
12958 if ac_fn_c_try_link
"$LINENO"; then :
12963 rm -f core conftest.err conftest.
$ac_objext \
12964 conftest
$ac_exeext conftest.
$ac_ext
12965 LDFLAGS
=$pkg_save_LDFLAGS
12970 if test $pkg_failed = yes; then
12971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12972 $as_echo "no" >&6; }
12974 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12975 _pkg_short_errors_supported
=yes
12977 _pkg_short_errors_supported
=no
12979 if test $_pkg_short_errors_supported = yes; then
12980 SDL_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "sdl" 2>&1`
12982 SDL_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "sdl" 2>&1`
12984 # Put the nasty error message in config.log where it belongs
12985 echo "$SDL_PKG_ERRORS" >&5
12988 elif test $pkg_failed = untried
; then
12989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12990 $as_echo "no" >&6; }
12993 SDL_CFLAGS
=$pkg_cv_SDL_CFLAGS
12994 SDL_LIBS
=$pkg_cv_SDL_LIBS
12995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12996 $as_echo "yes" >&6; }
12997 SDL_CFLAGS
="${SDL_CFLAGS} -DHAVE_SDL=1"
13002 elif test $pkg_failed = untried
; then
13003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13004 $as_echo "no" >&6; }
13008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sdl" >&5
13009 $as_echo_n "checking for sdl... " >&6; }
13011 if test -n "$SDL_CFLAGS"; then
13012 pkg_cv_SDL_CFLAGS
="$SDL_CFLAGS"
13013 elif test -n "$PKG_CONFIG"; then
13014 if test -n "$PKG_CONFIG" && \
13015 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sdl\""; } >&5
13016 ($PKG_CONFIG --exists --print-errors "sdl") 2>&5
13018 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13019 test $ac_status = 0; }; then
13020 pkg_cv_SDL_CFLAGS
=`$PKG_CONFIG --cflags "sdl" 2>/dev/null`
13021 test "x$?" != "x0" && pkg_failed
=yes
13028 if test -n "$SDL_LIBS"; then
13029 pkg_cv_SDL_LIBS
="$SDL_LIBS"
13030 elif test -n "$PKG_CONFIG"; then
13031 if test -n "$PKG_CONFIG" && \
13032 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sdl\""; } >&5
13033 ($PKG_CONFIG --exists --print-errors "sdl") 2>&5
13035 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13036 test $ac_status = 0; }; then
13037 pkg_cv_SDL_LIBS
=`$PKG_CONFIG --libs "sdl" 2>/dev/null`
13038 test "x$?" != "x0" && pkg_failed
=yes
13046 if test $pkg_failed = no
; then
13047 pkg_save_LDFLAGS
="$LDFLAGS"
13048 LDFLAGS
="$LDFLAGS $pkg_cv_SDL_LIBS"
13049 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13050 /* end confdefs.h. */
13060 if ac_fn_c_try_link
"$LINENO"; then :
13065 rm -f core conftest.err conftest.
$ac_objext \
13066 conftest
$ac_exeext conftest.
$ac_ext
13067 LDFLAGS
=$pkg_save_LDFLAGS
13072 if test $pkg_failed = yes; then
13073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13074 $as_echo "no" >&6; }
13076 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13077 _pkg_short_errors_supported
=yes
13079 _pkg_short_errors_supported
=no
13081 if test $_pkg_short_errors_supported = yes; then
13082 SDL_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "sdl" 2>&1`
13084 SDL_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "sdl" 2>&1`
13086 # Put the nasty error message in config.log where it belongs
13087 echo "$SDL_PKG_ERRORS" >&5
13090 elif test $pkg_failed = untried
; then
13091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13092 $as_echo "no" >&6; }
13095 SDL_CFLAGS
=$pkg_cv_SDL_CFLAGS
13096 SDL_LIBS
=$pkg_cv_SDL_LIBS
13097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13098 $as_echo "yes" >&6; }
13099 SDL_CFLAGS
="${SDL_CFLAGS} -DHAVE_SDL=1"
13105 SDL_CFLAGS
=$pkg_cv_SDL_CFLAGS
13106 SDL_LIBS
=$pkg_cv_SDL_LIBS
13107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13108 $as_echo "yes" >&6; }
13109 SDL_CFLAGS
="${SDL_CFLAGS} -DHAVE_SDL=2"
13120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cygwin" >&5
13121 $as_echo_n "checking for cygwin... " >&6; }
13122 if ${sim_cv_os_cygwin+:} false
; then :
13123 $as_echo_n "(cached) " >&6
13125 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13126 /* end confdefs.h. */
13132 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13133 $EGREP "lose" >/dev
/null
2>&1; then :
13134 sim_cv_os_cygwin
=yes
13136 sim_cv_os_cygwin
=no
13141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_cv_os_cygwin" >&5
13142 $as_echo "$sim_cv_os_cygwin" >&6; }
13144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing tgetent" >&5
13145 $as_echo_n "checking for library containing tgetent... " >&6; }
13146 if ${ac_cv_search_tgetent+:} false
; then :
13147 $as_echo_n "(cached) " >&6
13149 ac_func_search_save_LIBS
=$LIBS
13150 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13151 /* end confdefs.h. */
13153 /* Override any GCC internal prototype to avoid an error.
13154 Use char because int might match the return type of a GCC
13155 builtin and then its argument prototype would still apply. */
13168 for ac_lib
in '' termcap tinfo curses ncurses
; do
13169 if test -z "$ac_lib"; then
13170 ac_res
="none required"
13173 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
13175 if ac_fn_c_try_link
"$LINENO"; then :
13176 ac_cv_search_tgetent
=$ac_res
13178 rm -f core conftest.err conftest.
$ac_objext \
13180 if ${ac_cv_search_tgetent+:} false
; then :
13184 if ${ac_cv_search_tgetent+:} false
; then :
13187 ac_cv_search_tgetent
=no
13189 rm conftest.
$ac_ext
13190 LIBS
=$ac_func_search_save_LIBS
13192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_tgetent" >&5
13193 $as_echo "$ac_cv_search_tgetent" >&6; }
13194 ac_res
=$ac_cv_search_tgetent
13195 if test "$ac_res" != no
; then :
13196 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
13197 TERMCAP_LIB
=$ac_cv_search_tgetent
13202 if test x
$sim_cv_os_cygwin = xyes
; then
13203 TERMCAP_LIB
="${TERMCAP_LIB} -luser32"
13207 if test -r ..
/readline
/Makefile
; then
13208 READLINE_LIB
=..
/..
/readline
/readline
/libreadline.a
13209 READLINE_CFLAGS
='-I$(READLINE_SRC)/..'
13211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline in -lreadline" >&5
13212 $as_echo_n "checking for readline in -lreadline... " >&6; }
13213 if ${ac_cv_lib_readline_readline+:} false
; then :
13214 $as_echo_n "(cached) " >&6
13216 ac_check_lib_save_LIBS
=$LIBS
13217 LIBS
="-lreadline $TERMCAP_LIB $LIBS"
13218 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13219 /* end confdefs.h. */
13221 /* Override any GCC internal prototype to avoid an error.
13222 Use char because int might match the return type of a GCC
13223 builtin and then its argument prototype would still apply. */
13231 return readline ();
13236 if ac_fn_c_try_link
"$LINENO"; then :
13237 ac_cv_lib_readline_readline
=yes
13239 ac_cv_lib_readline_readline
=no
13241 rm -f core conftest.err conftest.
$ac_objext \
13242 conftest
$ac_exeext conftest.
$ac_ext
13243 LIBS
=$ac_check_lib_save_LIBS
13245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_readline" >&5
13246 $as_echo "$ac_cv_lib_readline_readline" >&6; }
13247 if test "x$ac_cv_lib_readline_readline" = xyes
; then :
13248 READLINE_LIB
=-lreadline
13250 as_fn_error $?
"the required \"readline\" library is missing" "$LINENO" 5
13260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
13261 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
13262 # Check whether --enable-maintainer-mode was given.
13263 if test "${enable_maintainer_mode+set}" = set; then :
13264 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
13266 USE_MAINTAINER_MODE
=no
13269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
13270 $as_echo "$USE_MAINTAINER_MODE" >&6; }
13271 if test $USE_MAINTAINER_MODE = yes; then
13272 MAINTAINER_MODE_TRUE
=
13273 MAINTAINER_MODE_FALSE
='#'
13275 MAINTAINER_MODE_TRUE
='#'
13276 MAINTAINER_MODE_FALSE
=
13279 MAINT
=$MAINTAINER_MODE_TRUE
13282 am__api_version
='1.15'
13284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
13285 $as_echo_n "checking whether build environment is sane... " >&6; }
13286 # Reject unsafe characters in $srcdir or the absolute working directory
13287 # name. Accept space and tab only in the latter.
13291 *[\\\"\
#\$\&\'\`$am_lf]*)
13292 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
13295 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
13296 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
13299 # Do 'set' in a subshell so we don't clobber the current shell's
13300 # arguments. Must try -L first in case configure is actually a
13301 # symlink; some systems play weird games with the mod time of symlinks
13302 # (eg FreeBSD returns the mod time of the symlink's containing
13306 for am_try
in 1 2; do
13307 echo "timestamp, slept: $am_has_slept" > conftest.
file
13308 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
13309 if test "$*" = "X"; then
13311 set X
`ls -t "$srcdir/configure" conftest.file`
13313 if test "$*" != "X $srcdir/configure conftest.file" \
13314 && test "$*" != "X conftest.file $srcdir/configure"; then
13316 # If neither matched, then we have a broken ls. This can happen
13317 # if, for instance, CONFIG_SHELL is bash and it inherits a
13318 # broken ls alias from the environment. This has actually
13319 # happened. Such a system could not be considered "sane".
13320 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
13321 alias in your environment" "$LINENO" 5
13323 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
13330 test "$2" = conftest.
file
13336 as_fn_error $?
"newly created file is older than distributed files!
13337 Check your system clock" "$LINENO" 5
13339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13340 $as_echo "yes" >&6; }
13341 # If we didn't sleep, we still need to ensure time stamps of config.status and
13342 # generated files are strictly newer.
13344 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
13349 rm -f conftest.
file
13351 if test x
"${MISSING+set}" != xset
; then
13352 case $am_aux_dir in
13354 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
13356 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
13359 # Use eval to expand $SHELL
13360 if eval "$MISSING --is-lightweight"; then
13361 am_missing_run
="$MISSING "
13364 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
13365 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
13368 if test x
"${install_sh+set}" != xset
; then
13369 case $am_aux_dir in
13371 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
13373 install_sh
="\${SHELL} $am_aux_dir/install-sh"
13377 # Installed binaries are usually stripped using 'strip' when the user
13378 # run "make install-strip". However 'strip' might not be the right
13379 # tool to use in cross-compilation environments, therefore Automake
13380 # will honor the 'STRIP' environment variable to overrule this program.
13381 if test "$cross_compiling" != no
; then
13382 if test -n "$ac_tool_prefix"; then
13383 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
13384 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
13385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13386 $as_echo_n "checking for $ac_word... " >&6; }
13387 if ${ac_cv_prog_STRIP+:} false
; then :
13388 $as_echo_n "(cached) " >&6
13390 if test -n "$STRIP"; then
13391 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
13393 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13394 for as_dir
in $PATH
13397 test -z "$as_dir" && as_dir
=.
13398 for ac_exec_ext
in '' $ac_executable_extensions; do
13399 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13400 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
13401 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13410 STRIP
=$ac_cv_prog_STRIP
13411 if test -n "$STRIP"; then
13412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
13413 $as_echo "$STRIP" >&6; }
13415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13416 $as_echo "no" >&6; }
13421 if test -z "$ac_cv_prog_STRIP"; then
13423 # Extract the first word of "strip", so it can be a program name with args.
13424 set dummy strip
; ac_word
=$2
13425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13426 $as_echo_n "checking for $ac_word... " >&6; }
13427 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
13428 $as_echo_n "(cached) " >&6
13430 if test -n "$ac_ct_STRIP"; then
13431 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
13433 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13434 for as_dir
in $PATH
13437 test -z "$as_dir" && as_dir
=.
13438 for ac_exec_ext
in '' $ac_executable_extensions; do
13439 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13440 ac_cv_prog_ac_ct_STRIP
="strip"
13441 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13450 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
13451 if test -n "$ac_ct_STRIP"; then
13452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
13453 $as_echo "$ac_ct_STRIP" >&6; }
13455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13456 $as_echo "no" >&6; }
13459 if test "x$ac_ct_STRIP" = x
; then
13462 case $cross_compiling:$ac_tool_warned in
13464 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13465 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13466 ac_tool_warned
=yes ;;
13471 STRIP
="$ac_cv_prog_STRIP"
13475 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
13477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
13478 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
13479 if test -z "$MKDIR_P"; then
13480 if ${ac_cv_path_mkdir+:} false
; then :
13481 $as_echo_n "(cached) " >&6
13483 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13484 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
13487 test -z "$as_dir" && as_dir
=.
13488 for ac_prog
in mkdir gmkdir
; do
13489 for ac_exec_ext
in '' $ac_executable_extensions; do
13490 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
13491 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
13492 'mkdir (GNU coreutils) '* | \
13493 'mkdir (coreutils) '* | \
13494 'mkdir (fileutils) '4.1*)
13495 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
13505 test -d .
/--version && rmdir .
/--version
13506 if test "${ac_cv_path_mkdir+set}" = set; then
13507 MKDIR_P
="$ac_cv_path_mkdir -p"
13509 # As a last resort, use the slow shell script. Don't cache a
13510 # value for MKDIR_P within a source directory, because that will
13511 # break other packages using the cache if that directory is
13512 # removed, or if the value is a relative name.
13513 MKDIR_P
="$ac_install_sh -d"
13516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
13517 $as_echo "$MKDIR_P" >&6; }
13519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
13520 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
13522 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
13523 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
13524 $as_echo_n "(cached) " >&6
13526 cat >conftest.
make <<\_ACEOF
13529 @
echo '@@@%%%=$(MAKE)=@@@%%%'
13531 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13532 case `${MAKE-make} -f conftest.make 2>/dev/null` in
13533 *@@@
%%%=?
*=@@@
%%%*)
13534 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
13536 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
13538 rm -f conftest.
make
13540 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
13541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13542 $as_echo "yes" >&6; }
13545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13546 $as_echo "no" >&6; }
13547 SET_MAKE
="MAKE=${MAKE-make}"
13550 rm -rf .tst
2>/dev
/null
13551 mkdir .tst
2>/dev
/null
13552 if test -d .tst
; then
13557 rmdir .tst
2>/dev
/null
13559 DEPDIR
="${am__leading_dot}deps"
13561 ac_config_commands
="$ac_config_commands depfiles"
13564 am_make
=${MAKE-make}
13565 cat > confinc
<< 'END'
13567 @
echo this is the am__doit target
13570 # If we don't find an include directive, just comment out the code.
13571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
13572 $as_echo_n "checking for style of include used by $am_make... " >&6; }
13576 # First try GNU make style include.
13577 echo "include confinc" > confmf
13578 # Ignore all kinds of additional output from 'make'.
13579 case `$am_make -s -f confmf 2> /dev/null` in #(
13580 *the\ am__doit\ target
*)
13581 am__include
=include
13586 # Now try BSD make style include.
13587 if test "$am__include" = "#"; then
13588 echo '.include "confinc"' > confmf
13589 case `$am_make -s -f confmf 2> /dev/null` in #(
13590 *the\ am__doit\ target
*)
13591 am__include
=.include
13599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
13600 $as_echo "$_am_result" >&6; }
13601 rm -f confinc confmf
13603 # Check whether --enable-dependency-tracking was given.
13604 if test "${enable_dependency_tracking+set}" = set; then :
13605 enableval
=$enable_dependency_tracking;
13608 if test "x$enable_dependency_tracking" != xno
; then
13609 am_depcomp
="$ac_aux_dir/depcomp"
13613 if test "x$enable_dependency_tracking" != xno; then
13622 # Check whether --enable-silent-rules was given.
13623 if test "${enable_silent_rules+set}" = set; then :
13624 enableval
=$enable_silent_rules;
13627 case $enable_silent_rules in # (((
13628 yes) AM_DEFAULT_VERBOSITY
=0;;
13629 no
) AM_DEFAULT_VERBOSITY
=1;;
13630 *) AM_DEFAULT_VERBOSITY
=1;;
13632 am_make
=${MAKE-make}
13633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
13634 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
13635 if ${am_cv_make_support_nested_variables+:} false
; then :
13636 $as_echo_n "(cached) " >&6
13638 if $as_echo 'TRUE=$(BAR$(V))
13644 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
13645 am_cv_make_support_nested_variables
=yes
13647 am_cv_make_support_nested_variables
=no
13650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
13651 $as_echo "$am_cv_make_support_nested_variables" >&6; }
13652 if test $am_cv_make_support_nested_variables = yes; then
13654 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
13656 AM_V
=$AM_DEFAULT_VERBOSITY
13657 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
13661 if test "`cd $srcdir && pwd`" != "`pwd`"; then
13662 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
13663 # is not polluted with repeated "-I."
13664 am__isrc
=' -I$(srcdir)'
13665 # test to see if srcdir already configured
13666 if test -f $srcdir/config.status
; then
13667 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
13671 # test whether we have cygpath
13672 if test -z "$CYGPATH_W"; then
13673 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
13674 CYGPATH_W
='cygpath -w'
13681 # Define the identity of the package.
13686 cat >>confdefs.h
<<_ACEOF
13687 #define PACKAGE "$PACKAGE"
13691 cat >>confdefs.h
<<_ACEOF
13692 #define VERSION "$VERSION"
13695 # Some tools Automake needs.
13697 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
13700 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
13703 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
13706 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
13709 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
13711 # For better backward compatibility. To be removed once Automake 1.9.x
13712 # dies out for good. For more background, see:
13713 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
13714 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
13715 mkdir_p
='$(MKDIR_P)'
13717 # We need awk for the "check" target (and possibly the TAP driver). The
13718 # system "awk" is bad on some platforms.
13719 # Always define AMTAR for backward compatibility. Yes, it's still used
13720 # in the wild :-( We should find a proper way to deprecate it ...
13721 AMTAR
='$${TAR-tar}'
13724 # We'll loop over all known methods to create a tar archive until one works.
13725 _am_tools
='gnutar pax cpio none'
13727 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
13733 depcc
="$CC" am_compiler_list
=
13735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
13736 $as_echo_n "checking dependency style of $depcc... " >&6; }
13737 if ${am_cv_CC_dependencies_compiler_type+:} false
; then :
13738 $as_echo_n "(cached) " >&6
13740 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
13741 # We make a subdir and do the tests there. Otherwise we can end up
13742 # making bogus files that we don't know about and never remove. For
13743 # instance it was reported that on HP-UX the gcc test will end up
13744 # making a dummy file named 'D' -- because '-MD' means "put the output
13746 rm -rf conftest.dir
13748 # Copy depcomp to subdir because otherwise we won't find it if we're
13749 # using a relative directory.
13750 cp "$am_depcomp" conftest.dir
13752 # We will build objects and dependencies in a subdirectory because
13753 # it helps to detect inapplicable dependency modes. For instance
13754 # both Tru64's cc and ICC support -MD to output dependencies as a
13755 # side effect of compilation, but ICC will put the dependencies in
13756 # the current directory while Tru64 will put them in the object
13760 am_cv_CC_dependencies_compiler_type
=none
13761 if test "$am_compiler_list" = ""; then
13762 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
13764 am__universal
=false
13765 case " $depcc " in #(
13766 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
13769 for depmode
in $am_compiler_list; do
13770 # Setup a source with many dependencies, because some compilers
13771 # like to wrap large dependency lists on column 80 (with \), and
13772 # we should not choose a depcomp mode which is confused by this.
13774 # We need to recreate these files for each test, as the compiler may
13775 # overwrite some of them when testing with obscure command lines.
13776 # This happens at least with the AIX C compiler.
13778 for i
in 1 2 3 4 5 6; do
13779 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
13780 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
13781 # Solaris 10 /bin/sh.
13782 echo '/* dummy */' > sub
/conftst
$i.h
13784 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
13786 # We check with '-c' and '-o' for the sake of the "dashmstdout"
13787 # mode. It turns out that the SunPro C++ compiler does not properly
13788 # handle '-M -o', and we need to detect this. Also, some Intel
13789 # versions had trouble with output in subdirs.
13790 am__obj
=sub
/conftest.
${OBJEXT-o}
13791 am__minus_obj
="-o $am__obj"
13794 # This depmode causes a compiler race in universal mode.
13795 test "$am__universal" = false ||
continue
13798 # After this tag, mechanisms are not by side-effect, so they'll
13799 # only be used when explicitly requested.
13800 if test "x$enable_dependency_tracking" = xyes
; then
13806 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
13807 # This compiler won't grok '-c -o', but also, the minuso test has
13808 # not run yet. These depmodes are late enough in the game, and
13809 # so weak that their functioning should not be impacted.
13810 am__obj
=conftest.
${OBJEXT-o}
13815 if depmode
=$depmode \
13816 source=sub
/conftest.c object
=$am__obj \
13817 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
13818 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
13819 >/dev
/null
2>conftest.err
&&
13820 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
13821 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
13822 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
13823 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
13824 # icc doesn't choke on unknown options, it will just issue warnings
13825 # or remarks (even with -Werror). So we grep stderr for any message
13826 # that says an option was ignored or not supported.
13827 # When given -MP, icc 7.0 and 7.1 complain thusly:
13828 # icc: Command line warning: ignoring option '-M'; no argument required
13829 # The diagnosis changed in icc 8.0:
13830 # icc: Command line remark: option '-MP' not supported
13831 if (grep 'ignoring option' conftest.err ||
13832 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
13833 am_cv_CC_dependencies_compiler_type
=$depmode
13840 rm -rf conftest.dir
13842 am_cv_CC_dependencies_compiler_type
=none
13846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
13847 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
13848 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
13851 test "x$enable_dependency_tracking" != xno \
13852 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
13853 am__fastdepCC_TRUE
=
13854 am__fastdepCC_FALSE
='#'
13856 am__fastdepCC_TRUE
='#'
13857 am__fastdepCC_FALSE
=
13862 # POSIX will say in a future version that running "rm -f" with no argument
13863 # is OK; and we want to be able to make that assumption in our Makefile
13864 # recipes. So use an aggressive probe to check that the usage we want is
13865 # actually supported "in the wild" to an acceptable degree.
13866 # See automake bug#10828.
13867 # To make any issue more visible, cause the running configure to be aborted
13868 # by default if the 'rm' program in use doesn't match our expectations; the
13869 # user can still override this though.
13870 if rm -f && rm -fr && rm -rf; then : OK
; else
13874 Your 'rm' program seems unable to run without file operands specified
13875 on the command line, even when the '-f' option is present. This is contrary
13876 to the behaviour of most rm programs out there, and not conforming with
13877 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
13879 Please tell bug-automake@gnu.org about your system, including the value
13880 of your $PATH and any error possibly output before this message. This
13881 can help us improve future automake versions.
13884 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
13885 echo 'Configuration will proceed anyway, since you have set the' >&2
13886 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
13890 Aborting the configuration process, to ensure you take notice of the issue.
13892 You can download and install GNU coreutils to get an 'rm' implementation
13893 that behaves properly: <http://www.gnu.org/software/coreutils/>.
13895 If you want to complete the configuration process using your problematic
13896 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
13897 to "yes", and re-run configure.
13900 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
13904 # Check whether --enable-silent-rules was given.
13905 if test "${enable_silent_rules+set}" = set; then :
13906 enableval
=$enable_silent_rules;
13909 case $enable_silent_rules in # (((
13910 yes) AM_DEFAULT_VERBOSITY
=0;;
13911 no
) AM_DEFAULT_VERBOSITY
=1;;
13912 *) AM_DEFAULT_VERBOSITY
=0;;
13914 am_make
=${MAKE-make}
13915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
13916 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
13917 if ${am_cv_make_support_nested_variables+:} false
; then :
13918 $as_echo_n "(cached) " >&6
13920 if $as_echo 'TRUE=$(BAR$(V))
13926 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
13927 am_cv_make_support_nested_variables
=yes
13929 am_cv_make_support_nested_variables
=no
13932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
13933 $as_echo "$am_cv_make_support_nested_variables" >&6; }
13934 if test $am_cv_make_support_nested_variables = yes; then
13936 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
13938 AM_V
=$AM_DEFAULT_VERBOSITY
13939 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
13944 # If a cpu ever has more than one simulator to choose from, use
13945 # --enable-sim=... to choose.
13946 # Check whether --enable-sim was given.
13947 if test "${enable_sim+set}" = set; then :
13948 enableval=$enable_sim; case "${enableval}" in
13950 *) as_fn_error $? "bad value ${enableval} given for --enable-sim option" "$LINENO" 5 ;;
13955 # Check whether --enable-example-sims was given.
13956 if test "${enable_example_sims+set}" = set; then :
13957 enableval=$enable_example_sims;
13961 # Check whether --enable-targets was given.
13962 if test "${enable_targets+set}" = set; then :
13963 enableval=$enable_targets; case "${enableval}" in
13964 yes | "") as_fn_error $? "enable-targets option must specify target names or 'all
'" "$LINENO" 5
13966 no) enable_targets= ;;
13967 *) enable_targets=$enableval ;;
13972 SIM_PRIMARY_TARGET=
13978 SIM_COMMON_BUILD_TRUE=
13979 SIM_COMMON_BUILD_FALSE='#'
13983 ac_config_files
="$ac_config_files Make-common.sim:common/Make-common.in"
13988 if test "${enable_sim}" != no
; then
13990 for targ
in `echo $target $enable_targets | sed 's/,/ /g'`
13992 sim_enable_arch_aarch64
=false
13995 if test "${targ}" = "${target}"; then
13996 SIM_PRIMARY_TARGET
=aarch64
13998 ac_config_files
="$ac_config_files aarch64/Makefile.sim:aarch64/Makefile.in"
14000 ac_config_commands
="$ac_config_commands aarch64/Makefile"
14002 as_fn_append SIM_SUBDIRS
" aarch64"
14004 ac_config_commands
="$ac_config_commands depdir-aarch64"
14007 sim_enable_arch_aarch64
=true
14011 if ${sim_enable_arch_aarch64}; then
14012 SIM_ENABLE_ARCH_aarch64_TRUE
=
14013 SIM_ENABLE_ARCH_aarch64_FALSE
='#'
14015 SIM_ENABLE_ARCH_aarch64_TRUE
='#'
14016 SIM_ENABLE_ARCH_aarch64_FALSE
=
14020 sim_enable_arch_arm
=false
14023 if test "${targ}" = "${target}"; then
14024 SIM_PRIMARY_TARGET
=arm
14026 ac_config_files
="$ac_config_files arm/Makefile.sim:arm/Makefile.in"
14028 ac_config_commands
="$ac_config_commands arm/Makefile"
14030 as_fn_append SIM_SUBDIRS
" arm"
14032 ac_config_commands
="$ac_config_commands depdir-arm"
14035 sim_enable_arch_arm
=true
14039 if ${sim_enable_arch_arm}; then
14040 SIM_ENABLE_ARCH_arm_TRUE
=
14041 SIM_ENABLE_ARCH_arm_FALSE
='#'
14043 SIM_ENABLE_ARCH_arm_TRUE
='#'
14044 SIM_ENABLE_ARCH_arm_FALSE
=
14048 sim_enable_arch_avr
=false
14051 if test "${targ}" = "${target}"; then
14052 SIM_PRIMARY_TARGET
=avr
14054 ac_config_files
="$ac_config_files avr/Makefile.sim:avr/Makefile.in"
14056 ac_config_commands
="$ac_config_commands avr/Makefile"
14058 as_fn_append SIM_SUBDIRS
" avr"
14060 ac_config_commands
="$ac_config_commands depdir-avr"
14063 sim_enable_arch_avr
=true
14067 if ${sim_enable_arch_avr}; then
14068 SIM_ENABLE_ARCH_avr_TRUE
=
14069 SIM_ENABLE_ARCH_avr_FALSE
='#'
14071 SIM_ENABLE_ARCH_avr_TRUE
='#'
14072 SIM_ENABLE_ARCH_avr_FALSE
=
14076 sim_enable_arch_bfin
=false
14079 if test "${targ}" = "${target}"; then
14080 SIM_PRIMARY_TARGET
=bfin
14082 ac_config_files
="$ac_config_files bfin/Makefile.sim:bfin/Makefile.in"
14084 ac_config_commands
="$ac_config_commands bfin/Makefile"
14086 as_fn_append SIM_SUBDIRS
" bfin"
14088 ac_config_commands
="$ac_config_commands depdir-bfin"
14091 sim_enable_arch_bfin
=true
14095 if ${sim_enable_arch_bfin}; then
14096 SIM_ENABLE_ARCH_bfin_TRUE
=
14097 SIM_ENABLE_ARCH_bfin_FALSE
='#'
14099 SIM_ENABLE_ARCH_bfin_TRUE
='#'
14100 SIM_ENABLE_ARCH_bfin_FALSE
=
14104 sim_enable_arch_bpf
=false
14107 if test "${targ}" = "${target}"; then
14108 SIM_PRIMARY_TARGET
=bpf
14112 subdirs
="$subdirs bpf"
14115 ac_config_commands
="$ac_config_commands depdir-bpf"
14118 sim_enable_arch_bpf
=true
14122 if ${sim_enable_arch_bpf}; then
14123 SIM_ENABLE_ARCH_bpf_TRUE
=
14124 SIM_ENABLE_ARCH_bpf_FALSE
='#'
14126 SIM_ENABLE_ARCH_bpf_TRUE
='#'
14127 SIM_ENABLE_ARCH_bpf_FALSE
=
14131 sim_enable_arch_cr16
=false
14134 if test "${targ}" = "${target}"; then
14135 SIM_PRIMARY_TARGET
=cr16
14137 ac_config_files
="$ac_config_files cr16/Makefile.sim:cr16/Makefile.in"
14139 ac_config_commands
="$ac_config_commands cr16/Makefile"
14141 as_fn_append SIM_SUBDIRS
" cr16"
14143 ac_config_commands
="$ac_config_commands depdir-cr16"
14146 sim_enable_arch_cr16
=true
14150 if ${sim_enable_arch_cr16}; then
14151 SIM_ENABLE_ARCH_cr16_TRUE
=
14152 SIM_ENABLE_ARCH_cr16_FALSE
='#'
14154 SIM_ENABLE_ARCH_cr16_TRUE
='#'
14155 SIM_ENABLE_ARCH_cr16_FALSE
=
14159 sim_enable_arch_cris
=false
14161 all|cris-
*-* | crisv32-
*-*)
14162 if test "${targ}" = "${target}"; then
14163 SIM_PRIMARY_TARGET
=cris
14165 ac_config_files
="$ac_config_files cris/Makefile.sim:cris/Makefile.in"
14167 ac_config_commands
="$ac_config_commands cris/Makefile"
14169 as_fn_append SIM_SUBDIRS
" cris"
14171 ac_config_commands
="$ac_config_commands depdir-cris"
14174 sim_enable_arch_cris
=true
14178 if ${sim_enable_arch_cris}; then
14179 SIM_ENABLE_ARCH_cris_TRUE
=
14180 SIM_ENABLE_ARCH_cris_FALSE
='#'
14182 SIM_ENABLE_ARCH_cris_TRUE
='#'
14183 SIM_ENABLE_ARCH_cris_FALSE
=
14187 sim_enable_arch_d10v
=false
14190 if test "${targ}" = "${target}"; then
14191 SIM_PRIMARY_TARGET
=d10v
14193 ac_config_files
="$ac_config_files d10v/Makefile.sim:d10v/Makefile.in"
14195 ac_config_commands
="$ac_config_commands d10v/Makefile"
14197 as_fn_append SIM_SUBDIRS
" d10v"
14199 ac_config_commands
="$ac_config_commands depdir-d10v"
14202 sim_enable_arch_d10v
=true
14206 if ${sim_enable_arch_d10v}; then
14207 SIM_ENABLE_ARCH_d10v_TRUE
=
14208 SIM_ENABLE_ARCH_d10v_FALSE
='#'
14210 SIM_ENABLE_ARCH_d10v_TRUE
='#'
14211 SIM_ENABLE_ARCH_d10v_FALSE
=
14215 sim_enable_arch_frv
=false
14218 if test "${targ}" = "${target}"; then
14219 SIM_PRIMARY_TARGET
=frv
14221 ac_config_files
="$ac_config_files frv/Makefile.sim:frv/Makefile.in"
14223 ac_config_commands
="$ac_config_commands frv/Makefile"
14225 as_fn_append SIM_SUBDIRS
" frv"
14227 ac_config_commands
="$ac_config_commands depdir-frv"
14230 sim_enable_arch_frv
=true
14234 if ${sim_enable_arch_frv}; then
14235 SIM_ENABLE_ARCH_frv_TRUE
=
14236 SIM_ENABLE_ARCH_frv_FALSE
='#'
14238 SIM_ENABLE_ARCH_frv_TRUE
='#'
14239 SIM_ENABLE_ARCH_frv_FALSE
=
14243 sim_enable_arch_ft32
=false
14246 if test "${targ}" = "${target}"; then
14247 SIM_PRIMARY_TARGET
=ft32
14249 ac_config_files
="$ac_config_files ft32/Makefile.sim:ft32/Makefile.in"
14251 ac_config_commands
="$ac_config_commands ft32/Makefile"
14253 as_fn_append SIM_SUBDIRS
" ft32"
14255 ac_config_commands
="$ac_config_commands depdir-ft32"
14258 sim_enable_arch_ft32
=true
14262 if ${sim_enable_arch_ft32}; then
14263 SIM_ENABLE_ARCH_ft32_TRUE
=
14264 SIM_ENABLE_ARCH_ft32_FALSE
='#'
14266 SIM_ENABLE_ARCH_ft32_TRUE
='#'
14267 SIM_ENABLE_ARCH_ft32_FALSE
=
14271 sim_enable_arch_h8300
=false
14274 if test "${targ}" = "${target}"; then
14275 SIM_PRIMARY_TARGET
=h8300
14277 ac_config_files
="$ac_config_files h8300/Makefile.sim:h8300/Makefile.in"
14279 ac_config_commands
="$ac_config_commands h8300/Makefile"
14281 as_fn_append SIM_SUBDIRS
" h8300"
14283 ac_config_commands
="$ac_config_commands depdir-h8300"
14286 sim_enable_arch_h8300
=true
14290 if ${sim_enable_arch_h8300}; then
14291 SIM_ENABLE_ARCH_h8300_TRUE
=
14292 SIM_ENABLE_ARCH_h8300_FALSE
='#'
14294 SIM_ENABLE_ARCH_h8300_TRUE
='#'
14295 SIM_ENABLE_ARCH_h8300_FALSE
=
14299 sim_enable_arch_iq2000
=false
14302 if test "${targ}" = "${target}"; then
14303 SIM_PRIMARY_TARGET
=iq2000
14305 ac_config_files
="$ac_config_files iq2000/Makefile.sim:iq2000/Makefile.in"
14307 ac_config_commands
="$ac_config_commands iq2000/Makefile"
14309 as_fn_append SIM_SUBDIRS
" iq2000"
14311 ac_config_commands
="$ac_config_commands depdir-iq2000"
14314 sim_enable_arch_iq2000
=true
14318 if ${sim_enable_arch_iq2000}; then
14319 SIM_ENABLE_ARCH_iq2000_TRUE
=
14320 SIM_ENABLE_ARCH_iq2000_FALSE
='#'
14322 SIM_ENABLE_ARCH_iq2000_TRUE
='#'
14323 SIM_ENABLE_ARCH_iq2000_FALSE
=
14327 sim_enable_arch_lm32
=false
14330 if test "${targ}" = "${target}"; then
14331 SIM_PRIMARY_TARGET
=lm32
14333 ac_config_files
="$ac_config_files lm32/Makefile.sim:lm32/Makefile.in"
14335 ac_config_commands
="$ac_config_commands lm32/Makefile"
14337 as_fn_append SIM_SUBDIRS
" lm32"
14339 ac_config_commands
="$ac_config_commands depdir-lm32"
14342 sim_enable_arch_lm32
=true
14346 if ${sim_enable_arch_lm32}; then
14347 SIM_ENABLE_ARCH_lm32_TRUE
=
14348 SIM_ENABLE_ARCH_lm32_FALSE
='#'
14350 SIM_ENABLE_ARCH_lm32_TRUE
='#'
14351 SIM_ENABLE_ARCH_lm32_FALSE
=
14355 sim_enable_arch_m32c
=false
14358 if test "${targ}" = "${target}"; then
14359 SIM_PRIMARY_TARGET
=m32c
14361 ac_config_files
="$ac_config_files m32c/Makefile.sim:m32c/Makefile.in"
14363 ac_config_commands
="$ac_config_commands m32c/Makefile"
14365 as_fn_append SIM_SUBDIRS
" m32c"
14367 ac_config_commands
="$ac_config_commands depdir-m32c"
14370 sim_enable_arch_m32c
=true
14374 if ${sim_enable_arch_m32c}; then
14375 SIM_ENABLE_ARCH_m32c_TRUE
=
14376 SIM_ENABLE_ARCH_m32c_FALSE
='#'
14378 SIM_ENABLE_ARCH_m32c_TRUE
='#'
14379 SIM_ENABLE_ARCH_m32c_FALSE
=
14383 sim_enable_arch_m32r
=false
14386 if test "${targ}" = "${target}"; then
14387 SIM_PRIMARY_TARGET
=m32r
14389 ac_config_files
="$ac_config_files m32r/Makefile.sim:m32r/Makefile.in"
14391 ac_config_commands
="$ac_config_commands m32r/Makefile"
14393 as_fn_append SIM_SUBDIRS
" m32r"
14395 ac_config_commands
="$ac_config_commands depdir-m32r"
14398 sim_enable_arch_m32r
=true
14402 if ${sim_enable_arch_m32r}; then
14403 SIM_ENABLE_ARCH_m32r_TRUE
=
14404 SIM_ENABLE_ARCH_m32r_FALSE
='#'
14406 SIM_ENABLE_ARCH_m32r_TRUE
='#'
14407 SIM_ENABLE_ARCH_m32r_FALSE
=
14411 sim_enable_arch_m68hc11
=false
14413 all|m68hc11-
*-*|m6811-
*-*)
14414 if test "${targ}" = "${target}"; then
14415 SIM_PRIMARY_TARGET
=m68hc11
14417 ac_config_files
="$ac_config_files m68hc11/Makefile.sim:m68hc11/Makefile.in"
14419 ac_config_commands
="$ac_config_commands m68hc11/Makefile"
14421 as_fn_append SIM_SUBDIRS
" m68hc11"
14423 ac_config_commands
="$ac_config_commands depdir-m68hc11"
14426 sim_enable_arch_m68hc11
=true
14430 if ${sim_enable_arch_m68hc11}; then
14431 SIM_ENABLE_ARCH_m68hc11_TRUE
=
14432 SIM_ENABLE_ARCH_m68hc11_FALSE
='#'
14434 SIM_ENABLE_ARCH_m68hc11_TRUE
='#'
14435 SIM_ENABLE_ARCH_m68hc11_FALSE
=
14439 sim_enable_arch_mcore
=false
14442 if test "${targ}" = "${target}"; then
14443 SIM_PRIMARY_TARGET
=mcore
14445 ac_config_files
="$ac_config_files mcore/Makefile.sim:mcore/Makefile.in"
14447 ac_config_commands
="$ac_config_commands mcore/Makefile"
14449 as_fn_append SIM_SUBDIRS
" mcore"
14451 ac_config_commands
="$ac_config_commands depdir-mcore"
14454 sim_enable_arch_mcore
=true
14458 if ${sim_enable_arch_mcore}; then
14459 SIM_ENABLE_ARCH_mcore_TRUE
=
14460 SIM_ENABLE_ARCH_mcore_FALSE
='#'
14462 SIM_ENABLE_ARCH_mcore_TRUE
='#'
14463 SIM_ENABLE_ARCH_mcore_FALSE
=
14467 sim_enable_arch_microblaze
=false
14469 all|microblaze
*-*-*)
14470 if test "${targ}" = "${target}"; then
14471 SIM_PRIMARY_TARGET
=microblaze
14473 ac_config_files
="$ac_config_files microblaze/Makefile.sim:microblaze/Makefile.in"
14475 ac_config_commands
="$ac_config_commands microblaze/Makefile"
14477 as_fn_append SIM_SUBDIRS
" microblaze"
14479 ac_config_commands
="$ac_config_commands depdir-microblaze"
14482 sim_enable_arch_microblaze
=true
14486 if ${sim_enable_arch_microblaze}; then
14487 SIM_ENABLE_ARCH_microblaze_TRUE
=
14488 SIM_ENABLE_ARCH_microblaze_FALSE
='#'
14490 SIM_ENABLE_ARCH_microblaze_TRUE
='#'
14491 SIM_ENABLE_ARCH_microblaze_FALSE
=
14495 sim_enable_arch_mips
=false
14498 if test "${targ}" = "${target}"; then
14499 SIM_PRIMARY_TARGET
=mips
14501 subdirs
="$subdirs mips"
14504 ac_config_commands
="$ac_config_commands depdir-mips"
14507 sim_enable_arch_mips
=true
14511 if ${sim_enable_arch_mips}; then
14512 SIM_ENABLE_ARCH_mips_TRUE
=
14513 SIM_ENABLE_ARCH_mips_FALSE
='#'
14515 SIM_ENABLE_ARCH_mips_TRUE
='#'
14516 SIM_ENABLE_ARCH_mips_FALSE
=
14520 sim_enable_arch_mn10300
=false
14523 if test "${targ}" = "${target}"; then
14524 SIM_PRIMARY_TARGET
=mn10300
14526 subdirs
="$subdirs mn10300"
14529 ac_config_commands
="$ac_config_commands depdir-mn10300"
14532 sim_enable_arch_mn10300
=true
14536 if ${sim_enable_arch_mn10300}; then
14537 SIM_ENABLE_ARCH_mn10300_TRUE
=
14538 SIM_ENABLE_ARCH_mn10300_FALSE
='#'
14540 SIM_ENABLE_ARCH_mn10300_TRUE
='#'
14541 SIM_ENABLE_ARCH_mn10300_FALSE
=
14545 sim_enable_arch_moxie
=false
14548 if test "${targ}" = "${target}"; then
14549 SIM_PRIMARY_TARGET
=moxie
14551 ac_config_files
="$ac_config_files moxie/Makefile.sim:moxie/Makefile.in"
14553 ac_config_commands
="$ac_config_commands moxie/Makefile"
14555 as_fn_append SIM_SUBDIRS
" moxie"
14557 ac_config_commands
="$ac_config_commands depdir-moxie"
14560 sim_enable_arch_moxie
=true
14564 if ${sim_enable_arch_moxie}; then
14565 SIM_ENABLE_ARCH_moxie_TRUE
=
14566 SIM_ENABLE_ARCH_moxie_FALSE
='#'
14568 SIM_ENABLE_ARCH_moxie_TRUE
='#'
14569 SIM_ENABLE_ARCH_moxie_FALSE
=
14573 sim_enable_arch_msp430
=false
14576 if test "${targ}" = "${target}"; then
14577 SIM_PRIMARY_TARGET
=msp430
14579 ac_config_files
="$ac_config_files msp430/Makefile.sim:msp430/Makefile.in"
14581 ac_config_commands
="$ac_config_commands msp430/Makefile"
14583 as_fn_append SIM_SUBDIRS
" msp430"
14585 ac_config_commands
="$ac_config_commands depdir-msp430"
14588 sim_enable_arch_msp430
=true
14592 if ${sim_enable_arch_msp430}; then
14593 SIM_ENABLE_ARCH_msp430_TRUE
=
14594 SIM_ENABLE_ARCH_msp430_FALSE
='#'
14596 SIM_ENABLE_ARCH_msp430_TRUE
='#'
14597 SIM_ENABLE_ARCH_msp430_FALSE
=
14601 sim_enable_arch_or1k
=false
14604 if test "${targ}" = "${target}"; then
14605 SIM_PRIMARY_TARGET
=or1k
14607 subdirs
="$subdirs or1k"
14610 ac_config_commands
="$ac_config_commands depdir-or1k"
14613 sim_enable_arch_or1k
=true
14617 if ${sim_enable_arch_or1k}; then
14618 SIM_ENABLE_ARCH_or1k_TRUE
=
14619 SIM_ENABLE_ARCH_or1k_FALSE
='#'
14621 SIM_ENABLE_ARCH_or1k_TRUE
='#'
14622 SIM_ENABLE_ARCH_or1k_FALSE
=
14626 sim_enable_arch_ppc
=false
14629 if test "${targ}" = "${target}"; then
14630 SIM_PRIMARY_TARGET
=ppc
14632 subdirs
="$subdirs ppc"
14635 ac_config_commands
="$ac_config_commands depdir-ppc"
14638 sim_enable_arch_ppc
=true
14642 if ${sim_enable_arch_ppc}; then
14643 SIM_ENABLE_ARCH_ppc_TRUE
=
14644 SIM_ENABLE_ARCH_ppc_FALSE
='#'
14646 SIM_ENABLE_ARCH_ppc_TRUE
='#'
14647 SIM_ENABLE_ARCH_ppc_FALSE
=
14651 sim_enable_arch_pru
=false
14654 if test "${targ}" = "${target}"; then
14655 SIM_PRIMARY_TARGET
=pru
14657 ac_config_files
="$ac_config_files pru/Makefile.sim:pru/Makefile.in"
14659 ac_config_commands
="$ac_config_commands pru/Makefile"
14661 as_fn_append SIM_SUBDIRS
" pru"
14663 ac_config_commands
="$ac_config_commands depdir-pru"
14666 sim_enable_arch_pru
=true
14670 if ${sim_enable_arch_pru}; then
14671 SIM_ENABLE_ARCH_pru_TRUE
=
14672 SIM_ENABLE_ARCH_pru_FALSE
='#'
14674 SIM_ENABLE_ARCH_pru_TRUE
='#'
14675 SIM_ENABLE_ARCH_pru_FALSE
=
14679 sim_enable_arch_riscv
=false
14682 if test "${targ}" = "${target}"; then
14683 SIM_PRIMARY_TARGET
=riscv
14685 subdirs
="$subdirs riscv"
14688 ac_config_commands
="$ac_config_commands depdir-riscv"
14691 sim_enable_arch_riscv
=true
14695 if ${sim_enable_arch_riscv}; then
14696 SIM_ENABLE_ARCH_riscv_TRUE
=
14697 SIM_ENABLE_ARCH_riscv_FALSE
='#'
14699 SIM_ENABLE_ARCH_riscv_TRUE
='#'
14700 SIM_ENABLE_ARCH_riscv_FALSE
=
14704 sim_enable_arch_rl78
=false
14707 if test "${targ}" = "${target}"; then
14708 SIM_PRIMARY_TARGET
=rl78
14710 ac_config_files
="$ac_config_files rl78/Makefile.sim:rl78/Makefile.in"
14712 ac_config_commands
="$ac_config_commands rl78/Makefile"
14714 as_fn_append SIM_SUBDIRS
" rl78"
14716 ac_config_commands
="$ac_config_commands depdir-rl78"
14719 sim_enable_arch_rl78
=true
14723 if ${sim_enable_arch_rl78}; then
14724 SIM_ENABLE_ARCH_rl78_TRUE
=
14725 SIM_ENABLE_ARCH_rl78_FALSE
='#'
14727 SIM_ENABLE_ARCH_rl78_TRUE
='#'
14728 SIM_ENABLE_ARCH_rl78_FALSE
=
14732 sim_enable_arch_rx
=false
14735 if test "${targ}" = "${target}"; then
14736 SIM_PRIMARY_TARGET
=rx
14738 ac_config_files
="$ac_config_files rx/Makefile.sim:rx/Makefile.in"
14740 ac_config_commands
="$ac_config_commands rx/Makefile"
14742 as_fn_append SIM_SUBDIRS
" rx"
14744 ac_config_commands
="$ac_config_commands depdir-rx"
14747 sim_enable_arch_rx
=true
14751 if ${sim_enable_arch_rx}; then
14752 SIM_ENABLE_ARCH_rx_TRUE
=
14753 SIM_ENABLE_ARCH_rx_FALSE
='#'
14755 SIM_ENABLE_ARCH_rx_TRUE
='#'
14756 SIM_ENABLE_ARCH_rx_FALSE
=
14760 sim_enable_arch_sh
=false
14763 if test "${targ}" = "${target}"; then
14764 SIM_PRIMARY_TARGET
=sh
14766 ac_config_files
="$ac_config_files sh/Makefile.sim:sh/Makefile.in"
14768 ac_config_commands
="$ac_config_commands sh/Makefile"
14770 as_fn_append SIM_SUBDIRS
" sh"
14772 ac_config_commands
="$ac_config_commands depdir-sh"
14775 sim_enable_arch_sh
=true
14779 if ${sim_enable_arch_sh}; then
14780 SIM_ENABLE_ARCH_sh_TRUE
=
14781 SIM_ENABLE_ARCH_sh_FALSE
='#'
14783 SIM_ENABLE_ARCH_sh_TRUE
='#'
14784 SIM_ENABLE_ARCH_sh_FALSE
=
14788 sim_enable_arch_erc32
=false
14791 if test "${targ}" = "${target}"; then
14792 SIM_PRIMARY_TARGET
=erc32
14794 ac_config_files
="$ac_config_files erc32/Makefile.sim:erc32/Makefile.in"
14796 ac_config_commands
="$ac_config_commands erc32/Makefile"
14798 as_fn_append SIM_SUBDIRS
" erc32"
14800 ac_config_commands
="$ac_config_commands depdir-erc32"
14803 sim_enable_arch_erc32
=true
14807 if ${sim_enable_arch_erc32}; then
14808 SIM_ENABLE_ARCH_erc32_TRUE
=
14809 SIM_ENABLE_ARCH_erc32_FALSE
='#'
14811 SIM_ENABLE_ARCH_erc32_TRUE
='#'
14812 SIM_ENABLE_ARCH_erc32_FALSE
=
14816 sim_enable_arch_v850
=false
14819 if test "${targ}" = "${target}"; then
14820 SIM_PRIMARY_TARGET
=v850
14822 subdirs
="$subdirs v850"
14825 ac_config_commands
="$ac_config_commands depdir-v850"
14828 sim_enable_arch_v850
=true
14832 if ${sim_enable_arch_v850}; then
14833 SIM_ENABLE_ARCH_v850_TRUE
=
14834 SIM_ENABLE_ARCH_v850_FALSE
='#'
14836 SIM_ENABLE_ARCH_v850_TRUE
='#'
14837 SIM_ENABLE_ARCH_v850_FALSE
=
14843 if test "x${enable_example_sims}" = xyes
; then
14844 ac_config_files
="$ac_config_files example-synacor/Makefile.sim:example-synacor/Makefile.in"
14846 ac_config_commands
="$ac_config_commands example-synacor/Makefile"
14848 as_fn_append SIM_SUBDIRS
" example-synacor"
14850 ac_config_commands
="$ac_config_commands depdir-example-synacor"
14855 if test "$sim_igen" = "yes"; then
14856 SIM_ENABLE_IGEN_TRUE
=
14857 SIM_ENABLE_IGEN_FALSE
='#'
14859 SIM_ENABLE_IGEN_TRUE
='#'
14860 SIM_ENABLE_IGEN_FALSE
=
14864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to force sim alignment" >&5
14865 $as_echo_n "checking whether to force sim alignment... " >&6; }
14867 # Check whether --enable-sim-alignment was given.
14868 if test "${enable_sim_alignment+set}" = set; then :
14869 enableval
=$enable_sim_alignment; case "${enableval}" in
14870 yes | strict | STRICT
) sim_alignment
="STRICT_ALIGNMENT";;
14871 no | nonstrict | NONSTRICT
) sim_alignment
="NONSTRICT_ALIGNMENT";;
14872 forced | FORCED
) sim_alignment
="FORCED_ALIGNMENT";;
14873 *) as_fn_error $?
"\"Unknown value $enableval passed to --enable-sim-alignment\"" "$LINENO" 5;;
14877 cat >>confdefs.h
<<_ACEOF
14878 #define WITH_ALIGNMENT ${sim_alignment:-0}
14881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${sim_alignment:-no}" >&5
14882 $as_echo "${sim_alignment:-no}" >&6; }
14885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable sim asserts" >&5
14886 $as_echo_n "checking whether to enable sim asserts... " >&6; }
14888 # Check whether --enable-sim-assert was given.
14889 if test "${enable_sim_assert+set}" = set; then :
14890 enableval
=$enable_sim_assert; case "${enableval}" in
14891 yes) sim_assert
="1";;
14892 no
) sim_assert
="0";;
14893 *) as_fn_error $?
"--enable-sim-assert does not take a value" "$LINENO" 5;;
14897 cat >>confdefs.h
<<_ACEOF
14898 #define WITH_ASSERT $sim_assert
14901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_assert" >&5
14902 $as_echo "$sim_assert" >&6; }
14907 cgendir
='$(srcdir)/../../cgen'
14908 # Check whether --enable-cgen-maint was given.
14909 if test "${enable_cgen_maint+set}" = set; then :
14910 enableval
=$enable_cgen_maint; case "${enableval}" in
14911 yes) cgen_maint
=yes ;;
14912 no
) cgen_maint
=no
;;
14914 # Argument is a directory where cgen can be found. In some
14915 # future world cgen could be installable, but right now this
14916 # is not the case. Instead we assume the directory is a path
14917 # to the cgen source tree.
14919 if test -r ${enableval}/iformat.scm
; then
14920 # This looks like a cgen source tree.
14921 cgendir
=${enableval}
14923 as_fn_error $?
"${enableval} doesn't look like a cgen source tree" "$LINENO" 5
14928 if test x
${cgen_maint} != xno
; then
14937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sim debug setting" >&5
14938 $as_echo_n "checking for sim debug setting... " >&6; }
14940 # Check whether --enable-sim-debug was given.
14941 if test "${enable_sim_debug+set}" = set; then :
14942 enableval
=$enable_sim_debug; case "${enableval}" in
14943 yes) sim_debug
="7";;
14944 no
) sim_debug
="0";;
14945 *) sim_debug
="($enableval)";;
14948 if test "$sim_debug" != "0"; then
14950 cat >>confdefs.h
<<_ACEOF
14951 #define DEBUG $sim_debug
14956 cat >>confdefs.h
<<_ACEOF
14957 #define WITH_DEBUG $sim_debug
14960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_debug" >&5
14961 $as_echo "$sim_debug" >&6; }
14963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to force sim endianness" >&5
14964 $as_echo_n "checking whether to force sim endianness... " >&6; }
14966 # Check whether --enable-sim-endian was given.
14967 if test "${enable_sim_endian+set}" = set; then :
14968 enableval
=$enable_sim_endian; case "${enableval}" in
14969 b
*|B
*) sim_endian
="BFD_ENDIAN_BIG";;
14970 l
*|L
*) sim_endian
="BFD_ENDIAN_LITTLE";;
14972 *) as_fn_error $?
"\"Unknown value $enableval for --enable-sim-endian\"" "$LINENO" 5;;
14976 cat >>confdefs.h
<<_ACEOF
14977 #define WITH_TARGET_BYTE_ORDER ${sim_endian:-BFD_ENDIAN_UNKNOWN}
14980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${sim_alignment:-no}" >&5
14981 $as_echo "${sim_alignment:-no}" >&6; }
14984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking default sim environment setting" >&5
14985 $as_echo_n "checking default sim environment setting... " >&6; }
14986 sim_environment
="ALL_ENVIRONMENT"
14987 # Check whether --enable-sim-environment was given.
14988 if test "${enable_sim_environment+set}" = set; then :
14989 enableval
=$enable_sim_environment; case "${enableval}" in
14990 all | ALL
) sim_environment
="ALL_ENVIRONMENT";;
14991 user | USER
) sim_environment
="USER_ENVIRONMENT";;
14992 virtual | VIRTUAL
) sim_environment
="VIRTUAL_ENVIRONMENT";;
14993 operating | OPERATING
) sim_environment
="OPERATING_ENVIRONMENT";;
14994 *) as_fn_error $?
"Unknown value $enableval passed to --enable-sim-environment" "$LINENO" 5;;
14998 cat >>confdefs.h
<<_ACEOF
14999 #define WITH_ENVIRONMENT $sim_environment
15002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_environment" >&5
15003 $as_echo "$sim_environment" >&6; }
15005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sim hardware settings" >&5
15006 $as_echo_n "checking for sim hardware settings... " >&6; }
15007 # Check whether --enable-sim-hardware was given.
15008 if test "${enable_sim_hardware+set}" = set; then :
15009 enableval
=$enable_sim_hardware;
15011 enable_sim_hardware
="yes"
15015 if test "$enable_sim_hardware" = no
; then
15016 sim_hw_cflags
="-DWITH_HW=0"
15017 elif test "$enable_sim_hardware" = yes; then
15018 sim_hw_cflags
="-DWITH_HW=1"
15019 sim_hw_sockser
="dv-sockser.o"
15020 sim_hw_cflags
="$sim_hw_cflags -DHAVE_DV_SOCKSER"
15022 as_fn_error $?
"unknown argument \"$enable_sim_hardware\"" "$LINENO" 5
15024 if test "$enable_sim_hardware" = "yes"; then
15025 SIM_ENABLE_HW_TRUE
=
15026 SIM_ENABLE_HW_FALSE
='#'
15028 SIM_ENABLE_HW_TRUE
='#'
15029 SIM_ENABLE_HW_FALSE
=
15032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${enable_sim_hardware}" >&5
15033 $as_echo "${enable_sim_hardware}" >&6; }
15037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sim inline settings" >&5
15038 $as_echo_n "checking sim inline settings... " >&6; }
15039 sim_inline
="-DDEFAULT_INLINE=0"
15040 # Check whether --enable-sim-inline was given.
15041 if test "${enable_sim_inline+set}" = set; then :
15042 enableval
=$enable_sim_inline; sim_inline
=""
15043 case "$enableval" in
15044 no
) sim_inline
="-DDEFAULT_INLINE=0";;
15045 0) sim_inline
="-DDEFAULT_INLINE=0";;
15046 yes |
2) sim_inline
="-DDEFAULT_INLINE=ALL_C_INLINE";;
15047 1) sim_inline
="-DDEFAULT_INLINE=INLINE_LOCALS";;
15048 *) for x
in `echo "$enableval" | sed -e "s/,/ /g"`; do
15051 *_INLINE
=*) new_flag
="-D$x";;
15052 *=*) new_flag
=`echo "$x" | sed -e "s/=/_INLINE=/" -e "s/^/-D/"`;;
15053 *_INLINE
) new_flag
="-D$x=ALL_C_INLINE";;
15054 *) new_flag
="-D$x""_INLINE=ALL_C_INLINE";;
15056 if test x
"$sim_inline" = x
""; then
15057 sim_inline
="$new_flag"
15059 sim_inline
="$sim_inline $new_flag"
15065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_inline" >&5
15066 $as_echo "$sim_inline" >&6; }
15067 SIM_INLINE
=$sim_inline
15070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sim profile settings" >&5
15071 $as_echo_n "checking for sim profile settings... " >&6; }
15074 # Check whether --enable-sim-profile was given.
15075 if test "${enable_sim_profile+set}" = set; then :
15076 enableval
=$enable_sim_profile; case "${enableval}" in
15077 yes) profile
="1" sim_profile
="-1";;
15078 no
) profile
="0" sim_profile
="0";;
15080 profile
="(${enableval})" sim_profile
="(${enableval})";;
15084 for x
in `echo "$enableval" | sed -e "s/,/ /g"`; do
15085 if test x
"$sim_profile" = x
; then
15086 sim_profile
="(PROFILE_$x"
15088 sim_profile
="${sim_profile}|PROFILE_$x"
15091 sim_profile
="$sim_profile)" ;;
15095 cat >>confdefs.h
<<_ACEOF
15096 #define PROFILE $profile
15100 cat >>confdefs.h
<<_ACEOF
15101 #define WITH_PROFILE $sim_profile
15104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_profile" >&5
15105 $as_echo "$sim_profile" >&6; }
15107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to check reserved bits in instruction" >&5
15108 $as_echo_n "checking whether to check reserved bits in instruction... " >&6; }
15109 # Check whether --enable-sim-reserved-bits was given.
15110 if test "${enable_sim_reserved_bits+set}" = set; then :
15111 enableval
=$enable_sim_reserved_bits; case "${enableval}" in
15113 *) as_fn_error $?
"\"--enable-sim-reserved-bits does not take a value\"" "$LINENO" 5;;
15117 if test "x${enable_sim_reserved_bits}" != xno
; then
15118 sim_reserved_bits
=1
15119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15120 $as_echo "yes" >&6; }
15122 sim_reserved_bits
=0
15123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15124 $as_echo "no" >&6; }
15127 cat >>confdefs.h
<<_ACEOF
15128 #define WITH_RESERVED_BITS $sim_reserved_bits
15132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sim cache size" >&5
15133 $as_echo_n "checking for sim cache size... " >&6; }
15135 # Check whether --enable-sim-scache was given.
15136 if test "${enable_sim_scache+set}" = set; then :
15137 enableval
=$enable_sim_scache; case "${enableval}" in
15139 no
) sim_scache
="0";;
15140 [0-9]*) sim_scache
="${enableval}";;
15141 *) as_fn_error $?
"\"Bad value $enableval passed to --enable-sim-scache\"" "$LINENO" 5;;
15146 cat >>confdefs.h
<<_ACEOF
15147 #define WITH_SCACHE $sim_scache
15150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_scache" >&5
15151 $as_echo "$sim_scache" >&6; }
15153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sim stdio debug behavior" >&5
15154 $as_echo_n "checking for sim stdio debug behavior... " >&6; }
15156 # Check whether --enable-sim-stdio was given.
15157 if test "${enable_sim_stdio+set}" = set; then :
15158 enableval
=$enable_sim_stdio; case "${enableval}" in
15159 yes) sim_stdio
="DO_USE_STDIO";;
15160 no
) sim_stdio
="DONT_USE_STDIO";;
15161 *) as_fn_error $?
"Unknown value $enableval passed to --enable-sim-stdio" "$LINENO" 5;;
15165 cat >>confdefs.h
<<_ACEOF
15166 #define WITH_STDIO $sim_stdio
15169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_stdio" >&5
15170 $as_echo "$sim_stdio" >&6; }
15172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sim trace settings" >&5
15173 $as_echo_n "checking for sim trace settings... " >&6; }
15174 sim_trace
="~TRACE_debug"
15175 # Check whether --enable-sim-trace was given.
15176 if test "${enable_sim_trace+set}" = set; then :
15177 enableval
=$enable_sim_trace; case "${enableval}" in
15178 yes) sim_trace
="-1";;
15179 no
) sim_trace
="0";;
15181 sim_trace
="'(${enableval})'";;
15184 for x
in `echo "$enableval" | sed -e "s/,/ /g"`; do
15185 if test x
"$sim_trace" = x
; then
15186 sim_trace
="(TRACE_$x"
15188 sim_trace
="${sim_trace}|TRACE_$x"
15191 sim_trace
="$sim_trace)" ;;
15195 cat >>confdefs.h
<<_ACEOF
15196 #define WITH_TRACE $sim_trace
15199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_trace" >&5
15200 $as_echo "$sim_trace" >&6; }
15203 # Check whether --enable-werror was given.
15204 if test "${enable_werror+set}" = set; then :
15205 enableval
=$enable_werror; case "${enableval}" in
15206 yes | y
) ERROR_ON_WARNING
="yes" ;;
15207 no | n
) ERROR_ON_WARNING
="no" ;;
15208 *) as_fn_error $?
"bad value ${enableval} for --enable-werror" "$LINENO" 5 ;;
15213 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
15214 ERROR_ON_WARNING
=yes
15218 if test "${ERROR_ON_WARNING}" = yes ; then
15219 WERROR_CFLAGS
="-Werror"
15222 build_warnings
="-Wall -Wdeclaration-after-statement -Wpointer-arith
15223 -Wno-unused -Wunused-value -Wunused-function
15224 -Wno-switch -Wno-char-subscripts
15225 -Wempty-body -Wunused-but-set-parameter
15226 -Wno-error=maybe-uninitialized
15227 -Wmissing-declarations
15228 -Wmissing-prototypes
15229 -Wdeclaration-after-statement -Wmissing-parameter-type
15231 -Wold-style-declaration -Wold-style-definition
15234 # Enable -Wno-format by default when using gcc on mingw since many
15235 # GCC versions complain about %I64.
15237 *-*-mingw32*) build_warnings
="$build_warnings -Wno-format" ;;
15238 *) build_warnings
="$build_warnings -Wformat-nonliteral" ;;
15241 # Check whether --enable-build-warnings was given.
15242 if test "${enable_build_warnings+set}" = set; then :
15243 enableval
=$enable_build_warnings; case "${enableval}" in
15245 no
) build_warnings
="-w";;
15246 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
15247 build_warnings
="${build_warnings} ${t}";;
15248 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
15249 build_warnings
="${t} ${build_warnings}";;
15250 *) build_warnings
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
15252 if test x
"$silent" != x
"yes" && test x
"$build_warnings" != x
""; then
15253 echo "Setting compiler warning flags = $build_warnings" 6>&1
15256 # Check whether --enable-sim-build-warnings was given.
15257 if test "${enable_sim_build_warnings+set}" = set; then :
15258 enableval
=$enable_sim_build_warnings; case "${enableval}" in
15260 no
) build_warnings
="-w";;
15261 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
15262 build_warnings
="${build_warnings} ${t}";;
15263 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
15264 build_warnings
="${t} ${build_warnings}";;
15265 *) build_warnings
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
15267 if test x
"$silent" != x
"yes" && test x
"$build_warnings" != x
""; then
15268 echo "Setting GDB specific compiler warning flags = $build_warnings" 6>&1
15272 if test "x${build_warnings}" != x
-a "x$GCC" = xyes
15274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking compiler warning flags" >&5
15275 $as_echo_n "checking compiler warning flags... " >&6; }
15276 # Separate out the -Werror flag as some files just cannot be
15277 # compiled with it enabled.
15278 for w
in ${build_warnings}; do
15280 -Werr*) WERROR_CFLAGS
=-Werror ;;
15281 *) # Check that GCC accepts it
15282 saved_CFLAGS
="$CFLAGS"
15283 CFLAGS
="$CFLAGS -Werror $w"
15284 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15285 /* end confdefs.h. */
15295 if ac_fn_c_try_compile
"$LINENO"; then :
15296 WARN_CFLAGS
="${WARN_CFLAGS} $w"
15298 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15299 CFLAGS
="$saved_CFLAGS"
15302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${WARN_CFLAGS} ${WERROR_CFLAGS}" >&5
15303 $as_echo "${WARN_CFLAGS} ${WERROR_CFLAGS}" >&6; }
15310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sim frv should dump cpu state on unknown traps
" >&5
15311 $as_echo_n "checking whether sim frv should dump cpu state on unknown traps...
" >&6; }
15312 # Check whether --enable-sim-frv-trapdump was given.
15313 if test "${enable_sim_frv_trapdump+set}" = set; then :
15314 enableval=$enable_sim_frv_trapdump; case "${enableval}" in
15316 *) as_fn_error $? "\"Unknown value
$enableval passed to
--enable-sim-trapdump\"" "$LINENO" 5;;
15320 if test "x
${enable_sim_frv_trapdump}" = xyes; then
15321 SIM_FRV_TRAPDUMP_FLAGS="-DTRAPDUMP=1"
15322 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
15323 $as_echo "yes" >&6; }
15325 SIM_FRV_TRAPDUMP_FLAGS="-DTRAPDUMP=0"
15326 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15327 $as_echo "no
" >&6; }
15331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sim rx should be cycle accurate
" >&5
15332 $as_echo_n "checking whether sim rx should be cycle accurate...
" >&6; }
15333 # Check whether --enable-sim-rx-cycle-accurate was given.
15334 if test "${enable_sim_rx_cycle_accurate+set}" = set; then :
15335 enableval=$enable_sim_rx_cycle_accurate; case "${enableval}" in
15337 *) as_fn_error $? "bad value
${enableval} given
for --enable-sim-rx-cycle-accurate option
" "$LINENO" 5 ;;
15341 if test "x
${enable_sim_rx_cycle_accurate}" != xno; then
15342 SIM_RX_CYCLE_ACCURATE_FLAGS="-DCYCLE_ACCURATE"
15343 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
15344 $as_echo "yes" >&6; }
15346 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15347 $as_echo "no
" >&6; }
15352 ac_config_files="$ac_config_files arch-subdir.mk Makefile
"
15354 cat >confcache <<\_ACEOF
15355 # This file is a shell script that caches the results of configure
15356 # tests run on this system so they can be shared between configure
15357 # scripts and configure runs, see configure's option --config-cache.
15358 # It is not useful on other systems. If it contains results you don't
15359 # want to keep, you may remove or edit it.
15361 # config.status only pays attention to the cache file if you give it
15362 # the --recheck option to rerun configure.
15364 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15365 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15366 # following values.
15370 # The following way of writing the cache mishandles newlines in values,
15371 # but we know of no workaround that is simple, portable, and efficient.
15372 # So, we kill variables containing newlines.
15373 # Ultrix sh set writes to stderr and can't be redirected directly,
15374 # and sets the high bit in the cache file unless we assign to the vars.
15376 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15377 eval ac_val=\$$ac_var
15381 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: cache variable
$ac_var contains a newline
" >&5
15382 $as_echo "$as_me: WARNING
: cache variable
$ac_var contains a newline
" >&2;} ;;
15385 _ | IFS | as_nl) ;; #(
15386 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
15387 *) { eval $ac_var=; unset $ac_var;} ;;
15393 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15394 *${as_nl}ac_space=\ *)
15395 # `set' does not quote correctly, so add quotes: double-quote
15396 # substitution turns \\\\ into \\, and sed turns \\ into \.
15399 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
15402 # `set' quotes correctly as required by POSIX, so do not add quotes.
15403 sed -n "/^
[_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*=/p
"
15412 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15414 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15416 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15417 if test -w "$cache_file"; then
15418 if test "x
$cache_file" != "x
/dev
/null
"; then
15419 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache
$cache_file" >&5
15420 $as_echo "$as_me: updating cache
$cache_file" >&6;}
15421 if test ! -f "$cache_file" || test -h "$cache_file"; then
15422 cat confcache >"$cache_file"
15424 case $cache_file in #(
15426 mv -f confcache "$cache_file"$$ &&
15427 mv -f "$cache_file"$$ "$cache_file" ;; #(
15429 mv -f confcache "$cache_file" ;;
15434 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache
$cache_file" >&5
15435 $as_echo "$as_me: not updating unwritable cache
$cache_file" >&6;}
15440 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
15441 # Let make expand exec_prefix.
15442 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
15444 DEFS=-DHAVE_CONFIG_H
15449 for ac_i in : $LIBOBJS; do test "x
$ac_i" = x: && continue
15450 # 1. Remove the extension, and $U if already installed.
15451 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
15452 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
15453 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15454 # will be set to the directory where LIBOBJS objects are built.
15455 as_fn_append ac_libobjs " \
${LIBOBJDIR}$ac_i\
$U.
$ac_objext"
15456 as_fn_append ac_ltlibobjs " \
${LIBOBJDIR}$ac_i"'$U.lo'
15458 LIBOBJS=$ac_libobjs
15460 LTLIBOBJS=$ac_ltlibobjs
15464 if test -z "${PLUGINS_TRUE}" && test -z "${PLUGINS_FALSE}"; then
15465 as_fn_error $? "conditional
\"PLUGINS
\" was never defined.
15466 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
15468 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
15469 as_fn_error $? "conditional
\"MAINTAINER_MODE
\" was never defined.
15470 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
15472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure
" >&5
15473 $as_echo_n "checking that generated files are newer than configure...
" >&6; }
15474 if test -n "$am_sleep_pid"; then
15475 # Hide warnings about reused PIDs.
15476 wait $am_sleep_pid 2>/dev/null
15478 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: done" >&5
15479 $as_echo "done" >&6; }
15480 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15481 as_fn_error $? "conditional
\"AMDEP
\" was never defined.
15482 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
15484 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15485 as_fn_error $? "conditional
\"am__fastdepCC
\" was never defined.
15486 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
15488 if test -n "$EXEEXT"; then
15490 am__EXEEXT_FALSE='#'
15492 am__EXEEXT_TRUE='#'
15496 if test -z "${SIM_ENABLE_ARCH_aarch64_TRUE}" && test -z "${SIM_ENABLE_ARCH_aarch64_FALSE}"; then
15497 as_fn_error $? "conditional
\"SIM_ENABLE_ARCH_aarch64
\" was never defined.
15498 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
15500 if test -z "${SIM_ENABLE_ARCH_arm_TRUE}" && test -z "${SIM_ENABLE_ARCH_arm_FALSE}"; then
15501 as_fn_error $? "conditional
\"SIM_ENABLE_ARCH_arm
\" was never defined.
15502 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
15504 if test -z "${SIM_ENABLE_ARCH_avr_TRUE}" && test -z "${SIM_ENABLE_ARCH_avr_FALSE}"; then
15505 as_fn_error $? "conditional
\"SIM_ENABLE_ARCH_avr
\" was never defined.
15506 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
15508 if test -z "${SIM_ENABLE_ARCH_bfin_TRUE}" && test -z "${SIM_ENABLE_ARCH_bfin_FALSE}"; then
15509 as_fn_error $? "conditional
\"SIM_ENABLE_ARCH_bfin
\" was never defined.
15510 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
15512 if test -z "${SIM_ENABLE_ARCH_bpf_TRUE}" && test -z "${SIM_ENABLE_ARCH_bpf_FALSE}"; then
15513 as_fn_error $? "conditional
\"SIM_ENABLE_ARCH_bpf
\" was never defined.
15514 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
15516 if test -z "${SIM_ENABLE_ARCH_cr16_TRUE}" && test -z "${SIM_ENABLE_ARCH_cr16_FALSE}"; then
15517 as_fn_error $? "conditional
\"SIM_ENABLE_ARCH_cr16
\" was never defined.
15518 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
15520 if test -z "${SIM_ENABLE_ARCH_cris_TRUE}" && test -z "${SIM_ENABLE_ARCH_cris_FALSE}"; then
15521 as_fn_error $? "conditional
\"SIM_ENABLE_ARCH_cris
\" was never defined.
15522 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
15524 if test -z "${SIM_ENABLE_ARCH_d10v_TRUE}" && test -z "${SIM_ENABLE_ARCH_d10v_FALSE}"; then
15525 as_fn_error $? "conditional
\"SIM_ENABLE_ARCH_d10v
\" was never defined.
15526 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
15528 if test -z "${SIM_ENABLE_ARCH_frv_TRUE}" && test -z "${SIM_ENABLE_ARCH_frv_FALSE}"; then
15529 as_fn_error $? "conditional
\"SIM_ENABLE_ARCH_frv
\" was never defined.
15530 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
15532 if test -z "${SIM_ENABLE_ARCH_ft32_TRUE}" && test -z "${SIM_ENABLE_ARCH_ft32_FALSE}"; then
15533 as_fn_error $? "conditional
\"SIM_ENABLE_ARCH_ft32
\" was never defined.
15534 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
15536 if test -z "${SIM_ENABLE_ARCH_h8300_TRUE}" && test -z "${SIM_ENABLE_ARCH_h8300_FALSE}"; then
15537 as_fn_error $? "conditional
\"SIM_ENABLE_ARCH_h8300
\" was never defined.
15538 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
15540 if test -z "${SIM_ENABLE_ARCH_iq2000_TRUE}" && test -z "${SIM_ENABLE_ARCH_iq2000_FALSE}"; then
15541 as_fn_error $? "conditional
\"SIM_ENABLE_ARCH_iq2000
\" was never defined.
15542 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
15544 if test -z "${SIM_ENABLE_ARCH_lm32_TRUE}" && test -z "${SIM_ENABLE_ARCH_lm32_FALSE}"; then
15545 as_fn_error $? "conditional
\"SIM_ENABLE_ARCH_lm32
\" was never defined.
15546 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
15548 if test -z "${SIM_ENABLE_ARCH_m32c_TRUE}" && test -z "${SIM_ENABLE_ARCH_m32c_FALSE}"; then
15549 as_fn_error $? "conditional
\"SIM_ENABLE_ARCH_m32c
\" was never defined.
15550 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
15552 if test -z "${SIM_ENABLE_ARCH_m32r_TRUE}" && test -z "${SIM_ENABLE_ARCH_m32r_FALSE}"; then
15553 as_fn_error $? "conditional
\"SIM_ENABLE_ARCH_m32r
\" was never defined.
15554 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
15556 if test -z "${SIM_ENABLE_ARCH_m68hc11_TRUE}" && test -z "${SIM_ENABLE_ARCH_m68hc11_FALSE}"; then
15557 as_fn_error $? "conditional
\"SIM_ENABLE_ARCH_m68hc11
\" was never defined.
15558 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
15560 if test -z "${SIM_ENABLE_ARCH_mcore_TRUE}" && test -z "${SIM_ENABLE_ARCH_mcore_FALSE}"; then
15561 as_fn_error $? "conditional
\"SIM_ENABLE_ARCH_mcore
\" was never defined.
15562 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
15564 if test -z "${SIM_ENABLE_ARCH_microblaze_TRUE}" && test -z "${SIM_ENABLE_ARCH_microblaze_FALSE}"; then
15565 as_fn_error $? "conditional
\"SIM_ENABLE_ARCH_microblaze
\" was never defined.
15566 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
15568 if test -z "${SIM_ENABLE_ARCH_mips_TRUE}" && test -z "${SIM_ENABLE_ARCH_mips_FALSE}"; then
15569 as_fn_error $? "conditional
\"SIM_ENABLE_ARCH_mips
\" was never defined.
15570 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
15572 if test -z "${SIM_ENABLE_ARCH_mn10300_TRUE}" && test -z "${SIM_ENABLE_ARCH_mn10300_FALSE}"; then
15573 as_fn_error $? "conditional
\"SIM_ENABLE_ARCH_mn10300
\" was never defined.
15574 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
15576 if test -z "${SIM_ENABLE_ARCH_moxie_TRUE}" && test -z "${SIM_ENABLE_ARCH_moxie_FALSE}"; then
15577 as_fn_error $? "conditional
\"SIM_ENABLE_ARCH_moxie
\" was never defined.
15578 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
15580 if test -z "${SIM_ENABLE_ARCH_msp430_TRUE}" && test -z "${SIM_ENABLE_ARCH_msp430_FALSE}"; then
15581 as_fn_error $? "conditional
\"SIM_ENABLE_ARCH_msp430
\" was never defined.
15582 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
15584 if test -z "${SIM_ENABLE_ARCH_or1k_TRUE}" && test -z "${SIM_ENABLE_ARCH_or1k_FALSE}"; then
15585 as_fn_error $? "conditional
\"SIM_ENABLE_ARCH_or1k
\" was never defined.
15586 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
15588 if test -z "${SIM_ENABLE_ARCH_ppc_TRUE}" && test -z "${SIM_ENABLE_ARCH_ppc_FALSE}"; then
15589 as_fn_error $? "conditional
\"SIM_ENABLE_ARCH_ppc
\" was never defined.
15590 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
15592 if test -z "${SIM_ENABLE_ARCH_pru_TRUE}" && test -z "${SIM_ENABLE_ARCH_pru_FALSE}"; then
15593 as_fn_error $? "conditional
\"SIM_ENABLE_ARCH_pru
\" was never defined.
15594 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
15596 if test -z "${SIM_ENABLE_ARCH_riscv_TRUE}" && test -z "${SIM_ENABLE_ARCH_riscv_FALSE}"; then
15597 as_fn_error $? "conditional
\"SIM_ENABLE_ARCH_riscv
\" was never defined.
15598 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
15600 if test -z "${SIM_ENABLE_ARCH_rl78_TRUE}" && test -z "${SIM_ENABLE_ARCH_rl78_FALSE}"; then
15601 as_fn_error $? "conditional
\"SIM_ENABLE_ARCH_rl78
\" was never defined.
15602 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
15604 if test -z "${SIM_ENABLE_ARCH_rx_TRUE}" && test -z "${SIM_ENABLE_ARCH_rx_FALSE}"; then
15605 as_fn_error $? "conditional
\"SIM_ENABLE_ARCH_rx
\" was never defined.
15606 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
15608 if test -z "${SIM_ENABLE_ARCH_sh_TRUE}" && test -z "${SIM_ENABLE_ARCH_sh_FALSE}"; then
15609 as_fn_error $? "conditional
\"SIM_ENABLE_ARCH_sh
\" was never defined.
15610 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
15612 if test -z "${SIM_ENABLE_ARCH_erc32_TRUE}" && test -z "${SIM_ENABLE_ARCH_erc32_FALSE}"; then
15613 as_fn_error $? "conditional
\"SIM_ENABLE_ARCH_erc32
\" was never defined.
15614 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
15616 if test -z "${SIM_ENABLE_ARCH_v850_TRUE}" && test -z "${SIM_ENABLE_ARCH_v850_FALSE}"; then
15617 as_fn_error $? "conditional
\"SIM_ENABLE_ARCH_v850
\" was never defined.
15618 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
15620 if test -z "${SIM_ENABLE_IGEN_TRUE}" && test -z "${SIM_ENABLE_IGEN_FALSE}"; then
15621 as_fn_error $? "conditional
\"SIM_ENABLE_IGEN
\" was never defined.
15622 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
15624 if test -z "${SIM_ENABLE_HW_TRUE}" && test -z "${SIM_ENABLE_HW_FALSE}"; then
15625 as_fn_error $? "conditional
\"SIM_ENABLE_HW
\" was never defined.
15626 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
15629 : "${CONFIG_STATUS=./config.status}"
15631 ac_clean_files_save=$ac_clean_files
15632 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15633 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$CONFIG_STATUS" >&5
15634 $as_echo "$as_me: creating
$CONFIG_STATUS" >&6;}
15636 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15638 # Generated by $as_me.
15639 # Run this file to recreate the current configuration.
15640 # Compiler output produced by configure, useful for debugging
15641 # configure, is in config.log if it exists.
15644 ac_cs_recheck=false
15647 SHELL=\${CONFIG_SHELL-$SHELL}
15650 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
15651 ## -------------------- ##
15652 ## M4sh Initialization. ##
15653 ## -------------------- ##
15655 # Be more Bourne compatible
15656 DUALCASE=1; export DUALCASE # for MKS sh
15657 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
15660 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15661 # is contrary to our usage. Disable this feature.
15662 alias -g '${1+"$@"}'='"$@
"'
15663 setopt NO_GLOB_SUBST
15665 case `(set -o) 2>/dev/null` in #(
15677 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15678 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15679 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15680 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15681 # Prefer a ksh shell builtin over an external printf program on Solaris,
15682 # but without wasting forks for bash or zsh.
15683 if test -z "$BASH_VERSION$ZSH_VERSION" \
15684 && (test "X
`print -r -- $as_echo`" = "X
$as_echo") 2>/dev/null; then
15685 as_echo='print -r --'
15686 as_echo_n='print -rn --'
15687 elif (test "X
`printf %s $as_echo`" = "X
$as_echo") 2>/dev/null; then
15688 as_echo='printf %s\n'
15689 as_echo_n='printf %s'
15691 if test "X
`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n
$as_echo"; then
15692 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
15693 as_echo_n='/usr/ucb/echo -n'
15695 as_echo_body='eval expr "X
$1" : "X
\\(.
*\\)"'
15696 as_echo_n_body='eval
15700 expr "X
$arg" : "X
\\(.
*\\)$as_nl";
15701 arg=`expr "X
$arg" : ".
*$as_nl\\(.
*\\)"`;;
15703 expr "X
$arg" : "X
\\(.
*\\)" | tr -d "$as_nl"
15705 export as_echo_n_body
15706 as_echo_n='sh -c $as_echo_n_body as_echo'
15708 export as_echo_body
15709 as_echo='sh -c $as_echo_body as_echo'
15712 # The user is always right.
15713 if test "${PATH_SEPARATOR+set}" != set; then
15715 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15716 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15723 # We need space, tab and new line, in precisely that order. Quoting is
15724 # there to prevent editors from complaining about space-tab.
15725 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15726 # splitting by setting IFS to empty value.)
15729 # Find who we are. Look in the path if we contain no directory separator.
15732 *[\\/]* ) as_myself=$0 ;;
15733 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15734 for as_dir in $PATH
15737 test -z "$as_dir" && as_dir=.
15738 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15744 # We did not find ourselves, most probably we were run as `sh COMMAND'
15745 # in which case we are not to be found in the path.
15746 if test "x
$as_myself" = x; then
15749 if test ! -f "$as_myself"; then
15750 $as_echo "$as_myself: error
: cannot
find myself
; rerun with an absolute
file name
" >&2
15754 # Unset variables that we do not need and which cause bugs (e.g. in
15755 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "||
exit 1"
15756 # suppresses any "Segmentation fault
" message there. '((' could
15757 # trigger a bug in pdksh 5.2.14.
15758 for as_var in BASH_ENV ENV MAIL MAILPATH
15759 do eval test x\${$as_var+set} = xset \
15760 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
15773 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15776 # as_fn_error STATUS ERROR [LINENO LOG_FD]
15777 # ----------------------------------------
15778 # Output "`basename $0`: error
: ERROR
" to stderr. If LINENO and LOG_FD are
15779 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15780 # script with STATUS, using 1 if that was 0.
15783 as_status=$1; test $as_status -eq 0 && as_status=1
15785 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15786 $as_echo "$as_me:${as_lineno-$LINENO}: error
: $2" >&$4
15788 $as_echo "$as_me: error
: $2" >&2
15789 as_fn_exit $as_status
15793 # as_fn_set_status STATUS
15794 # -----------------------
15795 # Set $? to STATUS, without forking.
15796 as_fn_set_status ()
15799 } # as_fn_set_status
15801 # as_fn_exit STATUS
15802 # -----------------
15803 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15807 as_fn_set_status $1
15813 # Portably unset VAR.
15816 { eval $1=; unset $1;}
15818 as_unset=as_fn_unset
15819 # as_fn_append VAR VALUE
15820 # ----------------------
15821 # Append the text in VALUE to the end of the definition contained in VAR. Take
15822 # advantage of any shell optimizations that allow amortized linear growth over
15823 # repeated appends, instead of the typical quadratic growth present in naive
15825 if (eval "as_var
=1; as_var
+=2; test x\
$as_var = x12
") 2>/dev/null; then :
15826 eval 'as_fn_append ()
15837 # as_fn_arith ARG...
15838 # ------------------
15839 # Perform arithmetic evaluation on the ARGs, and store the result in the
15840 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15841 # must be portable across $(()) and expr.
15842 if (eval "test \$
(( 1 + 1 )) = 2") 2>/dev/null; then :
15843 eval 'as_fn_arith ()
15850 as_val=`expr "$@
" || test $? -eq 1`
15855 if expr a : '\(a\)' >/dev/null 2>&1 &&
15856 test "X
`expr 00001 : '.*\(...\)'`" = X001; then
15862 if (basename -- /) >/dev/null 2>&1 && test "X
`basename -- / 2>&1`" = "X
/"; then
15863 as_basename=basename
15868 if (as_dir=`dirname -- /` && test "X
$as_dir" = X/) >/dev/null 2>&1; then
15874 as_me=`$as_basename -- "$0" ||
15875 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15876 X"$0" : 'X\(//\)$' \| \
15877 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15879 sed '/^.*\/\([^/][^/]*\)\/*$/{
15893 # Avoid depending upon Character Ranges.
15894 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15895 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15896 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15897 as_cr_digits='0123456789'
15898 as_cr_alnum=$as_cr_Letters$as_cr_digits
15900 ECHO_C= ECHO_N= ECHO_T=
15901 case `echo -n x` in #(((((
15903 case `echo 'xy\c'` in
15904 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
15906 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
15913 rm -f conf$$ conf$$.exe conf$$.file
15914 if test -d conf$$.dir; then
15915 rm -f conf$$.dir/conf$$.file
15918 mkdir conf$$.dir 2>/dev/null
15920 if (echo >conf$$.file) 2>/dev/null; then
15921 if ln -s conf$$.file conf$$ 2>/dev/null; then
15923 # ... but there are two gotchas:
15924 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15925 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15926 # In both cases, we have to default to `cp -pR'.
15927 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15929 elif ln conf$$.file conf$$ 2>/dev/null; then
15937 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15938 rmdir conf$$.dir 2>/dev/null
15943 # Create "$as_dir" as a directory, including parents if necessary.
15948 -*) as_dir=./$as_dir;;
15950 test -d "$as_dir" || eval $as_mkdir_p || {
15954 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s
/'/'\\\\\\\\''/g
"`;; #'(
15955 *) as_qdir=$as_dir;;
15957 as_dirs="'$as_qdir' $as_dirs"
15958 as_dir=`$as_dirname -- "$as_dir" ||
15959 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15960 X"$as_dir" : 'X\(//\)[^/]' \| \
15961 X"$as_dir" : 'X\(//\)$' \| \
15962 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15963 $as_echo X"$as_dir" |
15964 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15968 /^X\(\/\/\)[^/].*/{
15981 test -d "$as_dir" && break
15983 test -z "$as_dirs" || eval "mkdir
$as_dirs"
15984 } || test -d "$as_dir" || as_fn_error $? "cannot create directory
$as_dir"
15988 if mkdir -p . 2>/dev/null; then
15989 as_mkdir_p='mkdir -p "$as_dir"'
15991 test -d ./-p && rmdir ./-p
15996 # as_fn_executable_p FILE
15997 # -----------------------
15998 # Test if FILE is an executable regular file.
15999 as_fn_executable_p ()
16001 test -f "$1" && test -x "$1"
16002 } # as_fn_executable_p
16003 as_test_x='test -x'
16004 as_executable_p=as_fn_executable_p
16006 # Sed expression to map a string onto a valid CPP name.
16007 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16009 # Sed expression to map a string onto a valid variable name.
16010 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16014 ## ----------------------------------- ##
16015 ## Main body of $CONFIG_STATUS script. ##
16016 ## ----------------------------------- ##
16018 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
16020 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16021 # Save the log message, to keep $0 and so on meaningful, and to
16022 # report actual input values of CONFIG_FILES etc. instead of their
16023 # values after options handling.
16025 This
file was extended by sim
$as_me 0, which was
16026 generated by GNU Autoconf
2.69. Invocation
command line was
16028 CONFIG_FILES
= $CONFIG_FILES
16029 CONFIG_HEADERS
= $CONFIG_HEADERS
16030 CONFIG_LINKS
= $CONFIG_LINKS
16031 CONFIG_COMMANDS
= $CONFIG_COMMANDS
16034 on
`(hostname || uname -n) 2>/dev/null | sed 1q`
16039 case $ac_config_files in *"
16040 "*) set x $ac_config_files; shift; ac_config_files=$*;;
16043 case $ac_config_headers in *"
16044 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
16048 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16049 # Files that config.status was made for.
16050 config_files="$ac_config_files"
16051 config_headers="$ac_config_headers"
16052 config_commands="$ac_config_commands"
16056 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16058 \
`$as_me' instantiates files and other configuration actions
16059 from templates according to the current configuration. Unless the files
16060 and actions are specified as TAGs, all are instantiated by default.
16062 Usage: $0 [OPTION]... [TAG]...
16064 -h, --help print this help, then exit
16065 -V, --version print version number and configuration settings, then exit
16066 --config print configuration, then exit
16067 -q, --quiet, --silent
16068 do not print progress messages
16069 -d, --debug don't remove temporary files
16070 --recheck update $as_me by reconfiguring in the same conditions
16071 --file=FILE[:TEMPLATE]
16072 instantiate the configuration file FILE
16073 --header=FILE[:TEMPLATE]
16074 instantiate the configuration header FILE
16076 Configuration files:
16079 Configuration headers:
16082 Configuration commands:
16085 Report bugs to <https://sourceware.org/bugzilla/enter_bug.cgi?product=gdb&component=sim>.
16086 sim home page: <https://sourceware.org/gdb/wiki/Sim/>."
16089 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16090 ac_cs_config="`$as_echo "$ac_configure_args" |
sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16092 sim config.status 0
16093 configured by $0, generated by GNU Autoconf 2.69,
16094 with options \\"\$ac_cs_config\\"
16096 Copyright (C) 2012 Free Software Foundation, Inc.
16097 This config.status script is free software; the Free Software Foundation
16098 gives unlimited permission to copy, distribute and modify it."
16105 test -n "\$AWK" || AWK=awk
16108 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16109 # The default lists apply if the user does not specify any file.
16115 ac_option=`expr "X$1" : 'X\([^=]*\)='`
16116 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
16120 ac_option=`expr "X$1" : 'X\([^=]*\)='`
16132 # Handling of the options.
16133 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
16135 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
16136 $as_echo "$ac_cs_version"; exit ;;
16137 --config | --confi | --conf | --con | --co | --c )
16138 $as_echo "$ac_cs_config"; exit ;;
16139 --debug | --debu | --deb | --de | --d | -d )
16141 --file | --fil | --fi | --f )
16144 *\'*) ac_optarg=`$as_echo "$ac_optarg" |
sed "s/'/'\\\\\\\\''/g"` ;;
16145 '') as_fn_error $? "missing file argument" ;;
16147 as_fn_append CONFIG_FILES " '$ac_optarg'"
16148 ac_need_defaults=false;;
16149 --header | --heade | --head | --hea )
16152 *\'*) ac_optarg=`$as_echo "$ac_optarg" |
sed "s/'/'\\\\\\\\''/g"` ;;
16154 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
16155 ac_need_defaults=false;;
16157 # Conflict between --help and --header
16158 as_fn_error $? "ambiguous option: \`$1'
16159 Try \`$0 --help' for more information.
";;
16160 --help | --hel | -h )
16161 $as_echo "$ac_cs_usage"; exit ;;
16162 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
16163 | -silent | --silent | --silen | --sile | --sil | --si | --s)
16166 # This is an error.
16167 -*) as_fn_error $? "unrecognized option
: \
`$1'
16168 Try \`$0 --help' for more information." ;;
16170 *) as_fn_append ac_config_targets " $1"
16171 ac_need_defaults=false ;;
16177 ac_configure_extra_args=
16179 if $ac_cs_silent; then
16181 ac_configure_extra_args="$ac_configure_extra_args --silent"
16185 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16186 if \$ac_cs_recheck; then
16187 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16189 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16190 CONFIG_SHELL='$SHELL'
16191 export CONFIG_SHELL
16196 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16200 sed 'h
;s
/.
/-/g
;s
/^...
/## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16201 ## Running $as_me. ##
16207 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16213 # The HP-UX ksh and POSIX shell print the target directory to stdout
16214 # if CDPATH is set.
16215 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16217 sed_quote_subst='$sed_quote_subst'
16218 double_quote_subst='$double_quote_subst'
16219 delay_variable_subst='$delay_variable_subst'
16220 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
16221 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
16222 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
16223 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
16224 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
16225 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16226 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16227 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16228 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16229 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16230 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16231 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16232 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16233 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16234 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16235 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16236 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16237 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16238 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16239 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16240 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16241 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16242 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16243 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16244 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16245 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16246 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16247 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16248 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16249 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16250 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
16251 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16252 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16253 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16254 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16255 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16256 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16257 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16258 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16259 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
16260 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
16261 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
16262 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
16263 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
16264 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
16265 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
16266 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16267 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16268 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"`'
16269 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16270 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16271 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
16272 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16273 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
16274 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
16275 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
16276 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
16277 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16278 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16279 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
16280 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
16281 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
16282 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
16283 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
16284 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16285 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
16286 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
16287 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
16288 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
16289 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
16290 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
16291 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16292 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
16293 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16294 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
16295 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16296 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
16297 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
16298 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
16299 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
16300 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
16301 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
16302 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
16303 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
16304 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
16305 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
16306 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16307 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16308 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
16309 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
16310 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
16311 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
16312 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
16313 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
16314 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
16315 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
16316 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
16317 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
16318 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
16319 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
16320 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
16321 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
16322 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
16323 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
16324 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
16325 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
16326 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
16327 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16328 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16329 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
16330 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
16331 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
16332 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
16333 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
16334 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
16335 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
16336 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
16337 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
16338 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
16339 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
16342 LTCFLAGS='$LTCFLAGS'
16343 compiler='$compiler_DEFAULT'
16345 # A function that is used when there is no print builtin or printf.
16346 func_fallback_echo ()
16348 eval 'cat <<_LTECHO_EOF
16353 # Quote evaled strings.
16367 deplibs_check_method \
16376 lt_cv_sys_global_symbol_pipe \
16377 lt_cv_sys_global_symbol_to_cdecl \
16378 lt_cv_sys_global_symbol_to_c_name_address \
16379 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16380 lt_prog_compiler_no_builtin_flag \
16381 lt_prog_compiler_wl \
16382 lt_prog_compiler_pic \
16383 lt_prog_compiler_static \
16384 lt_cv_prog_compiler_c_o \
16392 export_dynamic_flag_spec \
16393 whole_archive_flag_spec \
16394 compiler_needs_object \
16396 allow_undefined_flag \
16397 no_undefined_flag \
16398 hardcode_libdir_flag_spec \
16399 hardcode_libdir_flag_spec_ld \
16400 hardcode_libdir_separator \
16405 variables_saved_for_relink \
16407 library_names_spec \
16409 install_override_mode \
16413 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16414 *[\\\\\\\`\\"\\\$]*)
16415 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16418 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16423 # Double-quote double-evaled strings.
16424 for var in reload_cmds \
16425 old_postinstall_cmds \
16426 old_postuninstall_cmds \
16428 extract_expsyms_cmds \
16429 old_archive_from_new_cmds \
16430 old_archive_from_expsyms_cmds \
16432 archive_expsym_cmds \
16434 module_expsym_cmds \
16435 export_symbols_cmds \
16438 postuninstall_cmds \
16440 sys_lib_search_path_spec \
16441 sys_lib_dlsearch_path_spec; do
16442 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16443 *[\\\\\\\`\\"\\\$]*)
16444 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16447 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16452 ac_aux_dir='$ac_aux_dir'
16453 xsi_shell='$xsi_shell'
16454 lt_shell_append='$lt_shell_append'
16456 # See if we are running on zsh, and set the options which allow our
16457 # commands through without removal of \ escapes INIT.
16458 if test -n "\${ZSH_VERSION+set}" ; then
16459 setopt NO_GLOB_SUBST
16465 TIMESTAMP='$TIMESTAMP'
16471 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
16472 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
16473 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
16474 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
16475 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
16476 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
16477 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
16478 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
16479 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
16480 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
16481 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
16482 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
16483 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
16484 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
16485 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
16486 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
16487 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
16488 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
16489 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
16490 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
16491 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
16492 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
16493 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
16494 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
16495 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
16496 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
16497 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
16498 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
16499 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
16500 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
16501 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
16502 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
16503 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
16507 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16509 # Handling of arguments.
16510 for ac_config_target
in $ac_config_targets
16512 case $ac_config_target in
16513 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
16514 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
16515 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
16516 "Make-common.sim") CONFIG_FILES
="$CONFIG_FILES Make-common.sim:common/Make-common.in" ;;
16517 "aarch64/Makefile.sim") CONFIG_FILES
="$CONFIG_FILES aarch64/Makefile.sim:aarch64/Makefile.in" ;;
16518 "aarch64/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS aarch64/Makefile" ;;
16519 "depdir-aarch64") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-aarch64" ;;
16520 "arm/Makefile.sim") CONFIG_FILES
="$CONFIG_FILES arm/Makefile.sim:arm/Makefile.in" ;;
16521 "arm/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS arm/Makefile" ;;
16522 "depdir-arm") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-arm" ;;
16523 "avr/Makefile.sim") CONFIG_FILES
="$CONFIG_FILES avr/Makefile.sim:avr/Makefile.in" ;;
16524 "avr/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS avr/Makefile" ;;
16525 "depdir-avr") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-avr" ;;
16526 "bfin/Makefile.sim") CONFIG_FILES
="$CONFIG_FILES bfin/Makefile.sim:bfin/Makefile.in" ;;
16527 "bfin/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS bfin/Makefile" ;;
16528 "depdir-bfin") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-bfin" ;;
16529 "depdir-bpf") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-bpf" ;;
16530 "cr16/Makefile.sim") CONFIG_FILES
="$CONFIG_FILES cr16/Makefile.sim:cr16/Makefile.in" ;;
16531 "cr16/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS cr16/Makefile" ;;
16532 "depdir-cr16") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-cr16" ;;
16533 "cris/Makefile.sim") CONFIG_FILES
="$CONFIG_FILES cris/Makefile.sim:cris/Makefile.in" ;;
16534 "cris/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS cris/Makefile" ;;
16535 "depdir-cris") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-cris" ;;
16536 "d10v/Makefile.sim") CONFIG_FILES
="$CONFIG_FILES d10v/Makefile.sim:d10v/Makefile.in" ;;
16537 "d10v/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS d10v/Makefile" ;;
16538 "depdir-d10v") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-d10v" ;;
16539 "frv/Makefile.sim") CONFIG_FILES
="$CONFIG_FILES frv/Makefile.sim:frv/Makefile.in" ;;
16540 "frv/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS frv/Makefile" ;;
16541 "depdir-frv") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-frv" ;;
16542 "ft32/Makefile.sim") CONFIG_FILES
="$CONFIG_FILES ft32/Makefile.sim:ft32/Makefile.in" ;;
16543 "ft32/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS ft32/Makefile" ;;
16544 "depdir-ft32") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-ft32" ;;
16545 "h8300/Makefile.sim") CONFIG_FILES
="$CONFIG_FILES h8300/Makefile.sim:h8300/Makefile.in" ;;
16546 "h8300/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS h8300/Makefile" ;;
16547 "depdir-h8300") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-h8300" ;;
16548 "iq2000/Makefile.sim") CONFIG_FILES
="$CONFIG_FILES iq2000/Makefile.sim:iq2000/Makefile.in" ;;
16549 "iq2000/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS iq2000/Makefile" ;;
16550 "depdir-iq2000") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-iq2000" ;;
16551 "lm32/Makefile.sim") CONFIG_FILES
="$CONFIG_FILES lm32/Makefile.sim:lm32/Makefile.in" ;;
16552 "lm32/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS lm32/Makefile" ;;
16553 "depdir-lm32") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-lm32" ;;
16554 "m32c/Makefile.sim") CONFIG_FILES
="$CONFIG_FILES m32c/Makefile.sim:m32c/Makefile.in" ;;
16555 "m32c/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS m32c/Makefile" ;;
16556 "depdir-m32c") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-m32c" ;;
16557 "m32r/Makefile.sim") CONFIG_FILES
="$CONFIG_FILES m32r/Makefile.sim:m32r/Makefile.in" ;;
16558 "m32r/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS m32r/Makefile" ;;
16559 "depdir-m32r") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-m32r" ;;
16560 "m68hc11/Makefile.sim") CONFIG_FILES
="$CONFIG_FILES m68hc11/Makefile.sim:m68hc11/Makefile.in" ;;
16561 "m68hc11/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS m68hc11/Makefile" ;;
16562 "depdir-m68hc11") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-m68hc11" ;;
16563 "mcore/Makefile.sim") CONFIG_FILES
="$CONFIG_FILES mcore/Makefile.sim:mcore/Makefile.in" ;;
16564 "mcore/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS mcore/Makefile" ;;
16565 "depdir-mcore") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-mcore" ;;
16566 "microblaze/Makefile.sim") CONFIG_FILES
="$CONFIG_FILES microblaze/Makefile.sim:microblaze/Makefile.in" ;;
16567 "microblaze/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS microblaze/Makefile" ;;
16568 "depdir-microblaze") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-microblaze" ;;
16569 "depdir-mips") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-mips" ;;
16570 "depdir-mn10300") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-mn10300" ;;
16571 "moxie/Makefile.sim") CONFIG_FILES
="$CONFIG_FILES moxie/Makefile.sim:moxie/Makefile.in" ;;
16572 "moxie/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS moxie/Makefile" ;;
16573 "depdir-moxie") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-moxie" ;;
16574 "msp430/Makefile.sim") CONFIG_FILES
="$CONFIG_FILES msp430/Makefile.sim:msp430/Makefile.in" ;;
16575 "msp430/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS msp430/Makefile" ;;
16576 "depdir-msp430") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-msp430" ;;
16577 "depdir-or1k") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-or1k" ;;
16578 "depdir-ppc") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-ppc" ;;
16579 "pru/Makefile.sim") CONFIG_FILES
="$CONFIG_FILES pru/Makefile.sim:pru/Makefile.in" ;;
16580 "pru/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS pru/Makefile" ;;
16581 "depdir-pru") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-pru" ;;
16582 "depdir-riscv") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-riscv" ;;
16583 "rl78/Makefile.sim") CONFIG_FILES
="$CONFIG_FILES rl78/Makefile.sim:rl78/Makefile.in" ;;
16584 "rl78/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS rl78/Makefile" ;;
16585 "depdir-rl78") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-rl78" ;;
16586 "rx/Makefile.sim") CONFIG_FILES
="$CONFIG_FILES rx/Makefile.sim:rx/Makefile.in" ;;
16587 "rx/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS rx/Makefile" ;;
16588 "depdir-rx") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-rx" ;;
16589 "sh/Makefile.sim") CONFIG_FILES
="$CONFIG_FILES sh/Makefile.sim:sh/Makefile.in" ;;
16590 "sh/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS sh/Makefile" ;;
16591 "depdir-sh") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-sh" ;;
16592 "erc32/Makefile.sim") CONFIG_FILES
="$CONFIG_FILES erc32/Makefile.sim:erc32/Makefile.in" ;;
16593 "erc32/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS erc32/Makefile" ;;
16594 "depdir-erc32") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-erc32" ;;
16595 "depdir-v850") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-v850" ;;
16596 "example-synacor/Makefile.sim") CONFIG_FILES
="$CONFIG_FILES example-synacor/Makefile.sim:example-synacor/Makefile.in" ;;
16597 "example-synacor/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS example-synacor/Makefile" ;;
16598 "depdir-example-synacor") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-example-synacor" ;;
16599 "arch-subdir.mk") CONFIG_FILES
="$CONFIG_FILES arch-subdir.mk" ;;
16600 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
16602 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16607 # If the user did not use the arguments to specify the items to instantiate,
16608 # then the envvar interface is used. Set only those that are not.
16609 # We use the long form for the default assignment because of an extremely
16610 # bizarre bug on SunOS 4.1.3.
16611 if $ac_need_defaults; then
16612 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
16613 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
16614 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
16617 # Have a temporary directory for convenience. Make it in the build tree
16618 # simply because there is no reason against having it here, and in addition,
16619 # creating and moving files from /tmp can sometimes cause problems.
16620 # Hook for its removal unless debugging.
16621 # Note that there is a small window in which the directory will not be cleaned:
16622 # after its creation but before its name has been assigned to `$tmp'.
16626 trap 'exit_status=$?
16627 : "${ac_tmp:=$tmp}"
16628 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16630 trap 'as_fn_exit 1' 1 2 13 15
16632 # Create a (secure) tmp directory for tmp files.
16635 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16639 tmp
=.
/conf$$
-$RANDOM
16640 (umask 077 && mkdir
"$tmp")
16641 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
16644 # Set up the scripts for CONFIG_FILES section.
16645 # No need to generate them if there are no CONFIG_FILES.
16646 # This happens for instance with `./config.status config.h'.
16647 if test -n "$CONFIG_FILES"; then
16650 ac_cr
=`echo X | tr X '\015'`
16651 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16652 # But we know of no other shell where ac_cr would be empty at this
16653 # point, so we can use a bashism as a fallback.
16654 if test "x$ac_cr" = x
; then
16655 eval ac_cr
=\$
\'\\r
\'
16657 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16658 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16661 ac_cs_awk_cr
=$ac_cr
16664 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16669 echo "cat >conf$$subs.awk <<_ACEOF" &&
16670 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16672 } >conf$$subs.sh ||
16673 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16674 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16676 for ac_last_try in false false false false false :; do
16677 . ./conf$$subs.sh ||
16678 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16680 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
16681 if test $ac_delim_n = $ac_delim_num; then
16683 elif $ac_last_try; then
16684 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16686 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16689 rm -f conf$$subs.sh
16691 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16692 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
16696 s/^/S["/; s
/!.
*/"]=/
16706 s/\(.\{148\}\)..*/\1/
16708 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
16713 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16720 s/\(.\{148\}\)..*/\1/
16722 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
16726 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16731 ' <conf$$subs.awk | sed '
16736 ' >>$CONFIG_STATUS || ac_write_fail=1
16737 rm -f conf$$subs.awk
16738 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16740 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
16741 for (key in S) S_is_set[key] = 1
16747 nfields = split(line, field, "@
")
16749 len = length(field[1])
16750 for (i = 2; i < nfields; i++) {
16752 keylen = length(key)
16753 if (S_is_set[key]) {
16755 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16756 len += length(value) + length(field[++i])
16767 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16768 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16769 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
16772 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
16773 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
16776 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16777 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
16778 # trailing colons and then remove the whole line if VPATH becomes empty
16779 # (actually we leave an empty line to preserve line numbers).
16780 if test "x
$srcdir" = x.; then
16781 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
16799 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16800 fi # test -n "$CONFIG_FILES"
16802 # Set up the scripts for CONFIG_HEADERS section.
16803 # No need to generate them if there are no CONFIG_HEADERS.
16804 # This happens for instance with `./config.status Makefile'.
16805 if test -n "$CONFIG_HEADERS"; then
16806 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
16810 # Transform confdefs.h into an awk script `defines.awk', embedded as
16811 # here-document in config.status, that substitutes the proper values into
16812 # config.h.in to produce config.h.
16814 # Create a delimiter string that does not exist in confdefs.h, to ease
16815 # handling of long lines.
16817 for ac_last_try in false false :; do
16818 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
16819 if test -z "$ac_tt"; then
16821 elif $ac_last_try; then
16822 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
16824 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16828 # For the awk script, D is an array of macro values keyed by name,
16829 # likewise P contains macro parameters if any. Preserve backslash
16830 # newline sequences.
16832 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16834 s/.\{148\}/&'"$ac_delim"'/g
16837 s/^[ ]*#[ ]*define[ ][ ]*/ /
16844 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
16846 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
16850 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
16851 D["\
1"]=" \
3\\\\\\n
"\\/p
16853 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
16858 s/.\{148\}/&'"$ac_delim"'/g
16863 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
16866 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
16868 ' <confdefs.h | sed '
16869 s/'"$ac_delim"'/"\\\
16870 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16872 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16873 for (key in D) D_is_set[key] = 1
16876 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16878 split(line, arg, " ")
16879 if (arg[1] == "#") {
16883 defundef
= substr
(arg
[1], 2)
16886 split(mac1
, mac2
, "(") #)
16888 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
16889 if (D_is_set
[macro
]) {
16890 # Preserve the white space surrounding the "#".
16891 print prefix
"define", macro P
[macro
] D
[macro
]
16894 # Replace #undef with comments. This is necessary, for example,
16895 # in the case of _POSIX_SOURCE, which is predefined and required
16896 # on some systems where configure will not decide to define it.
16897 if (defundef
== "undef") {
16898 print
"/*", prefix defundef
, macro
, "*/"
16906 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16907 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
16908 fi # test -n "$CONFIG_HEADERS"
16911 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
16916 :[FHLC
]) ac_mode
=$ac_tag; continue;;
16918 case $ac_mode$ac_tag in
16920 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
16921 :[FH
]-) ac_tag
=-:-;;
16922 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
16939 -) ac_f
="$ac_tmp/stdin";;
16940 *) # Look for the file first in the build tree, then in the source tree
16941 # (if the path is not absolute). The absolute path cannot be DOS-style,
16942 # because $ac_f cannot contain `:'.
16946 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
16948 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16950 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16951 as_fn_append ac_file_inputs
" '$ac_f'"
16954 # Let's still pretend it is `configure' which instantiates (i.e., don't
16955 # use $as_me), people would be surprised to read:
16956 # /* config.h. Generated by config.status. */
16957 configure_input
='Generated from '`
16958 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16960 if test x
"$ac_file" != x-
; then
16961 configure_input
="$ac_file. $configure_input"
16962 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16963 $as_echo "$as_me: creating $ac_file" >&6;}
16965 # Neutralize special characters interpreted by sed in replacement strings.
16966 case $configure_input in #(
16967 *\
&* |
*\|
* |
*\\* )
16968 ac_sed_conf_input
=`$as_echo "$configure_input" |
16969 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16970 *) ac_sed_conf_input
=$configure_input;;
16974 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
16975 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
16980 ac_dir
=`$as_dirname -- "$ac_file" ||
16981 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16982 X"$ac_file" : 'X\(//\)[^/]' \| \
16983 X"$ac_file" : 'X\(//\)$' \| \
16984 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16985 $as_echo X"$ac_file" |
16986 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16990 /^X\(\/\/\)[^/].*/{
17003 as_dir
="$ac_dir"; as_fn_mkdir_p
17007 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
17009 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17010 # A ".." for each directory in $ac_dir_suffix.
17011 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17012 case $ac_top_builddir_sub in
17013 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
17014 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
17017 ac_abs_top_builddir
=$ac_pwd
17018 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
17019 # for backward compatibility:
17020 ac_top_builddir
=$ac_top_build_prefix
17023 .
) # We are building in place.
17025 ac_top_srcdir
=$ac_top_builddir_sub
17026 ac_abs_top_srcdir
=$ac_pwd ;;
17027 [\\/]* | ?
:[\\/]* ) # Absolute name.
17028 ac_srcdir
=$srcdir$ac_dir_suffix;
17029 ac_top_srcdir
=$srcdir
17030 ac_abs_top_srcdir
=$srcdir ;;
17031 *) # Relative name.
17032 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
17033 ac_top_srcdir
=$ac_top_build_prefix$srcdir
17034 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
17036 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
17046 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
17047 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
17049 ac_MKDIR_P
=$MKDIR_P
17051 [\\/$
]* | ?
:[\\/]* ) ;;
17052 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
17056 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17057 # If the template does not know about datarootdir, expand it.
17058 # FIXME: This hack should be removed a few years after 2.60.
17059 ac_datarootdir_hack
=; ac_datarootdir_seen
=
17070 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17071 *datarootdir
*) ac_datarootdir_seen
=yes;;
17072 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
17073 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17074 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17076 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17077 ac_datarootdir_hack='
17078 s&@datadir@&$datadir&g
17079 s&@docdir@&$docdir&g
17080 s&@infodir@&$infodir&g
17081 s&@localedir@&$localedir&g
17082 s&@mandir@&$mandir&g
17083 s&\\\${datarootdir}&$datarootdir&g' ;;
17087 # Neutralize VPATH when `$srcdir' = `.'.
17088 # Shell code in configure.ac might set extrasub.
17089 # FIXME: do we really want to maintain this feature?
17090 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17091 ac_sed_extra="$ac_vpsub
17094 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17096 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
17097 s|@configure_input@|
$ac_sed_conf_input|
;t t
17098 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
17099 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
17100 s
&@srcdir@
&$ac_srcdir&;t t
17101 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
17102 s
&@top_srcdir@
&$ac_top_srcdir&;t t
17103 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
17104 s
&@builddir@
&$ac_builddir&;t t
17105 s
&@abs_builddir@
&$ac_abs_builddir&;t t
17106 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
17107 s
&@INSTALL@
&$ac_INSTALL&;t t
17108 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
17109 $ac_datarootdir_hack
17111 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
17112 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
17114 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17115 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
17116 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
17117 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
17118 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
17119 which seems to be undefined. Please make sure it is defined" >&5
17120 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
17121 which seems to be undefined. Please make sure it is defined" >&2;}
17123 rm -f "$ac_tmp/stdin"
17125 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
17126 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
17128 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17134 if test x"$ac_file" != x-; then
17136 $as_echo "/* $configure_input */" \
17137 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
17138 } >"$ac_tmp/config.h" \
17139 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17140 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
17141 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17142 $as_echo "$as_me: $ac_file is unchanged" >&6;}
17145 mv "$ac_tmp/config.h" "$ac_file" \
17146 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17149 $as_echo "/* $configure_input */" \
17150 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
17151 || as_fn_error $? "could not create -" "$LINENO" 5
17153 # Compute "$ac_file"'s index
in $config_headers.
17156 for _am_header
in $config_headers :; do
17157 case $_am_header in
17158 $_am_arg |
$_am_arg:* )
17161 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
17164 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
17165 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17166 X"$_am_arg" : 'X\(//\)[^/]' \| \
17167 X"$_am_arg" : 'X\(//\)$' \| \
17168 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
17169 $as_echo X"$_am_arg" |
17170 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17174 /^X\(\/\/\)[^/].*/{
17186 s/.*/./; q'`/stamp-h
$_am_stamp_count
17189 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17190 $as_echo "$as_me: executing $ac_file commands" >&6;}
17195 case $ac_file$ac_mode in
17198 # See if we are running on zsh, and set the options which allow our
17199 # commands through without removal of \ escapes.
17200 if test -n "${ZSH_VERSION+set}" ; then
17201 setopt NO_GLOB_SUBST
17204 cfgfile
="${ofile}T"
17205 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17208 cat <<_LT_EOF >> "$cfgfile"
17211 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17212 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
17213 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17214 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17216 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17217 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
17218 # Written by Gordon Matzigkeit, 1996
17220 # This file is part of GNU Libtool.
17222 # GNU Libtool is free software; you can redistribute it and/or
17223 # modify it under the terms of the GNU General Public License as
17224 # published by the Free Software Foundation; either version 2 of
17225 # the License, or (at your option) any later version.
17227 # As a special exception to the GNU General Public License,
17228 # if you distribute this file as part of a program or library that
17229 # is built using GNU Libtool, you may include this file under the
17230 # same distribution terms that you use for the rest of that program.
17232 # GNU Libtool is distributed in the hope that it will be useful,
17233 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17234 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17235 # GNU General Public License for more details.
17237 # You should have received a copy of the GNU General Public License
17238 # along with GNU Libtool; see the file COPYING. If not, a copy
17239 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
17240 # obtained by writing to the Free Software Foundation, Inc.,
17241 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17244 # The names of the tagged configurations supported by this script.
17247 # ### BEGIN LIBTOOL CONFIG
17249 # Which release of libtool.m4 was used?
17250 macro_version=$macro_version
17251 macro_revision=$macro_revision
17253 # Whether or not to build shared libraries.
17254 build_libtool_libs=$enable_shared
17256 # Whether or not to build static libraries.
17257 build_old_libs=$enable_static
17259 # What type of objects to build.
17262 # Whether or not to optimize for fast installation.
17263 fast_install=$enable_fast_install
17265 # Shell to use when invoking shell scripts.
17268 # An echo program that protects backslashes.
17272 host_alias=$host_alias
17276 # The build system.
17277 build_alias=$build_alias
17281 # A sed program that does not truncate output.
17284 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17285 Xsed="\$SED -e 1s/^X//"
17287 # A grep program that handles long lines.
17293 # A literal string matcher.
17296 # A BSD- or MS-compatible name lister.
17299 # Whether we need soft or hard links.
17302 # What is the maximum length of a command?
17303 max_cmd_len=$max_cmd_len
17305 # Object file suffix (normally "o").
17308 # Executable file suffix (normally "").
17311 # whether the shell understands "unset".
17314 # turn spaces into newlines.
17317 # turn newlines into spaces.
17320 # An object symbol dumper.
17321 OBJDUMP=$lt_OBJDUMP
17323 # Method to check whether dependent libraries are shared objects.
17324 deplibs_check_method=$lt_deplibs_check_method
17326 # Command to use when deplibs_check_method == "file_magic".
17327 file_magic_cmd=$lt_file_magic_cmd
17331 AR_FLAGS=$lt_AR_FLAGS
17333 # A symbol stripping program.
17336 # Commands used to install an old-style archive.
17338 old_postinstall_cmds=$lt_old_postinstall_cmds
17339 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17341 # Whether to use a lock for old archive extraction.
17342 lock_old_archive_extraction=$lock_old_archive_extraction
17347 # LTCC compiler flags.
17348 LTCFLAGS=$lt_CFLAGS
17350 # Take the output of nm and produce a listing of raw symbols and C names.
17351 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17353 # Transform the output of nm in a proper C declaration.
17354 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17356 # Transform the output of nm in a C name address pair.
17357 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17359 # Transform the output of nm in a C name address pair when lib prefix is needed.
17360 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17362 # The name of the directory that contains temporary libtool files.
17365 # Used to examine libraries when file_magic_cmd begins with "file".
17366 MAGIC_CMD=$MAGIC_CMD
17368 # Must we lock files when doing compilation?
17369 need_locks=$lt_need_locks
17371 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17372 DSYMUTIL=$lt_DSYMUTIL
17374 # Tool to change global to local symbols on Mac OS X.
17377 # Tool to manipulate fat objects and archives on Mac OS X.
17380 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
17383 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17384 OTOOL64=$lt_OTOOL64
17386 # Old archive suffix (normally "a").
17389 # Shared library suffix (normally ".so").
17390 shrext_cmds=$lt_shrext_cmds
17392 # The commands to extract the exported symbol list from a shared archive.
17393 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17395 # Variables whose values should be saved in libtool wrapper scripts and
17396 # restored at link time.
17397 variables_saved_for_relink=$lt_variables_saved_for_relink
17399 # Do we need the "lib" prefix for modules?
17400 need_lib_prefix=$need_lib_prefix
17402 # Do we need a version for libraries?
17403 need_version=$need_version
17405 # Library versioning type.
17406 version_type=$version_type
17408 # Shared library runtime path variable.
17409 runpath_var=$runpath_var
17411 # Shared library path variable.
17412 shlibpath_var=$shlibpath_var
17414 # Is shlibpath searched before the hard-coded library search path?
17415 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17417 # Format of library name prefix.
17418 libname_spec=$lt_libname_spec
17420 # List of archive names. First name is the real one, the rest are links.
17421 # The last name is the one that the linker finds with -lNAME
17422 library_names_spec=$lt_library_names_spec
17424 # The coded name of the library, if different from the real name.
17425 soname_spec=$lt_soname_spec
17427 # Permission mode override for installation of shared libraries.
17428 install_override_mode=$lt_install_override_mode
17430 # Command to use after installation of a shared archive.
17431 postinstall_cmds=$lt_postinstall_cmds
17433 # Command to use after uninstallation of a shared archive.
17434 postuninstall_cmds=$lt_postuninstall_cmds
17436 # Commands used to finish a libtool library installation in a directory.
17437 finish_cmds=$lt_finish_cmds
17439 # As "finish_cmds", except a single script fragment to be evaled but
17441 finish_eval=$lt_finish_eval
17443 # Whether we should hardcode library paths into libraries.
17444 hardcode_into_libs=$hardcode_into_libs
17446 # Compile-time system search path for libraries.
17447 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17449 # Run-time system search path for libraries.
17450 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17452 # Whether dlopen is supported.
17453 dlopen_support=$enable_dlopen
17455 # Whether dlopen of programs is supported.
17456 dlopen_self=$enable_dlopen_self
17458 # Whether dlopen of statically linked programs is supported.
17459 dlopen_self_static=$enable_dlopen_self_static
17461 # Commands to strip libraries.
17462 old_striplib=$lt_old_striplib
17463 striplib=$lt_striplib
17466 # The linker used to build libraries.
17469 # How to create reloadable object files.
17470 reload_flag=$lt_reload_flag
17471 reload_cmds=$lt_reload_cmds
17473 # Commands used to build an old-style archive.
17474 old_archive_cmds=$lt_old_archive_cmds
17476 # A language specific compiler.
17479 # Is the compiler the GNU compiler?
17482 # Compiler flag to turn off builtin functions.
17483 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17485 # How to pass a linker flag through the compiler.
17486 wl=$lt_lt_prog_compiler_wl
17488 # Additional compiler flags for building library objects.
17489 pic_flag=$lt_lt_prog_compiler_pic
17491 # Compiler flag to prevent dynamic linking.
17492 link_static_flag=$lt_lt_prog_compiler_static
17494 # Does compiler simultaneously support -c and -o options?
17495 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17497 # Whether or not to add -lc for building shared libraries.
17498 build_libtool_need_lc=$archive_cmds_need_lc
17500 # Whether or not to disallow shared libs when runtime libs are static.
17501 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17503 # Compiler flag to allow reflexive dlopens.
17504 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17506 # Compiler flag to generate shared objects directly from archives.
17507 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17509 # Whether the compiler copes with passing no objects directly.
17510 compiler_needs_object=$lt_compiler_needs_object
17512 # Create an old-style archive from a shared archive.
17513 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17515 # Create a temporary old-style archive to link instead of a shared archive.
17516 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17518 # Commands used to build a shared archive.
17519 archive_cmds=$lt_archive_cmds
17520 archive_expsym_cmds=$lt_archive_expsym_cmds
17522 # Commands used to build a loadable module if different from building
17523 # a shared archive.
17524 module_cmds=$lt_module_cmds
17525 module_expsym_cmds=$lt_module_expsym_cmds
17527 # Whether we are building with GNU ld or not.
17528 with_gnu_ld=$lt_with_gnu_ld
17530 # Flag that allows shared libraries with undefined symbols to be built.
17531 allow_undefined_flag=$lt_allow_undefined_flag
17533 # Flag that enforces no undefined symbols.
17534 no_undefined_flag=$lt_no_undefined_flag
17536 # Flag to hardcode \$libdir into a binary during linking.
17537 # This must work even if \$libdir does not exist
17538 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17540 # If ld is used when linking, flag to hardcode \$libdir into a binary
17541 # during linking. This must work even if \$libdir does not exist.
17542 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
17544 # Whether we need a single "-rpath" flag with a separated argument.
17545 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17547 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17548 # DIR into the resulting binary.
17549 hardcode_direct=$hardcode_direct
17551 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17552 # DIR into the resulting binary and the resulting library dependency is
17553 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17554 # library is relocated.
17555 hardcode_direct_absolute=$hardcode_direct_absolute
17557 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17558 # into the resulting binary.
17559 hardcode_minus_L=$hardcode_minus_L
17561 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17562 # into the resulting binary.
17563 hardcode_shlibpath_var=$hardcode_shlibpath_var
17565 # Set to "yes" if building a shared library automatically hardcodes DIR
17566 # into the library and all subsequent libraries and executables linked
17568 hardcode_automatic=$hardcode_automatic
17570 # Set to yes if linker adds runtime paths of dependent libraries
17571 # to runtime path list.
17572 inherit_rpath=$inherit_rpath
17574 # Whether libtool must link a program against all its dependency libraries.
17575 link_all_deplibs=$link_all_deplibs
17577 # Fix the shell variable \$srcfile for the compiler.
17578 fix_srcfile_path=$lt_fix_srcfile_path
17580 # Set to "yes" if exported symbols are required.
17581 always_export_symbols=$always_export_symbols
17583 # The commands to list exported symbols.
17584 export_symbols_cmds=$lt_export_symbols_cmds
17586 # Symbols that should not be listed in the preloaded symbols.
17587 exclude_expsyms=$lt_exclude_expsyms
17589 # Symbols that must always be exported.
17590 include_expsyms=$lt_include_expsyms
17592 # Commands necessary for linking programs (against libraries) with templates.
17593 prelink_cmds=$lt_prelink_cmds
17595 # Specify filename containing input files.
17596 file_list_spec=$lt_file_list_spec
17598 # How to hardcode a shared library path into an executable.
17599 hardcode_action=$hardcode_action
17601 # ### END LIBTOOL CONFIG
17607 cat <<\_LT_EOF
>> "$cfgfile"
17608 # AIX sometimes has problems with the GCC collect2 program. For some
17609 # reason, if we set the COLLECT_NAMES environment variable, the problems
17610 # vanish in a puff of smoke.
17611 if test "X${COLLECT_NAMES+set}" != Xset
; then
17613 export COLLECT_NAMES
17620 ltmain
="$ac_aux_dir/ltmain.sh"
17623 # We use sed instead of cat because bash on DJGPP gets confused if
17624 # if finds mixed CR/LF and LF-only lines. Since sed operates in
17625 # text mode, it properly converts lines to CR/LF. This bash problem
17626 # is reportedly fixed, but why not run on old versions too?
17627 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
17628 ||
(rm -f "$cfgfile"; exit 1)
17632 cat << \_LT_EOF
>> "$cfgfile"
17634 # func_dirname file append nondir_replacement
17635 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
17636 # otherwise set result to NONDIR_REPLACEMENT.
17640 */*) func_dirname_result
="${1%/*}${2}" ;;
17641 * ) func_dirname_result
="${3}" ;;
17645 # func_basename file
17648 func_basename_result
="${1##*/}"
17651 # func_dirname_and_basename file append nondir_replacement
17652 # perform func_basename and func_dirname in a single function
17654 # dirname: Compute the dirname of FILE. If nonempty,
17655 # add APPEND to the result, otherwise set result
17656 # to NONDIR_REPLACEMENT.
17657 # value returned in "$func_dirname_result"
17658 # basename: Compute filename of FILE.
17659 # value retuned in "$func_basename_result"
17660 # Implementation must be kept synchronized with func_dirname
17661 # and func_basename. For efficiency, we do not delegate to
17662 # those functions but instead duplicate the functionality here.
17663 func_dirname_and_basename
()
17666 */*) func_dirname_result
="${1%/*}${2}" ;;
17667 * ) func_dirname_result
="${3}" ;;
17669 func_basename_result
="${1##*/}"
17672 # func_stripname prefix suffix name
17673 # strip PREFIX and SUFFIX off of NAME.
17674 # PREFIX and SUFFIX must not contain globbing or regex special
17675 # characters, hashes, percent signs, but SUFFIX may contain a leading
17676 # dot (in which case that matches only a dot).
17679 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
17680 # positional parameters, so assign one to ordinary parameter first.
17681 func_stripname_result
=${3}
17682 func_stripname_result
=${func_stripname_result#"${1}"}
17683 func_stripname_result
=${func_stripname_result%"${2}"}
17689 func_opt_split_opt
=${1%%=*}
17690 func_opt_split_arg
=${1#*=}
17697 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
17698 *) func_lo2o_result
=${1} ;;
17702 # func_xform libobj-or-source
17705 func_xform_result
=${1%.*}.lo
17708 # func_arith arithmetic-term...
17711 func_arith_result
=$
(( $
* ))
17715 # STRING may not start with a hyphen.
17718 func_len_result
=${#1}
17723 *) # Bourne compatible functions.
17724 cat << \_LT_EOF
>> "$cfgfile"
17726 # func_dirname file append nondir_replacement
17727 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
17728 # otherwise set result to NONDIR_REPLACEMENT.
17731 # Extract subdirectory from the argument.
17732 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
17733 if test "X$func_dirname_result" = "X${1}"; then
17734 func_dirname_result
="${3}"
17736 func_dirname_result
="$func_dirname_result${2}"
17740 # func_basename file
17743 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
17747 # func_stripname prefix suffix name
17748 # strip PREFIX and SUFFIX off of NAME.
17749 # PREFIX and SUFFIX must not contain globbing or regex special
17750 # characters, hashes, percent signs, but SUFFIX may contain a leading
17751 # dot (in which case that matches only a dot).
17752 # func_strip_suffix prefix name
17756 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
17757 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
17762 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
17763 my_sed_long_arg
='1s/^-[^=]*=//'
17768 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
17769 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
17775 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
17778 # func_xform libobj-or-source
17781 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
17784 # func_arith arithmetic-term...
17787 func_arith_result
=`expr "$@"`
17791 # STRING may not start with a hyphen.
17794 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
17800 case $lt_shell_append in
17802 cat << \_LT_EOF
>> "$cfgfile"
17804 # func_append var value
17805 # Append VALUE to the end of shell variable VAR.
17813 cat << \_LT_EOF
>> "$cfgfile"
17815 # func_append var value
17816 # Append VALUE to the end of shell variable VAR.
17827 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
17828 ||
(rm -f "$cfgfile"; exit 1)
17830 mv -f "$cfgfile" "$ofile" ||
17831 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17835 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
17836 # Older Autoconf quotes --file arguments for eval, but not when files
17837 # are listed without --file. Let's play safe and only enable the eval
17838 # if we detect the quoting.
17839 case $CONFIG_FILES in
17840 *\'*) eval set x
"$CONFIG_FILES" ;;
17841 *) set x
$CONFIG_FILES ;;
17846 # Strip MF so we end up with the name of the file.
17847 mf
=`echo "$mf" | sed -e 's/:.*$//'`
17848 # Check whether this is an Automake generated Makefile or not.
17849 # We used to match only the files named 'Makefile.in', but
17850 # some people rename them; so instead we look at the file content.
17851 # Grep'ing the first line is not enough: some people post-process
17852 # each Makefile.in and add a new line on top of each file to say so.
17853 # Grep'ing the whole file is not good either: AIX grep has a line
17854 # limit of 2048, but all sed's we know have understand at least 4000.
17855 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
17856 dirpart
=`$as_dirname -- "$mf" ||
17857 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17858 X"$mf" : 'X\(//\)[^/]' \| \
17859 X"$mf" : 'X\(//\)$' \| \
17860 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
17862 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17866 /^X\(\/\/\)[^/].*/{
17882 # Extract the definition of DEPDIR, am__include, and am__quote
17883 # from the Makefile without running 'make'.
17884 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
17885 test -z "$DEPDIR" && continue
17886 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
17887 test -z "$am__include" && continue
17888 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
17889 # Find all dependency output files, they are included files with
17890 # $(DEPDIR) in their names. We invoke sed twice because it is the
17891 # simplest approach to changing $(DEPDIR) to its actual value in the
17893 for file in `sed -n "
17894 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17895 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
17896 # Make sure the directory exists.
17897 test -f "$dirpart/$file" && continue
17898 fdir
=`$as_dirname -- "$file" ||
17899 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17900 X"$file" : 'X\(//\)[^/]' \| \
17901 X"$file" : 'X\(//\)$' \| \
17902 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
17903 $as_echo X"$file" |
17904 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17908 /^X\(\/\/\)[^/].*/{
17921 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
17922 # echo "creating $dirpart/$file"
17923 echo '# dummy' > "$dirpart/$file"
17928 "aarch64/Makefile":C
) sed -n \
17929 -e '/^## COMMON_PRE_/,/^## End COMMON_PRE_/ {
17930 /^srcdir = / s:$:/aarch64:
17933 <Make-common.sim
>aarch64
/Makesim1.tmp
17934 sed -n -e '/^## COMMON_POST_/,/^## End COMMON_POST_/ p' <Make-common.sim
>aarch64
/Makesim2.tmp
17935 sed -e '/^## COMMON_PRE_/ r aarch64/Makesim1.tmp' \
17936 -e '/^## COMMON_POST_/ r aarch64/Makesim2.tmp' \
17937 <aarch64
/Makefile.sim
>aarch64
/Makefile
17938 rm -f aarch64
/Makesim1.tmp aarch64
/Makesim2.tmp
17940 "depdir-aarch64":C
) $SHELL $ac_aux_dir/mkinstalldirs aarch64
/$DEPDIR ;;
17941 "arm/Makefile":C
) sed -n \
17942 -e '/^## COMMON_PRE_/,/^## End COMMON_PRE_/ {
17943 /^srcdir = / s:$:/arm:
17946 <Make-common.sim
>arm
/Makesim1.tmp
17947 sed -n -e '/^## COMMON_POST_/,/^## End COMMON_POST_/ p' <Make-common.sim
>arm
/Makesim2.tmp
17948 sed -e '/^## COMMON_PRE_/ r arm/Makesim1.tmp' \
17949 -e '/^## COMMON_POST_/ r arm/Makesim2.tmp' \
17950 <arm
/Makefile.sim
>arm
/Makefile
17951 rm -f arm
/Makesim1.tmp
arm
/Makesim2.tmp
17953 "depdir-arm":C
) $SHELL $ac_aux_dir/mkinstalldirs
arm
/$DEPDIR ;;
17954 "avr/Makefile":C
) sed -n \
17955 -e '/^## COMMON_PRE_/,/^## End COMMON_PRE_/ {
17956 /^srcdir = / s:$:/avr:
17959 <Make-common.sim
>avr
/Makesim1.tmp
17960 sed -n -e '/^## COMMON_POST_/,/^## End COMMON_POST_/ p' <Make-common.sim
>avr
/Makesim2.tmp
17961 sed -e '/^## COMMON_PRE_/ r avr/Makesim1.tmp' \
17962 -e '/^## COMMON_POST_/ r avr/Makesim2.tmp' \
17963 <avr
/Makefile.sim
>avr
/Makefile
17964 rm -f avr
/Makesim1.tmp avr
/Makesim2.tmp
17966 "depdir-avr":C
) $SHELL $ac_aux_dir/mkinstalldirs avr
/$DEPDIR ;;
17967 "bfin/Makefile":C
) sed -n \
17968 -e '/^## COMMON_PRE_/,/^## End COMMON_PRE_/ {
17969 /^srcdir = / s:$:/bfin:
17972 <Make-common.sim
>bfin
/Makesim1.tmp
17973 sed -n -e '/^## COMMON_POST_/,/^## End COMMON_POST_/ p' <Make-common.sim
>bfin
/Makesim2.tmp
17974 sed -e '/^## COMMON_PRE_/ r bfin/Makesim1.tmp' \
17975 -e '/^## COMMON_POST_/ r bfin/Makesim2.tmp' \
17976 <bfin
/Makefile.sim
>bfin
/Makefile
17977 rm -f bfin
/Makesim1.tmp bfin
/Makesim2.tmp
17979 "depdir-bfin":C
) $SHELL $ac_aux_dir/mkinstalldirs bfin
/$DEPDIR ;;
17980 "depdir-bpf":C
) $SHELL $ac_aux_dir/mkinstalldirs bpf
/$DEPDIR ;;
17981 "cr16/Makefile":C
) sed -n \
17982 -e '/^## COMMON_PRE_/,/^## End COMMON_PRE_/ {
17983 /^srcdir = / s:$:/cr16:
17986 <Make-common.sim
>cr16
/Makesim1.tmp
17987 sed -n -e '/^## COMMON_POST_/,/^## End COMMON_POST_/ p' <Make-common.sim
>cr16
/Makesim2.tmp
17988 sed -e '/^## COMMON_PRE_/ r cr16/Makesim1.tmp' \
17989 -e '/^## COMMON_POST_/ r cr16/Makesim2.tmp' \
17990 <cr16
/Makefile.sim
>cr16
/Makefile
17991 rm -f cr16
/Makesim1.tmp cr16
/Makesim2.tmp
17993 "depdir-cr16":C
) $SHELL $ac_aux_dir/mkinstalldirs cr16
/$DEPDIR ;;
17994 "cris/Makefile":C
) sed -n \
17995 -e '/^## COMMON_PRE_/,/^## End COMMON_PRE_/ {
17996 /^srcdir = / s:$:/cris:
17999 <Make-common.sim
>cris
/Makesim1.tmp
18000 sed -n -e '/^## COMMON_POST_/,/^## End COMMON_POST_/ p' <Make-common.sim
>cris
/Makesim2.tmp
18001 sed -e '/^## COMMON_PRE_/ r cris/Makesim1.tmp' \
18002 -e '/^## COMMON_POST_/ r cris/Makesim2.tmp' \
18003 <cris
/Makefile.sim
>cris
/Makefile
18004 rm -f cris
/Makesim1.tmp cris
/Makesim2.tmp
18006 "depdir-cris":C
) $SHELL $ac_aux_dir/mkinstalldirs cris
/$DEPDIR ;;
18007 "d10v/Makefile":C
) sed -n \
18008 -e '/^## COMMON_PRE_/,/^## End COMMON_PRE_/ {
18009 /^srcdir = / s:$:/d10v:
18012 <Make-common.sim
>d10v
/Makesim1.tmp
18013 sed -n -e '/^## COMMON_POST_/,/^## End COMMON_POST_/ p' <Make-common.sim
>d10v
/Makesim2.tmp
18014 sed -e '/^## COMMON_PRE_/ r d10v/Makesim1.tmp' \
18015 -e '/^## COMMON_POST_/ r d10v/Makesim2.tmp' \
18016 <d10v
/Makefile.sim
>d10v
/Makefile
18017 rm -f d10v
/Makesim1.tmp d10v
/Makesim2.tmp
18019 "depdir-d10v":C
) $SHELL $ac_aux_dir/mkinstalldirs d10v
/$DEPDIR ;;
18020 "frv/Makefile":C
) sed -n \
18021 -e '/^## COMMON_PRE_/,/^## End COMMON_PRE_/ {
18022 /^srcdir = / s:$:/frv:
18025 <Make-common.sim
>frv
/Makesim1.tmp
18026 sed -n -e '/^## COMMON_POST_/,/^## End COMMON_POST_/ p' <Make-common.sim
>frv
/Makesim2.tmp
18027 sed -e '/^## COMMON_PRE_/ r frv/Makesim1.tmp' \
18028 -e '/^## COMMON_POST_/ r frv/Makesim2.tmp' \
18029 <frv
/Makefile.sim
>frv
/Makefile
18030 rm -f frv
/Makesim1.tmp frv
/Makesim2.tmp
18032 "depdir-frv":C
) $SHELL $ac_aux_dir/mkinstalldirs frv
/$DEPDIR ;;
18033 "ft32/Makefile":C
) sed -n \
18034 -e '/^## COMMON_PRE_/,/^## End COMMON_PRE_/ {
18035 /^srcdir = / s:$:/ft32:
18038 <Make-common.sim
>ft32
/Makesim1.tmp
18039 sed -n -e '/^## COMMON_POST_/,/^## End COMMON_POST_/ p' <Make-common.sim
>ft32
/Makesim2.tmp
18040 sed -e '/^## COMMON_PRE_/ r ft32/Makesim1.tmp' \
18041 -e '/^## COMMON_POST_/ r ft32/Makesim2.tmp' \
18042 <ft32
/Makefile.sim
>ft32
/Makefile
18043 rm -f ft32
/Makesim1.tmp ft32
/Makesim2.tmp
18045 "depdir-ft32":C
) $SHELL $ac_aux_dir/mkinstalldirs ft32
/$DEPDIR ;;
18046 "h8300/Makefile":C
) sed -n \
18047 -e '/^## COMMON_PRE_/,/^## End COMMON_PRE_/ {
18048 /^srcdir = / s:$:/h8300:
18051 <Make-common.sim
>h8300
/Makesim1.tmp
18052 sed -n -e '/^## COMMON_POST_/,/^## End COMMON_POST_/ p' <Make-common.sim
>h8300
/Makesim2.tmp
18053 sed -e '/^## COMMON_PRE_/ r h8300/Makesim1.tmp' \
18054 -e '/^## COMMON_POST_/ r h8300/Makesim2.tmp' \
18055 <h8300
/Makefile.sim
>h8300
/Makefile
18056 rm -f h8300
/Makesim1.tmp h8300
/Makesim2.tmp
18058 "depdir-h8300":C
) $SHELL $ac_aux_dir/mkinstalldirs h8300
/$DEPDIR ;;
18059 "iq2000/Makefile":C
) sed -n \
18060 -e '/^## COMMON_PRE_/,/^## End COMMON_PRE_/ {
18061 /^srcdir = / s:$:/iq2000:
18064 <Make-common.sim
>iq2000
/Makesim1.tmp
18065 sed -n -e '/^## COMMON_POST_/,/^## End COMMON_POST_/ p' <Make-common.sim
>iq2000
/Makesim2.tmp
18066 sed -e '/^## COMMON_PRE_/ r iq2000/Makesim1.tmp' \
18067 -e '/^## COMMON_POST_/ r iq2000/Makesim2.tmp' \
18068 <iq2000
/Makefile.sim
>iq2000
/Makefile
18069 rm -f iq2000
/Makesim1.tmp iq2000
/Makesim2.tmp
18071 "depdir-iq2000":C
) $SHELL $ac_aux_dir/mkinstalldirs iq2000
/$DEPDIR ;;
18072 "lm32/Makefile":C
) sed -n \
18073 -e '/^## COMMON_PRE_/,/^## End COMMON_PRE_/ {
18074 /^srcdir = / s:$:/lm32:
18077 <Make-common.sim
>lm32
/Makesim1.tmp
18078 sed -n -e '/^## COMMON_POST_/,/^## End COMMON_POST_/ p' <Make-common.sim
>lm32
/Makesim2.tmp
18079 sed -e '/^## COMMON_PRE_/ r lm32/Makesim1.tmp' \
18080 -e '/^## COMMON_POST_/ r lm32/Makesim2.tmp' \
18081 <lm32
/Makefile.sim
>lm32
/Makefile
18082 rm -f lm32
/Makesim1.tmp lm32
/Makesim2.tmp
18084 "depdir-lm32":C
) $SHELL $ac_aux_dir/mkinstalldirs lm32
/$DEPDIR ;;
18085 "m32c/Makefile":C
) sed -n \
18086 -e '/^## COMMON_PRE_/,/^## End COMMON_PRE_/ {
18087 /^srcdir = / s:$:/m32c:
18090 <Make-common.sim
>m32c
/Makesim1.tmp
18091 sed -n -e '/^## COMMON_POST_/,/^## End COMMON_POST_/ p' <Make-common.sim
>m32c
/Makesim2.tmp
18092 sed -e '/^## COMMON_PRE_/ r m32c/Makesim1.tmp' \
18093 -e '/^## COMMON_POST_/ r m32c/Makesim2.tmp' \
18094 <m32c
/Makefile.sim
>m32c
/Makefile
18095 rm -f m32c
/Makesim1.tmp m32c
/Makesim2.tmp
18097 "depdir-m32c":C
) $SHELL $ac_aux_dir/mkinstalldirs m32c
/$DEPDIR ;;
18098 "m32r/Makefile":C
) sed -n \
18099 -e '/^## COMMON_PRE_/,/^## End COMMON_PRE_/ {
18100 /^srcdir = / s:$:/m32r:
18103 <Make-common.sim
>m32r
/Makesim1.tmp
18104 sed -n -e '/^## COMMON_POST_/,/^## End COMMON_POST_/ p' <Make-common.sim
>m32r
/Makesim2.tmp
18105 sed -e '/^## COMMON_PRE_/ r m32r/Makesim1.tmp' \
18106 -e '/^## COMMON_POST_/ r m32r/Makesim2.tmp' \
18107 <m32r
/Makefile.sim
>m32r
/Makefile
18108 rm -f m32r
/Makesim1.tmp m32r
/Makesim2.tmp
18110 "depdir-m32r":C
) $SHELL $ac_aux_dir/mkinstalldirs m32r
/$DEPDIR ;;
18111 "m68hc11/Makefile":C
) sed -n \
18112 -e '/^## COMMON_PRE_/,/^## End COMMON_PRE_/ {
18113 /^srcdir = / s:$:/m68hc11:
18116 <Make-common.sim
>m68hc11
/Makesim1.tmp
18117 sed -n -e '/^## COMMON_POST_/,/^## End COMMON_POST_/ p' <Make-common.sim
>m68hc11
/Makesim2.tmp
18118 sed -e '/^## COMMON_PRE_/ r m68hc11/Makesim1.tmp' \
18119 -e '/^## COMMON_POST_/ r m68hc11/Makesim2.tmp' \
18120 <m68hc11
/Makefile.sim
>m68hc11
/Makefile
18121 rm -f m68hc11
/Makesim1.tmp m68hc11
/Makesim2.tmp
18123 "depdir-m68hc11":C
) $SHELL $ac_aux_dir/mkinstalldirs m68hc11
/$DEPDIR ;;
18124 "mcore/Makefile":C
) sed -n \
18125 -e '/^## COMMON_PRE_/,/^## End COMMON_PRE_/ {
18126 /^srcdir = / s:$:/mcore:
18129 <Make-common.sim
>mcore
/Makesim1.tmp
18130 sed -n -e '/^## COMMON_POST_/,/^## End COMMON_POST_/ p' <Make-common.sim
>mcore
/Makesim2.tmp
18131 sed -e '/^## COMMON_PRE_/ r mcore/Makesim1.tmp' \
18132 -e '/^## COMMON_POST_/ r mcore/Makesim2.tmp' \
18133 <mcore
/Makefile.sim
>mcore
/Makefile
18134 rm -f mcore
/Makesim1.tmp mcore
/Makesim2.tmp
18136 "depdir-mcore":C
) $SHELL $ac_aux_dir/mkinstalldirs mcore
/$DEPDIR ;;
18137 "microblaze/Makefile":C
) sed -n \
18138 -e '/^## COMMON_PRE_/,/^## End COMMON_PRE_/ {
18139 /^srcdir = / s:$:/microblaze:
18142 <Make-common.sim
>microblaze
/Makesim1.tmp
18143 sed -n -e '/^## COMMON_POST_/,/^## End COMMON_POST_/ p' <Make-common.sim
>microblaze
/Makesim2.tmp
18144 sed -e '/^## COMMON_PRE_/ r microblaze/Makesim1.tmp' \
18145 -e '/^## COMMON_POST_/ r microblaze/Makesim2.tmp' \
18146 <microblaze
/Makefile.sim
>microblaze
/Makefile
18147 rm -f microblaze
/Makesim1.tmp microblaze
/Makesim2.tmp
18149 "depdir-microblaze":C
) $SHELL $ac_aux_dir/mkinstalldirs microblaze
/$DEPDIR ;;
18150 "depdir-mips":C
) $SHELL $ac_aux_dir/mkinstalldirs mips
/$DEPDIR ;;
18151 "depdir-mn10300":C
) $SHELL $ac_aux_dir/mkinstalldirs mn10300
/$DEPDIR ;;
18152 "moxie/Makefile":C
) sed -n \
18153 -e '/^## COMMON_PRE_/,/^## End COMMON_PRE_/ {
18154 /^srcdir = / s:$:/moxie:
18157 <Make-common.sim
>moxie
/Makesim1.tmp
18158 sed -n -e '/^## COMMON_POST_/,/^## End COMMON_POST_/ p' <Make-common.sim
>moxie
/Makesim2.tmp
18159 sed -e '/^## COMMON_PRE_/ r moxie/Makesim1.tmp' \
18160 -e '/^## COMMON_POST_/ r moxie/Makesim2.tmp' \
18161 <moxie
/Makefile.sim
>moxie
/Makefile
18162 rm -f moxie
/Makesim1.tmp moxie
/Makesim2.tmp
18164 "depdir-moxie":C
) $SHELL $ac_aux_dir/mkinstalldirs moxie
/$DEPDIR ;;
18165 "msp430/Makefile":C
) sed -n \
18166 -e '/^## COMMON_PRE_/,/^## End COMMON_PRE_/ {
18167 /^srcdir = / s:$:/msp430:
18170 <Make-common.sim
>msp430
/Makesim1.tmp
18171 sed -n -e '/^## COMMON_POST_/,/^## End COMMON_POST_/ p' <Make-common.sim
>msp430
/Makesim2.tmp
18172 sed -e '/^## COMMON_PRE_/ r msp430/Makesim1.tmp' \
18173 -e '/^## COMMON_POST_/ r msp430/Makesim2.tmp' \
18174 <msp430
/Makefile.sim
>msp430
/Makefile
18175 rm -f msp430
/Makesim1.tmp msp430
/Makesim2.tmp
18177 "depdir-msp430":C
) $SHELL $ac_aux_dir/mkinstalldirs msp430
/$DEPDIR ;;
18178 "depdir-or1k":C
) $SHELL $ac_aux_dir/mkinstalldirs or1k
/$DEPDIR ;;
18179 "depdir-ppc":C
) $SHELL $ac_aux_dir/mkinstalldirs ppc
/$DEPDIR ;;
18180 "pru/Makefile":C
) sed -n \
18181 -e '/^## COMMON_PRE_/,/^## End COMMON_PRE_/ {
18182 /^srcdir = / s:$:/pru:
18185 <Make-common.sim
>pru
/Makesim1.tmp
18186 sed -n -e '/^## COMMON_POST_/,/^## End COMMON_POST_/ p' <Make-common.sim
>pru
/Makesim2.tmp
18187 sed -e '/^## COMMON_PRE_/ r pru/Makesim1.tmp' \
18188 -e '/^## COMMON_POST_/ r pru/Makesim2.tmp' \
18189 <pru
/Makefile.sim
>pru
/Makefile
18190 rm -f pru
/Makesim1.tmp
pru
/Makesim2.tmp
18192 "depdir-pru":C
) $SHELL $ac_aux_dir/mkinstalldirs
pru
/$DEPDIR ;;
18193 "depdir-riscv":C
) $SHELL $ac_aux_dir/mkinstalldirs riscv
/$DEPDIR ;;
18194 "rl78/Makefile":C
) sed -n \
18195 -e '/^## COMMON_PRE_/,/^## End COMMON_PRE_/ {
18196 /^srcdir = / s:$:/rl78:
18199 <Make-common.sim
>rl78
/Makesim1.tmp
18200 sed -n -e '/^## COMMON_POST_/,/^## End COMMON_POST_/ p' <Make-common.sim
>rl78
/Makesim2.tmp
18201 sed -e '/^## COMMON_PRE_/ r rl78/Makesim1.tmp' \
18202 -e '/^## COMMON_POST_/ r rl78/Makesim2.tmp' \
18203 <rl78
/Makefile.sim
>rl78
/Makefile
18204 rm -f rl78
/Makesim1.tmp rl78
/Makesim2.tmp
18206 "depdir-rl78":C
) $SHELL $ac_aux_dir/mkinstalldirs rl78
/$DEPDIR ;;
18207 "rx/Makefile":C
) sed -n \
18208 -e '/^## COMMON_PRE_/,/^## End COMMON_PRE_/ {
18209 /^srcdir = / s:$:/rx:
18212 <Make-common.sim
>rx
/Makesim1.tmp
18213 sed -n -e '/^## COMMON_POST_/,/^## End COMMON_POST_/ p' <Make-common.sim
>rx
/Makesim2.tmp
18214 sed -e '/^## COMMON_PRE_/ r rx/Makesim1.tmp' \
18215 -e '/^## COMMON_POST_/ r rx/Makesim2.tmp' \
18216 <rx
/Makefile.sim
>rx
/Makefile
18217 rm -f rx
/Makesim1.tmp rx
/Makesim2.tmp
18219 "depdir-rx":C
) $SHELL $ac_aux_dir/mkinstalldirs rx
/$DEPDIR ;;
18220 "sh/Makefile":C
) sed -n \
18221 -e '/^## COMMON_PRE_/,/^## End COMMON_PRE_/ {
18222 /^srcdir = / s:$:/sh:
18225 <Make-common.sim
>sh
/Makesim1.tmp
18226 sed -n -e '/^## COMMON_POST_/,/^## End COMMON_POST_/ p' <Make-common.sim
>sh
/Makesim2.tmp
18227 sed -e '/^## COMMON_PRE_/ r sh/Makesim1.tmp' \
18228 -e '/^## COMMON_POST_/ r sh/Makesim2.tmp' \
18229 <sh
/Makefile.sim
>sh
/Makefile
18230 rm -f sh
/Makesim1.tmp sh
/Makesim2.tmp
18232 "depdir-sh":C
) $SHELL $ac_aux_dir/mkinstalldirs sh
/$DEPDIR ;;
18233 "erc32/Makefile":C
) sed -n \
18234 -e '/^## COMMON_PRE_/,/^## End COMMON_PRE_/ {
18235 /^srcdir = / s:$:/erc32:
18238 <Make-common.sim
>erc32
/Makesim1.tmp
18239 sed -n -e '/^## COMMON_POST_/,/^## End COMMON_POST_/ p' <Make-common.sim
>erc32
/Makesim2.tmp
18240 sed -e '/^## COMMON_PRE_/ r erc32/Makesim1.tmp' \
18241 -e '/^## COMMON_POST_/ r erc32/Makesim2.tmp' \
18242 <erc32
/Makefile.sim
>erc32
/Makefile
18243 rm -f erc32
/Makesim1.tmp erc32
/Makesim2.tmp
18245 "depdir-erc32":C
) $SHELL $ac_aux_dir/mkinstalldirs erc32
/$DEPDIR ;;
18246 "depdir-v850":C
) $SHELL $ac_aux_dir/mkinstalldirs v850
/$DEPDIR ;;
18247 "example-synacor/Makefile":C
) sed -n \
18248 -e '/^## COMMON_PRE_/,/^## End COMMON_PRE_/ {
18249 /^srcdir = / s:$:/example-synacor:
18252 <Make-common.sim
>example-synacor
/Makesim1.tmp
18253 sed -n -e '/^## COMMON_POST_/,/^## End COMMON_POST_/ p' <Make-common.sim
>example-synacor
/Makesim2.tmp
18254 sed -e '/^## COMMON_PRE_/ r example-synacor/Makesim1.tmp' \
18255 -e '/^## COMMON_POST_/ r example-synacor/Makesim2.tmp' \
18256 <example-synacor
/Makefile.sim
>example-synacor
/Makefile
18257 rm -f example-synacor
/Makesim1.tmp example-synacor
/Makesim2.tmp
18259 "depdir-example-synacor":C
) $SHELL $ac_aux_dir/mkinstalldirs example-synacor
/$DEPDIR ;;
18267 ac_clean_files
=$ac_clean_files_save
18269 test $ac_write_fail = 0 ||
18270 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
18273 # configure is writing to config.log, and then calls config.status.
18274 # config.status does its own redirection, appending to config.log.
18275 # Unfortunately, on DOS this fails, as config.log is still kept open
18276 # by configure, so config.status won't be able to write to it; its
18277 # output is simply discarded. So we exec the FD to /dev/null,
18278 # effectively closing config.log, so it can be properly (re)opened and
18279 # appended to by config.status. When coming back to configure, we
18280 # need to make the FD available again.
18281 if test "$no_create" != yes; then
18283 ac_config_status_args
=
18284 test "$silent" = yes &&
18285 ac_config_status_args
="$ac_config_status_args --quiet"
18287 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
18289 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18290 # would make configure fail if this is the last instruction.
18291 $ac_cs_success || as_fn_exit
1
18295 # CONFIG_SUBDIRS section.
18297 if test "$no_recursion" != yes; then
18299 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
18300 # so they do not pile up.
18301 ac_sub_configure_args
=
18303 eval "set x $ac_configure_args"
18307 if test -n "$ac_prev"; then
18312 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
18313 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
18314 ac_prev
=cache_file
;;
18315 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
18316 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
18319 --config-cache |
-C)
18321 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
18323 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
18325 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
18327 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
18329 --disable-option-checking)
18333 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
18335 as_fn_append ac_sub_configure_args
" '$ac_arg'" ;;
18339 # Always prepend --prefix to ensure using the same prefix
18340 # in subdir configurations.
18341 ac_arg
="--prefix=$prefix"
18343 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
18345 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
18348 if test "$silent" = yes; then
18349 ac_sub_configure_args
="--silent $ac_sub_configure_args"
18352 # Always prepend --disable-option-checking to silence warnings, since
18353 # different subdirs can have different --enable and --with options.
18354 ac_sub_configure_args
="--disable-option-checking $ac_sub_configure_args"
18357 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
18359 # Do not complain, so a configure script can configure whichever
18360 # parts of a large source tree are present.
18361 test -d "$srcdir/$ac_dir" ||
continue
18363 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
18364 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
18365 $as_echo "$ac_msg" >&6
18366 as_dir
="$ac_dir"; as_fn_mkdir_p
18370 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
18372 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18373 # A ".." for each directory in $ac_dir_suffix.
18374 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18375 case $ac_top_builddir_sub in
18376 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
18377 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
18380 ac_abs_top_builddir
=$ac_pwd
18381 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
18382 # for backward compatibility:
18383 ac_top_builddir
=$ac_top_build_prefix
18386 .
) # We are building in place.
18388 ac_top_srcdir
=$ac_top_builddir_sub
18389 ac_abs_top_srcdir
=$ac_pwd ;;
18390 [\\/]* | ?
:[\\/]* ) # Absolute name.
18391 ac_srcdir
=$srcdir$ac_dir_suffix;
18392 ac_top_srcdir
=$srcdir
18393 ac_abs_top_srcdir
=$srcdir ;;
18394 *) # Relative name.
18395 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
18396 ac_top_srcdir
=$ac_top_build_prefix$srcdir
18397 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
18399 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
18404 # Check for guested configure; otherwise get Cygnus style configure.
18405 if test -f "$ac_srcdir/configure.gnu"; then
18406 ac_sub_configure
=$ac_srcdir/configure.gnu
18407 elif test -f "$ac_srcdir/configure"; then
18408 ac_sub_configure
=$ac_srcdir/configure
18409 elif test -f "$ac_srcdir/configure.in"; then
18410 # This should be Cygnus configure.
18411 ac_sub_configure
=$ac_aux_dir/configure
18413 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
18414 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
18418 # The recursion is here.
18419 if test -n "$ac_sub_configure"; then
18420 # Make the cache file name correct relative to the subdirectory.
18421 case $cache_file in
18422 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
18423 *) # Relative name.
18424 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
18427 { $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
18428 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
18429 # The eval makes quoting arguments work.
18430 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
18431 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
18432 as_fn_error $?
"$ac_sub_configure failed for $ac_dir" "$LINENO" 5
18438 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
18439 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18440 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}