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
654 SIM_ENABLE_IGEN_FALSE
657 SIM_COMMON_BUILD_FALSE
658 SIM_COMMON_BUILD_TRUE
682 INSTALL_STRIP_PROGRAM
694 MAINTAINER_MODE_FALSE
794 program_transform_name
809 enable_option_checking
820 enable_maintainer_mode
821 enable_dependency_tracking
831 enable_sim_environment
838 enable_build_warnings
839 enable_sim_build_warnings
841 ac_precious_vars
='build_alias
866 # Initialize some variables set by options.
868 ac_init_version
=false
869 ac_unrecognized_opts
=
871 # The variables have the same names as the options, with
872 # dashes changed to underlines.
880 program_transform_name
=s
,x
,x
,
888 # Installation directory options.
889 # These are left unexpanded so users can "make install exec_prefix=/foo"
890 # and all the variables that are supposed to be based on exec_prefix
891 # by default will actually change.
892 # Use braces instead of parens because sh, perl, etc. also accept them.
893 # (The list follows the same order as the GNU Coding Standards.)
894 bindir
='${exec_prefix}/bin'
895 sbindir
='${exec_prefix}/sbin'
896 libexecdir
='${exec_prefix}/libexec'
897 datarootdir
='${prefix}/share'
898 datadir
='${datarootdir}'
899 sysconfdir
='${prefix}/etc'
900 sharedstatedir
='${prefix}/com'
901 localstatedir
='${prefix}/var'
902 includedir
='${prefix}/include'
903 oldincludedir
='/usr/include'
904 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
905 infodir
='${datarootdir}/info'
910 libdir
='${exec_prefix}/lib'
911 localedir
='${datarootdir}/locale'
912 mandir
='${datarootdir}/man'
918 # If the previous option needs an argument, assign it.
919 if test -n "$ac_prev"; then
920 eval $ac_prev=\
$ac_option
926 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
931 # Accept the important Cygnus configure options, so we can diagnose typos.
933 case $ac_dashdash$ac_option in
937 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
939 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
942 -build |
--build |
--buil |
--bui |
--bu)
943 ac_prev
=build_alias
;;
944 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
945 build_alias
=$ac_optarg ;;
947 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
948 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
949 ac_prev
=cache_file
;;
950 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
951 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
952 cache_file
=$ac_optarg ;;
955 cache_file
=config.cache
;;
957 -datadir |
--datadir |
--datadi |
--datad)
959 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
960 datadir
=$ac_optarg ;;
962 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
963 |
--dataroo |
--dataro |
--datar)
964 ac_prev
=datarootdir
;;
965 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
966 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
967 datarootdir
=$ac_optarg ;;
969 -disable-* |
--disable-*)
970 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
971 # Reject names that are not valid shell variable names.
972 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
973 as_fn_error $?
"invalid feature name: $ac_useropt"
974 ac_useropt_orig
=$ac_useropt
975 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
976 case $ac_user_opts in
980 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
981 ac_unrecognized_sep
=', ';;
983 eval enable_
$ac_useropt=no
;;
985 -docdir |
--docdir |
--docdi |
--doc |
--do)
987 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
990 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
992 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
995 -enable-* |
--enable-*)
996 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
997 # Reject names that are not valid shell variable names.
998 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
999 as_fn_error $?
"invalid feature name: $ac_useropt"
1000 ac_useropt_orig
=$ac_useropt
1001 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1002 case $ac_user_opts in
1004 "enable_
$ac_useropt"
1006 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1007 ac_unrecognized_sep
=', ';;
1009 eval enable_
$ac_useropt=\
$ac_optarg ;;
1011 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1012 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1013 |
--exec |
--exe |
--ex)
1014 ac_prev
=exec_prefix
;;
1015 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1016 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1017 |
--exec=* |
--exe=* |
--ex=*)
1018 exec_prefix
=$ac_optarg ;;
1020 -gas |
--gas |
--ga |
--g)
1021 # Obsolete; use --with-gas.
1024 -help |
--help |
--hel |
--he |
-h)
1025 ac_init_help
=long
;;
1026 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1027 ac_init_help
=recursive
;;
1028 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1029 ac_init_help
=short
;;
1031 -host |
--host |
--hos |
--ho)
1032 ac_prev
=host_alias
;;
1033 -host=* |
--host=* |
--hos=* |
--ho=*)
1034 host_alias
=$ac_optarg ;;
1036 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1038 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1040 htmldir
=$ac_optarg ;;
1042 -includedir |
--includedir |
--includedi |
--included |
--include \
1043 |
--includ |
--inclu |
--incl |
--inc)
1044 ac_prev
=includedir
;;
1045 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1046 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1047 includedir
=$ac_optarg ;;
1049 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1051 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1052 infodir
=$ac_optarg ;;
1054 -libdir |
--libdir |
--libdi |
--libd)
1056 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1057 libdir
=$ac_optarg ;;
1059 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1060 |
--libexe |
--libex |
--libe)
1061 ac_prev
=libexecdir
;;
1062 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1063 |
--libexe=* |
--libex=* |
--libe=*)
1064 libexecdir
=$ac_optarg ;;
1066 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1067 ac_prev
=localedir
;;
1068 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1069 localedir
=$ac_optarg ;;
1071 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1072 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1073 ac_prev
=localstatedir
;;
1074 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1075 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1076 localstatedir
=$ac_optarg ;;
1078 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1080 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1081 mandir
=$ac_optarg ;;
1083 -nfp |
--nfp |
--nf)
1084 # Obsolete; use --without-fp.
1087 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1088 |
--no-cr |
--no-c |
-n)
1091 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1092 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1095 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1096 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1097 |
--oldin |
--oldi |
--old |
--ol |
--o)
1098 ac_prev
=oldincludedir
;;
1099 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1100 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1101 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1102 oldincludedir
=$ac_optarg ;;
1104 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1106 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1107 prefix
=$ac_optarg ;;
1109 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1110 |
--program-pre |
--program-pr |
--program-p)
1111 ac_prev
=program_prefix
;;
1112 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1113 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1114 program_prefix
=$ac_optarg ;;
1116 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1117 |
--program-suf |
--program-su |
--program-s)
1118 ac_prev
=program_suffix
;;
1119 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1120 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1121 program_suffix
=$ac_optarg ;;
1123 -program-transform-name |
--program-transform-name \
1124 |
--program-transform-nam |
--program-transform-na \
1125 |
--program-transform-n |
--program-transform- \
1126 |
--program-transform |
--program-transfor \
1127 |
--program-transfo |
--program-transf \
1128 |
--program-trans |
--program-tran \
1129 |
--progr-tra |
--program-tr |
--program-t)
1130 ac_prev
=program_transform_name
;;
1131 -program-transform-name=* |
--program-transform-name=* \
1132 |
--program-transform-nam=* |
--program-transform-na=* \
1133 |
--program-transform-n=* |
--program-transform-=* \
1134 |
--program-transform=* |
--program-transfor=* \
1135 |
--program-transfo=* |
--program-transf=* \
1136 |
--program-trans=* |
--program-tran=* \
1137 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1138 program_transform_name
=$ac_optarg ;;
1140 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1142 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1143 pdfdir
=$ac_optarg ;;
1145 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1147 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1150 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1151 |
-silent |
--silent |
--silen |
--sile |
--sil)
1154 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1156 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1158 sbindir
=$ac_optarg ;;
1160 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1161 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1162 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1164 ac_prev
=sharedstatedir
;;
1165 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1166 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1167 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1169 sharedstatedir
=$ac_optarg ;;
1171 -site |
--site |
--sit)
1173 -site=* |
--site=* |
--sit=*)
1176 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1178 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1179 srcdir
=$ac_optarg ;;
1181 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1182 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1183 ac_prev
=sysconfdir
;;
1184 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1185 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1186 sysconfdir
=$ac_optarg ;;
1188 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1189 ac_prev
=target_alias
;;
1190 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1191 target_alias
=$ac_optarg ;;
1193 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1196 -version |
--version |
--versio |
--versi |
--vers |
-V)
1197 ac_init_version
=: ;;
1200 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1201 # Reject names that are not valid shell variable names.
1202 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1203 as_fn_error $?
"invalid package name: $ac_useropt"
1204 ac_useropt_orig
=$ac_useropt
1205 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1206 case $ac_user_opts in
1210 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1211 ac_unrecognized_sep
=', ';;
1213 eval with_
$ac_useropt=\
$ac_optarg ;;
1215 -without-* |
--without-*)
1216 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1217 # Reject names that are not valid shell variable names.
1218 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1219 as_fn_error $?
"invalid package name: $ac_useropt"
1220 ac_useropt_orig
=$ac_useropt
1221 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1222 case $ac_user_opts in
1226 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1227 ac_unrecognized_sep
=', ';;
1229 eval with_
$ac_useropt=no
;;
1232 # Obsolete; use --with-x.
1235 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1236 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1237 ac_prev
=x_includes
;;
1238 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1239 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1240 x_includes
=$ac_optarg ;;
1242 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1243 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1244 ac_prev
=x_libraries
;;
1245 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1246 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1247 x_libraries
=$ac_optarg ;;
1249 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1250 Try \`$0 --help' for more information"
1254 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1255 # Reject names that are not valid shell variable names.
1256 case $ac_envvar in #(
1257 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1258 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1260 eval $ac_envvar=\
$ac_optarg
1261 export $ac_envvar ;;
1264 # FIXME: should be removed in autoconf 3.0.
1265 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1266 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1267 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1268 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1274 if test -n "$ac_prev"; then
1275 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1276 as_fn_error $?
"missing argument to $ac_option"
1279 if test -n "$ac_unrecognized_opts"; then
1280 case $enable_option_checking in
1282 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1283 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1287 # Check all directory arguments for consistency.
1288 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1289 datadir sysconfdir sharedstatedir localstatedir includedir \
1290 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1291 libdir localedir mandir
1293 eval ac_val
=\$
$ac_var
1294 # Remove trailing slashes.
1297 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1298 eval $ac_var=\
$ac_val;;
1300 # Be sure to have absolute directory names.
1302 [\\/$
]* | ?
:[\\/]* ) continue;;
1303 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1305 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1308 # There might be people who depend on the old broken behavior: `$host'
1309 # used to hold the argument of --host etc.
1310 # FIXME: To remove some day.
1313 target
=$target_alias
1315 # FIXME: To remove some day.
1316 if test "x$host_alias" != x
; then
1317 if test "x$build_alias" = x
; then
1318 cross_compiling
=maybe
1319 elif test "x$build_alias" != "x$host_alias"; then
1325 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1327 test "$silent" = yes && exec 6>/dev
/null
1330 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1331 ac_ls_di
=`ls -di .` &&
1332 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1333 as_fn_error $?
"working directory cannot be determined"
1334 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1335 as_fn_error $?
"pwd does not report name of working directory"
1338 # Find the source files, if location was not specified.
1339 if test -z "$srcdir"; then
1340 ac_srcdir_defaulted
=yes
1341 # Try the directory containing this script, then the parent directory.
1342 ac_confdir
=`$as_dirname -- "$as_myself" ||
1343 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1344 X"$as_myself" : 'X\(//\)[^/]' \| \
1345 X"$as_myself" : 'X\(//\)$' \| \
1346 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1347 $as_echo X"$as_myself" |
1348 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1366 if test ! -r "$srcdir/$ac_unique_file"; then
1370 ac_srcdir_defaulted
=no
1372 if test ! -r "$srcdir/$ac_unique_file"; then
1373 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1374 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1376 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1378 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1380 # When building in place, set srcdir=.
1381 if test "$ac_abs_confdir" = "$ac_pwd"; then
1384 # Remove unnecessary trailing slashes from srcdir.
1385 # Double slashes in file names in object file debugging info
1386 # mess up M-x gdb in Emacs.
1388 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1390 for ac_var
in $ac_precious_vars; do
1391 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1392 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1393 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1394 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1398 # Report the --help message.
1400 if test "$ac_init_help" = "long"; then
1401 # Omit some internal or obsolete options to make the list less imposing.
1402 # This message is too long to be a string in the A/UX 3.1 sh.
1404 \`configure' configures sim 0 to adapt to many kinds of systems.
1406 Usage: $0 [OPTION]... [VAR=VALUE]...
1408 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1409 VAR=VALUE. See below for descriptions of some of the useful variables.
1411 Defaults for the options are specified in brackets.
1414 -h, --help display this help and exit
1415 --help=short display options specific to this package
1416 --help=recursive display the short help of all the included packages
1417 -V, --version display version information and exit
1418 -q, --quiet, --silent do not print \`checking ...' messages
1419 --cache-file=FILE cache test results in FILE [disabled]
1420 -C, --config-cache alias for \`--cache-file=config.cache'
1421 -n, --no-create do not create output files
1422 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1424 Installation directories:
1425 --prefix=PREFIX install architecture-independent files in PREFIX
1426 [$ac_default_prefix]
1427 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1430 By default, \`make install' will install all the files in
1431 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1432 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1433 for instance \`--prefix=\$HOME'.
1435 For better control, use the options below.
1437 Fine tuning of the installation directories:
1438 --bindir=DIR user executables [EPREFIX/bin]
1439 --sbindir=DIR system admin executables [EPREFIX/sbin]
1440 --libexecdir=DIR program executables [EPREFIX/libexec]
1441 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1442 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1443 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1444 --libdir=DIR object code libraries [EPREFIX/lib]
1445 --includedir=DIR C header files [PREFIX/include]
1446 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1447 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1448 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1449 --infodir=DIR info documentation [DATAROOTDIR/info]
1450 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1451 --mandir=DIR man documentation [DATAROOTDIR/man]
1452 --docdir=DIR documentation root [DATAROOTDIR/doc/sim]
1453 --htmldir=DIR html documentation [DOCDIR]
1454 --dvidir=DIR dvi documentation [DOCDIR]
1455 --pdfdir=DIR pdf documentation [DOCDIR]
1456 --psdir=DIR ps documentation [DOCDIR]
1462 --program-prefix=PREFIX prepend PREFIX to installed program names
1463 --program-suffix=SUFFIX append SUFFIX to installed program names
1464 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1467 --build=BUILD configure
for building on BUILD
[guessed
]
1468 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1469 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1473 if test -n "$ac_init_help"; then
1474 case $ac_init_help in
1475 short | recursive
) echo "Configuration of sim 0:";;
1480 --disable-option-checking ignore unrecognized
--enable/--with options
1481 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1482 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1483 --enable-plugins Enable support
for plugins
1484 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1485 --enable-static[=PKGS
] build static libraries
[default
=yes]
1486 --enable-fast-install[=PKGS
]
1487 optimize
for fast installation
[default
=yes]
1488 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1489 --enable-maintainer-mode
1490 enable make rules and dependencies not useful
(and
1491 sometimes confusing
) to the casual installer
1492 --enable-dependency-tracking
1493 do not reject slow dependency extractors
1494 --disable-dependency-tracking
1495 speeds up one-time build
1496 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1497 --disable-silent-rules verbose build output
(undo
: "make V=0")
1498 --enable-sim Enable the GNU simulator
1499 --enable-example-sims enable example GNU simulators
1500 --enable-targets alternative target configurations
1501 --enable-sim-alignment=align
1502 Specify strict
, nonstrict or forced alignment of
1504 --enable-sim-assert Specify whether to perform random assertions
1505 --enable-cgen-maint=DIR build cgen generated files
1506 --enable-sim-debug=opts Enable debugging flags
(for developers of the sim
1508 --enable-sim-endian=endian
1509 Specify target byte endian orientation
1510 --enable-sim-environment=environment
1511 Specify mixed
, user
, virtual or operating
1513 --enable-sim-hardware Whether to
enable hardware
/device simulation
1514 --enable-sim-inline=inlines
1515 Specify
which functions should be inlined
1516 --enable-sim-profile=opts
1517 Enable profiling flags
1518 --enable-sim-stdio Specify whether to use stdio
for console
1520 --enable-sim-trace=opts Enable tracing of simulated programs
1521 --enable-werror treat compile warnings as errors
1522 --enable-build-warnings enable build-time compiler warnings
if gcc is used
1523 --enable-sim-build-warnings
1524 enable SIM specific build-time compiler warnings
if
1528 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1529 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1530 --with-pkgversion=PKG Use PKG
in the version string
in place of
"SIM"
1531 --with-bugurl=URL Direct users to URL to report a bug
1532 --with-system-zlib use installed libz
1533 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1535 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1537 Some influential environment variables
:
1538 CC C compiler
command
1539 CFLAGS C compiler flags
1540 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1541 nonstandard directory
<lib dir
>
1542 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1543 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1544 you have headers
in a nonstandard directory
<include dir
>
1547 Use these variables to override the choices made by
`configure' or to help
1548 it to find libraries and programs with nonstandard names/locations.
1550 Report bugs to <https://sourceware.org/bugzilla/enter_bug.cgi?product=gdb&component=sim>.
1551 sim home page: <https://sourceware.org/gdb/wiki/Sim/>.
1556 if test "$ac_init_help" = "recursive"; then
1557 # If there are subdirs, report their specific --help.
1558 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1559 test -d "$ac_dir" ||
1560 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1565 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1567 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1568 # A ".." for each directory in $ac_dir_suffix.
1569 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1570 case $ac_top_builddir_sub in
1571 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1572 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1575 ac_abs_top_builddir=$ac_pwd
1576 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1577 # for backward compatibility:
1578 ac_top_builddir=$ac_top_build_prefix
1581 .) # We are building in place.
1583 ac_top_srcdir=$ac_top_builddir_sub
1584 ac_abs_top_srcdir=$ac_pwd ;;
1585 [\\/]* | ?:[\\/]* ) # Absolute name.
1586 ac_srcdir=$srcdir$ac_dir_suffix;
1587 ac_top_srcdir=$srcdir
1588 ac_abs_top_srcdir=$srcdir ;;
1590 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1591 ac_top_srcdir=$ac_top_build_prefix$srcdir
1592 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1594 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1596 cd "$ac_dir" || { ac_status=$?; continue; }
1597 # Check for guested configure.
1598 if test -f "$ac_srcdir/configure.gnu"; then
1600 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1601 elif test -f "$ac_srcdir/configure"; then
1603 $SHELL "$ac_srcdir/configure" --help=recursive
1605 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1607 cd "$ac_pwd" || { ac_status=$?; break; }
1611 test -n "$ac_init_help" && exit $ac_status
1612 if $ac_init_version; then
1615 generated by GNU Autoconf 2.69
1617 Copyright (C) 2012 Free Software Foundation, Inc.
1618 This configure script is free software; the Free Software Foundation
1619 gives unlimited permission to copy, distribute and modify it.
1624 ## ------------------------ ##
1625 ## Autoconf initialization. ##
1626 ## ------------------------ ##
1628 # ac_fn_c_try_compile LINENO
1629 # --------------------------
1630 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1631 ac_fn_c_try_compile ()
1633 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1634 rm -f conftest.$ac_objext
1635 if { { ac_try="$ac_compile"
1637 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1638 *) ac_try_echo
=$ac_try;;
1640 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1641 $as_echo "$ac_try_echo"; } >&5
1642 (eval "$ac_compile") 2>conftest.err
1644 if test -s conftest.err
; then
1645 grep -v '^ *+' conftest.err
>conftest.er1
1646 cat conftest.er1
>&5
1647 mv -f conftest.er1 conftest.err
1649 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1650 test $ac_status = 0; } && {
1651 test -z "$ac_c_werror_flag" ||
1652 test ! -s conftest.err
1653 } && test -s conftest.
$ac_objext; then :
1656 $as_echo "$as_me: failed program was:" >&5
1657 sed 's/^/| /' conftest.
$ac_ext >&5
1661 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1662 as_fn_set_status
$ac_retval
1664 } # ac_fn_c_try_compile
1666 # ac_fn_c_try_cpp LINENO
1667 # ----------------------
1668 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1671 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1672 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1674 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1675 *) ac_try_echo=$ac_try;;
1677 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1678 $as_echo "$ac_try_echo"; } >&5
1679 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1681 if test -s conftest.err; then
1682 grep -v '^ *+' conftest.err >conftest.er1
1683 cat conftest.er1 >&5
1684 mv -f conftest.er1 conftest.err
1686 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1687 test $ac_status = 0; } > conftest.i && {
1688 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1689 test ! -s conftest.err
1693 $as_echo "$as_me: failed program was:" >&5
1694 sed 's/^/| /' conftest.$ac_ext >&5
1698 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1699 as_fn_set_status $ac_retval
1703 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1704 # -------------------------------------------------------
1705 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1706 # the include files in INCLUDES and setting the cache variable VAR
1708 ac_fn_c_check_header_mongrel ()
1710 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1711 if eval \${$3+:} false; then :
1712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1713 $as_echo_n "checking for $2... " >&6; }
1714 if eval \${$3+:} false; then :
1715 $as_echo_n "(cached) " >&6
1718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1719 $as_echo "$ac_res" >&6; }
1721 # Is the header compilable?
1722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1723 $as_echo_n "checking $2 usability... " >&6; }
1724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1725 /* end confdefs.h. */
1729 if ac_fn_c_try_compile "$LINENO"; then :
1730 ac_header_compiler=yes
1732 ac_header_compiler=no
1734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1736 $as_echo "$ac_header_compiler" >&6; }
1738 # Is the header present?
1739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1740 $as_echo_n "checking $2 presence... " >&6; }
1741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1742 /* end confdefs.h. */
1745 if ac_fn_c_try_cpp "$LINENO"; then :
1746 ac_header_preproc=yes
1748 ac_header_preproc=no
1750 rm -f conftest.err conftest.i conftest.$ac_ext
1751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1752 $as_echo "$ac_header_preproc" >&6; }
1754 # So? What about this header?
1755 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1757 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1758 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1759 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1760 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1763 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1764 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1765 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1766 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1767 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1768 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1769 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1770 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1771 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1772 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1773 ( $as_echo "## -------------------------------------------------------------------------------------- ##
1774 ## Report this to https://sourceware.org/bugzilla/enter_bug.cgi?product=gdb&component=sim ##
1775 ## -------------------------------------------------------------------------------------- ##"
1776 ) | sed "s/^/$as_me: WARNING: /" >&2
1779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1780 $as_echo_n "checking for $2... " >&6; }
1781 if eval \${$3+:} false; then :
1782 $as_echo_n "(cached) " >&6
1784 eval "$3=\$ac_header_compiler"
1787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1788 $as_echo "$ac_res" >&6; }
1790 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1792 } # ac_fn_c_check_header_mongrel
1794 # ac_fn_c_try_run LINENO
1795 # ----------------------
1796 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1797 # that executables *can* be run.
1800 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1801 if { { ac_try="$ac_link"
1803 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1804 *) ac_try_echo
=$ac_try;;
1806 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1807 $as_echo "$ac_try_echo"; } >&5
1808 (eval "$ac_link") 2>&5
1810 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1811 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1812 { { case "(($ac_try" in
1813 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1814 *) ac_try_echo=$ac_try;;
1816 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1817 $as_echo "$ac_try_echo"; } >&5
1818 (eval "$ac_try") 2>&5
1820 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1821 test $ac_status = 0; }; }; then :
1824 $as_echo "$as_me: program exited with status $ac_status" >&5
1825 $as_echo "$as_me: failed program was:" >&5
1826 sed 's/^/| /' conftest.$ac_ext >&5
1828 ac_retval=$ac_status
1830 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1831 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1832 as_fn_set_status $ac_retval
1836 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1837 # -------------------------------------------------------
1838 # Tests whether HEADER exists and can be compiled using the include files in
1839 # INCLUDES, setting the cache variable VAR accordingly.
1840 ac_fn_c_check_header_compile ()
1842 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1844 $as_echo_n "checking for $2... " >&6; }
1845 if eval \${$3+:} false; then :
1846 $as_echo_n "(cached) " >&6
1848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1849 /* end confdefs.h. */
1853 if ac_fn_c_try_compile "$LINENO"; then :
1858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1862 $as_echo "$ac_res" >&6; }
1863 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1865 } # ac_fn_c_check_header_compile
1867 # ac_fn_c_try_link LINENO
1868 # -----------------------
1869 # Try to link conftest.$ac_ext, and return whether this succeeded.
1872 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1873 rm -f conftest.$ac_objext conftest$ac_exeext
1874 if { { ac_try="$ac_link"
1876 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1877 *) ac_try_echo
=$ac_try;;
1879 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1880 $as_echo "$ac_try_echo"; } >&5
1881 (eval "$ac_link") 2>conftest.err
1883 if test -s conftest.err
; then
1884 grep -v '^ *+' conftest.err
>conftest.er1
1885 cat conftest.er1
>&5
1886 mv -f conftest.er1 conftest.err
1888 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1889 test $ac_status = 0; } && {
1890 test -z "$ac_c_werror_flag" ||
1891 test ! -s conftest.err
1892 } && test -s conftest
$ac_exeext && {
1893 test "$cross_compiling" = yes ||
1894 test -x conftest
$ac_exeext
1898 $as_echo "$as_me: failed program was:" >&5
1899 sed 's/^/| /' conftest.
$ac_ext >&5
1903 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1904 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1905 # interfere with the next link command; also delete a directory that is
1906 # left behind by Apple's compiler. We do this before executing the actions.
1907 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1908 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1909 as_fn_set_status
$ac_retval
1911 } # ac_fn_c_try_link
1913 # ac_fn_c_check_func LINENO FUNC VAR
1914 # ----------------------------------
1915 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1916 ac_fn_c_check_func
()
1918 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1920 $as_echo_n "checking for $2... " >&6; }
1921 if eval \
${$3+:} false
; then :
1922 $as_echo_n "(cached) " >&6
1924 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1925 /* end confdefs.h. */
1926 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1927 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1928 #define $2 innocuous_$2
1930 /* System header to define __stub macros and hopefully few prototypes,
1931 which can conflict with char $2 (); below.
1932 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1933 <limits.h> exists even on freestanding compilers. */
1936 # include <limits.h>
1938 # include <assert.h>
1943 /* Override any GCC internal prototype to avoid an error.
1944 Use char because int might match the return type of a GCC
1945 builtin and then its argument prototype would still apply. */
1950 /* The GNU C library defines this for functions which it implements
1951 to always fail with ENOSYS. Some functions are actually named
1952 something starting with __ and the normal name is an alias. */
1953 #if defined __stub_$2 || defined __stub___$2
1965 if ac_fn_c_try_link
"$LINENO"; then :
1970 rm -f core conftest.err conftest.
$ac_objext \
1971 conftest
$ac_exeext conftest.
$ac_ext
1974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1975 $as_echo "$ac_res" >&6; }
1976 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1978 } # ac_fn_c_check_func
1980 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
1981 # ----------------------------------------------------
1982 # Tries to find if the field MEMBER exists in type AGGR, after including
1983 # INCLUDES, setting cache variable VAR accordingly.
1984 ac_fn_c_check_member
()
1986 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
1988 $as_echo_n "checking for $2.$3... " >&6; }
1989 if eval \
${$4+:} false
; then :
1990 $as_echo_n "(cached) " >&6
1992 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1993 /* end confdefs.h. */
2005 if ac_fn_c_try_compile
"$LINENO"; then :
2008 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2009 /* end confdefs.h. */
2015 if (sizeof ac_aggr.$3)
2021 if ac_fn_c_try_compile
"$LINENO"; then :
2026 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2028 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2032 $as_echo "$ac_res" >&6; }
2033 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2035 } # ac_fn_c_check_member
2037 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2038 # ---------------------------------------------
2039 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2041 ac_fn_c_check_decl
()
2043 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2044 as_decl_name
=`echo $2|sed 's/ *(.*//'`
2045 as_decl_use
=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2047 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2048 if eval \
${$3+:} false
; then :
2049 $as_echo_n "(cached) " >&6
2051 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2052 /* end confdefs.h. */
2057 #ifndef $as_decl_name
2059 (void) $as_decl_use;
2061 (void) $as_decl_name;
2069 if ac_fn_c_try_compile
"$LINENO"; then :
2074 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2078 $as_echo "$ac_res" >&6; }
2079 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2081 } # ac_fn_c_check_decl
2083 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2084 # -------------------------------------------
2085 # Tests whether TYPE exists after having included INCLUDES, setting cache
2086 # variable VAR accordingly.
2087 ac_fn_c_check_type
()
2089 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2091 $as_echo_n "checking for $2... " >&6; }
2092 if eval \
${$3+:} false
; then :
2093 $as_echo_n "(cached) " >&6
2096 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2097 /* end confdefs.h. */
2108 if ac_fn_c_try_compile
"$LINENO"; then :
2109 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2110 /* end confdefs.h. */
2121 if ac_fn_c_try_compile
"$LINENO"; then :
2126 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2128 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2132 $as_echo "$ac_res" >&6; }
2133 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2135 } # ac_fn_c_check_type
2136 cat >config.log
<<_ACEOF
2137 This file contains any messages produced by compilers while
2138 running configure, to aid debugging if configure makes a mistake.
2140 It was created by sim $as_me 0, which was
2141 generated by GNU Autoconf 2.69. Invocation command line was
2153 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2154 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2155 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2156 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2157 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2159 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2160 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2162 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2163 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2164 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2165 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2166 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2167 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2168 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2172 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2176 test -z "$as_dir" && as_dir
=.
2177 $as_echo "PATH: $as_dir"
2193 # Keep a trace of the command line.
2194 # Strip out --no-create and --no-recursion so they do not pile up.
2195 # Strip out --silent because we don't want to record it for future runs.
2196 # Also quote any args containing shell meta-characters.
2197 # Make two passes to allow for proper duplicate-argument suppression.
2201 ac_must_keep_next
=false
2207 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2208 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2209 |
-silent |
--silent |
--silen |
--sile |
--sil)
2212 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2215 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2217 as_fn_append ac_configure_args1
" '$ac_arg'"
2218 if test $ac_must_keep_next = true
; then
2219 ac_must_keep_next
=false
# Got value, back to normal.
2222 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2223 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2224 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2225 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2226 case "$ac_configure_args0 " in
2227 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2230 -* ) ac_must_keep_next
=true
;;
2233 as_fn_append ac_configure_args
" '$ac_arg'"
2238 { ac_configure_args0
=; unset ac_configure_args0
;}
2239 { ac_configure_args1
=; unset ac_configure_args1
;}
2241 # When interrupted or exit'd, cleanup temporary files, and complete
2242 # config.log. We remove comments because anyway the quotes in there
2243 # would cause problems or look ugly.
2244 # WARNING: Use '\'' to represent an apostrophe within the trap.
2245 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2246 trap 'exit_status=$?
2247 # Save into config.log some information that might help in debugging.
2251 $as_echo "## ---------------- ##
2252 ## Cache variables. ##
2253 ## ---------------- ##"
2255 # The following way of writing the cache mishandles newlines in values,
2257 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2258 eval ac_val=\$$ac_var
2262 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2263 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2266 _ | IFS | as_nl) ;; #(
2267 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2268 *) { eval $ac_var=; unset $ac_var;} ;;
2273 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2274 *${as_nl}ac_space=\ *)
2276 "s/'\''/'\''\\\\'\'''\''/g;
2277 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2280 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2287 $as_echo "## ----------------- ##
2288 ## Output variables. ##
2289 ## ----------------- ##"
2291 for ac_var in $ac_subst_vars
2293 eval ac_val=\$$ac_var
2295 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2297 $as_echo "$ac_var='\''$ac_val'\''"
2301 if test -n "$ac_subst_files"; then
2302 $as_echo "## ------------------- ##
2303 ## File substitutions. ##
2304 ## ------------------- ##"
2306 for ac_var
in $ac_subst_files
2308 eval ac_val
=\$
$ac_var
2310 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2312 $as_echo "$ac_var='\''$ac_val'\''"
2317 if test -s confdefs.h; then
2318 $as_echo "## ----------- ##
2325 test "$ac_signal" != 0 &&
2326 $as_echo "$as_me: caught signal $ac_signal"
2327 $as_echo "$as_me: exit $exit_status"
2329 rm -f core *.core core.conftest.* &&
2330 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2333 for ac_signal
in 1 2 13 15; do
2334 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2338 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2339 rm -f -r conftest
* confdefs.h
2341 $as_echo "/* confdefs.h */" > confdefs.h
2343 # Predefined preprocessor variables.
2345 cat >>confdefs.h
<<_ACEOF
2346 #define PACKAGE_NAME "$PACKAGE_NAME"
2349 cat >>confdefs.h
<<_ACEOF
2350 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2353 cat >>confdefs.h
<<_ACEOF
2354 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2357 cat >>confdefs.h
<<_ACEOF
2358 #define PACKAGE_STRING "$PACKAGE_STRING"
2361 cat >>confdefs.h
<<_ACEOF
2362 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2365 cat >>confdefs.h
<<_ACEOF
2366 #define PACKAGE_URL "$PACKAGE_URL"
2370 # Let the site file select an alternate cache file if it wants to.
2371 # Prefer an explicitly selected file to automatically selected ones.
2374 if test -n "$CONFIG_SITE"; then
2375 # We do not want a PATH search for config.site.
2376 case $CONFIG_SITE in #((
2377 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2378 */*) ac_site_file1
=$CONFIG_SITE;;
2379 *) ac_site_file1
=.
/$CONFIG_SITE;;
2381 elif test "x$prefix" != xNONE
; then
2382 ac_site_file1
=$prefix/share
/config.site
2383 ac_site_file2
=$prefix/etc
/config.site
2385 ac_site_file1
=$ac_default_prefix/share
/config.site
2386 ac_site_file2
=$ac_default_prefix/etc
/config.site
2388 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2390 test "x$ac_site_file" = xNONE
&& continue
2391 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2392 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2393 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2394 sed 's/^/| /' "$ac_site_file" >&5
2396 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2397 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2398 as_fn_error $?
"failed to load site script $ac_site_file
2399 See \`config.log' for more details" "$LINENO" 5; }
2403 if test -r "$cache_file"; then
2404 # Some versions of bash will fail to source /dev/null (special files
2405 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2406 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2407 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2408 $as_echo "$as_me: loading cache $cache_file" >&6;}
2410 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2411 *) .
"./$cache_file";;
2415 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2416 $as_echo "$as_me: creating cache $cache_file" >&6;}
2420 as_fn_append ac_header_list
" dlfcn.h"
2421 as_fn_append ac_header_list
" fcntl.h"
2422 as_fn_append ac_header_list
" fpu_control.h"
2423 as_fn_append ac_header_list
" termios.h"
2424 as_fn_append ac_header_list
" unistd.h"
2425 as_fn_append ac_header_list
" utime.h"
2426 as_fn_append ac_header_list
" linux/if_tun.h"
2427 as_fn_append ac_header_list
" linux/mii.h"
2428 as_fn_append ac_header_list
" linux/types.h"
2429 as_fn_append ac_header_list
" net/if.h"
2430 as_fn_append ac_header_list
" netinet/in.h"
2431 as_fn_append ac_header_list
" netinet/tcp.h"
2432 as_fn_append ac_header_list
" sys/ioctl.h"
2433 as_fn_append ac_header_list
" sys/mman.h"
2434 as_fn_append ac_header_list
" sys/mount.h"
2435 as_fn_append ac_header_list
" sys/param.h"
2436 as_fn_append ac_header_list
" sys/resource.h"
2437 as_fn_append ac_header_list
" sys/socket.h"
2438 as_fn_append ac_header_list
" sys/stat.h"
2439 as_fn_append ac_header_list
" sys/statfs.h"
2440 as_fn_append ac_header_list
" sys/termio.h"
2441 as_fn_append ac_header_list
" sys/termios.h"
2442 as_fn_append ac_header_list
" sys/types.h"
2443 as_fn_append ac_header_list
" sys/vfs.h"
2444 as_fn_append ac_func_list
" __setfpucw"
2445 as_fn_append ac_func_list
" access"
2446 as_fn_append ac_func_list
" aint"
2447 as_fn_append ac_func_list
" anint"
2448 as_fn_append ac_func_list
" cfgetispeed"
2449 as_fn_append ac_func_list
" cfgetospeed"
2450 as_fn_append ac_func_list
" cfsetispeed"
2451 as_fn_append ac_func_list
" cfsetospeed"
2452 as_fn_append ac_func_list
" chdir"
2453 as_fn_append ac_func_list
" chmod"
2454 as_fn_append ac_func_list
" dup"
2455 as_fn_append ac_func_list
" dup2"
2456 as_fn_append ac_func_list
" execv"
2457 as_fn_append ac_func_list
" execve"
2458 as_fn_append ac_func_list
" fcntl"
2459 as_fn_append ac_func_list
" fork"
2460 as_fn_append ac_func_list
" fstat"
2461 as_fn_append ac_func_list
" fstatfs"
2462 as_fn_append ac_func_list
" ftruncate"
2463 as_fn_append ac_func_list
" getdirentries"
2464 as_fn_append ac_func_list
" getegid"
2465 as_fn_append ac_func_list
" geteuid"
2466 as_fn_append ac_func_list
" getgid"
2467 as_fn_append ac_func_list
" getpid"
2468 as_fn_append ac_func_list
" getppid"
2469 as_fn_append ac_func_list
" getrusage"
2470 as_fn_append ac_func_list
" gettimeofday"
2471 as_fn_append ac_func_list
" getuid"
2472 as_fn_append ac_func_list
" ioctl"
2473 as_fn_append ac_func_list
" kill"
2474 as_fn_append ac_func_list
" link"
2475 as_fn_append ac_func_list
" lseek"
2476 as_fn_append ac_func_list
" mmap"
2477 as_fn_append ac_func_list
" munmap"
2478 as_fn_append ac_func_list
" pipe"
2479 as_fn_append ac_func_list
" posix_fallocate"
2480 as_fn_append ac_func_list
" pread"
2481 as_fn_append ac_func_list
" rmdir"
2482 as_fn_append ac_func_list
" setregid"
2483 as_fn_append ac_func_list
" setreuid"
2484 as_fn_append ac_func_list
" setgid"
2485 as_fn_append ac_func_list
" setuid"
2486 as_fn_append ac_func_list
" sigaction"
2487 as_fn_append ac_func_list
" sigprocmask"
2488 as_fn_append ac_func_list
" sqrt"
2489 as_fn_append ac_func_list
" stat"
2490 as_fn_append ac_func_list
" strsignal"
2491 as_fn_append ac_func_list
" symlink"
2492 as_fn_append ac_func_list
" tcdrain"
2493 as_fn_append ac_func_list
" tcflow"
2494 as_fn_append ac_func_list
" tcflush"
2495 as_fn_append ac_func_list
" tcgetattr"
2496 as_fn_append ac_func_list
" tcgetpgrp"
2497 as_fn_append ac_func_list
" tcsendbreak"
2498 as_fn_append ac_func_list
" tcsetattr"
2499 as_fn_append ac_func_list
" tcsetpgrp"
2500 as_fn_append ac_func_list
" time"
2501 as_fn_append ac_func_list
" truncate"
2502 as_fn_append ac_func_list
" umask"
2503 as_fn_append ac_func_list
" unlink"
2504 as_fn_append ac_func_list
" utime"
2505 # Check that the precious variables saved in the cache have kept the same
2507 ac_cache_corrupted
=false
2508 for ac_var
in $ac_precious_vars; do
2509 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2510 eval ac_new_set
=\
$ac_env_${ac_var}_set
2511 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2512 eval ac_new_val
=\
$ac_env_${ac_var}_value
2513 case $ac_old_set,$ac_new_set in
2515 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2516 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2517 ac_cache_corrupted
=: ;;
2519 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2520 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2521 ac_cache_corrupted
=: ;;
2524 if test "x$ac_old_val" != "x$ac_new_val"; then
2525 # differences in whitespace do not lead to failure.
2526 ac_old_val_w
=`echo x $ac_old_val`
2527 ac_new_val_w
=`echo x $ac_new_val`
2528 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2529 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2530 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2531 ac_cache_corrupted
=:
2533 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2534 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2535 eval $ac_var=\
$ac_old_val
2537 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2538 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2539 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2540 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2543 # Pass precious variables to config.status.
2544 if test "$ac_new_set" = set; then
2546 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2547 *) ac_arg
=$ac_var=$ac_new_val ;;
2549 case " $ac_configure_args " in
2550 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2551 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2555 if $ac_cache_corrupted; then
2556 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2557 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2558 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2559 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2560 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2562 ## -------------------- ##
2563 ## Main body of script. ##
2564 ## -------------------- ##
2567 ac_cpp
='$CPP $CPPFLAGS'
2568 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2569 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2570 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2579 # Check whether --with-pkgversion was given.
2580 if test "${with_pkgversion+set}" = set; then :
2581 withval
=$with_pkgversion; case "$withval" in
2582 yes) as_fn_error $?
"package version not specified" "$LINENO" 5 ;;
2584 *) PKGVERSION
="($withval) " ;;
2594 cat >>confdefs.h
<<_ACEOF
2595 #define PKGVERSION "$PKGVERSION"
2600 # Check whether --with-bugurl was given.
2601 if test "${with_bugurl+set}" = set; then :
2602 withval
=$with_bugurl; case "$withval" in
2603 yes) as_fn_error $?
"bug URL not specified" "$LINENO" 5 ;;
2606 *) BUGURL
="$withval"
2610 BUGURL
="$PACKAGE_BUGREPORT"
2620 REPORT_BUGS_TO
="<$BUGURL>"
2621 REPORT_BUGS_TEXI
=@uref
{`echo "$BUGURL" | sed 's/@/@@/g'`}
2628 cat >>confdefs.h
<<_ACEOF
2629 #define REPORT_BUGS_TO "$REPORT_BUGS_TO"
2633 ac_config_headers
="$ac_config_headers config.h"
2637 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2638 if test -f "$ac_dir/install-sh"; then
2640 ac_install_sh
="$ac_aux_dir/install-sh -c"
2642 elif test -f "$ac_dir/install.sh"; then
2644 ac_install_sh
="$ac_aux_dir/install.sh -c"
2646 elif test -f "$ac_dir/shtool"; then
2648 ac_install_sh
="$ac_aux_dir/shtool install -c"
2652 if test -z "$ac_aux_dir"; then
2653 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2656 # These three variables are undocumented and unsupported,
2657 # and are intended to be withdrawn in a future Autoconf release.
2658 # They can cause serious problems if a builder's source tree is in a directory
2659 # whose full name contains unusual characters.
2660 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2661 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2662 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2665 # Make sure we can run config.sub.
2666 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2667 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2670 $as_echo_n "checking build system type... " >&6; }
2671 if ${ac_cv_build+:} false
; then :
2672 $as_echo_n "(cached) " >&6
2674 ac_build_alias
=$build_alias
2675 test "x$ac_build_alias" = x
&&
2676 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2677 test "x$ac_build_alias" = x
&&
2678 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2679 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2680 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2684 $as_echo "$ac_cv_build" >&6; }
2685 case $ac_cv_build in
2687 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2690 ac_save_IFS
=$IFS; IFS
='-'
2696 # Remember, the first character of IFS is used to create $*,
2697 # except with old shells:
2700 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2704 $as_echo_n "checking host system type... " >&6; }
2705 if ${ac_cv_host+:} false
; then :
2706 $as_echo_n "(cached) " >&6
2708 if test "x$host_alias" = x
; then
2709 ac_cv_host
=$ac_cv_build
2711 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2712 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2717 $as_echo "$ac_cv_host" >&6; }
2720 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2723 ac_save_IFS
=$IFS; IFS
='-'
2729 # Remember, the first character of IFS is used to create $*,
2730 # except with old shells:
2733 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2737 $as_echo_n "checking target system type... " >&6; }
2738 if ${ac_cv_target+:} false
; then :
2739 $as_echo_n "(cached) " >&6
2741 if test "x$target_alias" = x
; then
2742 ac_cv_target
=$ac_cv_host
2744 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2745 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2750 $as_echo "$ac_cv_target" >&6; }
2751 case $ac_cv_target in
2753 *) as_fn_error $?
"invalid value of canonical target" "$LINENO" 5;;
2755 target
=$ac_cv_target
2756 ac_save_IFS
=$IFS; IFS
='-'
2762 # Remember, the first character of IFS is used to create $*,
2763 # except with old shells:
2766 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2769 # The aliases save the names the user supplied, while $host etc.
2770 # will get canonicalized.
2771 test -n "$target_alias" &&
2772 test "$program_prefix$program_suffix$program_transform_name" = \
2774 program_prefix
=${target_alias}-
2775 # Expand $ac_aux_dir to an absolute path.
2776 am_aux_dir
=`cd "$ac_aux_dir" && pwd`
2779 ac_cpp
='$CPP $CPPFLAGS'
2780 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2781 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2782 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2783 if test -n "$ac_tool_prefix"; then
2784 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2785 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2787 $as_echo_n "checking for $ac_word... " >&6; }
2788 if ${ac_cv_prog_CC+:} false
; then :
2789 $as_echo_n "(cached) " >&6
2791 if test -n "$CC"; then
2792 ac_cv_prog_CC
="$CC" # Let the user override the test.
2794 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2798 test -z "$as_dir" && as_dir
=.
2799 for ac_exec_ext
in '' $ac_executable_extensions; do
2800 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2801 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2802 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2812 if test -n "$CC"; then
2813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2814 $as_echo "$CC" >&6; }
2816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2817 $as_echo "no" >&6; }
2822 if test -z "$ac_cv_prog_CC"; then
2824 # Extract the first word of "gcc", so it can be a program name with args.
2825 set dummy gcc
; ac_word
=$2
2826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2827 $as_echo_n "checking for $ac_word... " >&6; }
2828 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2829 $as_echo_n "(cached) " >&6
2831 if test -n "$ac_ct_CC"; then
2832 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2834 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2838 test -z "$as_dir" && as_dir
=.
2839 for ac_exec_ext
in '' $ac_executable_extensions; do
2840 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2841 ac_cv_prog_ac_ct_CC
="gcc"
2842 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2851 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2852 if test -n "$ac_ct_CC"; then
2853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2854 $as_echo "$ac_ct_CC" >&6; }
2856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2857 $as_echo "no" >&6; }
2860 if test "x$ac_ct_CC" = x
; then
2863 case $cross_compiling:$ac_tool_warned in
2865 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2866 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2867 ac_tool_warned
=yes ;;
2875 if test -z "$CC"; then
2876 if test -n "$ac_tool_prefix"; then
2877 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2878 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2880 $as_echo_n "checking for $ac_word... " >&6; }
2881 if ${ac_cv_prog_CC+:} false
; then :
2882 $as_echo_n "(cached) " >&6
2884 if test -n "$CC"; then
2885 ac_cv_prog_CC
="$CC" # Let the user override the test.
2887 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2891 test -z "$as_dir" && as_dir
=.
2892 for ac_exec_ext
in '' $ac_executable_extensions; do
2893 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2894 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2895 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2905 if test -n "$CC"; then
2906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2907 $as_echo "$CC" >&6; }
2909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2910 $as_echo "no" >&6; }
2916 if test -z "$CC"; then
2917 # Extract the first word of "cc", so it can be a program name with args.
2918 set dummy cc
; ac_word
=$2
2919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2920 $as_echo_n "checking for $ac_word... " >&6; }
2921 if ${ac_cv_prog_CC+:} false
; then :
2922 $as_echo_n "(cached) " >&6
2924 if test -n "$CC"; then
2925 ac_cv_prog_CC
="$CC" # Let the user override the test.
2928 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2932 test -z "$as_dir" && as_dir
=.
2933 for ac_exec_ext
in '' $ac_executable_extensions; do
2934 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2935 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2936 ac_prog_rejected
=yes
2940 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2947 if test $ac_prog_rejected = yes; then
2948 # We found a bogon in the path, so make sure we never use it.
2949 set dummy
$ac_cv_prog_CC
2951 if test $# != 0; then
2952 # We chose a different compiler from the bogus one.
2953 # However, it has the same basename, so the bogon will be chosen
2954 # first if we set CC to just the basename; use the full file name.
2956 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2962 if test -n "$CC"; then
2963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2964 $as_echo "$CC" >&6; }
2966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2967 $as_echo "no" >&6; }
2972 if test -z "$CC"; then
2973 if test -n "$ac_tool_prefix"; then
2974 for ac_prog
in cl.exe
2976 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2977 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2979 $as_echo_n "checking for $ac_word... " >&6; }
2980 if ${ac_cv_prog_CC+:} false
; then :
2981 $as_echo_n "(cached) " >&6
2983 if test -n "$CC"; then
2984 ac_cv_prog_CC
="$CC" # Let the user override the test.
2986 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2990 test -z "$as_dir" && as_dir
=.
2991 for ac_exec_ext
in '' $ac_executable_extensions; do
2992 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2993 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2994 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3004 if test -n "$CC"; then
3005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3006 $as_echo "$CC" >&6; }
3008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3009 $as_echo "no" >&6; }
3013 test -n "$CC" && break
3016 if test -z "$CC"; then
3018 for ac_prog
in cl.exe
3020 # Extract the first word of "$ac_prog", so it can be a program name with args.
3021 set dummy
$ac_prog; ac_word
=$2
3022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3023 $as_echo_n "checking for $ac_word... " >&6; }
3024 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3025 $as_echo_n "(cached) " >&6
3027 if test -n "$ac_ct_CC"; then
3028 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3030 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3034 test -z "$as_dir" && as_dir
=.
3035 for ac_exec_ext
in '' $ac_executable_extensions; do
3036 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3037 ac_cv_prog_ac_ct_CC
="$ac_prog"
3038 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3047 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3048 if test -n "$ac_ct_CC"; then
3049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3050 $as_echo "$ac_ct_CC" >&6; }
3052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3053 $as_echo "no" >&6; }
3057 test -n "$ac_ct_CC" && break
3060 if test "x$ac_ct_CC" = x
; then
3063 case $cross_compiling:$ac_tool_warned in
3065 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3066 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3067 ac_tool_warned
=yes ;;
3076 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3077 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3078 as_fn_error $?
"no acceptable C compiler found in \$PATH
3079 See \`config.log' for more details" "$LINENO" 5; }
3081 # Provide some information about the compiler.
3082 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3085 for ac_option
in --version -v -V -qversion; do
3086 { { ac_try
="$ac_compiler $ac_option >&5"
3088 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3089 *) ac_try_echo=$ac_try;;
3091 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3092 $as_echo "$ac_try_echo"; } >&5
3093 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3095 if test -s conftest.err; then
3097 ... rest of stderr output deleted ...
3098 10q' conftest.err >conftest.er1
3099 cat conftest.er1 >&5
3101 rm -f conftest.er1 conftest.err
3102 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3103 test $ac_status = 0; }
3106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3107 /* end confdefs.h. */
3117 ac_clean_files_save=$ac_clean_files
3118 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3119 # Try to create an executable without -o first, disregard a.out.
3120 # It will help us diagnose broken compilers, and finding out an intuition
3122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3123 $as_echo_n "checking whether the C compiler works... " >&6; }
3124 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3126 # The possible output files:
3127 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3130 for ac_file in $ac_files
3133 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3134 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3139 if { { ac_try="$ac_link_default"
3141 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3142 *) ac_try_echo
=$ac_try;;
3144 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3145 $as_echo "$ac_try_echo"; } >&5
3146 (eval "$ac_link_default") 2>&5
3148 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3149 test $ac_status = 0; }; then :
3150 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3151 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3152 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3153 # so that the user can short-circuit this test for compilers unknown to
3155 for ac_file
in $ac_files ''
3157 test -f "$ac_file" ||
continue
3159 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3162 # We found the default executable, but exeext='' is most
3166 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3168 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3170 # We set ac_cv_exeext here because the later test for it is not
3171 # safe: cross compilers may not add the suffix if given an `-o'
3172 # argument, so we may need to know it at that point already.
3173 # Even if this section looks crufty: it has the advantage of
3180 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3185 if test -z "$ac_file"; then :
3186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3187 $as_echo "no" >&6; }
3188 $as_echo "$as_me: failed program was:" >&5
3189 sed 's/^/| /' conftest.
$ac_ext >&5
3191 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3192 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3193 as_fn_error
77 "C compiler cannot create executables
3194 See \`config.log' for more details" "$LINENO" 5; }
3196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3197 $as_echo "yes" >&6; }
3199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3200 $as_echo_n "checking for C compiler default output file name... " >&6; }
3201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3202 $as_echo "$ac_file" >&6; }
3203 ac_exeext
=$ac_cv_exeext
3205 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3206 ac_clean_files
=$ac_clean_files_save
3207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3208 $as_echo_n "checking for suffix of executables... " >&6; }
3209 if { { ac_try
="$ac_link"
3211 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3212 *) ac_try_echo=$ac_try;;
3214 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3215 $as_echo "$ac_try_echo"; } >&5
3216 (eval "$ac_link") 2>&5
3218 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3219 test $ac_status = 0; }; then :
3220 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3221 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3222 # work properly (i.e., refer to `conftest.exe'), while it won't with
3224 for ac_file
in conftest.exe conftest conftest.
*; do
3225 test -f "$ac_file" ||
continue
3227 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3228 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3234 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3235 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3236 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3237 See \`config.log' for more details" "$LINENO" 5; }
3239 rm -f conftest conftest
$ac_cv_exeext
3240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3241 $as_echo "$ac_cv_exeext" >&6; }
3243 rm -f conftest.
$ac_ext
3244 EXEEXT
=$ac_cv_exeext
3246 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3247 /* end confdefs.h. */
3252 FILE *f = fopen ("conftest.out", "w");
3253 return ferror (f) || fclose (f) != 0;
3259 ac_clean_files
="$ac_clean_files conftest.out"
3260 # Check that the compiler produces executables we can run. If not, either
3261 # the compiler is broken, or we cross compile.
3262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3263 $as_echo_n "checking whether we are cross compiling... " >&6; }
3264 if test "$cross_compiling" != yes; then
3265 { { ac_try
="$ac_link"
3267 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3268 *) ac_try_echo=$ac_try;;
3270 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3271 $as_echo "$ac_try_echo"; } >&5
3272 (eval "$ac_link") 2>&5
3274 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3275 test $ac_status = 0; }
3276 if { ac_try='./conftest$ac_cv_exeext'
3277 { { case "(($ac_try" in
3278 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3279 *) ac_try_echo
=$ac_try;;
3281 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3282 $as_echo "$ac_try_echo"; } >&5
3283 (eval "$ac_try") 2>&5
3285 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3286 test $ac_status = 0; }; }; then
3289 if test "$cross_compiling" = maybe
; then
3292 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3293 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3294 as_fn_error $?
"cannot run C compiled programs.
3295 If you meant to cross compile, use \`--host'.
3296 See \`config.log' for more details" "$LINENO" 5; }
3300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3301 $as_echo "$cross_compiling" >&6; }
3303 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3304 ac_clean_files
=$ac_clean_files_save
3305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3306 $as_echo_n "checking for suffix of object files... " >&6; }
3307 if ${ac_cv_objext+:} false
; then :
3308 $as_echo_n "(cached) " >&6
3310 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3311 /* end confdefs.h. */
3321 rm -f conftest.o conftest.obj
3322 if { { ac_try
="$ac_compile"
3324 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3325 *) ac_try_echo=$ac_try;;
3327 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3328 $as_echo "$ac_try_echo"; } >&5
3329 (eval "$ac_compile") 2>&5
3331 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3332 test $ac_status = 0; }; then :
3333 for ac_file in conftest.o conftest.obj conftest.*; do
3334 test -f "$ac_file" || continue;
3336 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3337 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3342 $as_echo "$as_me: failed program was:" >&5
3343 sed 's/^/| /' conftest.$ac_ext >&5
3345 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3346 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3347 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3348 See \
`config.log' for more details" "$LINENO" 5; }
3350 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3353 $as_echo "$ac_cv_objext" >&6; }
3354 OBJEXT=$ac_cv_objext
3356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3357 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3358 if ${ac_cv_c_compiler_gnu+:} false; then :
3359 $as_echo_n "(cached) " >&6
3361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3362 /* end confdefs.h. */
3375 if ac_fn_c_try_compile "$LINENO"; then :
3380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3381 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3385 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3386 if test $ac_compiler_gnu = yes; then
3391 ac_test_CFLAGS=${CFLAGS+set}
3392 ac_save_CFLAGS=$CFLAGS
3393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3394 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3395 if ${ac_cv_prog_cc_g+:} false; then :
3396 $as_echo_n "(cached) " >&6
3398 ac_save_c_werror_flag=$ac_c_werror_flag
3399 ac_c_werror_flag=yes
3402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3403 /* end confdefs.h. */
3413 if ac_fn_c_try_compile "$LINENO"; then :
3417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3418 /* end confdefs.h. */
3428 if ac_fn_c_try_compile "$LINENO"; then :
3431 ac_c_werror_flag=$ac_save_c_werror_flag
3433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3434 /* end confdefs.h. */
3444 if ac_fn_c_try_compile "$LINENO"; then :
3447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3452 ac_c_werror_flag=$ac_save_c_werror_flag
3454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3455 $as_echo "$ac_cv_prog_cc_g" >&6; }
3456 if test "$ac_test_CFLAGS" = set; then
3457 CFLAGS=$ac_save_CFLAGS
3458 elif test $ac_cv_prog_cc_g = yes; then
3459 if test "$GCC" = yes; then
3465 if test "$GCC" = yes; then
3471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3472 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3473 if ${ac_cv_prog_cc_c89+:} false; then :
3474 $as_echo_n "(cached) " >&6
3476 ac_cv_prog_cc_c89=no
3478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3479 /* end confdefs.h. */
3483 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3484 struct buf { int x; };
3485 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3486 static char *e (p, i)
3492 static char *f (char * (*g) (char **, int), char **p, ...)
3497 s = g (p, va_arg (v,int));
3502 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3503 function prototypes and stuff, but not '\xHH' hex character constants.
3504 These don't provoke an error unfortunately, instead are silently treated
3505 as 'x'. The following induces an error, until -std is added to get
3506 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3507 array size at least. It's necessary to write '\x00'==0 to get something
3508 that's true only with -std. */
3509 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3511 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3512 inside strings and character constants. */
3514 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3516 int test (int i, double x);
3517 struct s1 {int (*f) (int a);};
3518 struct s2 {int (*f) (double a);};
3519 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3525 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3530 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3531 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3533 CC="$ac_save_CC $ac_arg"
3534 if ac_fn_c_try_compile "$LINENO"; then :
3535 ac_cv_prog_cc_c89=$ac_arg
3537 rm -f core conftest.err conftest.$ac_objext
3538 test "x$ac_cv_prog_cc_c89" != "xno" && break
3540 rm -f conftest.$ac_ext
3545 case "x$ac_cv_prog_cc_c89" in
3547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3548 $as_echo "none needed" >&6; } ;;
3550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3551 $as_echo "unsupported" >&6; } ;;
3553 CC="$CC $ac_cv_prog_cc_c89"
3554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3555 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3557 if test "x$ac_cv_prog_cc_c89" != xno; then :
3562 ac_cpp='$CPP $CPPFLAGS'
3563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3568 ac_cpp='$CPP $CPPFLAGS'
3569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3573 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3574 if ${am_cv_prog_cc_c_o+:} false; then :
3575 $as_echo_n "(cached) " >&6
3577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3578 /* end confdefs.h. */
3588 # Make sure it works both with $CC and with simple cc.
3589 # Following AC_PROG_CC_C_O, we do the test twice because some
3590 # compilers refuse to overwrite an existing .o file with -o,
3591 # though they will create one.
3592 am_cv_prog_cc_c_o=yes
3594 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3595 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3598 (exit $ac_status); } \
3599 && test -f conftest2.$ac_objext; then
3602 am_cv_prog_cc_c_o=no
3606 rm -f core conftest*
3609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3610 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3611 if test "$am_cv_prog_cc_c_o" != yes; then
3612 # Losing compiler, so override with the script.
3613 # FIXME: It is wrong to rewrite CC.
3614 # But if we don't then we get into trouble of one sort or another.
3615 # A longer-term fix would be to have automake use am__CC in this case,
3616 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3617 CC="$am_aux_dir/compile $CC"
3620 ac_cpp='$CPP $CPPFLAGS'
3621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3628 ac_cpp='$CPP $CPPFLAGS'
3629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3633 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3634 # On Suns, sometimes $CPP names a directory.
3635 if test -n "$CPP" && test -d "$CPP"; then
3638 if test -z "$CPP"; then
3639 if ${ac_cv_prog_CPP+:} false; then :
3640 $as_echo_n "(cached) " >&6
3642 # Double quotes because CPP needs to be expanded
3643 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3646 for ac_c_preproc_warn_flag in '' yes
3648 # Use a header file that comes with gcc, so configuring glibc
3649 # with a fresh cross-compiler works.
3650 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3651 # <limits.h> exists even on freestanding compilers.
3652 # On the NeXT, cc -E runs the code through the compiler's parser,
3653 # not just through cpp. "Syntax error" is here to catch this case.
3654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3655 /* end confdefs.h. */
3657 # include <limits.h>
3659 # include <assert.h>
3663 if ac_fn_c_try_cpp "$LINENO"; then :
3666 # Broken: fails on valid input.
3669 rm -f conftest.err conftest.i conftest.$ac_ext
3671 # OK, works on sane cases. Now check whether nonexistent headers
3672 # can be detected and how.
3673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3674 /* end confdefs.h. */
3675 #include <ac_nonexistent.h>
3677 if ac_fn_c_try_cpp "$LINENO"; then :
3678 # Broken: success on invalid input.
3681 # Passes both tests.
3685 rm -f conftest.err conftest.i conftest.$ac_ext
3688 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3689 rm -f conftest.i conftest.err conftest.
$ac_ext
3690 if $ac_preproc_ok; then :
3702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3703 $as_echo "$CPP" >&6; }
3705 for ac_c_preproc_warn_flag
in '' yes
3707 # Use a header file that comes with gcc, so configuring glibc
3708 # with a fresh cross-compiler works.
3709 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3710 # <limits.h> exists even on freestanding compilers.
3711 # On the NeXT, cc -E runs the code through the compiler's parser,
3712 # not just through cpp. "Syntax error" is here to catch this case.
3713 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3714 /* end confdefs.h. */
3716 # include <limits.h>
3718 # include <assert.h>
3722 if ac_fn_c_try_cpp
"$LINENO"; then :
3725 # Broken: fails on valid input.
3728 rm -f conftest.err conftest.i conftest.
$ac_ext
3730 # OK, works on sane cases. Now check whether nonexistent headers
3731 # can be detected and how.
3732 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3733 /* end confdefs.h. */
3734 #include <ac_nonexistent.h>
3736 if ac_fn_c_try_cpp
"$LINENO"; then :
3737 # Broken: success on invalid input.
3740 # Passes both tests.
3744 rm -f conftest.err conftest.i conftest.
$ac_ext
3747 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3748 rm -f conftest.i conftest.err conftest.
$ac_ext
3749 if $ac_preproc_ok; then :
3752 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3753 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3754 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
3755 See \`config.log' for more details" "$LINENO" 5; }
3759 ac_cpp
='$CPP $CPPFLAGS'
3760 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3761 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3762 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3766 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3767 if ${ac_cv_path_GREP+:} false
; then :
3768 $as_echo_n "(cached) " >&6
3770 if test -z "$GREP"; then
3771 ac_path_GREP_found
=false
3772 # Loop through the user's path and test for each of PROGNAME-LIST
3773 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3774 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3777 test -z "$as_dir" && as_dir
=.
3778 for ac_prog
in grep ggrep
; do
3779 for ac_exec_ext
in '' $ac_executable_extensions; do
3780 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3781 as_fn_executable_p
"$ac_path_GREP" ||
continue
3782 # Check for GNU ac_path_GREP and select it if it is found.
3783 # Check for GNU $ac_path_GREP
3784 case `"$ac_path_GREP" --version 2>&1` in
3786 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3789 $as_echo_n 0123456789 >"conftest.in"
3792 cat "conftest.in" "conftest.in" >"conftest.tmp"
3793 mv "conftest.tmp" "conftest.in"
3794 cp "conftest.in" "conftest.nl"
3795 $as_echo 'GREP' >> "conftest.nl"
3796 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3797 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3798 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3799 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3800 # Best one so far, save it but keep looking for a better one
3801 ac_cv_path_GREP
="$ac_path_GREP"
3802 ac_path_GREP_max
=$ac_count
3804 # 10*(2^10) chars as input seems more than enough
3805 test $ac_count -gt 10 && break
3807 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3810 $ac_path_GREP_found && break 3
3815 if test -z "$ac_cv_path_GREP"; then
3816 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3819 ac_cv_path_GREP
=$GREP
3823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3824 $as_echo "$ac_cv_path_GREP" >&6; }
3825 GREP
="$ac_cv_path_GREP"
3828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3829 $as_echo_n "checking for egrep... " >&6; }
3830 if ${ac_cv_path_EGREP+:} false
; then :
3831 $as_echo_n "(cached) " >&6
3833 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3834 then ac_cv_path_EGREP
="$GREP -E"
3836 if test -z "$EGREP"; then
3837 ac_path_EGREP_found
=false
3838 # Loop through the user's path and test for each of PROGNAME-LIST
3839 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3840 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3843 test -z "$as_dir" && as_dir
=.
3844 for ac_prog
in egrep; do
3845 for ac_exec_ext
in '' $ac_executable_extensions; do
3846 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3847 as_fn_executable_p
"$ac_path_EGREP" ||
continue
3848 # Check for GNU ac_path_EGREP and select it if it is found.
3849 # Check for GNU $ac_path_EGREP
3850 case `"$ac_path_EGREP" --version 2>&1` in
3852 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3855 $as_echo_n 0123456789 >"conftest.in"
3858 cat "conftest.in" "conftest.in" >"conftest.tmp"
3859 mv "conftest.tmp" "conftest.in"
3860 cp "conftest.in" "conftest.nl"
3861 $as_echo 'EGREP' >> "conftest.nl"
3862 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3863 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3864 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3865 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3866 # Best one so far, save it but keep looking for a better one
3867 ac_cv_path_EGREP
="$ac_path_EGREP"
3868 ac_path_EGREP_max
=$ac_count
3870 # 10*(2^10) chars as input seems more than enough
3871 test $ac_count -gt 10 && break
3873 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3876 $ac_path_EGREP_found && break 3
3881 if test -z "$ac_cv_path_EGREP"; then
3882 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3885 ac_cv_path_EGREP
=$EGREP
3890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3891 $as_echo "$ac_cv_path_EGREP" >&6; }
3892 EGREP
="$ac_cv_path_EGREP"
3895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3896 $as_echo_n "checking for ANSI C header files... " >&6; }
3897 if ${ac_cv_header_stdc+:} false
; then :
3898 $as_echo_n "(cached) " >&6
3900 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3901 /* end confdefs.h. */
3915 if ac_fn_c_try_compile
"$LINENO"; then :
3916 ac_cv_header_stdc
=yes
3918 ac_cv_header_stdc
=no
3920 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3922 if test $ac_cv_header_stdc = yes; then
3923 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3924 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3925 /* end confdefs.h. */
3929 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3930 $EGREP "memchr" >/dev
/null
2>&1; then :
3933 ac_cv_header_stdc
=no
3939 if test $ac_cv_header_stdc = yes; then
3940 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3941 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3942 /* end confdefs.h. */
3946 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3947 $EGREP "free" >/dev
/null
2>&1; then :
3950 ac_cv_header_stdc
=no
3956 if test $ac_cv_header_stdc = yes; then
3957 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3958 if test "$cross_compiling" = yes; then :
3961 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3962 /* end confdefs.h. */
3965 #if ((' ' & 0x0FF) == 0x020)
3966 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3967 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3969 # define ISLOWER(c) \
3970 (('a' <= (c) && (c) <= 'i') \
3971 || ('j' <= (c) && (c) <= 'r') \
3972 || ('s' <= (c) && (c) <= 'z'))
3973 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3976 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3981 for (i = 0; i < 256; i++)
3982 if (XOR (islower (i), ISLOWER (i))
3983 || toupper (i) != TOUPPER (i))
3988 if ac_fn_c_try_run
"$LINENO"; then :
3991 ac_cv_header_stdc
=no
3993 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
3994 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
3999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4000 $as_echo "$ac_cv_header_stdc" >&6; }
4001 if test $ac_cv_header_stdc = yes; then
4003 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4007 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4008 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4009 inttypes.h stdint.h unistd.h
4011 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4012 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4014 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
4015 cat >>confdefs.h
<<_ACEOF
4016 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4025 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4026 if test "x$ac_cv_header_minix_config_h" = xyes
; then :
4033 if test "$MINIX" = yes; then
4035 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4038 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4041 $as_echo "#define _MINIX 1" >>confdefs.h
4046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4047 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4048 if ${ac_cv_safe_to_define___extensions__+:} false
; then :
4049 $as_echo_n "(cached) " >&6
4051 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4052 /* end confdefs.h. */
4054 # define __EXTENSIONS__ 1
4055 $ac_includes_default
4064 if ac_fn_c_try_compile
"$LINENO"; then :
4065 ac_cv_safe_to_define___extensions__
=yes
4067 ac_cv_safe_to_define___extensions__
=no
4069 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4072 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4073 test $ac_cv_safe_to_define___extensions__ = yes &&
4074 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4076 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4078 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4080 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4082 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4085 test "$program_prefix" != NONE
&&
4086 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
4087 # Use a double $ so make ignores it.
4088 test "$program_suffix" != NONE
&&
4089 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
4090 # Double any \ or $.
4091 # By default was `s,x,x', remove it if useless.
4092 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
4093 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
4095 # Find a good install program. We prefer a C program (faster),
4096 # so one script is as good as another. But avoid the broken or
4097 # incompatible versions:
4098 # SysV /etc/install, /usr/sbin/install
4099 # SunOS /usr/etc/install
4100 # IRIX /sbin/install
4102 # AmigaOS /C/install, which installs bootblocks on floppy discs
4103 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4104 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4105 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4106 # OS/2's system install, which has a completely different semantic
4107 # ./install, which can be erroneously created by make from ./install.sh.
4108 # Reject install programs that cannot install multiple files.
4109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
4110 $as_echo_n "checking for a BSD-compatible install... " >&6; }
4111 if test -z "$INSTALL"; then
4112 if ${ac_cv_path_install+:} false
; then :
4113 $as_echo_n "(cached) " >&6
4115 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4119 test -z "$as_dir" && as_dir
=.
4120 # Account for people who put trailing slashes in PATH elements.
4121 case $as_dir/ in #((
4122 .
/ | .
// |
/[cC
]/* | \
4123 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4124 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
4127 # OSF1 and SCO ODT 3.0 have their own names for install.
4128 # Don't use installbsd from OSF since it installs stuff as root
4130 for ac_prog
in ginstall scoinst
install; do
4131 for ac_exec_ext
in '' $ac_executable_extensions; do
4132 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
4133 if test $ac_prog = install &&
4134 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4135 # AIX install. It has an incompatible calling convention.
4137 elif test $ac_prog = install &&
4138 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4139 # program-specific install script used by HP pwplus--don't use.
4142 rm -rf conftest.one conftest.two conftest.dir
4143 echo one
> conftest.one
4144 echo two
> conftest.two
4146 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
4147 test -s conftest.one
&& test -s conftest.two
&&
4148 test -s conftest.dir
/conftest.one
&&
4149 test -s conftest.dir
/conftest.two
4151 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4164 rm -rf conftest.one conftest.two conftest.dir
4167 if test "${ac_cv_path_install+set}" = set; then
4168 INSTALL
=$ac_cv_path_install
4170 # As a last resort, use the slow shell script. Don't cache a
4171 # value for INSTALL within a source directory, because that will
4172 # break other packages using the cache if that directory is
4173 # removed, or if the value is a relative name.
4174 INSTALL
=$ac_install_sh
4177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4178 $as_echo "$INSTALL" >&6; }
4180 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4181 # It thinks the first close brace ends the variable substitution.
4182 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4184 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4186 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
4193 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
4194 if ${ac_cv_c_bigendian+:} false
; then :
4195 $as_echo_n "(cached) " >&6
4197 ac_cv_c_bigendian
=unknown
4198 # See if we're dealing with a universal compiler.
4199 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4200 /* end confdefs.h. */
4201 #ifndef __APPLE_CC__
4202 not a universal capable compiler
4207 if ac_fn_c_try_compile
"$LINENO"; then :
4209 # Check for potential -arch flags. It is not universal unless
4210 # there are at least two -arch flags with different values.
4213 for ac_word
in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
4214 if test -n "$ac_prev"; then
4216 i?
86 | x86_64 | ppc | ppc64
)
4217 if test -z "$ac_arch" ||
test "$ac_arch" = "$ac_word"; then
4220 ac_cv_c_bigendian
=universal
4226 elif test "x$ac_word" = "x-arch"; then
4231 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4232 if test $ac_cv_c_bigendian = unknown
; then
4233 # See if sys/param.h defines the BYTE_ORDER macro.
4234 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4235 /* end confdefs.h. */
4236 #include <sys/types.h>
4237 #include <sys/param.h>
4242 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
4243 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
4252 if ac_fn_c_try_compile
"$LINENO"; then :
4253 # It does; now see whether it defined to BIG_ENDIAN or not.
4254 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4255 /* end confdefs.h. */
4256 #include <sys/types.h>
4257 #include <sys/param.h>
4262 #if BYTE_ORDER != BIG_ENDIAN
4270 if ac_fn_c_try_compile
"$LINENO"; then :
4271 ac_cv_c_bigendian
=yes
4273 ac_cv_c_bigendian
=no
4275 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4277 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4279 if test $ac_cv_c_bigendian = unknown
; then
4280 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
4281 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4282 /* end confdefs.h. */
4288 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
4296 if ac_fn_c_try_compile
"$LINENO"; then :
4297 # It does; now see whether it defined to _BIG_ENDIAN or not.
4298 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4299 /* end confdefs.h. */
4313 if ac_fn_c_try_compile
"$LINENO"; then :
4314 ac_cv_c_bigendian
=yes
4316 ac_cv_c_bigendian
=no
4318 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4320 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4322 if test $ac_cv_c_bigendian = unknown
; then
4323 # Compile a test program.
4324 if test "$cross_compiling" = yes; then :
4325 # Try to guess by grepping values from an object file.
4326 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4327 /* end confdefs.h. */
4328 short int ascii_mm[] =
4329 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
4330 short int ascii_ii[] =
4331 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
4332 int use_ascii (int i) {
4333 return ascii_mm[i] + ascii_ii[i];
4335 short int ebcdic_ii[] =
4336 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
4337 short int ebcdic_mm[] =
4338 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
4339 int use_ebcdic (int i) {
4340 return ebcdic_mm[i] + ebcdic_ii[i];
4347 return use_ascii (foo) == use_ebcdic (foo);
4352 if ac_fn_c_try_compile
"$LINENO"; then :
4353 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
4354 ac_cv_c_bigendian
=yes
4356 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
4357 if test "$ac_cv_c_bigendian" = unknown
; then
4358 ac_cv_c_bigendian
=no
4360 # finding both strings is unlikely to happen, but who knows?
4361 ac_cv_c_bigendian
=unknown
4365 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4367 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4368 /* end confdefs.h. */
4369 $ac_includes_default
4374 /* Are we little or big endian? From Harbison&Steele. */
4378 char c[sizeof (long int)];
4381 return u.c[sizeof (long int) - 1] == 1;
4387 if ac_fn_c_try_run
"$LINENO"; then :
4388 ac_cv_c_bigendian
=no
4390 ac_cv_c_bigendian
=yes
4392 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4393 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
4399 $as_echo "$ac_cv_c_bigendian" >&6; }
4400 case $ac_cv_c_bigendian in #(
4402 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
4408 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
4412 as_fn_error $?
"unknown endianness
4413 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
4419 if test -n "$ac_tool_prefix"; then
4420 # Extract the first word of "${ac_tool_prefix}dtc", so it can be a program name with args.
4421 set dummy
${ac_tool_prefix}dtc
; ac_word
=$2
4422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4423 $as_echo_n "checking for $ac_word... " >&6; }
4424 if ${ac_cv_prog_DTC+:} false
; then :
4425 $as_echo_n "(cached) " >&6
4427 if test -n "$DTC"; then
4428 ac_cv_prog_DTC
="$DTC" # Let the user override the test.
4430 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4434 test -z "$as_dir" && as_dir
=.
4435 for ac_exec_ext
in '' $ac_executable_extensions; do
4436 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4437 ac_cv_prog_DTC
="${ac_tool_prefix}dtc"
4438 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4448 if test -n "$DTC"; then
4449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DTC" >&5
4450 $as_echo "$DTC" >&6; }
4452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4453 $as_echo "no" >&6; }
4458 if test -z "$ac_cv_prog_DTC"; then
4460 # Extract the first word of "dtc", so it can be a program name with args.
4461 set dummy dtc
; ac_word
=$2
4462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4463 $as_echo_n "checking for $ac_word... " >&6; }
4464 if ${ac_cv_prog_ac_ct_DTC+:} false
; then :
4465 $as_echo_n "(cached) " >&6
4467 if test -n "$ac_ct_DTC"; then
4468 ac_cv_prog_ac_ct_DTC
="$ac_ct_DTC" # Let the user override the test.
4470 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4474 test -z "$as_dir" && as_dir
=.
4475 for ac_exec_ext
in '' $ac_executable_extensions; do
4476 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4477 ac_cv_prog_ac_ct_DTC
="dtc"
4478 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4487 ac_ct_DTC
=$ac_cv_prog_ac_ct_DTC
4488 if test -n "$ac_ct_DTC"; then
4489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DTC" >&5
4490 $as_echo "$ac_ct_DTC" >&6; }
4492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4493 $as_echo "no" >&6; }
4496 if test "x$ac_ct_DTC" = x
; then
4499 case $cross_compiling:$ac_tool_warned in
4501 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4502 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4503 ac_tool_warned
=yes ;;
4508 DTC
="$ac_cv_prog_DTC"
4512 if test "x$cross_compiling" = "xno"; then
4513 : "${AR_FOR_BUILD:=\$(AR)}"
4514 : "${CC_FOR_BUILD:=\$(CC)}"
4515 : "${RANLIB_FOR_BUILD:=\$(RANLIB)}"
4516 : "${CFLAGS_FOR_BUILD:=\$(CFLAGS)}"
4517 : "${LDFLAGS_FOR_BUILD:=\$(LDFLAGS)}"
4519 : "${AR_FOR_BUILD:=ar}"
4520 : "${CC_FOR_BUILD:=gcc}"
4521 : "${RANLIB_FOR_BUILD:=ranlib}"
4522 : "${CFLAGS_FOR_BUILD:=-g -O}"
4523 : "${LDLFAGS_FOR_BUILD:=}"
4532 if test -n "$ac_tool_prefix"; then
4533 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4534 set dummy
${ac_tool_prefix}ar; ac_word
=$2
4535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4536 $as_echo_n "checking for $ac_word... " >&6; }
4537 if ${ac_cv_prog_AR+:} false
; then :
4538 $as_echo_n "(cached) " >&6
4540 if test -n "$AR"; then
4541 ac_cv_prog_AR
="$AR" # Let the user override the test.
4543 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4547 test -z "$as_dir" && as_dir
=.
4548 for ac_exec_ext
in '' $ac_executable_extensions; do
4549 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4550 ac_cv_prog_AR
="${ac_tool_prefix}ar"
4551 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4561 if test -n "$AR"; then
4562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4563 $as_echo "$AR" >&6; }
4565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4566 $as_echo "no" >&6; }
4571 if test -z "$ac_cv_prog_AR"; then
4573 # Extract the first word of "ar", so it can be a program name with args.
4574 set dummy
ar; ac_word
=$2
4575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4576 $as_echo_n "checking for $ac_word... " >&6; }
4577 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
4578 $as_echo_n "(cached) " >&6
4580 if test -n "$ac_ct_AR"; then
4581 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
4583 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4587 test -z "$as_dir" && as_dir
=.
4588 for ac_exec_ext
in '' $ac_executable_extensions; do
4589 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4590 ac_cv_prog_ac_ct_AR
="ar"
4591 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4600 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
4601 if test -n "$ac_ct_AR"; then
4602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4603 $as_echo "$ac_ct_AR" >&6; }
4605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4606 $as_echo "no" >&6; }
4609 if test "x$ac_ct_AR" = x
; then
4612 case $cross_compiling:$ac_tool_warned in
4614 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4615 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4616 ac_tool_warned
=yes ;;
4624 if test -n "$ac_tool_prefix"; then
4625 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4626 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4628 $as_echo_n "checking for $ac_word... " >&6; }
4629 if ${ac_cv_prog_RANLIB+:} false
; then :
4630 $as_echo_n "(cached) " >&6
4632 if test -n "$RANLIB"; then
4633 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4635 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4639 test -z "$as_dir" && as_dir
=.
4640 for ac_exec_ext
in '' $ac_executable_extensions; do
4641 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4642 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4643 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4652 RANLIB
=$ac_cv_prog_RANLIB
4653 if test -n "$RANLIB"; then
4654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4655 $as_echo "$RANLIB" >&6; }
4657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4658 $as_echo "no" >&6; }
4663 if test -z "$ac_cv_prog_RANLIB"; then
4664 ac_ct_RANLIB
=$RANLIB
4665 # Extract the first word of "ranlib", so it can be a program name with args.
4666 set dummy ranlib
; ac_word
=$2
4667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4668 $as_echo_n "checking for $ac_word... " >&6; }
4669 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
4670 $as_echo_n "(cached) " >&6
4672 if test -n "$ac_ct_RANLIB"; then
4673 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4675 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4679 test -z "$as_dir" && as_dir
=.
4680 for ac_exec_ext
in '' $ac_executable_extensions; do
4681 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4682 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4683 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4692 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4693 if test -n "$ac_ct_RANLIB"; then
4694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4695 $as_echo "$ac_ct_RANLIB" >&6; }
4697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4698 $as_echo "no" >&6; }
4701 if test "x$ac_ct_RANLIB" = x
; then
4704 case $cross_compiling:$ac_tool_warned in
4706 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4707 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4708 ac_tool_warned
=yes ;;
4710 RANLIB
=$ac_ct_RANLIB
4713 RANLIB
="$ac_cv_prog_RANLIB"
4717 # Require C11 or newer. Autoconf-2.70 provides ac_cv_prog_cc_c11 when using
4718 # AC_PROG_CC, but we're still using Autoconf-2.69, and the newest it understands
4719 # is C99. So handle it ourselves.
4722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C11 is supported by default" >&5
4723 $as_echo_n "checking whether C11 is supported by default... " >&6; }
4724 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4725 /* end confdefs.h. */
4727 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
4728 # error "C11 support not found"
4732 if ac_fn_c_try_compile
"$LINENO"; then :
4733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4734 $as_echo "yes" >&6; }
4737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4738 $as_echo "no" >&6; }
4739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -std=c11 support" >&5
4740 $as_echo_n "checking for -std=c11 support... " >&6; }
4743 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4744 /* end confdefs.h. */
4746 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
4747 # error "C11 support not found"
4751 if ac_fn_c_try_compile
"$LINENO"; then :
4753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4754 $as_echo "yes" >&6; }
4756 C_DIALECT
="-std=c11"
4759 as_fn_error $?
"C11 is required" "$LINENO" 5
4761 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4763 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4769 for ac_header
in $ac_header_list
4771 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4772 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4774 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
4775 cat >>confdefs.h
<<_ACEOF
4776 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4834 for ac_func
in $ac_func_list
4836 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4837 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
4838 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
4839 cat >>confdefs.h
<<_ACEOF
4840 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
4968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
4969 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
4970 if ${ac_cv_struct_tm+:} false
; then :
4971 $as_echo_n "(cached) " >&6
4973 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4974 /* end confdefs.h. */
4975 #include <sys/types.h>
4982 int *p = &tm.tm_sec;
4988 if ac_fn_c_try_compile
"$LINENO"; then :
4989 ac_cv_struct_tm
=time.h
4991 ac_cv_struct_tm
=sys
/time.h
4993 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
4996 $as_echo "$ac_cv_struct_tm" >&6; }
4997 if test $ac_cv_struct_tm = sys
/time.h
; then
4999 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
5003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
5004 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
5005 if ${ac_cv_type_uid_t+:} false
; then :
5006 $as_echo_n "(cached) " >&6
5008 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5009 /* end confdefs.h. */
5010 #include <sys/types.h>
5013 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5014 $EGREP "uid_t" >/dev
/null
2>&1; then :
5015 ac_cv_type_uid_t
=yes
5022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
5023 $as_echo "$ac_cv_type_uid_t" >&6; }
5024 if test $ac_cv_type_uid_t = no
; then
5026 $as_echo "#define uid_t int" >>confdefs.h
5029 $as_echo "#define gid_t int" >>confdefs.h
5035 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5036 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5041 macro_version
='2.2.7a'
5042 macro_revision
='1.3134'
5056 ltmain
="$ac_aux_dir/ltmain.sh"
5058 # Backslashify metacharacters that are still active within
5059 # double-quoted strings.
5060 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
5062 # Same as above, but do not quote variable references.
5063 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
5065 # Sed substitution to delay expansion of an escaped shell variable in a
5066 # double_quote_subst'ed string.
5067 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
5069 # Sed substitution to delay expansion of an escaped single quote.
5070 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
5072 # Sed substitution to avoid accidental globbing in evaled expressions
5073 no_glob_subst
='s/\*/\\\*/g'
5075 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5076 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5077 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5080 $as_echo_n "checking how to print strings... " >&6; }
5081 # Test print first, because it will be a builtin if present.
5082 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5083 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5085 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5088 # Use this function as a fallback that always works.
5089 func_fallback_echo ()
5091 eval 'cat <<_LTECHO_EOF
5095 ECHO='func_fallback_echo
'
5098 # func_echo_all arg...
5099 # Invoke $ECHO with all args, space-separated.
5106 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5107 $as_echo "printf" >&6; } ;;
5108 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5109 $as_echo "print -r" >&6; } ;;
5110 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5111 $as_echo "cat" >&6; } ;;
5127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5128 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5129 if ${ac_cv_path_SED+:} false; then :
5130 $as_echo_n "(cached) " >&6
5132 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5133 for ac_i in 1 2 3 4 5 6 7; do
5134 ac_script="$ac_script$as_nl$ac_script"
5136 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5137 { ac_script=; unset ac_script;}
5138 if test -z "$SED"; then
5139 ac_path_SED_found=false
5140 # Loop through the user's path and
test for each of PROGNAME-LIST
5141 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5145 test -z "$as_dir" && as_dir
=.
5146 for ac_prog
in sed gsed
; do
5147 for ac_exec_ext
in '' $ac_executable_extensions; do
5148 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
5149 as_fn_executable_p
"$ac_path_SED" ||
continue
5150 # Check for GNU ac_path_SED and select it if it is found.
5151 # Check for GNU $ac_path_SED
5152 case `"$ac_path_SED" --version 2>&1` in
5154 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
5157 $as_echo_n 0123456789 >"conftest.in"
5160 cat "conftest.in" "conftest.in" >"conftest.tmp"
5161 mv "conftest.tmp" "conftest.in"
5162 cp "conftest.in" "conftest.nl"
5163 $as_echo '' >> "conftest.nl"
5164 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5165 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5166 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5167 if test $ac_count -gt ${ac_path_SED_max-0}; then
5168 # Best one so far, save it but keep looking for a better one
5169 ac_cv_path_SED
="$ac_path_SED"
5170 ac_path_SED_max
=$ac_count
5172 # 10*(2^10) chars as input seems more than enough
5173 test $ac_count -gt 10 && break
5175 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5178 $ac_path_SED_found && break 3
5183 if test -z "$ac_cv_path_SED"; then
5184 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
5191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5192 $as_echo "$ac_cv_path_SED" >&6; }
5193 SED
="$ac_cv_path_SED"
5196 test -z "$SED" && SED
=sed
5197 Xsed
="$SED -e 1s/^X//"
5209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5210 $as_echo_n "checking for fgrep... " >&6; }
5211 if ${ac_cv_path_FGREP+:} false
; then :
5212 $as_echo_n "(cached) " >&6
5214 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
5215 then ac_cv_path_FGREP
="$GREP -F"
5217 if test -z "$FGREP"; then
5218 ac_path_FGREP_found
=false
5219 # Loop through the user's path and test for each of PROGNAME-LIST
5220 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5221 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5224 test -z "$as_dir" && as_dir
=.
5225 for ac_prog
in fgrep
; do
5226 for ac_exec_ext
in '' $ac_executable_extensions; do
5227 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
5228 as_fn_executable_p
"$ac_path_FGREP" ||
continue
5229 # Check for GNU ac_path_FGREP and select it if it is found.
5230 # Check for GNU $ac_path_FGREP
5231 case `"$ac_path_FGREP" --version 2>&1` in
5233 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
5236 $as_echo_n 0123456789 >"conftest.in"
5239 cat "conftest.in" "conftest.in" >"conftest.tmp"
5240 mv "conftest.tmp" "conftest.in"
5241 cp "conftest.in" "conftest.nl"
5242 $as_echo 'FGREP' >> "conftest.nl"
5243 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5244 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5245 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5246 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5247 # Best one so far, save it but keep looking for a better one
5248 ac_cv_path_FGREP
="$ac_path_FGREP"
5249 ac_path_FGREP_max
=$ac_count
5251 # 10*(2^10) chars as input seems more than enough
5252 test $ac_count -gt 10 && break
5254 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5257 $ac_path_FGREP_found && break 3
5262 if test -z "$ac_cv_path_FGREP"; then
5263 as_fn_error $?
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5266 ac_cv_path_FGREP
=$FGREP
5271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5272 $as_echo "$ac_cv_path_FGREP" >&6; }
5273 FGREP
="$ac_cv_path_FGREP"
5276 test -z "$GREP" && GREP
=grep
5296 # Check whether --with-gnu-ld was given.
5297 if test "${with_gnu_ld+set}" = set; then :
5298 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
5304 if test "$GCC" = yes; then
5305 # Check if gcc -print-prog-name=ld gives a path.
5306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5307 $as_echo_n "checking for ld used by $CC... " >&6; }
5310 # gcc leaves a trailing carriage return which upsets mingw
5311 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5313 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5316 # Accept absolute paths.
5318 re_direlt
='/[^/][^/]*/\.\./'
5319 # Canonicalize the pathname of ld
5320 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5321 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
5322 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5324 test -z "$LD" && LD
="$ac_prog"
5327 # If it fails, then pretend we aren't using GCC.
5331 # If it is relative, then search for the first ld in PATH.
5335 elif test "$with_gnu_ld" = yes; then
5336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5337 $as_echo_n "checking for GNU ld... " >&6; }
5339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5340 $as_echo_n "checking for non-GNU ld... " >&6; }
5342 if ${lt_cv_path_LD+:} false
; then :
5343 $as_echo_n "(cached) " >&6
5345 if test -z "$LD"; then
5346 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5347 for ac_dir
in $PATH; do
5349 test -z "$ac_dir" && ac_dir
=.
5350 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5351 lt_cv_path_LD
="$ac_dir/$ac_prog"
5352 # Check to see if the program is GNU ld. I'd rather use --version,
5353 # but apparently some variants of GNU ld only accept -v.
5354 # Break only if it was the GNU/non-GNU ld that we prefer.
5355 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5356 *GNU
* |
*'with BFD'*)
5357 test "$with_gnu_ld" != no
&& break
5360 test "$with_gnu_ld" != yes && break
5367 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
5372 if test -n "$LD"; then
5373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5374 $as_echo "$LD" >&6; }
5376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5377 $as_echo "no" >&6; }
5379 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
5380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5381 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5382 if ${lt_cv_prog_gnu_ld+:} false
; then :
5383 $as_echo_n "(cached) " >&6
5385 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5386 case `$LD -v 2>&1 </dev/null` in
5387 *GNU
* |
*'with BFD'*)
5388 lt_cv_prog_gnu_ld
=yes
5391 lt_cv_prog_gnu_ld
=no
5395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5396 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5397 with_gnu_ld
=$lt_cv_prog_gnu_ld
5407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5408 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5409 if ${lt_cv_path_NM+:} false
; then :
5410 $as_echo_n "(cached) " >&6
5412 if test -n "$NM"; then
5413 # Let the user override the test.
5416 lt_nm_to_check
="${ac_tool_prefix}nm"
5417 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5418 lt_nm_to_check
="$lt_nm_to_check nm"
5420 for lt_tmp_nm
in $lt_nm_to_check; do
5421 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5422 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
5424 test -z "$ac_dir" && ac_dir
=.
5425 tmp_nm
="$ac_dir/$lt_tmp_nm"
5426 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
5427 # Check to see if the nm accepts a BSD-compat flag.
5428 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5429 # nm: unknown option "B" ignored
5430 # Tru64's nm complains that /dev/null is an invalid object file
5431 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5432 */dev
/null
* |
*'Invalid file or object type'*)
5433 lt_cv_path_NM
="$tmp_nm -B"
5437 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5439 lt_cv_path_NM
="$tmp_nm -p"
5443 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5444 continue # so that we can try to find one that supports BSD flags
5453 : ${lt_cv_path_NM=no}
5456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5457 $as_echo "$lt_cv_path_NM" >&6; }
5458 if test "$lt_cv_path_NM" != "no"; then
5461 # Didn't find any BSD compatible name lister, look for dumpbin.
5462 if test -n "$DUMPBIN"; then :
5463 # Let the user override the test.
5465 if test -n "$ac_tool_prefix"; then
5466 for ac_prog
in dumpbin
"link -dump"
5468 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5469 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5471 $as_echo_n "checking for $ac_word... " >&6; }
5472 if ${ac_cv_prog_DUMPBIN+:} false
; then :
5473 $as_echo_n "(cached) " >&6
5475 if test -n "$DUMPBIN"; then
5476 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
5478 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5482 test -z "$as_dir" && as_dir
=.
5483 for ac_exec_ext
in '' $ac_executable_extensions; do
5484 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5485 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
5486 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5495 DUMPBIN
=$ac_cv_prog_DUMPBIN
5496 if test -n "$DUMPBIN"; then
5497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5498 $as_echo "$DUMPBIN" >&6; }
5500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5501 $as_echo "no" >&6; }
5505 test -n "$DUMPBIN" && break
5508 if test -z "$DUMPBIN"; then
5509 ac_ct_DUMPBIN
=$DUMPBIN
5510 for ac_prog
in dumpbin
"link -dump"
5512 # Extract the first word of "$ac_prog", so it can be a program name with args.
5513 set dummy
$ac_prog; ac_word
=$2
5514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5515 $as_echo_n "checking for $ac_word... " >&6; }
5516 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false
; then :
5517 $as_echo_n "(cached) " >&6
5519 if test -n "$ac_ct_DUMPBIN"; then
5520 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
5522 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5526 test -z "$as_dir" && as_dir
=.
5527 for ac_exec_ext
in '' $ac_executable_extensions; do
5528 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5529 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
5530 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5539 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
5540 if test -n "$ac_ct_DUMPBIN"; then
5541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5542 $as_echo "$ac_ct_DUMPBIN" >&6; }
5544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5545 $as_echo "no" >&6; }
5549 test -n "$ac_ct_DUMPBIN" && break
5552 if test "x$ac_ct_DUMPBIN" = x
; then
5555 case $cross_compiling:$ac_tool_warned in
5557 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5558 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5559 ac_tool_warned
=yes ;;
5561 DUMPBIN
=$ac_ct_DUMPBIN
5565 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5567 DUMPBIN
="$DUMPBIN -symbols"
5575 if test "$DUMPBIN" != ":"; then
5579 test -z "$NM" && NM
=nm
5586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5587 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5588 if ${lt_cv_nm_interface+:} false
; then :
5589 $as_echo_n "(cached) " >&6
5591 lt_cv_nm_interface
="BSD nm"
5592 echo "int some_variable = 0;" > conftest.
$ac_ext
5593 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5594 (eval "$ac_compile" 2>conftest.err
)
5595 cat conftest.err
>&5
5596 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5597 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
5598 cat conftest.err
>&5
5599 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5600 cat conftest.out
>&5
5601 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
5602 lt_cv_nm_interface
="MS dumpbin"
5606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5607 $as_echo "$lt_cv_nm_interface" >&6; }
5609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5610 $as_echo_n "checking whether ln -s works... " >&6; }
5612 if test "$LN_S" = "ln -s"; then
5613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5614 $as_echo "yes" >&6; }
5616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5617 $as_echo "no, using $LN_S" >&6; }
5620 # find the maximum length of command line arguments
5621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5622 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5623 if ${lt_cv_sys_max_cmd_len+:} false
; then :
5624 $as_echo_n "(cached) " >&6
5631 # On DJGPP, this test can blow up pretty badly due to problems in libc
5632 # (any single argument exceeding 2000 bytes causes a buffer overrun
5633 # during glob expansion). Even if it were fixed, the result of this
5634 # check would be larger than it should be.
5635 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5639 # Under GNU Hurd, this test is not required because there is
5640 # no limit to the length of command line arguments.
5641 # Libtool will interpret -1 as no limit whatsoever
5642 lt_cv_sys_max_cmd_len
=-1;
5645 cygwin
* | mingw
* | cegcc
*)
5646 # On Win9x/ME, this test blows up -- it succeeds, but takes
5647 # about 5 minutes as the teststring grows exponentially.
5648 # Worse, since 9x/ME are not pre-emptively multitasking,
5649 # you end up with a "frozen" computer, even though with patience
5650 # the test eventually succeeds (with a max line length of 256k).
5651 # Instead, let's just punt: use the minimum linelength reported by
5652 # all of the supported platforms: 8192 (on NT/2K/XP).
5653 lt_cv_sys_max_cmd_len
=8192;
5657 # On MiNT this can take a long time and run out of memory.
5658 lt_cv_sys_max_cmd_len
=8192;
5662 # On AmigaOS with pdksh, this test takes hours, literally.
5663 # So we just punt and use a minimum line length of 8192.
5664 lt_cv_sys_max_cmd_len
=8192;
5667 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5668 # This has been around since 386BSD, at least. Likely further.
5669 if test -x /sbin
/sysctl
; then
5670 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5671 elif test -x /usr
/sbin
/sysctl
; then
5672 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5674 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
5676 # And add a safety zone
5677 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5678 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5682 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5683 lt_cv_sys_max_cmd_len
=196608
5687 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5688 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5689 # nice to cause kernel panics so lets avoid the loop below.
5690 # First set a reasonable default.
5691 lt_cv_sys_max_cmd_len
=16384
5693 if test -x /sbin
/sysconfig
; then
5694 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5695 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
5700 lt_cv_sys_max_cmd_len
=102400
5702 sysv5
* | sco5v6
* | sysv4.2uw2
*)
5703 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5704 if test -n "$kargmax"; then
5705 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
5707 lt_cv_sys_max_cmd_len
=32768
5711 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
5712 if test -n "$lt_cv_sys_max_cmd_len"; then
5713 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5714 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5716 # Make teststring a little bigger before we do anything with it.
5717 # a 1K string should be a reasonable start.
5718 for i
in 1 2 3 4 5 6 7 8 ; do
5719 teststring
=$teststring$teststring
5721 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
5722 # If test is not a shell built-in, we'll probably end up computing a
5723 # maximum length that is only half of the actual maximum length, but
5725 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5726 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
5727 test $i != 17 # 1/2 MB should be enough
5730 teststring
=$teststring$teststring
5732 # Only check the string length outside the loop.
5733 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
5735 # Add a significant safety factor because C++ compilers can tack on
5736 # massive amounts of additional arguments before passing them to the
5737 # linker. It appears as though 1/2 is a usable value.
5738 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
5745 if test -n $lt_cv_sys_max_cmd_len ; then
5746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5747 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5750 $as_echo "none" >&6; }
5752 max_cmd_len
=$lt_cv_sys_max_cmd_len
5763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5764 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5765 # Try some XSI features
5768 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5770 && eval 'test $(( 1 + 1 )) -eq 2 \
5771 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5773 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
5774 $as_echo "$xsi_shell" >&6; }
5777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
5778 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
5780 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
5782 && lt_shell_append=yes
5783 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
5784 $as_echo "$lt_shell_append" >&6; }
5787 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5797 # test EBCDIC or ASCII
5798 case `echo X|tr X '\101'` in
5799 A) # ASCII based system
5800 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5801 lt_SP2NL='tr \040 \012'
5802 lt_NL2SP='tr \015\012 \040\040'
5804 *) # EBCDIC based system
5805 lt_SP2NL='tr \100 \n'
5806 lt_NL2SP='tr \r\n \100\100'
5818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
5819 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
5820 if ${lt_cv_ld_reload_flag+:} false; then :
5821 $as_echo_n "(cached
) " >&6
5823 lt_cv_ld_reload_flag='-r'
5825 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
5826 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5827 reload_flag=$lt_cv_ld_reload_flag
5828 case $reload_flag in
5830 *) reload_flag=" $reload_flag" ;;
5832 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5835 if test "$GCC" = yes; then
5836 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5838 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5851 if test -n "$ac_tool_prefix"; then
5852 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
5853 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5855 $as_echo_n "checking
for $ac_word...
" >&6; }
5856 if ${ac_cv_prog_OBJDUMP+:} false; then :
5857 $as_echo_n "(cached
) " >&6
5859 if test -n "$OBJDUMP"; then
5860 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5866 test -z "$as_dir" && as_dir=.
5867 for ac_exec_ext in '' $ac_executable_extensions; do
5868 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5869 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
5870 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5879 OBJDUMP=$ac_cv_prog_OBJDUMP
5880 if test -n "$OBJDUMP"; then
5881 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
5882 $as_echo "$OBJDUMP" >&6; }
5884 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5885 $as_echo "no
" >&6; }
5890 if test -z "$ac_cv_prog_OBJDUMP"; then
5891 ac_ct_OBJDUMP=$OBJDUMP
5892 # Extract the first word of "objdump
", so it can be a program name with args.
5893 set dummy objdump; ac_word=$2
5894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5895 $as_echo_n "checking
for $ac_word...
" >&6; }
5896 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5897 $as_echo_n "(cached
) " >&6
5899 if test -n "$ac_ct_OBJDUMP"; then
5900 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5906 test -z "$as_dir" && as_dir=.
5907 for ac_exec_ext in '' $ac_executable_extensions; do
5908 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5909 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
5910 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5919 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5920 if test -n "$ac_ct_OBJDUMP"; then
5921 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
5922 $as_echo "$ac_ct_OBJDUMP" >&6; }
5924 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5925 $as_echo "no
" >&6; }
5928 if test "x
$ac_ct_OBJDUMP" = x; then
5931 case $cross_compiling:$ac_tool_warned in
5933 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5934 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5935 ac_tool_warned=yes ;;
5937 OBJDUMP=$ac_ct_OBJDUMP
5940 OBJDUMP="$ac_cv_prog_OBJDUMP"
5943 test -z "$OBJDUMP" && OBJDUMP=objdump
5953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
5954 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
5955 if ${lt_cv_deplibs_check_method+:} false; then :
5956 $as_echo_n "(cached
) " >&6
5958 lt_cv_file_magic_cmd='$MAGIC_CMD'
5959 lt_cv_file_magic_test_file=
5960 lt_cv_deplibs_check_method='unknown'
5961 # Need to set the preceding variable on all platforms that support
5962 # interlibrary dependencies.
5963 # 'none' -- dependencies not supported.
5964 # `unknown' -- same as none, but documents that we really don't know.
5965 # 'pass_all' -- all dependencies passed with no checks.
5966 # 'test_compile' -- check by making test program.
5967 # 'file_magic [[regex]]' -- check by looking for files in library path
5968 # which responds to the $file_magic_cmd with a given extended regex.
5969 # If you have `file' or equivalent on your system and you're not sure
5970 # whether `pass_all' will *always* work, you probably want this one.
5974 lt_cv_deplibs_check_method=pass_all
5978 lt_cv_deplibs_check_method=pass_all
5982 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5983 lt_cv_file_magic_cmd='/usr/bin/file -L'
5984 lt_cv_file_magic_test_file=/shlib/libc.so
5988 # func_win32_libid is a shell function defined in ltmain.sh
5989 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5990 lt_cv_file_magic_cmd='func_win32_libid'
5994 # Base MSYS/MinGW do not provide the 'file' command needed by
5995 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5996 # unless we find 'file', for example because we are cross-compiling.
5997 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5998 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
5999 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6000 lt_cv_file_magic_cmd='func_win32_libid'
6002 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6003 lt_cv_file_magic_cmd='$OBJDUMP -f'
6008 # use the weaker test based on 'objdump'. See mingw*.
6009 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6010 lt_cv_file_magic_cmd='$OBJDUMP -f'
6013 darwin* | rhapsody*)
6014 lt_cv_deplibs_check_method=pass_all
6017 freebsd* | dragonfly*)
6018 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6021 # Not sure whether the presence of OpenBSD here was a mistake.
6022 # Let's accept both of them until this is cleared up.
6023 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6024 lt_cv_file_magic_cmd=/usr/bin/file
6025 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6029 lt_cv_deplibs_check_method=pass_all
6034 lt_cv_deplibs_check_method=pass_all
6038 lt_cv_deplibs_check_method=pass_all
6041 hpux10.20* | hpux11*)
6042 lt_cv_file_magic_cmd=/usr/bin/file
6045 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6046 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6049 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]'
6050 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6053 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6054 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6060 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6061 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6064 irix5* | irix6* | nonstopux*)
6066 *-32|*"-32 ") libmagic=32-bit;;
6067 *-n32|*"-n32 ") libmagic=N32;;
6068 *-64|*"-64 ") libmagic=64-bit;;
6069 *) libmagic=never-match;;
6071 lt_cv_deplibs_check_method=pass_all
6074 # This must be Linux ELF.
6075 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6076 lt_cv_deplibs_check_method=pass_all
6080 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6081 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6083 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6088 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6089 lt_cv_file_magic_cmd=/usr/bin/file
6090 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6094 lt_cv_deplibs_check_method=pass_all
6098 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
6099 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6101 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6105 osf3* | osf4* | osf5*)
6106 lt_cv_deplibs_check_method=pass_all
6110 lt_cv_deplibs_check_method=pass_all
6114 lt_cv_deplibs_check_method=pass_all
6117 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6118 lt_cv_deplibs_check_method=pass_all
6122 case $host_vendor in
6124 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]'
6125 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6128 lt_cv_deplibs_check_method=pass_all
6131 lt_cv_file_magic_cmd='/bin/file'
6132 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6135 lt_cv_file_magic_cmd='/bin/file'
6136 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
6137 lt_cv_file_magic_test_file=/lib/libc.so
6140 lt_cv_deplibs_check_method=pass_all
6143 lt_cv_deplibs_check_method=pass_all
6149 lt_cv_deplibs_check_method=pass_all
6154 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
6155 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6156 file_magic_cmd=$lt_cv_file_magic_cmd
6157 deplibs_check_method=$lt_cv_deplibs_check_method
6158 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6172 plugin_names="liblto_plugin.so liblto_plugin-0.dll cyglto_plugin-0.dll
"
6173 for plugin in $plugin_names; do
6174 plugin_so=`${CC} ${CFLAGS} --print-prog-name $plugin`
6175 if test x$plugin_so = x$plugin; then
6176 plugin_so=`${CC} ${CFLAGS} --print-file-name $plugin`
6178 if test x$plugin_so != x$plugin; then
6179 plugin_option="--plugin $plugin_so"
6184 if test -n "$ac_tool_prefix"; then
6185 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6186 set dummy ${ac_tool_prefix}ar; ac_word=$2
6187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6188 $as_echo_n "checking
for $ac_word...
" >&6; }
6189 if ${ac_cv_prog_AR+:} false; then :
6190 $as_echo_n "(cached
) " >&6
6192 if test -n "$AR"; then
6193 ac_cv_prog_AR="$AR" # Let the user override the test.
6195 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6199 test -z "$as_dir" && as_dir=.
6200 for ac_exec_ext in '' $ac_executable_extensions; do
6201 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6202 ac_cv_prog_AR="${ac_tool_prefix}ar"
6203 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6213 if test -n "$AR"; then
6214 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
6215 $as_echo "$AR" >&6; }
6217 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6218 $as_echo "no
" >&6; }
6223 if test -z "$ac_cv_prog_AR"; then
6225 # Extract the first word of "ar", so it can be a program name with args.
6226 set dummy ar; ac_word=$2
6227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6228 $as_echo_n "checking
for $ac_word...
" >&6; }
6229 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6230 $as_echo_n "(cached
) " >&6
6232 if test -n "$ac_ct_AR"; then
6233 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6235 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6239 test -z "$as_dir" && as_dir=.
6240 for ac_exec_ext in '' $ac_executable_extensions; do
6241 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6242 ac_cv_prog_ac_ct_AR="ar"
6243 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6252 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6253 if test -n "$ac_ct_AR"; then
6254 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
6255 $as_echo "$ac_ct_AR" >&6; }
6257 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6258 $as_echo "no
" >&6; }
6261 if test "x
$ac_ct_AR" = x; then
6264 case $cross_compiling:$ac_tool_warned in
6266 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6267 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6268 ac_tool_warned=yes ;;
6276 test -z "$AR" && AR=ar
6277 if test -n "$plugin_option"; then
6278 if $AR --help 2>&1 | grep -q "\
--plugin"; then
6280 $AR $plugin_option rc conftest.a conftest.c
6281 if test "$?
" != 0; then
6282 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: Failed
: $AR $plugin_option rc
" >&5
6283 $as_echo "$as_me: WARNING
: Failed
: $AR $plugin_option rc
" >&2;}
6285 AR="$AR $plugin_option"
6290 test -z "$AR_FLAGS" && AR_FLAGS=cru
6302 if test -n "$ac_tool_prefix"; then
6303 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6304 set dummy ${ac_tool_prefix}strip; ac_word=$2
6305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6306 $as_echo_n "checking
for $ac_word...
" >&6; }
6307 if ${ac_cv_prog_STRIP+:} false; then :
6308 $as_echo_n "(cached
) " >&6
6310 if test -n "$STRIP"; then
6311 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6313 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6317 test -z "$as_dir" && as_dir=.
6318 for ac_exec_ext in '' $ac_executable_extensions; do
6319 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6320 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6321 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6330 STRIP=$ac_cv_prog_STRIP
6331 if test -n "$STRIP"; then
6332 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
6333 $as_echo "$STRIP" >&6; }
6335 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6336 $as_echo "no
" >&6; }
6341 if test -z "$ac_cv_prog_STRIP"; then
6343 # Extract the first word of "strip
", so it can be a program name with args.
6344 set dummy strip; ac_word=$2
6345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6346 $as_echo_n "checking
for $ac_word...
" >&6; }
6347 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6348 $as_echo_n "(cached
) " >&6
6350 if test -n "$ac_ct_STRIP"; then
6351 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6353 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6357 test -z "$as_dir" && as_dir=.
6358 for ac_exec_ext in '' $ac_executable_extensions; do
6359 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6360 ac_cv_prog_ac_ct_STRIP="strip
"
6361 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6370 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6371 if test -n "$ac_ct_STRIP"; then
6372 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
6373 $as_echo "$ac_ct_STRIP" >&6; }
6375 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6376 $as_echo "no
" >&6; }
6379 if test "x
$ac_ct_STRIP" = x; then
6382 case $cross_compiling:$ac_tool_warned in
6384 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6385 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6386 ac_tool_warned=yes ;;
6391 STRIP="$ac_cv_prog_STRIP"
6394 test -z "$STRIP" && STRIP=:
6401 if test -n "$ac_tool_prefix"; then
6402 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6403 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6405 $as_echo_n "checking
for $ac_word...
" >&6; }
6406 if ${ac_cv_prog_RANLIB+:} false; then :
6407 $as_echo_n "(cached
) " >&6
6409 if test -n "$RANLIB"; then
6410 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6412 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6416 test -z "$as_dir" && as_dir=.
6417 for ac_exec_ext in '' $ac_executable_extensions; do
6418 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6419 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
6420 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6429 RANLIB=$ac_cv_prog_RANLIB
6430 if test -n "$RANLIB"; then
6431 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
6432 $as_echo "$RANLIB" >&6; }
6434 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6435 $as_echo "no
" >&6; }
6440 if test -z "$ac_cv_prog_RANLIB"; then
6441 ac_ct_RANLIB=$RANLIB
6442 # Extract the first word of "ranlib
", so it can be a program name with args.
6443 set dummy ranlib; ac_word=$2
6444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6445 $as_echo_n "checking
for $ac_word...
" >&6; }
6446 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6447 $as_echo_n "(cached
) " >&6
6449 if test -n "$ac_ct_RANLIB"; then
6450 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6456 test -z "$as_dir" && as_dir=.
6457 for ac_exec_ext in '' $ac_executable_extensions; do
6458 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6459 ac_cv_prog_ac_ct_RANLIB="ranlib
"
6460 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6469 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6470 if test -n "$ac_ct_RANLIB"; then
6471 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
6472 $as_echo "$ac_ct_RANLIB" >&6; }
6474 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6475 $as_echo "no
" >&6; }
6478 if test "x
$ac_ct_RANLIB" = x; then
6481 case $cross_compiling:$ac_tool_warned in
6483 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6484 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6485 ac_tool_warned=yes ;;
6487 RANLIB=$ac_ct_RANLIB
6490 RANLIB="$ac_cv_prog_RANLIB"
6493 test -z "$RANLIB" && RANLIB=:
6494 if test -n "$plugin_option" && test "$RANLIB" != ":"; then
6495 if $RANLIB --help 2>&1 | grep -q "\
--plugin"; then
6496 RANLIB="$RANLIB $plugin_option"
6505 # Determine commands to create old-style static archives.
6506 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6507 old_postinstall_cmds='chmod 644 $oldlib'
6508 old_postuninstall_cmds=
6510 if test -n "$RANLIB"; then
6513 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
6516 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
6519 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
6524 lock_old_archive_extraction=yes ;;
6526 lock_old_archive_extraction=no ;;
6549 for ac_prog in gawk mawk nawk awk
6551 # Extract the first word of "$ac_prog", so it can be a program name with args.
6552 set dummy $ac_prog; ac_word=$2
6553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6554 $as_echo_n "checking
for $ac_word...
" >&6; }
6555 if ${ac_cv_prog_AWK+:} false; then :
6556 $as_echo_n "(cached
) " >&6
6558 if test -n "$AWK"; then
6559 ac_cv_prog_AWK="$AWK" # Let the user override the test.
6561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6565 test -z "$as_dir" && as_dir=.
6566 for ac_exec_ext in '' $ac_executable_extensions; do
6567 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6568 ac_cv_prog_AWK="$ac_prog"
6569 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6579 if test -n "$AWK"; then
6580 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AWK" >&5
6581 $as_echo "$AWK" >&6; }
6583 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6584 $as_echo "no
" >&6; }
6588 test -n "$AWK" && break
6609 # If no C compiler was specified, use CC.
6612 # If no C compiler flags were specified, use CFLAGS.
6613 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6615 # Allow CC to be a program name with arguments.
6619 # Check for command to grab the raw symbol name followed by C symbol from nm.
6620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
6621 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
6622 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6623 $as_echo_n "(cached
) " >&6
6626 # These are sane defaults that work on at least a few old systems.
6627 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6629 # Character class describing NM global symbol codes.
6630 symcode='[BCDEGRST]'
6632 # Regexp to match symbols that can be accessed directly from C.
6633 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6635 # Define system-specific variables.
6640 cygwin* | mingw* | pw32* | cegcc*)
6641 symcode='[ABCDGISTW]'
6644 if test "$host_cpu" = ia64; then
6645 symcode='[ABCDEGRST]'
6649 symcode='[BCDEGRST]'
6652 symcode='[BCDEGQRST]'
6663 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6671 # If we're using GNU nm, then use its standard symbol codes.
6672 case `$NM -V 2>&1` in
6673 *GNU* | *'with BFD'*)
6674 symcode='[ABCDGIRSTW]' ;;
6677 # Transform an extracted symbol line into a proper C declaration.
6678 # Some systems (esp. on ia64) link data and code symbols differently,
6679 # so use this general approach.
6680 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6682 # Transform an extracted symbol line into symbol name and symbol address
6683 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6684 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'"
6686 # Handle CRLF in mingw tool chain
6690 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6694 # Try without a prefix underscore, then with it.
6695 for ac_symprfx in "" "_
"; do
6697 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6698 symxfrm="\\1 $ac_symprfx\\2 \\2"
6700 # Write the raw and C identifiers.
6701 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6702 # Fake it for dumpbin and say T for any non-static function
6703 # and D for any global variable.
6704 # Also find C++ and __fastcall symbols from MSVC++,
6705 # which start with @ or ?.
6706 lt_cv_sys_global_symbol_pipe="$AWK '"\
6707 " {last_section=section; section=\$ 3};"\
6708 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6709 " \$ 0!~/External *\|/{next};"\
6710 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6711 " {if(hide[section]) next};"\
6712 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6713 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6714 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6715 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6716 " ' prfx
=^
$ac_symprfx"
6718 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6721 # Check to see that the pipe works correctly.
6725 cat > conftest.$ac_ext <<_LT_EOF
6730 void nm_test_func(void);
6731 void nm_test_func(void){}
6735 int main(){nm_test_var='a';nm_test_func();return(0);}
6738 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6739 (eval $ac_compile) 2>&5
6741 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6742 test $ac_status = 0; }; then
6743 # Now try to grab the symbols.
6745 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
6746 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6748 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6749 test $ac_status = 0; } && test -s "$nlist"; then
6750 # Try sorting and uniquifying the output.
6751 if sort "$nlist" | uniq > "$nlist"T; then
6752 mv -f "$nlist"T "$nlist"
6757 # Make sure that we snagged all the symbols we need.
6758 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6759 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6760 cat <<_LT_EOF > conftest.$ac_ext
6766 # Now generate the symbol file.
6767 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6769 cat <<_LT_EOF >> conftest.$ac_ext
6771 /* The mapping between symbol names and symbols. */
6776 lt__PROGRAM__LTX_preloaded_symbols[] =
6778 { "@PROGRAM@
", (void *) 0 },
6780 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6781 cat <<\_LT_EOF >> conftest.$ac_ext
6785 /* This works around a problem in FreeBSD linker */
6786 #ifdef FREEBSD_WORKAROUND
6787 static const void *lt_preloaded_setup() {
6788 return lt__PROGRAM__LTX_preloaded_symbols;
6796 # Now try linking the two files.
6797 mv conftest.$ac_objext conftstm.$ac_objext
6798 lt_save_LIBS="$LIBS"
6799 lt_save_CFLAGS="$CFLAGS"
6800 LIBS="conftstm.
$ac_objext"
6801 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6802 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6803 (eval $ac_link) 2>&5
6805 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6806 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6809 LIBS="$lt_save_LIBS"
6810 CFLAGS="$lt_save_CFLAGS"
6812 echo "cannot
find nm_test_func
in $nlist" >&5
6815 echo "cannot
find nm_test_var
in $nlist" >&5
6818 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
6821 echo "$progname: failed program was
:" >&5
6822 cat conftest.$ac_ext >&5
6824 rm -rf conftest* conftst*
6826 # Do not use the global_symbol_pipe unless it works.
6827 if test "$pipe_works" = yes; then
6830 lt_cv_sys_global_symbol_pipe=
6836 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6837 lt_cv_sys_global_symbol_to_cdecl=
6839 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6840 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
6841 $as_echo "failed
" >&6; }
6843 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
6844 $as_echo "ok
" >&6; }
6868 # Check whether --enable-libtool-lock was given.
6869 if test "${enable_libtool_lock+set}" = set; then :
6870 enableval=$enable_libtool_lock;
6873 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
6875 # Some flags need to be propagated to the compiler or linker for good
6879 # Find out which ABI we are using.
6880 echo 'int i;' > conftest.$ac_ext
6881 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6882 (eval $ac_compile) 2>&5
6884 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6885 test $ac_status = 0; }; then
6886 case `/usr/bin/file conftest.$ac_objext` in
6898 # Find out which ABI we are using.
6899 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
6900 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6901 (eval $ac_compile) 2>&5
6903 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6904 test $ac_status = 0; }; then
6905 if test "$lt_cv_prog_gnu_ld" = yes; then
6906 case `/usr/bin/file conftest.$ac_objext` in
6908 LD="${LD-ld} -melf32bsmip"
6911 LD="${LD-ld} -melf32bmipn32"
6914 LD="${LD-ld} -melf64bmip"
6918 case `/usr/bin/file conftest.$ac_objext` in
6934 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
6935 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6936 # Find out which ABI we are using.
6937 echo 'int i;' > conftest.$ac_ext
6938 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6939 (eval $ac_compile) 2>&5
6941 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6942 test $ac_status = 0; }; then
6943 case `/usr/bin/file conftest.o` in
6946 x86_64-*kfreebsd*-gnu)
6947 LD="${LD-ld} -m elf_i386_fbsd
"
6950 case `/usr/bin/file conftest.o` in
6952 LD="${LD-ld} -m elf32_x86_64
"
6955 LD="${LD-ld} -m elf_i386
"
6959 powerpc64le-*linux*)
6960 LD="${LD-ld} -m elf32lppclinux
"
6963 LD="${LD-ld} -m elf32ppclinux
"
6966 LD="${LD-ld} -m elf_s390
"
6969 LD="${LD-ld} -m elf32_sparc
"
6975 x86_64-*kfreebsd*-gnu)
6976 LD="${LD-ld} -m elf_x86_64_fbsd
"
6979 LD="${LD-ld} -m elf_x86_64
"
6982 LD="${LD-ld} -m elf64lppc
"
6985 LD="${LD-ld} -m elf64ppc
"
6987 s390*-*linux*|s390*-*tpf*)
6988 LD="${LD-ld} -m elf64_s390
"
6991 LD="${LD-ld} -m elf64_sparc
"
7001 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7002 SAVE_CFLAGS="$CFLAGS"
7003 CFLAGS="$CFLAGS -belf"
7004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
7005 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
7006 if ${lt_cv_cc_needs_belf+:} false; then :
7007 $as_echo_n "(cached
) " >&6
7010 ac_cpp='$CPP $CPPFLAGS'
7011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7016 /* end confdefs.h. */
7026 if ac_fn_c_try_link "$LINENO"; then :
7027 lt_cv_cc_needs_belf=yes
7029 lt_cv_cc_needs_belf=no
7031 rm -f core conftest.err conftest.$ac_objext \
7032 conftest$ac_exeext conftest.$ac_ext
7034 ac_cpp='$CPP $CPPFLAGS'
7035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7040 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
7041 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7042 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7043 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7044 CFLAGS="$SAVE_CFLAGS"
7048 # Find out which ABI we are using.
7049 echo 'int i;' > conftest.$ac_ext
7050 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7051 (eval $ac_compile) 2>&5
7053 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7054 test $ac_status = 0; }; then
7055 case `/usr/bin/file conftest.o` in
7057 case $lt_cv_prog_gnu_ld in
7058 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
7060 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7072 need_locks="$enable_libtool_lock"
7076 rhapsody* | darwin*)
7077 if test -n "$ac_tool_prefix"; then
7078 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
7079 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7081 $as_echo_n "checking
for $ac_word...
" >&6; }
7082 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7083 $as_echo_n "(cached
) " >&6
7085 if test -n "$DSYMUTIL"; then
7086 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7088 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7092 test -z "$as_dir" && as_dir=.
7093 for ac_exec_ext in '' $ac_executable_extensions; do
7094 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7095 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
7096 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7105 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7106 if test -n "$DSYMUTIL"; then
7107 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
7108 $as_echo "$DSYMUTIL" >&6; }
7110 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7111 $as_echo "no
" >&6; }
7116 if test -z "$ac_cv_prog_DSYMUTIL"; then
7117 ac_ct_DSYMUTIL=$DSYMUTIL
7118 # Extract the first word of "dsymutil
", so it can be a program name with args.
7119 set dummy dsymutil; ac_word=$2
7120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7121 $as_echo_n "checking
for $ac_word...
" >&6; }
7122 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7123 $as_echo_n "(cached
) " >&6
7125 if test -n "$ac_ct_DSYMUTIL"; then
7126 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7128 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7132 test -z "$as_dir" && as_dir=.
7133 for ac_exec_ext in '' $ac_executable_extensions; do
7134 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7135 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
7136 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7145 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7146 if test -n "$ac_ct_DSYMUTIL"; then
7147 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
7148 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7150 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7151 $as_echo "no
" >&6; }
7154 if test "x
$ac_ct_DSYMUTIL" = x; then
7157 case $cross_compiling:$ac_tool_warned in
7159 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7160 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7161 ac_tool_warned=yes ;;
7163 DSYMUTIL=$ac_ct_DSYMUTIL
7166 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7169 if test -n "$ac_tool_prefix"; then
7170 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
7171 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7173 $as_echo_n "checking
for $ac_word...
" >&6; }
7174 if ${ac_cv_prog_NMEDIT+:} false; then :
7175 $as_echo_n "(cached
) " >&6
7177 if test -n "$NMEDIT"; then
7178 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7184 test -z "$as_dir" && as_dir=.
7185 for ac_exec_ext in '' $ac_executable_extensions; do
7186 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7187 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
7188 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7197 NMEDIT=$ac_cv_prog_NMEDIT
7198 if test -n "$NMEDIT"; then
7199 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
7200 $as_echo "$NMEDIT" >&6; }
7202 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7203 $as_echo "no
" >&6; }
7208 if test -z "$ac_cv_prog_NMEDIT"; then
7209 ac_ct_NMEDIT=$NMEDIT
7210 # Extract the first word of "nmedit
", so it can be a program name with args.
7211 set dummy nmedit; ac_word=$2
7212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7213 $as_echo_n "checking
for $ac_word...
" >&6; }
7214 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7215 $as_echo_n "(cached
) " >&6
7217 if test -n "$ac_ct_NMEDIT"; then
7218 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7224 test -z "$as_dir" && as_dir=.
7225 for ac_exec_ext in '' $ac_executable_extensions; do
7226 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7227 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
7228 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7237 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7238 if test -n "$ac_ct_NMEDIT"; then
7239 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
7240 $as_echo "$ac_ct_NMEDIT" >&6; }
7242 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7243 $as_echo "no
" >&6; }
7246 if test "x
$ac_ct_NMEDIT" = x; then
7249 case $cross_compiling:$ac_tool_warned in
7251 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7252 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7253 ac_tool_warned=yes ;;
7255 NMEDIT=$ac_ct_NMEDIT
7258 NMEDIT="$ac_cv_prog_NMEDIT"
7261 if test -n "$ac_tool_prefix"; then
7262 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
7263 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7265 $as_echo_n "checking
for $ac_word...
" >&6; }
7266 if ${ac_cv_prog_LIPO+:} false; then :
7267 $as_echo_n "(cached
) " >&6
7269 if test -n "$LIPO"; then
7270 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7276 test -z "$as_dir" && as_dir=.
7277 for ac_exec_ext in '' $ac_executable_extensions; do
7278 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7279 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
7280 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7289 LIPO=$ac_cv_prog_LIPO
7290 if test -n "$LIPO"; then
7291 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
7292 $as_echo "$LIPO" >&6; }
7294 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7295 $as_echo "no
" >&6; }
7300 if test -z "$ac_cv_prog_LIPO"; then
7302 # Extract the first word of "lipo
", so it can be a program name with args.
7303 set dummy lipo; ac_word=$2
7304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7305 $as_echo_n "checking
for $ac_word...
" >&6; }
7306 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7307 $as_echo_n "(cached
) " >&6
7309 if test -n "$ac_ct_LIPO"; then
7310 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7312 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7316 test -z "$as_dir" && as_dir=.
7317 for ac_exec_ext in '' $ac_executable_extensions; do
7318 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7319 ac_cv_prog_ac_ct_LIPO="lipo
"
7320 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7329 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7330 if test -n "$ac_ct_LIPO"; then
7331 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
7332 $as_echo "$ac_ct_LIPO" >&6; }
7334 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7335 $as_echo "no
" >&6; }
7338 if test "x
$ac_ct_LIPO" = x; then
7341 case $cross_compiling:$ac_tool_warned in
7343 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7344 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7345 ac_tool_warned=yes ;;
7350 LIPO="$ac_cv_prog_LIPO"
7353 if test -n "$ac_tool_prefix"; then
7354 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
7355 set dummy ${ac_tool_prefix}otool; ac_word=$2
7356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7357 $as_echo_n "checking
for $ac_word...
" >&6; }
7358 if ${ac_cv_prog_OTOOL+:} false; then :
7359 $as_echo_n "(cached
) " >&6
7361 if test -n "$OTOOL"; then
7362 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7368 test -z "$as_dir" && as_dir=.
7369 for ac_exec_ext in '' $ac_executable_extensions; do
7370 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7371 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
7372 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7381 OTOOL=$ac_cv_prog_OTOOL
7382 if test -n "$OTOOL"; then
7383 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
7384 $as_echo "$OTOOL" >&6; }
7386 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7387 $as_echo "no
" >&6; }
7392 if test -z "$ac_cv_prog_OTOOL"; then
7394 # Extract the first word of "otool
", so it can be a program name with args.
7395 set dummy otool; ac_word=$2
7396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7397 $as_echo_n "checking
for $ac_word...
" >&6; }
7398 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7399 $as_echo_n "(cached
) " >&6
7401 if test -n "$ac_ct_OTOOL"; then
7402 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7404 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7408 test -z "$as_dir" && as_dir=.
7409 for ac_exec_ext in '' $ac_executable_extensions; do
7410 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7411 ac_cv_prog_ac_ct_OTOOL="otool
"
7412 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7421 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7422 if test -n "$ac_ct_OTOOL"; then
7423 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
7424 $as_echo "$ac_ct_OTOOL" >&6; }
7426 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7427 $as_echo "no
" >&6; }
7430 if test "x
$ac_ct_OTOOL" = x; then
7433 case $cross_compiling:$ac_tool_warned in
7435 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7436 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7437 ac_tool_warned=yes ;;
7442 OTOOL="$ac_cv_prog_OTOOL"
7445 if test -n "$ac_tool_prefix"; then
7446 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
7447 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7449 $as_echo_n "checking
for $ac_word...
" >&6; }
7450 if ${ac_cv_prog_OTOOL64+:} false; then :
7451 $as_echo_n "(cached
) " >&6
7453 if test -n "$OTOOL64"; then
7454 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7460 test -z "$as_dir" && as_dir=.
7461 for ac_exec_ext in '' $ac_executable_extensions; do
7462 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7463 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
7464 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7473 OTOOL64=$ac_cv_prog_OTOOL64
7474 if test -n "$OTOOL64"; then
7475 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
7476 $as_echo "$OTOOL64" >&6; }
7478 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7479 $as_echo "no
" >&6; }
7484 if test -z "$ac_cv_prog_OTOOL64"; then
7485 ac_ct_OTOOL64=$OTOOL64
7486 # Extract the first word of "otool64
", so it can be a program name with args.
7487 set dummy otool64; ac_word=$2
7488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7489 $as_echo_n "checking
for $ac_word...
" >&6; }
7490 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7491 $as_echo_n "(cached
) " >&6
7493 if test -n "$ac_ct_OTOOL64"; then
7494 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7500 test -z "$as_dir" && as_dir=.
7501 for ac_exec_ext in '' $ac_executable_extensions; do
7502 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7503 ac_cv_prog_ac_ct_OTOOL64="otool64
"
7504 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7513 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7514 if test -n "$ac_ct_OTOOL64"; then
7515 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
7516 $as_echo "$ac_ct_OTOOL64" >&6; }
7518 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7519 $as_echo "no
" >&6; }
7522 if test "x
$ac_ct_OTOOL64" = x; then
7525 case $cross_compiling:$ac_tool_warned in
7527 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7528 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7529 ac_tool_warned=yes ;;
7531 OTOOL64=$ac_ct_OTOOL64
7534 OTOOL64="$ac_cv_prog_OTOOL64"
7563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
7564 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
7565 if ${lt_cv_apple_cc_single_mod+:} false; then :
7566 $as_echo_n "(cached
) " >&6
7568 lt_cv_apple_cc_single_mod=no
7569 if test -z "${LT_MULTI_MODULE}"; then
7570 # By default we will add the -single_module flag. You can override
7571 # by either setting the environment variable LT_MULTI_MODULE
7572 # non-empty at configure time, or by adding -multi_module to the
7574 rm -rf libconftest.dylib*
7575 echo "int foo
(void
){return 1;}" > conftest.c
7576 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7577 -dynamiclib -Wl,-single_module conftest.c
" >&5
7578 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7579 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7581 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7582 lt_cv_apple_cc_single_mod=yes
7584 cat conftest.err >&5
7586 rm -rf libconftest.dylib*
7590 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
7591 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
7593 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
7594 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7595 $as_echo_n "(cached
) " >&6
7597 lt_cv_ld_exported_symbols_list=no
7598 save_LDFLAGS=$LDFLAGS
7599 echo "_main
" > conftest.sym
7600 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
7601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7602 /* end confdefs.h. */
7612 if ac_fn_c_try_link "$LINENO"; then :
7613 lt_cv_ld_exported_symbols_list=yes
7615 lt_cv_ld_exported_symbols_list=no
7617 rm -f core conftest.err conftest.$ac_objext \
7618 conftest$ac_exeext conftest.$ac_ext
7619 LDFLAGS="$save_LDFLAGS"
7622 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
7623 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
7625 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
7626 if ${lt_cv_ld_force_load+:} false; then :
7627 $as_echo_n "(cached
) " >&6
7629 lt_cv_ld_force_load=no
7630 cat > conftest.c << _LT_EOF
7631 int forced_loaded() { return 2;}
7633 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
7634 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7635 echo "$AR cru libconftest.a conftest.o
" >&5
7636 $AR cru libconftest.a conftest.o 2>&5
7637 cat > conftest.c << _LT_EOF
7638 int main() { return 0;}
7640 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
7641 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7643 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7644 lt_cv_ld_force_load=yes
7646 cat conftest.err >&5
7648 rm -f conftest.err libconftest.a conftest conftest.c
7649 rm -rf conftest.dSYM
7652 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
7653 $as_echo "$lt_cv_ld_force_load" >&6; }
7655 rhapsody* | darwin1.[012])
7656 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7658 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7659 darwin*) # darwin 5.x on
7660 # if running on 10.5 or later, the deployment target defaults
7661 # to the OS version, if on x86, and 10.4, the deployment
7662 # target defaults to 10.4. Don't you love it?
7663 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7664 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7665 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7667 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7669 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7673 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7674 _lt_dar_single_mod='$single_module'
7676 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7677 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7679 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7681 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
7682 _lt_dsymutil='~$DSYMUTIL $lib || :'
7689 for ac_header in dlfcn.h
7691 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h
" "ac_cv_header_dlfcn_h
" "$ac_includes_default
7693 if test "x
$ac_cv_header_dlfcn_h" = xyes; then :
7694 cat >>confdefs.h <<_ACEOF
7695 #define HAVE_DLFCN_H 1
7704 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
7705 as_ac_Header=`$as_echo "ac_cv_header_dirent_
$ac_hdr" | $as_tr_sh`
7706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_hdr that defines DIR
" >&5
7707 $as_echo_n "checking
for $ac_hdr that defines DIR...
" >&6; }
7708 if eval \${$as_ac_Header+:} false; then :
7709 $as_echo_n "(cached
) " >&6
7711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7712 /* end confdefs.h. */
7713 #include <sys/types.h>
7725 if ac_fn_c_try_compile "$LINENO"; then :
7726 eval "$as_ac_Header=yes"
7728 eval "$as_ac_Header=no
"
7730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7732 eval ac_res=\$$as_ac_Header
7733 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_res" >&5
7734 $as_echo "$ac_res" >&6; }
7735 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7736 cat >>confdefs.h <<_ACEOF
7737 #define `$as_echo "HAVE_
$ac_hdr" | $as_tr_cpp` 1
7740 ac_header_dirent=$ac_hdr; break
7744 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
7745 if test $ac_header_dirent = dirent.h; then
7746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for library containing opendir
" >&5
7747 $as_echo_n "checking
for library containing opendir...
" >&6; }
7748 if ${ac_cv_search_opendir+:} false; then :
7749 $as_echo_n "(cached
) " >&6
7751 ac_func_search_save_LIBS=$LIBS
7752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7753 /* end confdefs.h. */
7755 /* Override any GCC internal prototype to avoid an error.
7756 Use char because int might match the return type of a GCC
7757 builtin and then its argument prototype would still apply. */
7770 for ac_lib in '' dir; do
7771 if test -z "$ac_lib"; then
7772 ac_res="none required
"
7775 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
7777 if ac_fn_c_try_link "$LINENO"; then :
7778 ac_cv_search_opendir=$ac_res
7780 rm -f core conftest.err conftest.$ac_objext \
7782 if ${ac_cv_search_opendir+:} false; then :
7786 if ${ac_cv_search_opendir+:} false; then :
7789 ac_cv_search_opendir=no
7792 LIBS=$ac_func_search_save_LIBS
7794 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_search_opendir" >&5
7795 $as_echo "$ac_cv_search_opendir" >&6; }
7796 ac_res=$ac_cv_search_opendir
7797 if test "$ac_res" != no; then :
7798 test "$ac_res" = "none required
" || LIBS="$ac_res $LIBS"
7803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for library containing opendir
" >&5
7804 $as_echo_n "checking
for library containing opendir...
" >&6; }
7805 if ${ac_cv_search_opendir+:} false; then :
7806 $as_echo_n "(cached
) " >&6
7808 ac_func_search_save_LIBS=$LIBS
7809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7810 /* end confdefs.h. */
7812 /* Override any GCC internal prototype to avoid an error.
7813 Use char because int might match the return type of a GCC
7814 builtin and then its argument prototype would still apply. */
7827 for ac_lib in '' x; do
7828 if test -z "$ac_lib"; then
7829 ac_res="none required
"
7832 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
7834 if ac_fn_c_try_link "$LINENO"; then :
7835 ac_cv_search_opendir=$ac_res
7837 rm -f core conftest.err conftest.$ac_objext \
7839 if ${ac_cv_search_opendir+:} false; then :
7843 if ${ac_cv_search_opendir+:} false; then :
7846 ac_cv_search_opendir=no
7849 LIBS=$ac_func_search_save_LIBS
7851 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_search_opendir" >&5
7852 $as_echo "$ac_cv_search_opendir" >&6; }
7853 ac_res=$ac_cv_search_opendir
7854 if test "$ac_res" != no; then :
7855 test "$ac_res" = "none required
" || LIBS="$ac_res $LIBS"
7864 ac_fn_c_check_member "$LINENO" "struct stat
" "st_blksize
" "ac_cv_member_struct_stat_st_blksize
" "$ac_includes_default"
7865 if test "x
$ac_cv_member_struct_stat_st_blksize" = xyes; then :
7867 cat >>confdefs.h <<_ACEOF
7868 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
7872 $as_echo "#define HAVE_ST_BLKSIZE 1" >>confdefs.h
7877 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
7878 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
7880 cat >>confdefs.h
<<_ACEOF
7881 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
7885 $as_echo "#define HAVE_ST_BLOCKS 1" >>confdefs.h
7888 case " $LIBOBJS " in
7889 *" fileblocks.$ac_objext "* ) ;;
7890 *) LIBOBJS
="$LIBOBJS fileblocks.$ac_objext"
7897 ac_fn_c_check_member
"$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
7898 if test "x$ac_cv_member_struct_stat_st_rdev" = xyes
; then :
7900 cat >>confdefs.h
<<_ACEOF
7901 #define HAVE_STRUCT_STAT_ST_RDEV 1
7905 $as_echo "#define HAVE_ST_RDEV 1" >>confdefs.h
7910 ac_fn_c_check_member
"$LINENO" "struct tm" "tm_zone" "ac_cv_member_struct_tm_tm_zone" "#include <sys/types.h>
7911 #include <$ac_cv_struct_tm>
7914 if test "x$ac_cv_member_struct_tm_tm_zone" = xyes
; then :
7916 cat >>confdefs.h
<<_ACEOF
7917 #define HAVE_STRUCT_TM_TM_ZONE 1
7923 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
7925 $as_echo "#define HAVE_TM_ZONE 1" >>confdefs.h
7928 ac_fn_c_check_decl
"$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include <time.h>
7930 if test "x$ac_cv_have_decl_tzname" = xyes
; then :
7936 cat >>confdefs.h
<<_ACEOF
7937 #define HAVE_DECL_TZNAME $ac_have_decl
7940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5
7941 $as_echo_n "checking for tzname... " >&6; }
7942 if ${ac_cv_var_tzname+:} false
; then :
7943 $as_echo_n "(cached) " >&6
7945 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7946 /* end confdefs.h. */
7948 #if !HAVE_DECL_TZNAME
7949 extern char *tzname[];
7955 return tzname[0][0];
7960 if ac_fn_c_try_link
"$LINENO"; then :
7961 ac_cv_var_tzname
=yes
7965 rm -f core conftest.err conftest.
$ac_objext \
7966 conftest
$ac_exeext conftest.
$ac_ext
7968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_tzname" >&5
7969 $as_echo "$ac_cv_var_tzname" >&6; }
7970 if test $ac_cv_var_tzname = yes; then
7972 $as_echo "#define HAVE_TZNAME 1" >>confdefs.h
7978 ac_fn_c_check_member
"$LINENO" "struct stat" "st_dev" "ac_cv_member_struct_stat_st_dev" "#ifdef HAVE_SYS_TYPES_H
7979 #include <sys/types.h>
7981 #ifdef HAVE_SYS_STAT_H
7982 #include <sys/stat.h>
7985 if test "x$ac_cv_member_struct_stat_st_dev" = xyes
; then :
7987 cat >>confdefs.h
<<_ACEOF
7988 #define HAVE_STRUCT_STAT_ST_DEV 1
7993 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ino" "ac_cv_member_struct_stat_st_ino" "#ifdef HAVE_SYS_TYPES_H
7994 #include <sys/types.h>
7996 #ifdef HAVE_SYS_STAT_H
7997 #include <sys/stat.h>
8000 if test "x$ac_cv_member_struct_stat_st_ino" = xyes
; then :
8002 cat >>confdefs.h
<<_ACEOF
8003 #define HAVE_STRUCT_STAT_ST_INO 1
8008 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mode" "ac_cv_member_struct_stat_st_mode" "#ifdef HAVE_SYS_TYPES_H
8009 #include <sys/types.h>
8011 #ifdef HAVE_SYS_STAT_H
8012 #include <sys/stat.h>
8015 if test "x$ac_cv_member_struct_stat_st_mode" = xyes
; then :
8017 cat >>confdefs.h
<<_ACEOF
8018 #define HAVE_STRUCT_STAT_ST_MODE 1
8023 ac_fn_c_check_member
"$LINENO" "struct stat" "st_nlink" "ac_cv_member_struct_stat_st_nlink" "#ifdef HAVE_SYS_TYPES_H
8024 #include <sys/types.h>
8026 #ifdef HAVE_SYS_STAT_H
8027 #include <sys/stat.h>
8030 if test "x$ac_cv_member_struct_stat_st_nlink" = xyes
; then :
8032 cat >>confdefs.h
<<_ACEOF
8033 #define HAVE_STRUCT_STAT_ST_NLINK 1
8038 ac_fn_c_check_member
"$LINENO" "struct stat" "st_uid" "ac_cv_member_struct_stat_st_uid" "#ifdef HAVE_SYS_TYPES_H
8039 #include <sys/types.h>
8041 #ifdef HAVE_SYS_STAT_H
8042 #include <sys/stat.h>
8045 if test "x$ac_cv_member_struct_stat_st_uid" = xyes
; then :
8047 cat >>confdefs.h
<<_ACEOF
8048 #define HAVE_STRUCT_STAT_ST_UID 1
8053 ac_fn_c_check_member
"$LINENO" "struct stat" "st_gid" "ac_cv_member_struct_stat_st_gid" "#ifdef HAVE_SYS_TYPES_H
8054 #include <sys/types.h>
8056 #ifdef HAVE_SYS_STAT_H
8057 #include <sys/stat.h>
8060 if test "x$ac_cv_member_struct_stat_st_gid" = xyes
; then :
8062 cat >>confdefs.h
<<_ACEOF
8063 #define HAVE_STRUCT_STAT_ST_GID 1
8068 ac_fn_c_check_member
"$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "#ifdef HAVE_SYS_TYPES_H
8069 #include <sys/types.h>
8071 #ifdef HAVE_SYS_STAT_H
8072 #include <sys/stat.h>
8075 if test "x$ac_cv_member_struct_stat_st_rdev" = xyes
; then :
8077 cat >>confdefs.h
<<_ACEOF
8078 #define HAVE_STRUCT_STAT_ST_RDEV 1
8083 ac_fn_c_check_member
"$LINENO" "struct stat" "st_size" "ac_cv_member_struct_stat_st_size" "#ifdef HAVE_SYS_TYPES_H
8084 #include <sys/types.h>
8086 #ifdef HAVE_SYS_STAT_H
8087 #include <sys/stat.h>
8090 if test "x$ac_cv_member_struct_stat_st_size" = xyes
; then :
8092 cat >>confdefs.h
<<_ACEOF
8093 #define HAVE_STRUCT_STAT_ST_SIZE 1
8098 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "#ifdef HAVE_SYS_TYPES_H
8099 #include <sys/types.h>
8101 #ifdef HAVE_SYS_STAT_H
8102 #include <sys/stat.h>
8105 if test "x$ac_cv_member_struct_stat_st_blksize" = xyes
; then :
8107 cat >>confdefs.h
<<_ACEOF
8108 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
8113 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "#ifdef HAVE_SYS_TYPES_H
8114 #include <sys/types.h>
8116 #ifdef HAVE_SYS_STAT_H
8117 #include <sys/stat.h>
8120 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
8122 cat >>confdefs.h
<<_ACEOF
8123 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
8128 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atime" "ac_cv_member_struct_stat_st_atime" "#ifdef HAVE_SYS_TYPES_H
8129 #include <sys/types.h>
8131 #ifdef HAVE_SYS_STAT_H
8132 #include <sys/stat.h>
8135 if test "x$ac_cv_member_struct_stat_st_atime" = xyes
; then :
8137 cat >>confdefs.h
<<_ACEOF
8138 #define HAVE_STRUCT_STAT_ST_ATIME 1
8143 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtime" "ac_cv_member_struct_stat_st_mtime" "#ifdef HAVE_SYS_TYPES_H
8144 #include <sys/types.h>
8146 #ifdef HAVE_SYS_STAT_H
8147 #include <sys/stat.h>
8150 if test "x$ac_cv_member_struct_stat_st_mtime" = xyes
; then :
8152 cat >>confdefs.h
<<_ACEOF
8153 #define HAVE_STRUCT_STAT_ST_MTIME 1
8158 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctime" "ac_cv_member_struct_stat_st_ctime" "#ifdef HAVE_SYS_TYPES_H
8159 #include <sys/types.h>
8161 #ifdef HAVE_SYS_STAT_H
8162 #include <sys/stat.h>
8165 if test "x$ac_cv_member_struct_stat_st_ctime" = xyes
; then :
8167 cat >>confdefs.h
<<_ACEOF
8168 #define HAVE_STRUCT_STAT_ST_CTIME 1
8175 ac_fn_c_check_type
"$LINENO" "__int128" "ac_cv_type___int128" "$ac_includes_default"
8176 if test "x$ac_cv_type___int128" = xyes
; then :
8178 cat >>confdefs.h
<<_ACEOF
8179 #define HAVE___INT128 1
8185 ac_fn_c_check_type
"$LINENO" "socklen_t" "ac_cv_type_socklen_t" "#include <sys/types.h>
8186 #include <sys/socket.h>
8189 if test "x$ac_cv_type_socklen_t" = xyes
; then :
8191 cat >>confdefs.h
<<_ACEOF
8192 #define HAVE_SOCKLEN_T 1
8199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking type of array argument to getgroups" >&5
8200 $as_echo_n "checking type of array argument to getgroups... " >&6; }
8201 if ${ac_cv_type_getgroups+:} false
; then :
8202 $as_echo_n "(cached) " >&6
8204 if test "$cross_compiling" = yes; then :
8205 ac_cv_type_getgroups
=cross
8207 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8208 /* end confdefs.h. */
8209 /* Thanks to Mike Rendell for this test. */
8210 $ac_includes_default
8213 #define MAX(x, y) ((x) > (y) ? (x) : (y))
8220 union { gid_t gval; long int lval; } val;
8223 for (i = 0; i < NGID; i++)
8224 gidset[i] = val.gval;
8225 n = getgroups (sizeof (gidset) / MAX (sizeof (int), sizeof (gid_t)) - 1,
8227 /* Exit non-zero if getgroups seems to require an array of ints. This
8228 happens when gid_t is short int but getgroups modifies an array
8230 return n > 0 && gidset[n] != val.gval;
8233 if ac_fn_c_try_run
"$LINENO"; then :
8234 ac_cv_type_getgroups
=gid_t
8236 ac_cv_type_getgroups
=int
8238 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
8239 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
8242 if test $ac_cv_type_getgroups = cross
; then
8243 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8244 /* end confdefs.h. */
8248 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8249 $EGREP "getgroups.*int.*gid_t" >/dev
/null
2>&1; then :
8250 ac_cv_type_getgroups
=gid_t
8252 ac_cv_type_getgroups
=int
8258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_getgroups" >&5
8259 $as_echo "$ac_cv_type_getgroups" >&6; }
8261 cat >>confdefs.h
<<_ACEOF
8262 #define GETGROUPS_T $ac_cv_type_getgroups
8266 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
8267 if test "x$ac_cv_type_mode_t" = xyes
; then :
8271 cat >>confdefs.h
<<_ACEOF
8277 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
8278 if test "x$ac_cv_type_off_t" = xyes
; then :
8282 cat >>confdefs.h
<<_ACEOF
8283 #define off_t long int
8288 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
8289 if test "x$ac_cv_type_pid_t" = xyes
; then :
8293 cat >>confdefs.h
<<_ACEOF
8299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
8300 $as_echo_n "checking return type of signal handlers... " >&6; }
8301 if ${ac_cv_type_signal+:} false
; then :
8302 $as_echo_n "(cached) " >&6
8304 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8305 /* end confdefs.h. */
8306 #include <sys/types.h>
8312 return *(signal (0, 0)) (0) == 1;
8317 if ac_fn_c_try_compile
"$LINENO"; then :
8318 ac_cv_type_signal
=int
8320 ac_cv_type_signal
=void
8322 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
8325 $as_echo "$ac_cv_type_signal" >&6; }
8327 cat >>confdefs.h
<<_ACEOF
8328 #define RETSIGTYPE $ac_cv_type_signal
8332 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
8333 if test "x$ac_cv_type_size_t" = xyes
; then :
8337 cat >>confdefs.h
<<_ACEOF
8338 #define size_t unsigned int
8343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
8344 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
8345 if ${ac_cv_type_uid_t+:} false
; then :
8346 $as_echo_n "(cached) " >&6
8348 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8349 /* end confdefs.h. */
8350 #include <sys/types.h>
8353 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8354 $EGREP "uid_t" >/dev
/null
2>&1; then :
8355 ac_cv_type_uid_t
=yes
8362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
8363 $as_echo "$ac_cv_type_uid_t" >&6; }
8364 if test $ac_cv_type_uid_t = no
; then
8366 $as_echo "#define uid_t int" >>confdefs.h
8369 $as_echo "#define gid_t int" >>confdefs.h
8375 # If we haven't got the data from the intl directory,
8376 # assume NLS is disabled.
8385 if test -f ..
/intl
/config.intl
; then
8386 . ..
/intl
/config.intl
8388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
8389 $as_echo_n "checking whether NLS is requested... " >&6; }
8390 if test x
"$USE_NLS" != xyes
; then
8391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8392 $as_echo "no" >&6; }
8394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8395 $as_echo "yes" >&6; }
8397 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
8400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
8401 $as_echo_n "checking for catalogs to be installed... " >&6; }
8402 # Look for .po and .gmo files in the source directory.
8405 for cat in $srcdir/po
/*.gmo
$srcdir/po
/*.po
; do
8406 # If there aren't any .gmo files the shell will give us the
8407 # literal string "../path/to/srcdir/po/*.gmo" which has to be
8409 case "$cat" in *\
**)
8412 # The quadruple backslash is collapsed to a double backslash
8413 # by the backticks, then collapsed again by the double quotes,
8414 # leaving us with one backslash in the sed expression (right
8415 # before the dot that mustn't act as a wildcard).
8416 cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
8417 lang
=`echo $cat | sed -e "s!\\\\.gmo!!"`
8418 # The user is allowed to set LINGUAS to a list of languages to
8419 # install catalogs for. If it's empty that means "all of them."
8420 if test "x$LINGUAS" = x
; then
8421 CATALOGS
="$CATALOGS $cat"
8422 XLINGUAS
="$XLINGUAS $lang"
8424 case "$LINGUAS" in *$lang*)
8425 CATALOGS
="$CATALOGS $cat"
8426 XLINGUAS
="$XLINGUAS $lang"
8432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
8433 $as_echo "$LINGUAS" >&6; }
8447 # Use the system's zlib library.
8448 zlibdir
="-L\$(top_builddir)/../zlib"
8449 zlibinc
="-I\$(top_srcdir)/../zlib"
8451 # Check whether --with-system-zlib was given.
8452 if test "${with_system_zlib+set}" = set; then :
8453 withval
=$with_system_zlib; if test x
$with_system_zlib = xyes
; then
8466 for ac_header
in dlfcn.h
8468 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8470 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
8471 cat >>confdefs.h
<<_ACEOF
8472 #define HAVE_DLFCN_H 1
8479 for ac_header
in windows.h
8481 ac_fn_c_check_header_compile
"$LINENO" "windows.h" "ac_cv_header_windows_h" "$ac_includes_default
8483 if test "x$ac_cv_header_windows_h" = xyes
; then :
8484 cat >>confdefs.h
<<_ACEOF
8485 #define HAVE_WINDOWS_H 1
8493 # Check whether --enable-plugins was given.
8494 if test "${enable_plugins+set}" = set; then :
8495 enableval
=$enable_plugins; case "${enableval}" in
8498 if test "$maybe_plugins" != "yes" ; then
8499 as_fn_error $?
"Building with plugin support requires a host that supports dlopen." "$LINENO" 5
8503 plugins
=$maybe_plugins
8507 if test "$plugins" = "yes"; then
8508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlsym" >&5
8509 $as_echo_n "checking for library containing dlsym... " >&6; }
8510 if ${ac_cv_search_dlsym+:} false
; then :
8511 $as_echo_n "(cached) " >&6
8513 ac_func_search_save_LIBS
=$LIBS
8514 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8515 /* end confdefs.h. */
8517 /* Override any GCC internal prototype to avoid an error.
8518 Use char because int might match the return type of a GCC
8519 builtin and then its argument prototype would still apply. */
8532 for ac_lib
in '' dl
; do
8533 if test -z "$ac_lib"; then
8534 ac_res
="none required"
8537 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
8539 if ac_fn_c_try_link
"$LINENO"; then :
8540 ac_cv_search_dlsym
=$ac_res
8542 rm -f core conftest.err conftest.
$ac_objext \
8544 if ${ac_cv_search_dlsym+:} false
; then :
8548 if ${ac_cv_search_dlsym+:} false
; then :
8551 ac_cv_search_dlsym
=no
8554 LIBS
=$ac_func_search_save_LIBS
8556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlsym" >&5
8557 $as_echo "$ac_cv_search_dlsym" >&6; }
8558 ac_res
=$ac_cv_search_dlsym
8559 if test "$ac_res" != no
; then :
8560 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
8566 if test "$plugins" = yes; then
8587 # Check whether --enable-shared was given.
8588 if test "${enable_shared+set}" = set; then :
8589 enableval
=$enable_shared; p
=${PACKAGE-default}
8591 yes) enable_shared
=yes ;;
8592 no
) enable_shared
=no
;;
8595 # Look at the argument we got. We use all the common list separators.
8596 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8597 for pkg
in $enableval; do
8599 if test "X$pkg" = "X$p"; then
8618 # Check whether --enable-static was given.
8619 if test "${enable_static+set}" = set; then :
8620 enableval
=$enable_static; p
=${PACKAGE-default}
8622 yes) enable_static
=yes ;;
8623 no
) enable_static
=no
;;
8626 # Look at the argument we got. We use all the common list separators.
8627 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8628 for pkg
in $enableval; do
8630 if test "X$pkg" = "X$p"; then
8650 # Check whether --with-pic was given.
8651 if test "${with_pic+set}" = set; then :
8652 withval
=$with_pic; pic_mode
="$withval"
8658 test -z "$pic_mode" && pic_mode
=default
8666 # Check whether --enable-fast-install was given.
8667 if test "${enable_fast_install+set}" = set; then :
8668 enableval
=$enable_fast_install; p
=${PACKAGE-default}
8670 yes) enable_fast_install
=yes ;;
8671 no
) enable_fast_install
=no
;;
8673 enable_fast_install
=no
8674 # Look at the argument we got. We use all the common list separators.
8675 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8676 for pkg
in $enableval; do
8678 if test "X$pkg" = "X$p"; then
8679 enable_fast_install
=yes
8686 enable_fast_install
=yes
8699 # This can be used to rebuild libtool when needed
8700 LIBTOOL_DEPS
="$ltmain"
8702 # Always use our own libtool.
8703 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
8730 test -z "$LN_S" && LN_S
="ln -s"
8745 if test -n "${ZSH_VERSION+set}" ; then
8746 setopt NO_GLOB_SUBST
8749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8750 $as_echo_n "checking for objdir... " >&6; }
8751 if ${lt_cv_objdir+:} false
; then :
8752 $as_echo_n "(cached) " >&6
8754 rm -f .libs
2>/dev
/null
8755 mkdir .libs
2>/dev
/null
8756 if test -d .libs
; then
8759 # MS-DOS does not allow filenames that begin with a dot.
8762 rmdir .libs
2>/dev
/null
8764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8765 $as_echo "$lt_cv_objdir" >&6; }
8766 objdir
=$lt_cv_objdir
8772 cat >>confdefs.h
<<_ACEOF
8773 #define LT_OBJDIR "$lt_cv_objdir/"
8781 # AIX sometimes has problems with the GCC collect2 program. For some
8782 # reason, if we set the COLLECT_NAMES environment variable, the problems
8783 # vanish in a puff of smoke.
8784 if test "X${COLLECT_NAMES+set}" != Xset
; then
8786 export COLLECT_NAMES
8793 can_build_shared
=yes
8795 # All known linkers require a `.a' archive for static linking (except MSVC,
8796 # which needs '.lib').
8799 with_gnu_ld
="$lt_cv_prog_gnu_ld"
8802 old_CFLAGS
="$CFLAGS"
8804 # Set sane defaults for various variables
8805 test -z "$CC" && CC
=cc
8806 test -z "$LTCC" && LTCC
=$CC
8807 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
8808 test -z "$LD" && LD
=ld
8809 test -z "$ac_objext" && ac_objext
=o
8811 for cc_temp
in $compiler""; do
8813 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
8814 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
8819 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8822 # Only perform the check for file, if the check method requires it
8823 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
8824 case $deplibs_check_method in
8826 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8828 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8829 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
8830 $as_echo_n "(cached) " >&6
8834 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8837 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8838 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8839 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8840 for ac_dir
in $ac_dummy; do
8842 test -z "$ac_dir" && ac_dir
=.
8843 if test -f $ac_dir/${ac_tool_prefix}file; then
8844 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
8845 if test -n "$file_magic_test_file"; then
8846 case $deplibs_check_method in
8848 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8849 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8850 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8851 $EGREP "$file_magic_regex" > /dev
/null
; then
8856 *** Warning: the command libtool uses to detect shared libraries,
8857 *** $file_magic_cmd, produces output that libtool cannot recognize.
8858 *** The result is that libtool may fail to recognize shared libraries
8859 *** as such. This will affect the creation of libtool libraries that
8860 *** depend on shared libraries, but programs linked with such libtool
8861 *** libraries will work regardless of this problem. Nevertheless, you
8862 *** may want to report the problem to your system manager and/or to
8863 *** bug-libtool@gnu.org
8873 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8878 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8879 if test -n "$MAGIC_CMD"; then
8880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8881 $as_echo "$MAGIC_CMD" >&6; }
8883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8884 $as_echo "no" >&6; }
8891 if test -z "$lt_cv_path_MAGIC_CMD"; then
8892 if test -n "$ac_tool_prefix"; then
8893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8894 $as_echo_n "checking for file... " >&6; }
8895 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
8896 $as_echo_n "(cached) " >&6
8900 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8903 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8904 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8905 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8906 for ac_dir
in $ac_dummy; do
8908 test -z "$ac_dir" && ac_dir
=.
8909 if test -f $ac_dir/file; then
8910 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
8911 if test -n "$file_magic_test_file"; then
8912 case $deplibs_check_method in
8914 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8915 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8916 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8917 $EGREP "$file_magic_regex" > /dev
/null
; then
8922 *** Warning: the command libtool uses to detect shared libraries,
8923 *** $file_magic_cmd, produces output that libtool cannot recognize.
8924 *** The result is that libtool may fail to recognize shared libraries
8925 *** as such. This will affect the creation of libtool libraries that
8926 *** depend on shared libraries, but programs linked with such libtool
8927 *** libraries will work regardless of this problem. Nevertheless, you
8928 *** may want to report the problem to your system manager and/or to
8929 *** bug-libtool@gnu.org
8939 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8944 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8945 if test -n "$MAGIC_CMD"; then
8946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8947 $as_echo "$MAGIC_CMD" >&6; }
8949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8950 $as_echo "no" >&6; }
8963 # Use C for the default configuration in the libtool script
8967 ac_cpp
='$CPP $CPPFLAGS'
8968 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8969 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8970 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8973 # Source file extension for C test sources.
8976 # Object file extension for compiled C test sources.
8980 # Code to be used in simple compile tests
8981 lt_simple_compile_test_code
="int some_variable = 0;"
8983 # Code to be used in simple link tests
8984 lt_simple_link_test_code
='int main(){return(0);}'
8992 # If no C compiler was specified, use CC.
8995 # If no C compiler flags were specified, use CFLAGS.
8996 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8998 # Allow CC to be a program name with arguments.
9001 # Save the default compiler, since it gets overwritten when the other
9002 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9003 compiler_DEFAULT
=$CC
9005 # save warnings/boilerplate of simple test code
9006 ac_outfile
=conftest.
$ac_objext
9007 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
9008 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
9009 _lt_compiler_boilerplate
=`cat conftest.err`
9012 ac_outfile
=conftest.
$ac_objext
9013 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
9014 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
9015 _lt_linker_boilerplate
=`cat conftest.err`
9020 ## There is no encapsulation within the following macros, do not change
9021 ## the running order or otherwise move them around unless you know exactly
9022 ## what you are doing...
9023 if test -n "$compiler"; then
9025 lt_prog_compiler_no_builtin_flag
=
9027 if test "$GCC" = yes; then
9028 case $cc_basename in
9030 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
9032 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
9035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9036 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9037 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
9038 $as_echo_n "(cached) " >&6
9040 lt_cv_prog_compiler_rtti_exceptions
=no
9041 ac_outfile
=conftest.
$ac_objext
9042 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9043 lt_compiler_flag
="-fno-rtti -fno-exceptions"
9044 # Insert the option either (1) after the last *FLAGS variable, or
9045 # (2) before a word containing "conftest.", or (3) at the end.
9046 # Note that $ac_compile itself does not contain backslashes and begins
9047 # with a dollar sign (not a hyphen), so the echo should work correctly.
9048 # The option is referenced via a variable to avoid confusing sed.
9049 lt_compile
=`echo "$ac_compile" | $SED \
9050 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9051 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9052 -e 's:$: $lt_compiler_flag:'`
9053 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9054 (eval "$lt_compile" 2>conftest.err
)
9056 cat conftest.err
>&5
9057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9058 if (exit $ac_status) && test -s "$ac_outfile"; then
9059 # The compiler can only warn and ignore the option if not recognized
9060 # So say no if there are warnings other than the usual output.
9061 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
9062 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9063 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9064 lt_cv_prog_compiler_rtti_exceptions
=yes
9070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9071 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9073 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
9074 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9086 lt_prog_compiler_wl
=
9087 lt_prog_compiler_pic
=
9088 lt_prog_compiler_static
=
9090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9091 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9093 if test "$GCC" = yes; then
9094 lt_prog_compiler_wl
='-Wl,'
9095 lt_prog_compiler_static
='-static'
9099 # All AIX code is PIC.
9100 if test "$host_cpu" = ia64
; then
9101 # AIX 5 now supports IA64 processor
9102 lt_prog_compiler_static
='-Bstatic'
9104 lt_prog_compiler_pic
='-fPIC'
9110 # see comment about AmigaOS4 .so support
9111 lt_prog_compiler_pic
='-fPIC'
9114 # FIXME: we need at least 68020 code to build shared libraries, but
9115 # adding the `-m68020' flag to GCC prevents building anything better,
9117 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
9122 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
9123 # PIC is the default for these OSes.
9126 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9127 # This hack is so that the source file can tell whether it is being
9128 # built for inclusion in a dll (and should export symbols for example).
9129 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9130 # (--disable-auto-import) libraries
9131 lt_prog_compiler_pic
='-DDLL_EXPORT'
9134 darwin
* | rhapsody
*)
9135 # PIC is the default on this platform
9136 # Common symbols not allowed in MH_DYLIB files
9137 lt_prog_compiler_pic
='-fno-common'
9141 # PIC is the default for Haiku.
9142 # The "-static" flag exists, but is broken.
9143 lt_prog_compiler_static
=
9147 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9148 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9149 # sets the default TLS model and affects inlining.
9155 lt_prog_compiler_pic
='-fPIC'
9161 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9162 # Instead, we relocate shared libraries at runtime.
9166 # Just because we use GCC doesn't mean we suddenly get shared libraries
9167 # on systems that don't support them.
9168 lt_prog_compiler_can_build_shared
=no
9173 # QNX uses GNU C++, but need to define -shared option too, otherwise
9175 lt_prog_compiler_pic
='-fPIC -shared'
9179 if test -d /usr
/nec
; then
9180 lt_prog_compiler_pic
=-Kconform_pic
9185 lt_prog_compiler_pic
='-fPIC'
9189 case $cc_basename in
9190 nvcc
*) # Cuda Compiler Driver 2.2
9191 lt_prog_compiler_wl
='-Xlinker '
9192 lt_prog_compiler_pic
='-Xcompiler -fPIC'
9196 # PORTME Check for flag to pass linker flags through the system compiler.
9199 lt_prog_compiler_wl
='-Wl,'
9200 if test "$host_cpu" = ia64
; then
9201 # AIX 5 now supports IA64 processor
9202 lt_prog_compiler_static
='-Bstatic'
9204 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
9208 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9209 # This hack is so that the source file can tell whether it is being
9210 # built for inclusion in a dll (and should export symbols for example).
9211 lt_prog_compiler_pic
='-DDLL_EXPORT'
9214 hpux9
* | hpux10
* | hpux11
*)
9215 lt_prog_compiler_wl
='-Wl,'
9216 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9223 lt_prog_compiler_pic
='+Z'
9226 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9227 lt_prog_compiler_static
='${wl}-a ${wl}archive'
9230 irix5
* | irix6
* | nonstopux
*)
9231 lt_prog_compiler_wl
='-Wl,'
9232 # PIC (with -KPIC) is the default.
9233 lt_prog_compiler_static
='-non_shared'
9236 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9237 case $cc_basename in
9238 # old Intel for x86_64 which still supported -KPIC.
9240 lt_prog_compiler_wl
='-Wl,'
9241 lt_prog_compiler_pic
='-KPIC'
9242 lt_prog_compiler_static
='-static'
9244 # icc used to be incompatible with GCC.
9245 # ICC 10 doesn't accept -KPIC any more.
9247 lt_prog_compiler_wl
='-Wl,'
9248 lt_prog_compiler_pic
='-fPIC'
9249 lt_prog_compiler_static
='-static'
9251 # Lahey Fortran 8.1.
9253 lt_prog_compiler_wl
='-Wl,'
9254 lt_prog_compiler_pic
='--shared'
9255 lt_prog_compiler_static
='--static'
9257 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9258 # Portland Group compilers (*not* the Pentium gcc compiler,
9259 # which looks to be a dead project)
9260 lt_prog_compiler_wl
='-Wl,'
9261 lt_prog_compiler_pic
='-fpic'
9262 lt_prog_compiler_static
='-Bstatic'
9265 lt_prog_compiler_wl
='-Wl,'
9266 # All Alpha code is PIC.
9267 lt_prog_compiler_static
='-non_shared'
9269 xl
* | bgxl
* | bgf
* | mpixl
*)
9270 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9271 lt_prog_compiler_wl
='-Wl,'
9272 lt_prog_compiler_pic
='-qpic'
9273 lt_prog_compiler_static
='-qstaticlink'
9276 case `$CC -V 2>&1 | sed 5q` in
9277 *Sun\ F
* |
*Sun
*Fortran
*)
9278 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9279 lt_prog_compiler_pic
='-KPIC'
9280 lt_prog_compiler_static
='-Bstatic'
9281 lt_prog_compiler_wl
=''
9285 lt_prog_compiler_pic
='-KPIC'
9286 lt_prog_compiler_static
='-Bstatic'
9287 lt_prog_compiler_wl
='-Wl,'
9295 lt_prog_compiler_pic
='-KPIC'
9296 lt_prog_compiler_static
='-Bstatic'
9300 # QNX uses GNU C++, but need to define -shared option too, otherwise
9302 lt_prog_compiler_pic
='-fPIC -shared'
9305 osf3
* | osf4
* | osf5
*)
9306 lt_prog_compiler_wl
='-Wl,'
9307 # All OSF/1 code is PIC.
9308 lt_prog_compiler_static
='-non_shared'
9312 lt_prog_compiler_static
='-non_shared'
9316 lt_prog_compiler_pic
='-KPIC'
9317 lt_prog_compiler_static
='-Bstatic'
9318 case $cc_basename in
9320 lt_prog_compiler_wl
='-Qoption ld ';;
9322 lt_prog_compiler_wl
='-Wl,';;
9327 lt_prog_compiler_wl
='-Qoption ld '
9328 lt_prog_compiler_pic
='-PIC'
9329 lt_prog_compiler_static
='-Bstatic'
9332 sysv4 | sysv4.2uw2
* | sysv4.3
*)
9333 lt_prog_compiler_wl
='-Wl,'
9334 lt_prog_compiler_pic
='-KPIC'
9335 lt_prog_compiler_static
='-Bstatic'
9339 if test -d /usr
/nec
;then
9340 lt_prog_compiler_pic
='-Kconform_pic'
9341 lt_prog_compiler_static
='-Bstatic'
9345 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
9346 lt_prog_compiler_wl
='-Wl,'
9347 lt_prog_compiler_pic
='-KPIC'
9348 lt_prog_compiler_static
='-Bstatic'
9352 lt_prog_compiler_wl
='-Wl,'
9353 lt_prog_compiler_can_build_shared
=no
9357 lt_prog_compiler_pic
='-pic'
9358 lt_prog_compiler_static
='-Bstatic'
9362 lt_prog_compiler_can_build_shared
=no
9368 # For platforms which do not support PIC, -DPIC is meaningless:
9370 lt_prog_compiler_pic
=
9373 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
9376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9377 $as_echo "$lt_prog_compiler_pic" >&6; }
9385 # Check to make sure the PIC flag actually works.
9387 if test -n "$lt_prog_compiler_pic"; then
9388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9389 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9390 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
9391 $as_echo_n "(cached) " >&6
9393 lt_cv_prog_compiler_pic_works
=no
9394 ac_outfile
=conftest.
$ac_objext
9395 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9396 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
9397 # Insert the option either (1) after the last *FLAGS variable, or
9398 # (2) before a word containing "conftest.", or (3) at the end.
9399 # Note that $ac_compile itself does not contain backslashes and begins
9400 # with a dollar sign (not a hyphen), so the echo should work correctly.
9401 # The option is referenced via a variable to avoid confusing sed.
9402 lt_compile
=`echo "$ac_compile" | $SED \
9403 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9404 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9405 -e 's:$: $lt_compiler_flag:'`
9406 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9407 (eval "$lt_compile" 2>conftest.err
)
9409 cat conftest.err
>&5
9410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9411 if (exit $ac_status) && test -s "$ac_outfile"; then
9412 # The compiler can only warn and ignore the option if not recognized
9413 # So say no if there are warnings other than the usual output.
9414 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
9415 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9416 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9417 lt_cv_prog_compiler_pic_works
=yes
9423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9424 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9426 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
9427 case $lt_prog_compiler_pic in
9429 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
9432 lt_prog_compiler_pic
=
9433 lt_prog_compiler_can_build_shared
=no
9444 # Check to make sure the static flag actually works.
9446 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
9447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9448 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9449 if ${lt_cv_prog_compiler_static_works+:} false
; then :
9450 $as_echo_n "(cached) " >&6
9452 lt_cv_prog_compiler_static_works
=no
9453 save_LDFLAGS
="$LDFLAGS"
9454 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
9455 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9456 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9457 # The linker can only warn and ignore the option if not recognized
9458 # So say no if there are warnings
9459 if test -s conftest.err
; then
9460 # Append any errors to the config.log.
9461 cat conftest.err
1>&5
9462 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9463 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9464 if diff conftest.exp conftest.er2
>/dev
/null
; then
9465 lt_cv_prog_compiler_static_works
=yes
9468 lt_cv_prog_compiler_static_works
=yes
9472 LDFLAGS
="$save_LDFLAGS"
9475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9476 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9478 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
9481 lt_prog_compiler_static
=
9490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9491 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9492 if ${lt_cv_prog_compiler_c_o+:} false
; then :
9493 $as_echo_n "(cached) " >&6
9495 lt_cv_prog_compiler_c_o
=no
9496 $RM -r conftest
2>/dev
/null
9500 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9502 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9503 # Insert the option either (1) after the last *FLAGS variable, or
9504 # (2) before a word containing "conftest.", or (3) at the end.
9505 # Note that $ac_compile itself does not contain backslashes and begins
9506 # with a dollar sign (not a hyphen), so the echo should work correctly.
9507 lt_compile
=`echo "$ac_compile" | $SED \
9508 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9509 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9510 -e 's:$: $lt_compiler_flag:'`
9511 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9512 (eval "$lt_compile" 2>out
/conftest.err
)
9514 cat out
/conftest.err
>&5
9515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9516 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9518 # The compiler can only warn and ignore the option if not recognized
9519 # So say no if there are warnings
9520 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9521 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9522 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9523 lt_cv_prog_compiler_c_o
=yes
9528 # SGI C++ compiler will create directory out/ii_files/ for
9529 # template instantiation
9530 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9531 $RM out
/* && rmdir out
9537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9538 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9546 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9547 if ${lt_cv_prog_compiler_c_o+:} false
; then :
9548 $as_echo_n "(cached) " >&6
9550 lt_cv_prog_compiler_c_o
=no
9551 $RM -r conftest
2>/dev
/null
9555 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9557 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9558 # Insert the option either (1) after the last *FLAGS variable, or
9559 # (2) before a word containing "conftest.", or (3) at the end.
9560 # Note that $ac_compile itself does not contain backslashes and begins
9561 # with a dollar sign (not a hyphen), so the echo should work correctly.
9562 lt_compile
=`echo "$ac_compile" | $SED \
9563 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9564 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9565 -e 's:$: $lt_compiler_flag:'`
9566 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9567 (eval "$lt_compile" 2>out
/conftest.err
)
9569 cat out
/conftest.err
>&5
9570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9571 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9573 # The compiler can only warn and ignore the option if not recognized
9574 # So say no if there are warnings
9575 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9576 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9577 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9578 lt_cv_prog_compiler_c_o
=yes
9583 # SGI C++ compiler will create directory out/ii_files/ for
9584 # template instantiation
9585 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9586 $RM out
/* && rmdir out
9592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9593 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9598 hard_links
="nottested"
9599 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
9600 # do not overwrite the value of need_locks provided by the user
9601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9602 $as_echo_n "checking if we can lock with hard links... " >&6; }
9605 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9607 ln conftest.a conftest.b
2>&5 || hard_links
=no
9608 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9610 $as_echo "$hard_links" >&6; }
9611 if test "$hard_links" = no
; then
9612 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9613 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9626 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9629 allow_undefined_flag
=
9630 always_export_symbols
=no
9632 archive_expsym_cmds
=
9633 compiler_needs_object
=no
9634 enable_shared_with_static_runtimes
=no
9635 export_dynamic_flag_spec
=
9636 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9637 hardcode_automatic
=no
9639 hardcode_direct_absolute
=no
9640 hardcode_libdir_flag_spec
=
9641 hardcode_libdir_flag_spec_ld
=
9642 hardcode_libdir_separator
=
9644 hardcode_shlibpath_var
=unsupported
9646 link_all_deplibs
=unknown
9649 old_archive_from_new_cmds
=
9650 old_archive_from_expsyms_cmds
=
9651 thread_safe_flag_spec
=
9652 whole_archive_flag_spec
=
9653 # include_expsyms should be a list of space-separated symbols to be *always*
9654 # included in the symbol list
9656 # exclude_expsyms can be an extended regexp of symbols to exclude
9657 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9658 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9659 # as well as any symbol that contains `d'.
9660 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9661 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9662 # platforms (ab)use it in PIC code, but their linkers get confused if
9663 # the symbol is explicitly referenced. Since portable code cannot
9664 # rely on this symbol name, it's probably fine to never include it in
9665 # preloaded symbol tables.
9666 # Exclude shared library initialization/finalization symbols.
9667 extract_expsyms_cmds
=
9670 cygwin
* | mingw
* | pw32
* | cegcc
*)
9671 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9672 # When not using gcc, we currently assume that we are using
9673 # Microsoft Visual C++.
9674 if test "$GCC" != yes; then
9679 # we just hope/assume this is gcc and not c89 (= MSVC++)
9689 # On some targets, GNU ld is compatible enough with the native linker
9690 # that we're better off using the native interface for both.
9691 lt_use_gnu_ld_interface
=no
9692 if test "$with_gnu_ld" = yes; then
9695 # The AIX port of GNU ld has always aspired to compatibility
9696 # with the native linker. However, as the warning in the GNU ld
9697 # block says, versions before 2.19.5* couldn't really create working
9698 # shared libraries, regardless of the interface used.
9699 case `$LD -v 2>&1` in
9700 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
9701 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
9702 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
9704 lt_use_gnu_ld_interface
=yes
9709 lt_use_gnu_ld_interface
=yes
9714 if test "$lt_use_gnu_ld_interface" = yes; then
9715 # If archive_cmds runs LD, not CC, wlarc should be empty
9718 # Set some defaults for GNU ld with shared library support. These
9719 # are reset later if shared libraries are not supported. Putting them
9720 # here allows them to be overridden if necessary.
9721 runpath_var
=LD_RUN_PATH
9722 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9723 export_dynamic_flag_spec
='${wl}--export-dynamic'
9724 # ancient GNU ld didn't support --whole-archive et. al.
9725 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
9726 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9728 whole_archive_flag_spec
=
9730 supports_anon_versioning
=no
9731 case `$LD -v 2>&1` in
9732 *GNU\ gold
*) supports_anon_versioning
=yes ;;
9733 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
9734 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
9735 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
9736 *\
2.11.
*) ;; # other 2.11 versions
9737 *) supports_anon_versioning
=yes ;;
9740 # See if GNU ld supports shared libraries.
9743 # On AIX/PPC, the GNU linker is very broken
9744 if test "$host_cpu" != ia64
; then
9748 *** Warning: the GNU linker, at least up to release 2.19, is reported
9749 *** to be unable to reliably create shared libraries on AIX.
9750 *** Therefore, libtool is disabling shared libraries support. If you
9751 *** really care for shared libraries, you may want to install binutils
9752 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9753 *** You will then need to restart the configuration process.
9762 # see comment about AmigaOS4 .so support
9763 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9764 archive_expsym_cmds
=''
9767 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)'
9768 hardcode_libdir_flag_spec
='-L$libdir'
9769 hardcode_minus_L
=yes
9775 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9776 allow_undefined_flag
=unsupported
9777 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9778 # support --undefined. This deserves some investigation. FIXME
9779 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9785 cygwin
* | mingw
* | pw32
* | cegcc
*)
9786 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9787 # as there is no search path for DLLs.
9788 hardcode_libdir_flag_spec
='-L$libdir'
9789 export_dynamic_flag_spec
='${wl}--export-all-symbols'
9790 allow_undefined_flag
=unsupported
9791 always_export_symbols
=no
9792 enable_shared_with_static_runtimes
=yes
9793 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9795 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
9796 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9797 # If the export-symbols file already is a .def file (1st line
9798 # is EXPORTS), use it as is; otherwise, prepend...
9799 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9800 cp $export_symbols $output_objdir/$soname.def;
9802 echo EXPORTS > $output_objdir/$soname.def;
9803 cat $export_symbols >> $output_objdir/$soname.def;
9805 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9812 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9813 link_all_deplibs
=yes
9818 hardcode_shlibpath_var
=no
9819 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9820 export_dynamic_flag_spec
='${wl}-E'
9821 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9822 # Instead, shared libraries are loaded at an image base (0x10000000 by
9823 # default) and relocated if they conflict, which is a slow very memory
9824 # consuming and fragmenting process. To avoid this, we pick a random,
9825 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9826 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9827 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9828 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'
9831 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9833 if test "$host_os" = linux-dietlibc
; then
9834 case $cc_basename in
9835 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9838 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
9839 && test "$tmp_diet" = no
9841 tmp_addflag
=' $pic_flag'
9842 tmp_sharedflag
='-shared'
9843 case $cc_basename,$host_cpu in
9844 pgcc
*) # Portland Group C compiler
9845 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'
9846 tmp_addflag
=' $pic_flag'
9848 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9849 # Portland Group f77 and f90 compilers
9850 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'
9851 tmp_addflag
=' $pic_flag -Mnomain' ;;
9852 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9853 tmp_addflag
=' -i_dynamic' ;;
9854 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9855 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9856 ifc
* | ifort
*) # Intel Fortran compiler
9857 tmp_addflag
=' -nofor_main' ;;
9858 lf95
*) # Lahey Fortran 8.1
9859 whole_archive_flag_spec
=
9860 tmp_sharedflag
='--shared' ;;
9861 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9862 tmp_sharedflag
='-qmkshrobj'
9864 nvcc
*) # Cuda Compiler Driver 2.2
9865 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'
9866 compiler_needs_object
=yes
9869 case `$CC -V 2>&1 | sed 5q` in
9870 *Sun\ C
*) # Sun C 5.9
9871 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'
9872 compiler_needs_object
=yes
9873 tmp_sharedflag
='-G' ;;
9874 *Sun\ F
*) # Sun Fortran 8.3
9875 tmp_sharedflag
='-G' ;;
9877 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9879 if test "x$supports_anon_versioning" = xyes
; then
9880 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9881 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9882 echo "local: *; };" >> $output_objdir/$libname.ver~
9883 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9886 case $cc_basename in
9887 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
9888 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9889 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9890 hardcode_libdir_flag_spec
=
9891 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
9892 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9893 if test "x$supports_anon_versioning" = xyes
; then
9894 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9895 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9896 echo "local: *; };" >> $output_objdir/$libname.ver~
9897 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9907 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9908 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9911 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9912 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9917 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
9921 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9922 *** create shared libraries on Solaris systems. Therefore, libtool
9923 *** is disabling shared libraries support. We urge you to upgrade GNU
9924 *** binutils to release 2.9.1 or newer. Another option is to modify
9925 *** your PATH or compiler configuration so that the native linker is
9926 *** used, and then restart.
9929 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9930 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9931 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9937 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9938 case `$LD -v 2>&1` in
9939 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9943 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9944 *** reliably create shared libraries on SCO systems. Therefore, libtool
9945 *** is disabling shared libraries support. We urge you to upgrade GNU
9946 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9947 *** your PATH or compiler configuration so that the native linker is
9948 *** used, and then restart.
9953 # For security reasons, it is highly recommended that you always
9954 # use absolute paths for naming shared libraries, and exclude the
9955 # DT_RUNPATH tag from executables and libraries. But doing so
9956 # requires that you compile everything twice, which is a pain.
9957 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9958 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9959 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9960 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9969 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9972 hardcode_shlibpath_var
=no
9976 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9977 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9978 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9985 if test "$ld_shlibs" = no
; then
9987 hardcode_libdir_flag_spec
=
9988 export_dynamic_flag_spec
=
9989 whole_archive_flag_spec
=
9992 # PORTME fill in a description of your system's linker (not GNU ld)
9995 allow_undefined_flag
=unsupported
9996 always_export_symbols
=yes
9997 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'
9998 # Note: this linker hardcodes the directories in LIBPATH if there
9999 # are no directories specified by -L.
10000 hardcode_minus_L
=yes
10001 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10002 # Neither direct hardcoding nor static linking is supported with a
10004 hardcode_direct
=unsupported
10009 if test "$host_cpu" = ia64
; then
10010 # On IA64, the linker does run time linking by default, so we don't
10011 # have to do anything special.
10012 aix_use_runtimelinking
=no
10013 exp_sym_flag
='-Bexport'
10016 # If we're using GNU nm, then we don't want the "-C" option.
10017 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10018 # Also, AIX nm treats weak defined symbols like other global
10019 # defined symbols, whereas GNU nm marks them as "W".
10020 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
10021 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'
10023 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'
10025 aix_use_runtimelinking
=no
10027 # Test if we are trying to use run time linking or normal
10028 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10029 # need to do runtime linking.
10030 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
10031 for ld_flag
in $LDFLAGS; do
10032 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
10033 aix_use_runtimelinking
=yes
10040 exp_sym_flag
='-bexport'
10041 no_entry_flag
='-bnoentry'
10044 # When large executables or shared objects are built, AIX ld can
10045 # have problems creating the table of contents. If linking a library
10046 # or program results in "error TOC overflow" add -mminimal-toc to
10047 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10048 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10051 hardcode_direct
=yes
10052 hardcode_direct_absolute
=yes
10053 hardcode_libdir_separator
=':'
10054 link_all_deplibs
=yes
10055 file_list_spec
='${wl}-f,'
10057 if test "$GCC" = yes; then
10058 case $host_os in aix4.
[012]|aix4.
[012].
*)
10059 # We only want to do this on AIX 4.2 and lower, the check
10060 # below for broken collect2 doesn't work under 4.3+
10061 collect2name
=`${CC} -print-prog-name=collect2`
10062 if test -f "$collect2name" &&
10063 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
10065 # We have reworked collect2
10068 # We have old collect2
10069 hardcode_direct
=unsupported
10070 # It fails to find uninstalled libraries when the uninstalled
10071 # path is not listed in the libpath. Setting hardcode_minus_L
10072 # to unsupported forces relinking
10073 hardcode_minus_L
=yes
10074 hardcode_libdir_flag_spec
='-L$libdir'
10075 hardcode_libdir_separator
=
10079 shared_flag
='-shared'
10080 if test "$aix_use_runtimelinking" = yes; then
10081 shared_flag
="$shared_flag "'${wl}-G'
10085 if test "$host_cpu" = ia64
; then
10086 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10087 # chokes on -Wl,-G. The following line is correct:
10090 if test "$aix_use_runtimelinking" = yes; then
10091 shared_flag
='${wl}-G'
10093 shared_flag
='${wl}-bM:SRE'
10098 export_dynamic_flag_spec
='${wl}-bexpall'
10099 # It seems that -bexpall does not export symbols beginning with
10100 # underscore (_), so it is better to generate a list of symbols to export.
10101 always_export_symbols
=yes
10102 if test "$aix_use_runtimelinking" = yes; then
10103 # Warning - without using the other runtime loading flags (-brtl),
10104 # -berok will link without error, but may produce a broken library.
10105 allow_undefined_flag
='-berok'
10106 # Determine the default libpath from the value encoded in an
10107 # empty executable.
10108 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10109 /* end confdefs.h. */
10119 if ac_fn_c_try_link
"$LINENO"; then :
10121 lt_aix_libpath_sed
='
10122 /Import File Strings/,/^$/ {
10128 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10129 # Check for a 64-bit object if we didn't find anything.
10130 if test -z "$aix_libpath"; then
10131 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10134 rm -f core conftest.err conftest.
$ac_objext \
10135 conftest
$ac_exeext conftest.
$ac_ext
10136 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10138 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10139 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"
10141 if test "$host_cpu" = ia64
; then
10142 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
10143 allow_undefined_flag
="-z nodefs"
10144 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"
10146 # Determine the default libpath from the value encoded in an
10147 # empty executable.
10148 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10149 /* end confdefs.h. */
10159 if ac_fn_c_try_link
"$LINENO"; then :
10161 lt_aix_libpath_sed
='
10162 /Import File Strings/,/^$/ {
10168 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10169 # Check for a 64-bit object if we didn't find anything.
10170 if test -z "$aix_libpath"; then
10171 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10174 rm -f core conftest.err conftest.
$ac_objext \
10175 conftest
$ac_exeext conftest.
$ac_ext
10176 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10178 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10179 # Warning - without using the other run time loading flags,
10180 # -berok will link without error, but may produce a broken library.
10181 no_undefined_flag
=' ${wl}-bernotok'
10182 allow_undefined_flag
=' ${wl}-berok'
10183 if test "$with_gnu_ld" = yes; then
10184 # We only use this code for GNU lds that support --whole-archive.
10185 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10187 # Exported symbols can be pulled into shared objects from archives
10188 whole_archive_flag_spec
='$convenience'
10190 archive_cmds_need_lc
=yes
10191 # This is similar to how AIX traditionally builds its shared libraries.
10192 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'
10200 # see comment about AmigaOS4 .so support
10201 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10202 archive_expsym_cmds
=''
10205 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)'
10206 hardcode_libdir_flag_spec
='-L$libdir'
10207 hardcode_minus_L
=yes
10213 export_dynamic_flag_spec
=-rdynamic
10216 cygwin
* | mingw
* | pw32
* | cegcc
*)
10217 # When not using gcc, we currently assume that we are using
10218 # Microsoft Visual C++.
10219 # hardcode_libdir_flag_spec is actually meaningless, as there is
10220 # no search path for DLLs.
10221 hardcode_libdir_flag_spec
=' '
10222 allow_undefined_flag
=unsupported
10223 # Tell ltmain to make .lib files, not .a files.
10225 # Tell ltmain to make .dll files, not .so files.
10227 # FIXME: Setting linknames here is a bad hack.
10228 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10229 # The linker will automatically build a .lib file if we build a DLL.
10230 old_archive_from_new_cmds
='true'
10231 # FIXME: Should let the user specify the lib program.
10232 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
10233 fix_srcfile_path
='`cygpath -w "$srcfile"`'
10234 enable_shared_with_static_runtimes
=yes
10237 darwin
* | rhapsody
*)
10240 archive_cmds_need_lc
=no
10242 hardcode_automatic
=yes
10243 hardcode_shlibpath_var
=unsupported
10244 if test "$lt_cv_ld_force_load" = "yes"; then
10245 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\"`'
10247 whole_archive_flag_spec
=''
10249 link_all_deplibs
=yes
10250 allow_undefined_flag
="$_lt_dar_allow_undefined"
10251 case $cc_basename in
10252 ifort
*) _lt_dar_can_shared
=yes ;;
10253 *) _lt_dar_can_shared
=$GCC ;;
10255 if test "$_lt_dar_can_shared" = "yes"; then
10256 output_verbose_link_cmd
=func_echo_all
10257 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10258 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10259 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}"
10260 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}"
10269 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10270 hardcode_libdir_flag_spec
='-L$libdir'
10271 hardcode_shlibpath_var
=no
10274 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10275 # support. Future versions do this automatically, but an explicit c++rt0.o
10276 # does not break anything, and helps significantly (at the cost of a little
10279 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10280 hardcode_libdir_flag_spec
='-R$libdir'
10281 hardcode_direct
=yes
10282 hardcode_shlibpath_var
=no
10285 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10287 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10288 hardcode_direct
=yes
10289 hardcode_minus_L
=yes
10290 hardcode_shlibpath_var
=no
10293 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10294 freebsd
* | dragonfly
*)
10295 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10296 hardcode_libdir_flag_spec
='-R$libdir'
10297 hardcode_direct
=yes
10298 hardcode_shlibpath_var
=no
10302 if test "$GCC" = yes; then
10303 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'
10305 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'
10307 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10308 hardcode_libdir_separator
=:
10309 hardcode_direct
=yes
10311 # hardcode_minus_L: Not really in the search PATH,
10312 # but as the default location of the library.
10313 hardcode_minus_L
=yes
10314 export_dynamic_flag_spec
='${wl}-E'
10318 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10319 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10321 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10323 if test "$with_gnu_ld" = no
; then
10324 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10325 hardcode_libdir_flag_spec_ld
='+b $libdir'
10326 hardcode_libdir_separator
=:
10327 hardcode_direct
=yes
10328 hardcode_direct_absolute
=yes
10329 export_dynamic_flag_spec
='${wl}-E'
10330 # hardcode_minus_L: Not really in the search PATH,
10331 # but as the default location of the library.
10332 hardcode_minus_L
=yes
10337 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10340 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10343 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10346 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10352 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10355 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10359 # Older versions of the 11.00 compiler do not understand -b yet
10360 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10362 $as_echo_n "checking if $CC understands -b... " >&6; }
10363 if ${lt_cv_prog_compiler__b+:} false
; then :
10364 $as_echo_n "(cached) " >&6
10366 lt_cv_prog_compiler__b
=no
10367 save_LDFLAGS
="$LDFLAGS"
10368 LDFLAGS
="$LDFLAGS -b"
10369 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10370 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10371 # The linker can only warn and ignore the option if not recognized
10372 # So say no if there are warnings
10373 if test -s conftest.err
; then
10374 # Append any errors to the config.log.
10375 cat conftest.err
1>&5
10376 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
10377 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10378 if diff conftest.exp conftest.er2
>/dev
/null
; then
10379 lt_cv_prog_compiler__b
=yes
10382 lt_cv_prog_compiler__b
=yes
10386 LDFLAGS
="$save_LDFLAGS"
10389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10390 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10392 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
10393 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10395 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10401 if test "$with_gnu_ld" = no
; then
10402 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10403 hardcode_libdir_separator
=:
10408 hardcode_shlibpath_var
=no
10411 hardcode_direct
=yes
10412 hardcode_direct_absolute
=yes
10413 export_dynamic_flag_spec
='${wl}-E'
10415 # hardcode_minus_L: Not really in the search PATH,
10416 # but as the default location of the library.
10417 hardcode_minus_L
=yes
10423 irix5
* | irix6
* | nonstopux
*)
10424 if test "$GCC" = yes; then
10425 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'
10426 # Try to use the -exported_symbol ld option, if it does not
10427 # work, assume that -exports_file does not work either and
10428 # implicitly export all symbols.
10429 save_LDFLAGS
="$LDFLAGS"
10430 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10431 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10432 /* end confdefs.h. */
10435 if ac_fn_c_try_link
"$LINENO"; then :
10436 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'
10439 rm -f core conftest.err conftest.
$ac_objext \
10440 conftest
$ac_exeext conftest.
$ac_ext
10441 LDFLAGS
="$save_LDFLAGS"
10443 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'
10444 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'
10446 archive_cmds_need_lc
='no'
10447 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10448 hardcode_libdir_separator
=:
10450 link_all_deplibs
=yes
10454 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10455 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10457 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10459 hardcode_libdir_flag_spec
='-R$libdir'
10460 hardcode_direct
=yes
10461 hardcode_shlibpath_var
=no
10465 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10466 hardcode_direct
=yes
10467 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10468 hardcode_libdir_separator
=:
10469 hardcode_shlibpath_var
=no
10476 if test -f /usr
/libexec
/ld.so
; then
10477 hardcode_direct
=yes
10478 hardcode_shlibpath_var
=no
10479 hardcode_direct_absolute
=yes
10480 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10481 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10482 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10483 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10484 export_dynamic_flag_spec
='${wl}-E'
10487 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
10488 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10489 hardcode_libdir_flag_spec
='-R$libdir'
10492 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10493 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10503 hardcode_libdir_flag_spec
='-L$libdir'
10504 hardcode_minus_L
=yes
10505 allow_undefined_flag
=unsupported
10506 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'
10507 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10511 if test "$GCC" = yes; then
10512 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10513 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'
10515 allow_undefined_flag
=' -expect_unresolved \*'
10516 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'
10518 archive_cmds_need_lc
='no'
10519 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10520 hardcode_libdir_separator
=:
10523 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10524 if test "$GCC" = yes; then
10525 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10526 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'
10527 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10529 allow_undefined_flag
=' -expect_unresolved \*'
10530 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'
10531 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~
10532 $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'
10534 # Both c and cxx compiler support -rpath directly
10535 hardcode_libdir_flag_spec
='-rpath $libdir'
10537 archive_cmds_need_lc
='no'
10538 hardcode_libdir_separator
=:
10542 no_undefined_flag
=' -z defs'
10543 if test "$GCC" = yes; then
10545 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10546 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10547 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10549 case `$CC -V 2>&1` in
10552 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10553 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10554 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10558 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10559 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10560 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10564 hardcode_libdir_flag_spec
='-R$libdir'
10565 hardcode_shlibpath_var
=no
10567 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10569 # The compiler driver will combine and reorder linker options,
10570 # but understands `-z linker_flag'. GCC discards it without `$wl',
10571 # but is careful enough not to reorder.
10572 # Supported since Solaris 2.6 (maybe 2.5.1?)
10573 if test "$GCC" = yes; then
10574 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10576 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10580 link_all_deplibs
=yes
10584 if test "x$host_vendor" = xsequent
; then
10585 # Use $CC to link under sequent, because it throws in some extra .o
10586 # files that make .init and .fini sections work.
10587 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10589 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10591 hardcode_libdir_flag_spec
='-L$libdir'
10592 hardcode_direct
=yes
10593 hardcode_minus_L
=yes
10594 hardcode_shlibpath_var
=no
10598 case $host_vendor in
10600 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10601 hardcode_direct
=yes # is this really true???
10604 ## LD is ld it makes a PLAMLIB
10605 ## CC just makes a GrossModule.
10606 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10607 reload_cmds
='$CC -r -o $output$reload_objs'
10611 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10612 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10615 runpath_var
='LD_RUN_PATH'
10616 hardcode_shlibpath_var
=no
10620 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10621 hardcode_shlibpath_var
=no
10622 export_dynamic_flag_spec
='-Bexport'
10626 if test -d /usr
/nec
; then
10627 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10628 hardcode_shlibpath_var
=no
10629 runpath_var
=LD_RUN_PATH
10630 hardcode_runpath_var
=yes
10635 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10636 no_undefined_flag
='${wl}-z,text'
10637 archive_cmds_need_lc
=no
10638 hardcode_shlibpath_var
=no
10639 runpath_var
='LD_RUN_PATH'
10641 if test "$GCC" = yes; then
10642 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10643 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10645 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10646 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10650 sysv5
* | sco3.2v5
* | sco5v6
*)
10651 # Note: We can NOT use -z defs as we might desire, because we do not
10652 # link with -lc, and that would cause any symbols used from libc to
10653 # always be unresolved, which means just about no library would
10654 # ever link correctly. If we're not using GNU ld we use -z text
10655 # though, which does catch some bad symbols but isn't as heavy-handed
10657 no_undefined_flag
='${wl}-z,text'
10658 allow_undefined_flag
='${wl}-z,nodefs'
10659 archive_cmds_need_lc
=no
10660 hardcode_shlibpath_var
=no
10661 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10662 hardcode_libdir_separator
=':'
10663 link_all_deplibs
=yes
10664 export_dynamic_flag_spec
='${wl}-Bexport'
10665 runpath_var
='LD_RUN_PATH'
10667 if test "$GCC" = yes; then
10668 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10669 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10671 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10672 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10677 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10678 hardcode_libdir_flag_spec
='-L$libdir'
10679 hardcode_shlibpath_var
=no
10687 if test x
$host_vendor = xsni
; then
10689 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10690 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10697 $as_echo "$ld_shlibs" >&6; }
10698 test "$ld_shlibs" = no
&& can_build_shared
=no
10700 with_gnu_ld
=$with_gnu_ld
10717 # Do we need to explicitly link libc?
10719 case "x$archive_cmds_need_lc" in
10721 # Assume -lc should be added
10722 archive_cmds_need_lc
=yes
10724 if test "$enable_shared" = yes && test "$GCC" = yes; then
10725 case $archive_cmds in
10727 # FIXME: we may have to deal with multi-command sequences.
10730 # Test whether the compiler implicitly links with -lc since on some
10731 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10732 # to ld, don't add -lc before -lgcc.
10733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10734 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10735 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
10736 $as_echo_n "(cached) " >&6
10739 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10741 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10742 (eval $ac_compile) 2>&5
10744 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10745 test $ac_status = 0; } 2>conftest.err
; then
10748 libobjs
=conftest.
$ac_objext
10750 wl
=$lt_prog_compiler_wl
10751 pic_flag
=$lt_prog_compiler_pic
10757 lt_save_allow_undefined_flag
=$allow_undefined_flag
10758 allow_undefined_flag
=
10759 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10760 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10762 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10763 test $ac_status = 0; }
10765 lt_cv_archive_cmds_need_lc
=no
10767 lt_cv_archive_cmds_need_lc
=yes
10769 allow_undefined_flag
=$lt_save_allow_undefined_flag
10771 cat conftest.err
1>&5
10776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10777 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10778 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
10941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10942 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10944 if test "$GCC" = yes; then
10946 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10947 *) lt_awk_arg
="/^libraries:/" ;;
10950 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
10951 *) lt_sed_strip_eq
="s,=/,/,g" ;;
10953 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10954 case $lt_search_path_spec in
10956 # if the path contains ";" then we assume it to be the separator
10957 # otherwise default to the standard path separator (i.e. ":") - it is
10958 # assumed that no part of a normal pathname contains ";" but that should
10959 # okay in the real world where ";" in dirpaths is itself problematic.
10960 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10963 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10966 # Ok, now we have the path, separated by spaces, we can step through it
10967 # and add multilib dir if necessary.
10968 lt_tmp_lt_search_path_spec
=
10969 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10970 for lt_sys_path
in $lt_search_path_spec; do
10971 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10972 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10974 test -d "$lt_sys_path" && \
10975 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10978 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10979 BEGIN {RS=" "; FS="/|\n";} {
10982 for (lt_i = NF; lt_i > 0; lt_i--) {
10983 if ($lt_i != "" && $lt_i != ".") {
10984 if ($lt_i == "..") {
10987 if (lt_count == 0) {
10988 lt_foo="/" $lt_i lt_foo;
10995 if (lt_foo != "") { lt_freq[lt_foo]++; }
10996 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10998 # AWK program above erroneously prepends '/' to C:/dos/paths
11001 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
11002 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11004 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11006 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11008 library_names_spec
=
11009 libname_spec
='lib$name'
11013 postuninstall_cmds
=
11017 shlibpath_overrides_runpath
=unknown
11019 dynamic_linker
="$host_os ld.so"
11020 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11021 need_lib_prefix
=unknown
11022 hardcode_into_libs
=no
11024 # when you set need_version to no, make sure it does not cause -set_version
11025 # flags to be left without arguments
11026 need_version
=unknown
11031 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
11032 shlibpath_var
=LIBPATH
11034 # AIX 3 has no versioning support, so we append a major version to the name.
11035 soname_spec
='${libname}${release}${shared_ext}$major'
11042 hardcode_into_libs
=yes
11043 if test "$host_cpu" = ia64
; then
11044 # AIX 5 supports IA64
11045 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11046 shlibpath_var
=LD_LIBRARY_PATH
11048 # With GCC up to 2.95.x, collect2 would create an import file
11049 # for dependence libraries. The import file would start with
11050 # the line `#! .'. This would cause the generated library to
11051 # depend on `.', always an invalid library. This was fixed in
11052 # development snapshots of GCC prior to 3.0.
11054 aix4 | aix4.
[01] | aix4.
[01].
*)
11055 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11057 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
11060 can_build_shared
=no
11064 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11065 # soname into executable. Probably we can add versioning support to
11066 # collect2, so additional links can be useful in future.
11067 if test "$aix_use_runtimelinking" = yes; then
11068 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11069 # instead of lib<name>.a to let people know that these are not
11070 # typical AIX shared libraries.
11071 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11073 # We preserve .a as extension for shared libraries through AIX4.2
11074 # and later when we are not doing run time linking.
11075 library_names_spec
='${libname}${release}.a $libname.a'
11076 soname_spec
='${libname}${release}${shared_ext}$major'
11078 shlibpath_var
=LIBPATH
11085 # Since July 2007 AmigaOS4 officially supports .so libraries.
11086 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11087 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11090 library_names_spec
='$libname.ixlibrary $libname.a'
11091 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11092 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'
11098 library_names_spec
='${libname}${shared_ext}'
11099 dynamic_linker
="$host_os ld.so"
11100 shlibpath_var
=LIBRARY_PATH
11106 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11107 soname_spec
='${libname}${release}${shared_ext}$major'
11108 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11109 shlibpath_var
=LD_LIBRARY_PATH
11110 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11111 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11112 # the default ld.so.conf also contains /usr/contrib/lib and
11113 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11114 # libtool to hard-code these into programs
11117 cygwin
* | mingw
* | pw32
* | cegcc
*)
11118 version_type
=windows
11123 case $GCC,$host_os in
11124 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
11125 library_names_spec
='$libname.dll.a'
11126 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11127 postinstall_cmds
='base_file=`basename \${file}`~
11128 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11129 dldir=$destdir/`dirname \$dlpath`~
11130 test -d \$dldir || mkdir -p \$dldir~
11131 $install_prog $dir/$dlname \$dldir/$dlname~
11132 chmod a+x \$dldir/$dlname~
11133 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11134 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11136 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11137 dlpath=$dir/\$dldll~
11139 shlibpath_overrides_runpath
=yes
11143 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11144 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11146 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
11149 # MinGW DLLs use traditional 'lib' prefix
11150 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11153 # pw32 DLLs use 'pw' prefix rather than 'lib'
11154 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11160 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11163 dynamic_linker
='Win32 ld.exe'
11164 # FIXME: first we should search . and the directory the executable is in
11168 darwin
* | rhapsody
*)
11169 dynamic_linker
="$host_os dyld"
11170 version_type
=darwin
11173 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11174 soname_spec
='${libname}${release}${major}$shared_ext'
11175 shlibpath_overrides_runpath
=yes
11176 shlibpath_var
=DYLD_LIBRARY_PATH
11177 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
11179 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
11180 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11187 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11188 soname_spec
='${libname}${release}${shared_ext}$major'
11189 shlibpath_var
=LD_LIBRARY_PATH
11192 freebsd
* | dragonfly
*)
11193 # DragonFly does not have aout. When/if they implement a new
11194 # versioning mechanism, adjust this.
11195 if test -x /usr
/bin
/objformat
; then
11196 objformat
=`/usr/bin/objformat`
11199 freebsd
[23].
*) objformat
=aout
;;
11200 *) objformat
=elf
;;
11203 version_type
=freebsd-
$objformat
11204 case $version_type in
11206 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11211 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11215 shlibpath_var
=LD_LIBRARY_PATH
11218 shlibpath_overrides_runpath
=yes
11220 freebsd3.
[01]* | freebsdelf3.
[01]*)
11221 shlibpath_overrides_runpath
=yes
11222 hardcode_into_libs
=yes
11224 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
11225 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
11226 shlibpath_overrides_runpath
=no
11227 hardcode_into_libs
=yes
11229 *) # from 4.6 on, and DragonFly
11230 shlibpath_overrides_runpath
=yes
11231 hardcode_into_libs
=yes
11240 dynamic_linker
="$host_os runtime_loader"
11241 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11242 soname_spec
='${libname}${release}${shared_ext}$major'
11243 shlibpath_var
=LIBRARY_PATH
11244 shlibpath_overrides_runpath
=yes
11245 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
11246 hardcode_into_libs
=yes
11249 hpux9
* | hpux10
* | hpux11
*)
11250 # Give a soname corresponding to the major version so that dld.sl refuses to
11251 # link against other versions.
11258 hardcode_into_libs
=yes
11259 dynamic_linker
="$host_os dld.so"
11260 shlibpath_var
=LD_LIBRARY_PATH
11261 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11262 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11263 soname_spec
='${libname}${release}${shared_ext}$major'
11264 if test "X$HPUX_IA64_MODE" = X32
; then
11265 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11267 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11269 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11273 hardcode_into_libs
=yes
11274 dynamic_linker
="$host_os dld.sl"
11275 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
11276 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11277 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11278 soname_spec
='${libname}${release}${shared_ext}$major'
11279 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11280 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11284 dynamic_linker
="$host_os dld.sl"
11285 shlibpath_var
=SHLIB_PATH
11286 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
11287 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11288 soname_spec
='${libname}${release}${shared_ext}$major'
11291 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11292 postinstall_cmds
='chmod 555 $lib'
11293 # or fails outright, so override atomically:
11294 install_override_mode
=555
11301 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11302 soname_spec
='${libname}${release}${shared_ext}$major'
11303 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
11304 shlibpath_var
=LD_LIBRARY_PATH
11305 shlibpath_overrides_runpath
=no
11306 hardcode_into_libs
=yes
11309 irix5
* | irix6
* | nonstopux
*)
11311 nonstopux
*) version_type
=nonstopux
;;
11313 if test "$lt_cv_prog_gnu_ld" = yes; then
11321 soname_spec
='${libname}${release}${shared_ext}$major'
11322 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11324 irix5
* | nonstopux
*)
11325 libsuff
= shlibsuff
=
11328 case $LD in # libtool.m4 will add one of these switches to LD
11329 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
11330 libsuff
= shlibsuff
= libmagic
=32-bit;;
11331 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
11332 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11333 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
11334 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11335 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
11339 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11340 shlibpath_overrides_runpath
=no
11341 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11342 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
11343 hardcode_into_libs
=yes
11346 # No shared lib support for Linux oldld, aout, or coff.
11347 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11351 # This must be Linux ELF.
11352 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
11356 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11357 soname_spec
='${libname}${release}${shared_ext}$major'
11358 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11359 shlibpath_var
=LD_LIBRARY_PATH
11360 shlibpath_overrides_runpath
=no
11362 # Some binutils ld are patched to set DT_RUNPATH
11363 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
11364 $as_echo_n "(cached) " >&6
11366 lt_cv_shlibpath_overrides_runpath
=no
11367 save_LDFLAGS
=$LDFLAGS
11368 save_libdir
=$libdir
11369 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11370 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11371 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11372 /* end confdefs.h. */
11382 if ac_fn_c_try_link
"$LINENO"; then :
11383 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
11384 lt_cv_shlibpath_overrides_runpath
=yes
11387 rm -f core conftest.err conftest.
$ac_objext \
11388 conftest
$ac_exeext conftest.
$ac_ext
11389 LDFLAGS
=$save_LDFLAGS
11390 libdir
=$save_libdir
11394 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
11396 # This implies no fast_install, which is unacceptable.
11397 # Some rework will be needed to allow for fast_install
11398 # before this can be enabled.
11399 hardcode_into_libs
=yes
11401 # Append ld.so.conf contents to the search path
11402 if test -f /etc
/ld.so.conf
; then
11403 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' ' '`
11404 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
11407 # We used to test for /lib/ld.so.1 and disable shared libraries on
11408 # powerpc, because MkLinux only supported shared libraries with the
11409 # GNU dynamic linker. Since this was broken with cross compilers,
11410 # most powerpc-linux boxes support dynamic linking these days and
11411 # people can always --disable-shared, the test was removed, and we
11412 # assume the GNU/Linux dynamic linker is in use.
11413 dynamic_linker
='GNU/Linux ld.so'
11420 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11421 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11422 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11423 dynamic_linker
='NetBSD (a.out) ld.so'
11425 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11426 soname_spec
='${libname}${release}${shared_ext}$major'
11427 dynamic_linker
='NetBSD ld.elf_so'
11429 shlibpath_var
=LD_LIBRARY_PATH
11430 shlibpath_overrides_runpath
=yes
11431 hardcode_into_libs
=yes
11436 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11437 shlibpath_var
=LD_LIBRARY_PATH
11438 shlibpath_overrides_runpath
=yes
11445 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11446 soname_spec
='${libname}${release}${shared_ext}$major'
11447 shlibpath_var
=LD_LIBRARY_PATH
11448 shlibpath_overrides_runpath
=no
11449 hardcode_into_libs
=yes
11450 dynamic_linker
='ldqnx.so'
11455 sys_lib_dlsearch_path_spec
="/usr/lib"
11457 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11459 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
11460 *) need_version
=no
;;
11462 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11463 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11464 shlibpath_var
=LD_LIBRARY_PATH
11465 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11467 openbsd2.
[89] | openbsd2.
[89].
*)
11468 shlibpath_overrides_runpath
=no
11471 shlibpath_overrides_runpath
=yes
11475 shlibpath_overrides_runpath
=yes
11480 libname_spec
='$name'
11483 library_names_spec
='$libname${shared_ext} $libname.a'
11484 dynamic_linker
='OS/2 ld.exe'
11485 shlibpath_var
=LIBPATH
11488 osf3
* | osf4
* | osf5
*)
11492 soname_spec
='${libname}${release}${shared_ext}$major'
11493 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11494 shlibpath_var
=LD_LIBRARY_PATH
11495 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11496 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11507 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11508 soname_spec
='${libname}${release}${shared_ext}$major'
11509 shlibpath_var
=LD_LIBRARY_PATH
11510 shlibpath_overrides_runpath
=yes
11511 hardcode_into_libs
=yes
11512 # ldd complains unless libraries are executable
11513 postinstall_cmds
='chmod +x $lib'
11518 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11519 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11520 shlibpath_var
=LD_LIBRARY_PATH
11521 shlibpath_overrides_runpath
=yes
11522 if test "$with_gnu_ld" = yes; then
11530 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11531 soname_spec
='${libname}${release}${shared_ext}$major'
11532 shlibpath_var
=LD_LIBRARY_PATH
11533 case $host_vendor in
11535 shlibpath_overrides_runpath
=no
11537 runpath_var
=LD_RUN_PATH
11545 shlibpath_overrides_runpath
=no
11546 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11552 if test -d /usr
/nec
;then
11554 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11555 soname_spec
='$libname${shared_ext}.$major'
11556 shlibpath_var
=LD_LIBRARY_PATH
11560 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11561 version_type
=freebsd-elf
11564 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11565 soname_spec
='${libname}${release}${shared_ext}$major'
11566 shlibpath_var
=LD_LIBRARY_PATH
11567 shlibpath_overrides_runpath
=yes
11568 hardcode_into_libs
=yes
11569 if test "$with_gnu_ld" = yes; then
11570 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11572 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11575 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11579 sys_lib_dlsearch_path_spec
='/usr/lib'
11583 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11587 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11588 shlibpath_var
=LD_LIBRARY_PATH
11589 shlibpath_overrides_runpath
=no
11590 hardcode_into_libs
=yes
11595 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11596 soname_spec
='${libname}${release}${shared_ext}$major'
11597 shlibpath_var
=LD_LIBRARY_PATH
11604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11605 $as_echo "$dynamic_linker" >&6; }
11606 test "$dynamic_linker" = no
&& can_build_shared
=no
11608 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11609 if test "$GCC" = yes; then
11610 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11613 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11614 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
11616 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11617 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
11711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11712 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11714 if test -n "$hardcode_libdir_flag_spec" ||
11715 test -n "$runpath_var" ||
11716 test "X$hardcode_automatic" = "Xyes" ; then
11718 # We can hardcode non-existent directories.
11719 if test "$hardcode_direct" != no
&&
11720 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11721 # have to relink, otherwise we might link with an installed library
11722 # when we should be linking with a yet-to-be-installed one
11723 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11724 test "$hardcode_minus_L" != no
; then
11725 # Linking always hardcodes the temporary library directory.
11726 hardcode_action
=relink
11728 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11729 hardcode_action
=immediate
11732 # We cannot hardcode anything, or else we can only hardcode existing
11734 hardcode_action
=unsupported
11736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11737 $as_echo "$hardcode_action" >&6; }
11739 if test "$hardcode_action" = relink ||
11740 test "$inherit_rpath" = yes; then
11741 # Fast installation is not supported
11742 enable_fast_install
=no
11743 elif test "$shlibpath_overrides_runpath" = yes ||
11744 test "$enable_shared" = no
; then
11745 # Fast installation is not necessary
11746 enable_fast_install
=needless
11754 if test "x$enable_dlopen" != xyes
; then
11755 enable_dlopen
=unknown
11756 enable_dlopen_self
=unknown
11757 enable_dlopen_self_static
=unknown
11764 lt_cv_dlopen
="load_add_on"
11766 lt_cv_dlopen_self
=yes
11769 mingw
* | pw32
* | cegcc
*)
11770 lt_cv_dlopen
="LoadLibrary"
11775 lt_cv_dlopen
="dlopen"
11780 # if libdl is installed we need to link against it
11781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11782 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11783 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11784 $as_echo_n "(cached) " >&6
11786 ac_check_lib_save_LIBS
=$LIBS
11788 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11789 /* end confdefs.h. */
11791 /* Override any GCC internal prototype to avoid an error.
11792 Use char because int might match the return type of a GCC
11793 builtin and then its argument prototype would still apply. */
11806 if ac_fn_c_try_link
"$LINENO"; then :
11807 ac_cv_lib_dl_dlopen
=yes
11809 ac_cv_lib_dl_dlopen
=no
11811 rm -f core conftest.err conftest.
$ac_objext \
11812 conftest
$ac_exeext conftest.
$ac_ext
11813 LIBS
=$ac_check_lib_save_LIBS
11815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11816 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11817 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11818 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11821 lt_cv_dlopen
="dyld"
11823 lt_cv_dlopen_self
=yes
11830 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
11831 if test "x$ac_cv_func_shl_load" = xyes
; then :
11832 lt_cv_dlopen
="shl_load"
11834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11835 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11836 if ${ac_cv_lib_dld_shl_load+:} false
; then :
11837 $as_echo_n "(cached) " >&6
11839 ac_check_lib_save_LIBS
=$LIBS
11841 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11842 /* end confdefs.h. */
11844 /* Override any GCC internal prototype to avoid an error.
11845 Use char because int might match the return type of a GCC
11846 builtin and then its argument prototype would still apply. */
11854 return shl_load ();
11859 if ac_fn_c_try_link
"$LINENO"; then :
11860 ac_cv_lib_dld_shl_load
=yes
11862 ac_cv_lib_dld_shl_load
=no
11864 rm -f core conftest.err conftest.
$ac_objext \
11865 conftest
$ac_exeext conftest.
$ac_ext
11866 LIBS
=$ac_check_lib_save_LIBS
11868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11869 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11870 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
11871 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
11873 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
11874 if test "x$ac_cv_func_dlopen" = xyes
; then :
11875 lt_cv_dlopen
="dlopen"
11877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11878 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11879 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11880 $as_echo_n "(cached) " >&6
11882 ac_check_lib_save_LIBS
=$LIBS
11884 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11885 /* end confdefs.h. */
11887 /* Override any GCC internal prototype to avoid an error.
11888 Use char because int might match the return type of a GCC
11889 builtin and then its argument prototype would still apply. */
11902 if ac_fn_c_try_link
"$LINENO"; then :
11903 ac_cv_lib_dl_dlopen
=yes
11905 ac_cv_lib_dl_dlopen
=no
11907 rm -f core conftest.err conftest.
$ac_objext \
11908 conftest
$ac_exeext conftest.
$ac_ext
11909 LIBS
=$ac_check_lib_save_LIBS
11911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11912 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11913 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11914 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11917 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11918 if ${ac_cv_lib_svld_dlopen+:} false
; then :
11919 $as_echo_n "(cached) " >&6
11921 ac_check_lib_save_LIBS
=$LIBS
11922 LIBS
="-lsvld $LIBS"
11923 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11924 /* end confdefs.h. */
11926 /* Override any GCC internal prototype to avoid an error.
11927 Use char because int might match the return type of a GCC
11928 builtin and then its argument prototype would still apply. */
11941 if ac_fn_c_try_link
"$LINENO"; then :
11942 ac_cv_lib_svld_dlopen
=yes
11944 ac_cv_lib_svld_dlopen
=no
11946 rm -f core conftest.err conftest.
$ac_objext \
11947 conftest
$ac_exeext conftest.
$ac_ext
11948 LIBS
=$ac_check_lib_save_LIBS
11950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11951 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11952 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
11953 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11956 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11957 if ${ac_cv_lib_dld_dld_link+:} false
; then :
11958 $as_echo_n "(cached) " >&6
11960 ac_check_lib_save_LIBS
=$LIBS
11962 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11963 /* end confdefs.h. */
11965 /* Override any GCC internal prototype to avoid an error.
11966 Use char because int might match the return type of a GCC
11967 builtin and then its argument prototype would still apply. */
11975 return dld_link ();
11980 if ac_fn_c_try_link
"$LINENO"; then :
11981 ac_cv_lib_dld_dld_link
=yes
11983 ac_cv_lib_dld_dld_link
=no
11985 rm -f core conftest.err conftest.
$ac_objext \
11986 conftest
$ac_exeext conftest.
$ac_ext
11987 LIBS
=$ac_check_lib_save_LIBS
11989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11990 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11991 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
11992 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
12013 if test "x$lt_cv_dlopen" != xno
; then
12019 case $lt_cv_dlopen in
12021 save_CPPFLAGS
="$CPPFLAGS"
12022 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12024 save_LDFLAGS
="$LDFLAGS"
12025 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12028 LIBS
="$lt_cv_dlopen_libs $LIBS"
12030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12031 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12032 if ${lt_cv_dlopen_self+:} false
; then :
12033 $as_echo_n "(cached) " >&6
12035 if test "$cross_compiling" = yes; then :
12036 lt_cv_dlopen_self
=cross
12038 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12039 lt_status
=$lt_dlunknown
12040 cat > conftest.
$ac_ext <<_LT_EOF
12041 #line 12041 "configure"
12042 #include "confdefs.h"
12051 # define LT_DLGLOBAL RTLD_GLOBAL
12054 # define LT_DLGLOBAL DL_GLOBAL
12056 # define LT_DLGLOBAL 0
12060 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12061 find out it does not work in some platform. */
12062 #ifndef LT_DLLAZY_OR_NOW
12064 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12067 # define LT_DLLAZY_OR_NOW DL_LAZY
12070 # define LT_DLLAZY_OR_NOW RTLD_NOW
12073 # define LT_DLLAZY_OR_NOW DL_NOW
12075 # define LT_DLLAZY_OR_NOW 0
12082 /* When -fvisbility=hidden is used, assume the code has been annotated
12083 correspondingly for the symbols needed. */
12084 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12085 void fnord () __attribute__((visibility("default")));
12088 void fnord () { int i=42; }
12091 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12092 int status = $lt_dlunknown;
12096 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12099 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12100 else puts (dlerror ());
12102 /* dlclose (self); */
12110 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12111 (eval $ac_link) 2>&5
12113 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12114 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12115 (.
/conftest
; exit; ) >&5 2>/dev
/null
12117 case x
$lt_status in
12118 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12119 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12120 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
12123 # compilation failed
12124 lt_cv_dlopen_self
=no
12131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12132 $as_echo "$lt_cv_dlopen_self" >&6; }
12134 if test "x$lt_cv_dlopen_self" = xyes
; then
12135 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
12136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12137 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12138 if ${lt_cv_dlopen_self_static+:} false
; then :
12139 $as_echo_n "(cached) " >&6
12141 if test "$cross_compiling" = yes; then :
12142 lt_cv_dlopen_self_static
=cross
12144 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12145 lt_status
=$lt_dlunknown
12146 cat > conftest.
$ac_ext <<_LT_EOF
12147 #line 12147 "configure"
12148 #include "confdefs.h"
12157 # define LT_DLGLOBAL RTLD_GLOBAL
12160 # define LT_DLGLOBAL DL_GLOBAL
12162 # define LT_DLGLOBAL 0
12166 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12167 find out it does not work in some platform. */
12168 #ifndef LT_DLLAZY_OR_NOW
12170 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12173 # define LT_DLLAZY_OR_NOW DL_LAZY
12176 # define LT_DLLAZY_OR_NOW RTLD_NOW
12179 # define LT_DLLAZY_OR_NOW DL_NOW
12181 # define LT_DLLAZY_OR_NOW 0
12188 /* When -fvisbility=hidden is used, assume the code has been annotated
12189 correspondingly for the symbols needed. */
12190 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12191 void fnord () __attribute__((visibility("default")));
12194 void fnord () { int i=42; }
12197 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12198 int status = $lt_dlunknown;
12202 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12205 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12206 else puts (dlerror ());
12208 /* dlclose (self); */
12216 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12217 (eval $ac_link) 2>&5
12219 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12220 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12221 (.
/conftest
; exit; ) >&5 2>/dev
/null
12223 case x
$lt_status in
12224 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
12225 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
12226 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
12229 # compilation failed
12230 lt_cv_dlopen_self_static
=no
12237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12238 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12241 CPPFLAGS
="$save_CPPFLAGS"
12242 LDFLAGS
="$save_LDFLAGS"
12247 case $lt_cv_dlopen_self in
12248 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12249 *) enable_dlopen_self
=unknown
;;
12252 case $lt_cv_dlopen_self_static in
12253 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
12254 *) enable_dlopen_self_static
=unknown
;;
12276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12277 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12278 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
12279 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12280 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12282 $as_echo "yes" >&6; }
12284 # FIXME - insert some real tests, host_os isn't really good enough
12287 if test -n "$STRIP" ; then
12288 striplib
="$STRIP -x"
12289 old_striplib
="$STRIP -S"
12290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12291 $as_echo "yes" >&6; }
12293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12294 $as_echo "no" >&6; }
12298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12299 $as_echo "no" >&6; }
12315 # Report which library types will actually be built
12316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12317 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12319 $as_echo "$can_build_shared" >&6; }
12321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12322 $as_echo_n "checking whether to build shared libraries... " >&6; }
12323 test "$can_build_shared" = "no" && enable_shared
=no
12325 # On AIX, shared libraries and static libraries use the same namespace, and
12326 # are all built from PIC.
12329 test "$enable_shared" = yes && enable_static
=no
12330 if test -n "$RANLIB"; then
12331 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12332 postinstall_cmds
='$RANLIB $lib'
12337 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
12338 test "$enable_shared" = yes && enable_static
=no
12342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12343 $as_echo "$enable_shared" >&6; }
12345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12346 $as_echo_n "checking whether to build static libraries... " >&6; }
12347 # Make sure either enable_shared or enable_static is yes.
12348 test "$enable_shared" = yes || enable_static
=yes
12349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12350 $as_echo "$enable_static" >&6; }
12357 ac_cpp
='$CPP $CPPFLAGS'
12358 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12359 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12360 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12376 ac_config_commands
="$ac_config_commands libtool"
12381 # Only expand once:
12386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bind in -lsocket" >&5
12387 $as_echo_n "checking for bind in -lsocket... " >&6; }
12388 if ${ac_cv_lib_socket_bind+:} false
; then :
12389 $as_echo_n "(cached) " >&6
12391 ac_check_lib_save_LIBS
=$LIBS
12392 LIBS
="-lsocket $LIBS"
12393 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12394 /* end confdefs.h. */
12396 /* Override any GCC internal prototype to avoid an error.
12397 Use char because int might match the return type of a GCC
12398 builtin and then its argument prototype would still apply. */
12411 if ac_fn_c_try_link
"$LINENO"; then :
12412 ac_cv_lib_socket_bind
=yes
12414 ac_cv_lib_socket_bind
=no
12416 rm -f core conftest.err conftest.
$ac_objext \
12417 conftest
$ac_exeext conftest.
$ac_ext
12418 LIBS
=$ac_check_lib_save_LIBS
12420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_bind" >&5
12421 $as_echo "$ac_cv_lib_socket_bind" >&6; }
12422 if test "x$ac_cv_lib_socket_bind" = xyes
; then :
12423 cat >>confdefs.h
<<_ACEOF
12424 #define HAVE_LIBSOCKET 1
12427 LIBS
="-lsocket $LIBS"
12431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
12432 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
12433 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
12434 $as_echo_n "(cached) " >&6
12436 ac_check_lib_save_LIBS
=$LIBS
12438 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12439 /* end confdefs.h. */
12441 /* Override any GCC internal prototype to avoid an error.
12442 Use char because int might match the return type of a GCC
12443 builtin and then its argument prototype would still apply. */
12447 char gethostbyname ();
12451 return gethostbyname ();
12456 if ac_fn_c_try_link
"$LINENO"; then :
12457 ac_cv_lib_nsl_gethostbyname
=yes
12459 ac_cv_lib_nsl_gethostbyname
=no
12461 rm -f core conftest.err conftest.
$ac_objext \
12462 conftest
$ac_exeext conftest.
$ac_ext
12463 LIBS
=$ac_check_lib_save_LIBS
12465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
12466 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
12467 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
12468 cat >>confdefs.h
<<_ACEOF
12469 #define HAVE_LIBNSL 1
12476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabs in -lm" >&5
12477 $as_echo_n "checking for fabs in -lm... " >&6; }
12478 if ${ac_cv_lib_m_fabs+:} false
; then :
12479 $as_echo_n "(cached) " >&6
12481 ac_check_lib_save_LIBS
=$LIBS
12483 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12484 /* end confdefs.h. */
12486 /* Override any GCC internal prototype to avoid an error.
12487 Use char because int might match the return type of a GCC
12488 builtin and then its argument prototype would still apply. */
12501 if ac_fn_c_try_link
"$LINENO"; then :
12502 ac_cv_lib_m_fabs
=yes
12504 ac_cv_lib_m_fabs
=no
12506 rm -f core conftest.err conftest.
$ac_objext \
12507 conftest
$ac_exeext conftest.
$ac_ext
12508 LIBS
=$ac_check_lib_save_LIBS
12510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fabs" >&5
12511 $as_echo "$ac_cv_lib_m_fabs" >&6; }
12512 if test "x$ac_cv_lib_m_fabs" = xyes
; then :
12513 cat >>confdefs.h
<<_ACEOF
12514 #define HAVE_LIBM 1
12521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log2 in -lm" >&5
12522 $as_echo_n "checking for log2 in -lm... " >&6; }
12523 if ${ac_cv_lib_m_log2+:} false
; then :
12524 $as_echo_n "(cached) " >&6
12526 ac_check_lib_save_LIBS
=$LIBS
12528 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12529 /* end confdefs.h. */
12531 /* Override any GCC internal prototype to avoid an error.
12532 Use char because int might match the return type of a GCC
12533 builtin and then its argument prototype would still apply. */
12546 if ac_fn_c_try_link
"$LINENO"; then :
12547 ac_cv_lib_m_log2
=yes
12549 ac_cv_lib_m_log2
=no
12551 rm -f core conftest.err conftest.
$ac_objext \
12552 conftest
$ac_exeext conftest.
$ac_ext
12553 LIBS
=$ac_check_lib_save_LIBS
12555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_log2" >&5
12556 $as_echo "$ac_cv_lib_m_log2" >&6; }
12557 if test "x$ac_cv_lib_m_log2" = xyes
; then :
12558 cat >>confdefs.h
<<_ACEOF
12559 #define HAVE_LIBM 1
12569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
12570 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
12571 # Check whether --enable-maintainer-mode was given.
12572 if test "${enable_maintainer_mode+set}" = set; then :
12573 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
12575 USE_MAINTAINER_MODE
=no
12578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
12579 $as_echo "$USE_MAINTAINER_MODE" >&6; }
12580 if test $USE_MAINTAINER_MODE = yes; then
12581 MAINTAINER_MODE_TRUE
=
12582 MAINTAINER_MODE_FALSE
='#'
12584 MAINTAINER_MODE_TRUE
='#'
12585 MAINTAINER_MODE_FALSE
=
12588 MAINT
=$MAINTAINER_MODE_TRUE
12591 am__api_version
='1.15'
12593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
12594 $as_echo_n "checking whether build environment is sane... " >&6; }
12595 # Reject unsafe characters in $srcdir or the absolute working directory
12596 # name. Accept space and tab only in the latter.
12600 *[\\\"\
#\$\&\'\`$am_lf]*)
12601 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
12604 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
12605 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
12608 # Do 'set' in a subshell so we don't clobber the current shell's
12609 # arguments. Must try -L first in case configure is actually a
12610 # symlink; some systems play weird games with the mod time of symlinks
12611 # (eg FreeBSD returns the mod time of the symlink's containing
12615 for am_try
in 1 2; do
12616 echo "timestamp, slept: $am_has_slept" > conftest.
file
12617 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
12618 if test "$*" = "X"; then
12620 set X
`ls -t "$srcdir/configure" conftest.file`
12622 if test "$*" != "X $srcdir/configure conftest.file" \
12623 && test "$*" != "X conftest.file $srcdir/configure"; then
12625 # If neither matched, then we have a broken ls. This can happen
12626 # if, for instance, CONFIG_SHELL is bash and it inherits a
12627 # broken ls alias from the environment. This has actually
12628 # happened. Such a system could not be considered "sane".
12629 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
12630 alias in your environment" "$LINENO" 5
12632 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
12639 test "$2" = conftest.
file
12645 as_fn_error $?
"newly created file is older than distributed files!
12646 Check your system clock" "$LINENO" 5
12648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12649 $as_echo "yes" >&6; }
12650 # If we didn't sleep, we still need to ensure time stamps of config.status and
12651 # generated files are strictly newer.
12653 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
12658 rm -f conftest.
file
12660 if test x
"${MISSING+set}" != xset
; then
12661 case $am_aux_dir in
12663 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
12665 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
12668 # Use eval to expand $SHELL
12669 if eval "$MISSING --is-lightweight"; then
12670 am_missing_run
="$MISSING "
12673 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
12674 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
12677 if test x
"${install_sh+set}" != xset
; then
12678 case $am_aux_dir in
12680 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
12682 install_sh
="\${SHELL} $am_aux_dir/install-sh"
12686 # Installed binaries are usually stripped using 'strip' when the user
12687 # run "make install-strip". However 'strip' might not be the right
12688 # tool to use in cross-compilation environments, therefore Automake
12689 # will honor the 'STRIP' environment variable to overrule this program.
12690 if test "$cross_compiling" != no
; then
12691 if test -n "$ac_tool_prefix"; then
12692 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
12693 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
12694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12695 $as_echo_n "checking for $ac_word... " >&6; }
12696 if ${ac_cv_prog_STRIP+:} false
; then :
12697 $as_echo_n "(cached) " >&6
12699 if test -n "$STRIP"; then
12700 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
12702 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12703 for as_dir
in $PATH
12706 test -z "$as_dir" && as_dir
=.
12707 for ac_exec_ext
in '' $ac_executable_extensions; do
12708 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12709 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
12710 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12719 STRIP
=$ac_cv_prog_STRIP
12720 if test -n "$STRIP"; then
12721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
12722 $as_echo "$STRIP" >&6; }
12724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12725 $as_echo "no" >&6; }
12730 if test -z "$ac_cv_prog_STRIP"; then
12732 # Extract the first word of "strip", so it can be a program name with args.
12733 set dummy strip
; ac_word
=$2
12734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12735 $as_echo_n "checking for $ac_word... " >&6; }
12736 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
12737 $as_echo_n "(cached) " >&6
12739 if test -n "$ac_ct_STRIP"; then
12740 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
12742 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12743 for as_dir
in $PATH
12746 test -z "$as_dir" && as_dir
=.
12747 for ac_exec_ext
in '' $ac_executable_extensions; do
12748 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12749 ac_cv_prog_ac_ct_STRIP
="strip"
12750 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12759 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
12760 if test -n "$ac_ct_STRIP"; then
12761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
12762 $as_echo "$ac_ct_STRIP" >&6; }
12764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12765 $as_echo "no" >&6; }
12768 if test "x$ac_ct_STRIP" = x
; then
12771 case $cross_compiling:$ac_tool_warned in
12773 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12774 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12775 ac_tool_warned
=yes ;;
12780 STRIP
="$ac_cv_prog_STRIP"
12784 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
12786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
12787 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
12788 if test -z "$MKDIR_P"; then
12789 if ${ac_cv_path_mkdir+:} false
; then :
12790 $as_echo_n "(cached) " >&6
12792 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12793 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
12796 test -z "$as_dir" && as_dir
=.
12797 for ac_prog
in mkdir gmkdir
; do
12798 for ac_exec_ext
in '' $ac_executable_extensions; do
12799 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
12800 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
12801 'mkdir (GNU coreutils) '* | \
12802 'mkdir (coreutils) '* | \
12803 'mkdir (fileutils) '4.1*)
12804 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
12814 test -d .
/--version && rmdir .
/--version
12815 if test "${ac_cv_path_mkdir+set}" = set; then
12816 MKDIR_P
="$ac_cv_path_mkdir -p"
12818 # As a last resort, use the slow shell script. Don't cache a
12819 # value for MKDIR_P within a source directory, because that will
12820 # break other packages using the cache if that directory is
12821 # removed, or if the value is a relative name.
12822 MKDIR_P
="$ac_install_sh -d"
12825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
12826 $as_echo "$MKDIR_P" >&6; }
12828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
12829 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
12831 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
12832 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
12833 $as_echo_n "(cached) " >&6
12835 cat >conftest.
make <<\_ACEOF
12838 @
echo '@@@%%%=$(MAKE)=@@@%%%'
12840 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
12841 case `${MAKE-make} -f conftest.make 2>/dev/null` in
12842 *@@@
%%%=?
*=@@@
%%%*)
12843 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
12845 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
12847 rm -f conftest.
make
12849 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
12850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12851 $as_echo "yes" >&6; }
12854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12855 $as_echo "no" >&6; }
12856 SET_MAKE
="MAKE=${MAKE-make}"
12859 rm -rf .tst
2>/dev
/null
12860 mkdir .tst
2>/dev
/null
12861 if test -d .tst
; then
12866 rmdir .tst
2>/dev
/null
12868 DEPDIR
="${am__leading_dot}deps"
12870 ac_config_commands
="$ac_config_commands depfiles"
12873 am_make
=${MAKE-make}
12874 cat > confinc
<< 'END'
12876 @
echo this is the am__doit target
12879 # If we don't find an include directive, just comment out the code.
12880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
12881 $as_echo_n "checking for style of include used by $am_make... " >&6; }
12885 # First try GNU make style include.
12886 echo "include confinc" > confmf
12887 # Ignore all kinds of additional output from 'make'.
12888 case `$am_make -s -f confmf 2> /dev/null` in #(
12889 *the\ am__doit\ target
*)
12890 am__include
=include
12895 # Now try BSD make style include.
12896 if test "$am__include" = "#"; then
12897 echo '.include "confinc"' > confmf
12898 case `$am_make -s -f confmf 2> /dev/null` in #(
12899 *the\ am__doit\ target
*)
12900 am__include
=.include
12908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
12909 $as_echo "$_am_result" >&6; }
12910 rm -f confinc confmf
12912 # Check whether --enable-dependency-tracking was given.
12913 if test "${enable_dependency_tracking+set}" = set; then :
12914 enableval
=$enable_dependency_tracking;
12917 if test "x$enable_dependency_tracking" != xno
; then
12918 am_depcomp
="$ac_aux_dir/depcomp"
12922 if test "x$enable_dependency_tracking" != xno; then
12931 # Check whether --enable-silent-rules was given.
12932 if test "${enable_silent_rules+set}" = set; then :
12933 enableval
=$enable_silent_rules;
12936 case $enable_silent_rules in # (((
12937 yes) AM_DEFAULT_VERBOSITY
=0;;
12938 no
) AM_DEFAULT_VERBOSITY
=1;;
12939 *) AM_DEFAULT_VERBOSITY
=1;;
12941 am_make
=${MAKE-make}
12942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
12943 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
12944 if ${am_cv_make_support_nested_variables+:} false
; then :
12945 $as_echo_n "(cached) " >&6
12947 if $as_echo 'TRUE=$(BAR$(V))
12953 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
12954 am_cv_make_support_nested_variables
=yes
12956 am_cv_make_support_nested_variables
=no
12959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
12960 $as_echo "$am_cv_make_support_nested_variables" >&6; }
12961 if test $am_cv_make_support_nested_variables = yes; then
12963 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
12965 AM_V
=$AM_DEFAULT_VERBOSITY
12966 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
12970 if test "`cd $srcdir && pwd`" != "`pwd`"; then
12971 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
12972 # is not polluted with repeated "-I."
12973 am__isrc
=' -I$(srcdir)'
12974 # test to see if srcdir already configured
12975 if test -f $srcdir/config.status
; then
12976 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
12980 # test whether we have cygpath
12981 if test -z "$CYGPATH_W"; then
12982 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
12983 CYGPATH_W
='cygpath -w'
12990 # Define the identity of the package.
12995 cat >>confdefs.h
<<_ACEOF
12996 #define PACKAGE "$PACKAGE"
13000 cat >>confdefs.h
<<_ACEOF
13001 #define VERSION "$VERSION"
13004 # Some tools Automake needs.
13006 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
13009 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
13012 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
13015 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
13018 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
13020 # For better backward compatibility. To be removed once Automake 1.9.x
13021 # dies out for good. For more background, see:
13022 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
13023 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
13024 mkdir_p
='$(MKDIR_P)'
13026 # We need awk for the "check" target (and possibly the TAP driver). The
13027 # system "awk" is bad on some platforms.
13028 # Always define AMTAR for backward compatibility. Yes, it's still used
13029 # in the wild :-( We should find a proper way to deprecate it ...
13030 AMTAR
='$${TAR-tar}'
13033 # We'll loop over all known methods to create a tar archive until one works.
13034 _am_tools
='gnutar pax cpio none'
13036 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
13042 depcc
="$CC" am_compiler_list
=
13044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
13045 $as_echo_n "checking dependency style of $depcc... " >&6; }
13046 if ${am_cv_CC_dependencies_compiler_type+:} false
; then :
13047 $as_echo_n "(cached) " >&6
13049 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
13050 # We make a subdir and do the tests there. Otherwise we can end up
13051 # making bogus files that we don't know about and never remove. For
13052 # instance it was reported that on HP-UX the gcc test will end up
13053 # making a dummy file named 'D' -- because '-MD' means "put the output
13055 rm -rf conftest.dir
13057 # Copy depcomp to subdir because otherwise we won't find it if we're
13058 # using a relative directory.
13059 cp "$am_depcomp" conftest.dir
13061 # We will build objects and dependencies in a subdirectory because
13062 # it helps to detect inapplicable dependency modes. For instance
13063 # both Tru64's cc and ICC support -MD to output dependencies as a
13064 # side effect of compilation, but ICC will put the dependencies in
13065 # the current directory while Tru64 will put them in the object
13069 am_cv_CC_dependencies_compiler_type
=none
13070 if test "$am_compiler_list" = ""; then
13071 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
13073 am__universal
=false
13074 case " $depcc " in #(
13075 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
13078 for depmode
in $am_compiler_list; do
13079 # Setup a source with many dependencies, because some compilers
13080 # like to wrap large dependency lists on column 80 (with \), and
13081 # we should not choose a depcomp mode which is confused by this.
13083 # We need to recreate these files for each test, as the compiler may
13084 # overwrite some of them when testing with obscure command lines.
13085 # This happens at least with the AIX C compiler.
13087 for i
in 1 2 3 4 5 6; do
13088 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
13089 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
13090 # Solaris 10 /bin/sh.
13091 echo '/* dummy */' > sub
/conftst
$i.h
13093 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
13095 # We check with '-c' and '-o' for the sake of the "dashmstdout"
13096 # mode. It turns out that the SunPro C++ compiler does not properly
13097 # handle '-M -o', and we need to detect this. Also, some Intel
13098 # versions had trouble with output in subdirs.
13099 am__obj
=sub
/conftest.
${OBJEXT-o}
13100 am__minus_obj
="-o $am__obj"
13103 # This depmode causes a compiler race in universal mode.
13104 test "$am__universal" = false ||
continue
13107 # After this tag, mechanisms are not by side-effect, so they'll
13108 # only be used when explicitly requested.
13109 if test "x$enable_dependency_tracking" = xyes
; then
13115 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
13116 # This compiler won't grok '-c -o', but also, the minuso test has
13117 # not run yet. These depmodes are late enough in the game, and
13118 # so weak that their functioning should not be impacted.
13119 am__obj
=conftest.
${OBJEXT-o}
13124 if depmode
=$depmode \
13125 source=sub
/conftest.c object
=$am__obj \
13126 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
13127 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
13128 >/dev
/null
2>conftest.err
&&
13129 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
13130 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
13131 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
13132 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
13133 # icc doesn't choke on unknown options, it will just issue warnings
13134 # or remarks (even with -Werror). So we grep stderr for any message
13135 # that says an option was ignored or not supported.
13136 # When given -MP, icc 7.0 and 7.1 complain thusly:
13137 # icc: Command line warning: ignoring option '-M'; no argument required
13138 # The diagnosis changed in icc 8.0:
13139 # icc: Command line remark: option '-MP' not supported
13140 if (grep 'ignoring option' conftest.err ||
13141 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
13142 am_cv_CC_dependencies_compiler_type
=$depmode
13149 rm -rf conftest.dir
13151 am_cv_CC_dependencies_compiler_type
=none
13155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
13156 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
13157 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
13160 test "x$enable_dependency_tracking" != xno \
13161 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
13162 am__fastdepCC_TRUE
=
13163 am__fastdepCC_FALSE
='#'
13165 am__fastdepCC_TRUE
='#'
13166 am__fastdepCC_FALSE
=
13171 # POSIX will say in a future version that running "rm -f" with no argument
13172 # is OK; and we want to be able to make that assumption in our Makefile
13173 # recipes. So use an aggressive probe to check that the usage we want is
13174 # actually supported "in the wild" to an acceptable degree.
13175 # See automake bug#10828.
13176 # To make any issue more visible, cause the running configure to be aborted
13177 # by default if the 'rm' program in use doesn't match our expectations; the
13178 # user can still override this though.
13179 if rm -f && rm -fr && rm -rf; then : OK
; else
13183 Your 'rm' program seems unable to run without file operands specified
13184 on the command line, even when the '-f' option is present. This is contrary
13185 to the behaviour of most rm programs out there, and not conforming with
13186 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
13188 Please tell bug-automake@gnu.org about your system, including the value
13189 of your $PATH and any error possibly output before this message. This
13190 can help us improve future automake versions.
13193 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
13194 echo 'Configuration will proceed anyway, since you have set the' >&2
13195 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
13199 Aborting the configuration process, to ensure you take notice of the issue.
13201 You can download and install GNU coreutils to get an 'rm' implementation
13202 that behaves properly: <http://www.gnu.org/software/coreutils/>.
13204 If you want to complete the configuration process using your problematic
13205 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
13206 to "yes", and re-run configure.
13209 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
13213 # Check whether --enable-silent-rules was given.
13214 if test "${enable_silent_rules+set}" = set; then :
13215 enableval
=$enable_silent_rules;
13218 case $enable_silent_rules in # (((
13219 yes) AM_DEFAULT_VERBOSITY
=0;;
13220 no
) AM_DEFAULT_VERBOSITY
=1;;
13221 *) AM_DEFAULT_VERBOSITY
=0;;
13223 am_make
=${MAKE-make}
13224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
13225 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
13226 if ${am_cv_make_support_nested_variables+:} false
; then :
13227 $as_echo_n "(cached) " >&6
13229 if $as_echo 'TRUE=$(BAR$(V))
13235 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
13236 am_cv_make_support_nested_variables
=yes
13238 am_cv_make_support_nested_variables
=no
13241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
13242 $as_echo "$am_cv_make_support_nested_variables" >&6; }
13243 if test $am_cv_make_support_nested_variables = yes; then
13245 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
13247 AM_V
=$AM_DEFAULT_VERBOSITY
13248 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
13253 # If a cpu ever has more than one simulator to choose from, use
13254 # --enable-sim=... to choose.
13255 # Check whether --enable-sim was given.
13256 if test "${enable_sim+set}" = set; then :
13257 enableval=$enable_sim; case "${enableval}" in
13259 *) as_fn_error $? "bad value ${enableval} given for --enable-sim option" "$LINENO" 5 ;;
13264 # Check whether --enable-example-sims was given.
13265 if test "${enable_example_sims+set}" = set; then :
13266 enableval=$enable_example_sims;
13270 # Check whether --enable-targets was given.
13271 if test "${enable_targets+set}" = set; then :
13272 enableval=$enable_targets; case "${enableval}" in
13273 yes | "") as_fn_error $? "enable-targets option must specify target names or 'all
'" "$LINENO" 5
13275 no) enable_targets= ;;
13276 *) enable_targets=$enableval ;;
13281 SIM_PRIMARY_TARGET=
13287 SIM_COMMON_BUILD_TRUE=
13288 SIM_COMMON_BUILD_FALSE='#'
13292 ac_config_files
="$ac_config_files Make-common.sim:common/Make-common.in"
13297 if test "${enable_sim}" != no
; then
13299 for targ
in `echo $target $enable_targets | sed 's/,/ /g'`
13303 if test "${targ}" = "${target}"; then
13304 SIM_PRIMARY_TARGET
=aarch64
13306 ac_config_files
="$ac_config_files aarch64/Makefile.sim:aarch64/Makefile.in"
13308 ac_config_commands
="$ac_config_commands aarch64/Makefile"
13310 as_fn_append SIM_SUBDIRS
" aarch64"
13312 ac_config_commands
="$ac_config_commands depdir-aarch64"
13321 if test "${targ}" = "${target}"; then
13322 SIM_PRIMARY_TARGET
=arm
13324 ac_config_files
="$ac_config_files arm/Makefile.sim:arm/Makefile.in"
13326 ac_config_commands
="$ac_config_commands arm/Makefile"
13328 as_fn_append SIM_SUBDIRS
" arm"
13330 ac_config_commands
="$ac_config_commands depdir-arm"
13339 if test "${targ}" = "${target}"; then
13340 SIM_PRIMARY_TARGET
=avr
13342 ac_config_files
="$ac_config_files avr/Makefile.sim:avr/Makefile.in"
13344 ac_config_commands
="$ac_config_commands avr/Makefile"
13346 as_fn_append SIM_SUBDIRS
" avr"
13348 ac_config_commands
="$ac_config_commands depdir-avr"
13357 if test "${targ}" = "${target}"; then
13358 SIM_PRIMARY_TARGET
=bfin
13362 subdirs
="$subdirs bfin"
13365 ac_config_commands
="$ac_config_commands depdir-bfin"
13374 if test "${targ}" = "${target}"; then
13375 SIM_PRIMARY_TARGET
=bpf
13377 subdirs
="$subdirs bpf"
13380 ac_config_commands
="$ac_config_commands depdir-bpf"
13389 if test "${targ}" = "${target}"; then
13390 SIM_PRIMARY_TARGET
=cr16
13392 ac_config_files
="$ac_config_files cr16/Makefile.sim:cr16/Makefile.in"
13394 ac_config_commands
="$ac_config_commands cr16/Makefile"
13396 as_fn_append SIM_SUBDIRS
" cr16"
13398 ac_config_commands
="$ac_config_commands depdir-cr16"
13406 all|cris-
*-* | crisv32-
*-*)
13407 if test "${targ}" = "${target}"; then
13408 SIM_PRIMARY_TARGET
=cris
13410 subdirs
="$subdirs cris"
13413 ac_config_commands
="$ac_config_commands depdir-cris"
13422 if test "${targ}" = "${target}"; then
13423 SIM_PRIMARY_TARGET
=d10v
13425 ac_config_files
="$ac_config_files d10v/Makefile.sim:d10v/Makefile.in"
13427 ac_config_commands
="$ac_config_commands d10v/Makefile"
13429 as_fn_append SIM_SUBDIRS
" d10v"
13431 ac_config_commands
="$ac_config_commands depdir-d10v"
13440 if test "${targ}" = "${target}"; then
13441 SIM_PRIMARY_TARGET
=frv
13443 subdirs
="$subdirs frv"
13446 ac_config_commands
="$ac_config_commands depdir-frv"
13455 if test "${targ}" = "${target}"; then
13456 SIM_PRIMARY_TARGET
=ft32
13458 ac_config_files
="$ac_config_files ft32/Makefile.sim:ft32/Makefile.in"
13460 ac_config_commands
="$ac_config_commands ft32/Makefile"
13462 as_fn_append SIM_SUBDIRS
" ft32"
13464 ac_config_commands
="$ac_config_commands depdir-ft32"
13473 if test "${targ}" = "${target}"; then
13474 SIM_PRIMARY_TARGET
=h8300
13476 ac_config_files
="$ac_config_files h8300/Makefile.sim:h8300/Makefile.in"
13478 ac_config_commands
="$ac_config_commands h8300/Makefile"
13480 as_fn_append SIM_SUBDIRS
" h8300"
13482 ac_config_commands
="$ac_config_commands depdir-h8300"
13491 if test "${targ}" = "${target}"; then
13492 SIM_PRIMARY_TARGET
=iq2000
13494 subdirs
="$subdirs iq2000"
13497 ac_config_commands
="$ac_config_commands depdir-iq2000"
13506 if test "${targ}" = "${target}"; then
13507 SIM_PRIMARY_TARGET
=lm32
13509 subdirs
="$subdirs lm32"
13512 ac_config_commands
="$ac_config_commands depdir-lm32"
13521 if test "${targ}" = "${target}"; then
13522 SIM_PRIMARY_TARGET
=m32c
13524 ac_config_files
="$ac_config_files m32c/Makefile.sim:m32c/Makefile.in"
13526 ac_config_commands
="$ac_config_commands m32c/Makefile"
13528 as_fn_append SIM_SUBDIRS
" m32c"
13530 ac_config_commands
="$ac_config_commands depdir-m32c"
13539 if test "${targ}" = "${target}"; then
13540 SIM_PRIMARY_TARGET
=m32r
13542 subdirs
="$subdirs m32r"
13545 ac_config_commands
="$ac_config_commands depdir-m32r"
13553 all|m68hc11-
*-*|m6811-
*-*)
13554 if test "${targ}" = "${target}"; then
13555 SIM_PRIMARY_TARGET
=m68hc11
13557 ac_config_files
="$ac_config_files m68hc11/Makefile.sim:m68hc11/Makefile.in"
13559 ac_config_commands
="$ac_config_commands m68hc11/Makefile"
13561 as_fn_append SIM_SUBDIRS
" m68hc11"
13563 ac_config_commands
="$ac_config_commands depdir-m68hc11"
13572 if test "${targ}" = "${target}"; then
13573 SIM_PRIMARY_TARGET
=mcore
13575 ac_config_files
="$ac_config_files mcore/Makefile.sim:mcore/Makefile.in"
13577 ac_config_commands
="$ac_config_commands mcore/Makefile"
13579 as_fn_append SIM_SUBDIRS
" mcore"
13581 ac_config_commands
="$ac_config_commands depdir-mcore"
13589 all|microblaze-
*-*)
13590 if test "${targ}" = "${target}"; then
13591 SIM_PRIMARY_TARGET
=microblaze
13593 ac_config_files
="$ac_config_files microblaze/Makefile.sim:microblaze/Makefile.in"
13595 ac_config_commands
="$ac_config_commands microblaze/Makefile"
13597 as_fn_append SIM_SUBDIRS
" microblaze"
13599 ac_config_commands
="$ac_config_commands depdir-microblaze"
13608 if test "${targ}" = "${target}"; then
13609 SIM_PRIMARY_TARGET
=mips
13611 subdirs
="$subdirs mips"
13614 ac_config_commands
="$ac_config_commands depdir-mips"
13623 if test "${targ}" = "${target}"; then
13624 SIM_PRIMARY_TARGET
=mn10300
13626 subdirs
="$subdirs mn10300"
13629 ac_config_commands
="$ac_config_commands depdir-mn10300"
13638 if test "${targ}" = "${target}"; then
13639 SIM_PRIMARY_TARGET
=moxie
13641 ac_config_files
="$ac_config_files moxie/Makefile.sim:moxie/Makefile.in"
13643 ac_config_commands
="$ac_config_commands moxie/Makefile"
13645 as_fn_append SIM_SUBDIRS
" moxie"
13647 ac_config_commands
="$ac_config_commands depdir-moxie"
13656 if test "${targ}" = "${target}"; then
13657 SIM_PRIMARY_TARGET
=msp430
13659 ac_config_files
="$ac_config_files msp430/Makefile.sim:msp430/Makefile.in"
13661 ac_config_commands
="$ac_config_commands msp430/Makefile"
13663 as_fn_append SIM_SUBDIRS
" msp430"
13665 ac_config_commands
="$ac_config_commands depdir-msp430"
13673 all|or1k-
*-* | or1knd-
*-*)
13674 if test "${targ}" = "${target}"; then
13675 SIM_PRIMARY_TARGET
=or1k
13677 subdirs
="$subdirs or1k"
13680 ac_config_commands
="$ac_config_commands depdir-or1k"
13689 if test "${targ}" = "${target}"; then
13690 SIM_PRIMARY_TARGET
=pru
13692 ac_config_files
="$ac_config_files pru/Makefile.sim:pru/Makefile.in"
13694 ac_config_commands
="$ac_config_commands pru/Makefile"
13696 as_fn_append SIM_SUBDIRS
" pru"
13698 ac_config_commands
="$ac_config_commands depdir-pru"
13707 if test "${targ}" = "${target}"; then
13708 SIM_PRIMARY_TARGET
=riscv
13710 subdirs
="$subdirs riscv"
13713 ac_config_commands
="$ac_config_commands depdir-riscv"
13722 if test "${targ}" = "${target}"; then
13723 SIM_PRIMARY_TARGET
=rl78
13725 ac_config_files
="$ac_config_files rl78/Makefile.sim:rl78/Makefile.in"
13727 ac_config_commands
="$ac_config_commands rl78/Makefile"
13729 as_fn_append SIM_SUBDIRS
" rl78"
13731 ac_config_commands
="$ac_config_commands depdir-rl78"
13740 if test "${targ}" = "${target}"; then
13741 SIM_PRIMARY_TARGET
=rx
13743 subdirs
="$subdirs rx"
13746 ac_config_commands
="$ac_config_commands depdir-rx"
13755 if test "${targ}" = "${target}"; then
13756 SIM_PRIMARY_TARGET
=sh
13758 ac_config_files
="$ac_config_files sh/Makefile.sim:sh/Makefile.in"
13760 ac_config_commands
="$ac_config_commands sh/Makefile"
13762 as_fn_append SIM_SUBDIRS
" sh"
13764 ac_config_commands
="$ac_config_commands depdir-sh"
13772 all|sparc-
*-rtems*|sparc-
*-elf*)
13773 if test "${targ}" = "${target}"; then
13774 SIM_PRIMARY_TARGET
=erc32
13776 subdirs
="$subdirs erc32"
13779 ac_config_commands
="$ac_config_commands depdir-erc32"
13788 if test "${targ}" = "${target}"; then
13789 SIM_PRIMARY_TARGET
=ppc
13791 subdirs
="$subdirs ppc"
13794 ac_config_commands
="$ac_config_commands depdir-ppc"
13803 if test "${targ}" = "${target}"; then
13804 SIM_PRIMARY_TARGET
=v850
13806 subdirs
="$subdirs v850"
13809 ac_config_commands
="$ac_config_commands depdir-v850"
13818 if test "x${enable_example_sims}" = xyes
; then
13819 ac_config_files
="$ac_config_files example-synacor/Makefile.sim:example-synacor/Makefile.in"
13821 ac_config_commands
="$ac_config_commands example-synacor/Makefile"
13823 as_fn_append SIM_SUBDIRS
" example-synacor"
13825 ac_config_commands
="$ac_config_commands depdir-example-synacor"
13830 if test "$sim_igen" = "yes"; then
13831 SIM_ENABLE_IGEN_TRUE
=
13832 SIM_ENABLE_IGEN_FALSE
='#'
13834 SIM_ENABLE_IGEN_TRUE
='#'
13835 SIM_ENABLE_IGEN_FALSE
=
13839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to force sim alignment" >&5
13840 $as_echo_n "checking whether to force sim alignment... " >&6; }
13842 # Check whether --enable-sim-alignment was given.
13843 if test "${enable_sim_alignment+set}" = set; then :
13844 enableval
=$enable_sim_alignment; case "${enableval}" in
13845 yes | strict | STRICT
) sim_alignment
="STRICT_ALIGNMENT";;
13846 no | nonstrict | NONSTRICT
) sim_alignment
="NONSTRICT_ALIGNMENT";;
13847 forced | FORCED
) sim_alignment
="FORCED_ALIGNMENT";;
13848 *) as_fn_error $?
"\"Unknown value $enableval passed to --enable-sim-alignment\"" "$LINENO" 5;;
13852 cat >>confdefs.h
<<_ACEOF
13853 #define WITH_ALIGNMENT ${sim_alignment:-0}
13856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${sim_alignment:-no}" >&5
13857 $as_echo "${sim_alignment:-no}" >&6; }
13860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable sim asserts" >&5
13861 $as_echo_n "checking whether to enable sim asserts... " >&6; }
13863 # Check whether --enable-sim-assert was given.
13864 if test "${enable_sim_assert+set}" = set; then :
13865 enableval
=$enable_sim_assert; case "${enableval}" in
13866 yes) sim_assert
="1";;
13867 no
) sim_assert
="0";;
13868 *) as_fn_error $?
"--enable-sim-assert does not take a value" "$LINENO" 5;;
13872 cat >>confdefs.h
<<_ACEOF
13873 #define WITH_ASSERT $sim_assert
13876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_assert" >&5
13877 $as_echo "$sim_assert" >&6; }
13882 cgendir
='$(srcdir)/../../cgen'
13883 # Check whether --enable-cgen-maint was given.
13884 if test "${enable_cgen_maint+set}" = set; then :
13885 enableval
=$enable_cgen_maint; case "${enableval}" in
13886 yes) cgen_maint
=yes ;;
13887 no
) cgen_maint
=no
;;
13889 # Argument is a directory where cgen can be found. In some
13890 # future world cgen could be installable, but right now this
13891 # is not the case. Instead we assume the directory is a path
13892 # to the cgen source tree.
13894 if test -r ${enableval}/iformat.scm
; then
13895 # This looks like a cgen source tree.
13896 cgendir
=${enableval}
13898 as_fn_error $?
"${enableval} doesn't look like a cgen source tree" "$LINENO" 5
13903 if test x
${cgen_maint} != xno
; then
13912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sim debug setting" >&5
13913 $as_echo_n "checking for sim debug setting... " >&6; }
13915 # Check whether --enable-sim-debug was given.
13916 if test "${enable_sim_debug+set}" = set; then :
13917 enableval
=$enable_sim_debug; case "${enableval}" in
13918 yes) sim_debug
="7";;
13919 no
) sim_debug
="0";;
13920 *) sim_debug
="($enableval)";;
13923 if test "$sim_debug" != "0"; then
13925 cat >>confdefs.h
<<_ACEOF
13926 #define DEBUG $sim_debug
13931 cat >>confdefs.h
<<_ACEOF
13932 #define WITH_DEBUG $sim_debug
13935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_debug" >&5
13936 $as_echo "$sim_debug" >&6; }
13938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to force sim endianness" >&5
13939 $as_echo_n "checking whether to force sim endianness... " >&6; }
13941 # Check whether --enable-sim-endian was given.
13942 if test "${enable_sim_endian+set}" = set; then :
13943 enableval
=$enable_sim_endian; case "${enableval}" in
13944 b
*|B
*) sim_endian
="BFD_ENDIAN_BIG";;
13945 l
*|L
*) sim_endian
="BFD_ENDIAN_LITTLE";;
13947 *) as_fn_error $?
"\"Unknown value $enableval for --enable-sim-endian\"" "$LINENO" 5;;
13951 cat >>confdefs.h
<<_ACEOF
13952 #define WITH_TARGET_BYTE_ORDER ${sim_endian:-BFD_ENDIAN_UNKNOWN}
13955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${sim_alignment:-no}" >&5
13956 $as_echo "${sim_alignment:-no}" >&6; }
13959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking default sim environment setting" >&5
13960 $as_echo_n "checking default sim environment setting... " >&6; }
13961 sim_environment
="ALL_ENVIRONMENT"
13962 # Check whether --enable-sim-environment was given.
13963 if test "${enable_sim_environment+set}" = set; then :
13964 enableval
=$enable_sim_environment; case "${enableval}" in
13965 all | ALL
) sim_environment
="ALL_ENVIRONMENT";;
13966 user | USER
) sim_environment
="USER_ENVIRONMENT";;
13967 virtual | VIRTUAL
) sim_environment
="VIRTUAL_ENVIRONMENT";;
13968 operating | OPERATING
) sim_environment
="OPERATING_ENVIRONMENT";;
13969 *) as_fn_error $?
"Unknown value $enableval passed to --enable-sim-environment" "$LINENO" 5;;
13973 cat >>confdefs.h
<<_ACEOF
13974 #define WITH_ENVIRONMENT $sim_environment
13977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_environment" >&5
13978 $as_echo "$sim_environment" >&6; }
13980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sim hardware settings" >&5
13981 $as_echo_n "checking for sim hardware settings... " >&6; }
13982 # Check whether --enable-sim-hardware was given.
13983 if test "${enable_sim_hardware+set}" = set; then :
13984 enableval
=$enable_sim_hardware;
13986 enable_sim_hardware
="yes"
13990 if test "$enable_sim_hardware" = no
; then
13991 sim_hw_cflags
="-DWITH_HW=0"
13992 elif test "$enable_sim_hardware" = yes; then
13993 sim_hw_cflags
="-DWITH_HW=1"
13994 # mingw does not support sockser
13997 *) # TODO: We don't add dv-sockser to sim_hw as it is not a "real" device
13998 # that you instatiate. Instead, other code will call into it directly.
13999 # At some point, we should convert it over.
14000 sim_hw_sockser
="dv-sockser.o"
14001 sim_hw_cflags
="$sim_hw_cflags -DHAVE_DV_SOCKSER"
14005 as_fn_error $?
"unknown argument \"$enable_sim_hardware\"" "$LINENO" 5
14007 if test "$enable_sim_hardware" = "yes"; then
14008 SIM_ENABLE_HW_TRUE
=
14009 SIM_ENABLE_HW_FALSE
='#'
14011 SIM_ENABLE_HW_TRUE
='#'
14012 SIM_ENABLE_HW_FALSE
=
14015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${enable_sim_hardware}" >&5
14016 $as_echo "${enable_sim_hardware}" >&6; }
14020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sim inline settings" >&5
14021 $as_echo_n "checking sim inline settings... " >&6; }
14022 sim_inline
="-DDEFAULT_INLINE=0"
14023 # Check whether --enable-sim-inline was given.
14024 if test "${enable_sim_inline+set}" = set; then :
14025 enableval
=$enable_sim_inline; sim_inline
=""
14026 case "$enableval" in
14027 no
) sim_inline
="-DDEFAULT_INLINE=0";;
14028 0) sim_inline
="-DDEFAULT_INLINE=0";;
14029 yes |
2) sim_inline
="-DDEFAULT_INLINE=ALL_C_INLINE";;
14030 1) sim_inline
="-DDEFAULT_INLINE=INLINE_LOCALS";;
14031 *) for x
in `echo "$enableval" | sed -e "s/,/ /g"`; do
14034 *_INLINE
=*) new_flag
="-D$x";;
14035 *=*) new_flag
=`echo "$x" | sed -e "s/=/_INLINE=/" -e "s/^/-D/"`;;
14036 *_INLINE
) new_flag
="-D$x=ALL_C_INLINE";;
14037 *) new_flag
="-D$x""_INLINE=ALL_C_INLINE";;
14039 if test x
"$sim_inline" = x
""; then
14040 sim_inline
="$new_flag"
14042 sim_inline
="$sim_inline $new_flag"
14048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_inline" >&5
14049 $as_echo "$sim_inline" >&6; }
14050 SIM_INLINE
=$sim_inline
14053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sim profile settings" >&5
14054 $as_echo_n "checking for sim profile settings... " >&6; }
14057 # Check whether --enable-sim-profile was given.
14058 if test "${enable_sim_profile+set}" = set; then :
14059 enableval
=$enable_sim_profile; case "${enableval}" in
14060 yes) profile
="1" sim_profile
="-1";;
14061 no
) profile
="0" sim_profile
="0";;
14063 profile
="(${enableval})" sim_profile
="(${enableval})";;
14067 for x
in `echo "$enableval" | sed -e "s/,/ /g"`; do
14068 if test x
"$sim_profile" = x
; then
14069 sim_profile
="(PROFILE_$x"
14071 sim_profile
="${sim_profile}|PROFILE_$x"
14074 sim_profile
="$sim_profile)" ;;
14078 cat >>confdefs.h
<<_ACEOF
14079 #define PROFILE $profile
14083 cat >>confdefs.h
<<_ACEOF
14084 #define WITH_PROFILE $sim_profile
14087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_profile" >&5
14088 $as_echo "$sim_profile" >&6; }
14090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sim stdio debug behavior" >&5
14091 $as_echo_n "checking for sim stdio debug behavior... " >&6; }
14093 # Check whether --enable-sim-stdio was given.
14094 if test "${enable_sim_stdio+set}" = set; then :
14095 enableval
=$enable_sim_stdio; case "${enableval}" in
14096 yes) sim_stdio
="DO_USE_STDIO";;
14097 no
) sim_stdio
="DONT_USE_STDIO";;
14098 *) as_fn_error $?
"Unknown value $enableval passed to --enable-sim-stdio" "$LINENO" 5;;
14102 cat >>confdefs.h
<<_ACEOF
14103 #define WITH_STDIO $sim_stdio
14106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_stdio" >&5
14107 $as_echo "$sim_stdio" >&6; }
14109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sim trace settings" >&5
14110 $as_echo_n "checking for sim trace settings... " >&6; }
14111 sim_trace
="~TRACE_debug"
14112 # Check whether --enable-sim-trace was given.
14113 if test "${enable_sim_trace+set}" = set; then :
14114 enableval
=$enable_sim_trace; case "${enableval}" in
14115 yes) sim_trace
="-1";;
14116 no
) sim_trace
="0";;
14118 sim_trace
="'(${enableval})'";;
14121 for x
in `echo "$enableval" | sed -e "s/,/ /g"`; do
14122 if test x
"$sim_trace" = x
; then
14123 sim_trace
="(TRACE_$x"
14125 sim_trace
="${sim_trace}|TRACE_$x"
14128 sim_trace
="$sim_trace)" ;;
14132 cat >>confdefs.h
<<_ACEOF
14133 #define WITH_TRACE $sim_trace
14136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_trace" >&5
14137 $as_echo "$sim_trace" >&6; }
14140 # Check whether --enable-werror was given.
14141 if test "${enable_werror+set}" = set; then :
14142 enableval
=$enable_werror; case "${enableval}" in
14143 yes | y
) ERROR_ON_WARNING
="yes" ;;
14144 no | n
) ERROR_ON_WARNING
="no" ;;
14145 *) as_fn_error $?
"bad value ${enableval} for --enable-werror" "$LINENO" 5 ;;
14150 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
14151 ERROR_ON_WARNING
=yes
14155 if test "${ERROR_ON_WARNING}" = yes ; then
14156 WERROR_CFLAGS
="-Werror"
14159 build_warnings
="-Wall -Wdeclaration-after-statement -Wpointer-arith \
14161 -Wno-unused -Wunused-value -Wunused-function \
14162 -Wno-switch -Wno-char-subscripts -Wmissing-prototypes
14163 -Wdeclaration-after-statement -Wempty-body -Wmissing-parameter-type \
14164 -Wold-style-declaration -Wold-style-definition"
14166 # Enable -Wno-format by default when using gcc on mingw since many
14167 # GCC versions complain about %I64.
14169 *-*-mingw32*) build_warnings
="$build_warnings -Wno-format" ;;
14170 *) build_warnings
="$build_warnings -Wformat-nonliteral" ;;
14173 # Check whether --enable-build-warnings was given.
14174 if test "${enable_build_warnings+set}" = set; then :
14175 enableval
=$enable_build_warnings; case "${enableval}" in
14177 no
) build_warnings
="-w";;
14178 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
14179 build_warnings
="${build_warnings} ${t}";;
14180 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
14181 build_warnings
="${t} ${build_warnings}";;
14182 *) build_warnings
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
14184 if test x
"$silent" != x
"yes" && test x
"$build_warnings" != x
""; then
14185 echo "Setting compiler warning flags = $build_warnings" 6>&1
14188 # Check whether --enable-sim-build-warnings was given.
14189 if test "${enable_sim_build_warnings+set}" = set; then :
14190 enableval
=$enable_sim_build_warnings; case "${enableval}" in
14192 no
) build_warnings
="-w";;
14193 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
14194 build_warnings
="${build_warnings} ${t}";;
14195 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
14196 build_warnings
="${t} ${build_warnings}";;
14197 *) build_warnings
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
14199 if test x
"$silent" != x
"yes" && test x
"$build_warnings" != x
""; then
14200 echo "Setting GDB specific compiler warning flags = $build_warnings" 6>&1
14204 if test "x${build_warnings}" != x
-a "x$GCC" = xyes
14206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking compiler warning flags" >&5
14207 $as_echo_n "checking compiler warning flags... " >&6; }
14208 # Separate out the -Werror flag as some files just cannot be
14209 # compiled with it enabled.
14210 for w
in ${build_warnings}; do
14212 -Werr*) WERROR_CFLAGS
=-Werror ;;
14213 *) # Check that GCC accepts it
14214 saved_CFLAGS
="$CFLAGS"
14215 CFLAGS
="$CFLAGS -Werror $w"
14216 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14217 /* end confdefs.h. */
14227 if ac_fn_c_try_compile
"$LINENO"; then :
14228 WARN_CFLAGS
="${WARN_CFLAGS} $w"
14230 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14231 CFLAGS
="$saved_CFLAGS"
14234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${WARN_CFLAGS} ${WERROR_CFLAGS}" >&5
14235 $as_echo "${WARN_CFLAGS} ${WERROR_CFLAGS}" >&6; }
14245 ac_config_files="$ac_config_files arch-subdir.mk Makefile
"
14247 cat >confcache <<\_ACEOF
14248 # This file is a shell script that caches the results of configure
14249 # tests run on this system so they can be shared between configure
14250 # scripts and configure runs, see configure's option --config-cache.
14251 # It is not useful on other systems. If it contains results you don't
14252 # want to keep, you may remove or edit it.
14254 # config.status only pays attention to the cache file if you give it
14255 # the --recheck option to rerun configure.
14257 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14258 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14259 # following values.
14263 # The following way of writing the cache mishandles newlines in values,
14264 # but we know of no workaround that is simple, portable, and efficient.
14265 # So, we kill variables containing newlines.
14266 # Ultrix sh set writes to stderr and can't be redirected directly,
14267 # and sets the high bit in the cache file unless we assign to the vars.
14269 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14270 eval ac_val=\$$ac_var
14274 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: cache variable
$ac_var contains a newline
" >&5
14275 $as_echo "$as_me: WARNING
: cache variable
$ac_var contains a newline
" >&2;} ;;
14278 _ | IFS | as_nl) ;; #(
14279 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14280 *) { eval $ac_var=; unset $ac_var;} ;;
14286 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14287 *${as_nl}ac_space=\ *)
14288 # `set' does not quote correctly, so add quotes: double-quote
14289 # substitution turns \\\\ into \\, and sed turns \\ into \.
14292 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
14295 # `set' quotes correctly as required by POSIX, so do not add quotes.
14296 sed -n "/^
[_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*=/p
"
14305 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14307 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14309 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14310 if test -w "$cache_file"; then
14311 if test "x
$cache_file" != "x
/dev
/null
"; then
14312 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache
$cache_file" >&5
14313 $as_echo "$as_me: updating cache
$cache_file" >&6;}
14314 if test ! -f "$cache_file" || test -h "$cache_file"; then
14315 cat confcache >"$cache_file"
14317 case $cache_file in #(
14319 mv -f confcache "$cache_file"$$ &&
14320 mv -f "$cache_file"$$ "$cache_file" ;; #(
14322 mv -f confcache "$cache_file" ;;
14327 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache
$cache_file" >&5
14328 $as_echo "$as_me: not updating unwritable cache
$cache_file" >&6;}
14333 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
14334 # Let make expand exec_prefix.
14335 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
14337 DEFS=-DHAVE_CONFIG_H
14342 for ac_i in : $LIBOBJS; do test "x
$ac_i" = x: && continue
14343 # 1. Remove the extension, and $U if already installed.
14344 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
14345 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14346 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14347 # will be set to the directory where LIBOBJS objects are built.
14348 as_fn_append ac_libobjs " \
${LIBOBJDIR}$ac_i\
$U.
$ac_objext"
14349 as_fn_append ac_ltlibobjs " \
${LIBOBJDIR}$ac_i"'$U.lo'
14351 LIBOBJS=$ac_libobjs
14353 LTLIBOBJS=$ac_ltlibobjs
14357 if test -z "${PLUGINS_TRUE}" && test -z "${PLUGINS_FALSE}"; then
14358 as_fn_error $? "conditional
\"PLUGINS
\" was never defined.
14359 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
14361 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
14362 as_fn_error $? "conditional
\"MAINTAINER_MODE
\" was never defined.
14363 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
14365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure
" >&5
14366 $as_echo_n "checking that generated files are newer than configure...
" >&6; }
14367 if test -n "$am_sleep_pid"; then
14368 # Hide warnings about reused PIDs.
14369 wait $am_sleep_pid 2>/dev/null
14371 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: done" >&5
14372 $as_echo "done" >&6; }
14373 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14374 as_fn_error $? "conditional
\"AMDEP
\" was never defined.
14375 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
14377 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14378 as_fn_error $? "conditional
\"am__fastdepCC
\" was never defined.
14379 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
14381 if test -n "$EXEEXT"; then
14383 am__EXEEXT_FALSE='#'
14385 am__EXEEXT_TRUE='#'
14389 if test -z "${SIM_ENABLE_IGEN_TRUE}" && test -z "${SIM_ENABLE_IGEN_FALSE}"; then
14390 as_fn_error $? "conditional
\"SIM_ENABLE_IGEN
\" was never defined.
14391 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
14393 if test -z "${SIM_ENABLE_HW_TRUE}" && test -z "${SIM_ENABLE_HW_FALSE}"; then
14394 as_fn_error $? "conditional
\"SIM_ENABLE_HW
\" was never defined.
14395 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
14398 : "${CONFIG_STATUS=./config.status}"
14400 ac_clean_files_save=$ac_clean_files
14401 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14402 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$CONFIG_STATUS" >&5
14403 $as_echo "$as_me: creating
$CONFIG_STATUS" >&6;}
14405 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14407 # Generated by $as_me.
14408 # Run this file to recreate the current configuration.
14409 # Compiler output produced by configure, useful for debugging
14410 # configure, is in config.log if it exists.
14413 ac_cs_recheck=false
14416 SHELL=\${CONFIG_SHELL-$SHELL}
14419 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
14420 ## -------------------- ##
14421 ## M4sh Initialization. ##
14422 ## -------------------- ##
14424 # Be more Bourne compatible
14425 DUALCASE=1; export DUALCASE # for MKS sh
14426 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
14429 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14430 # is contrary to our usage. Disable this feature.
14431 alias -g '${1+"$@"}'='"$@
"'
14432 setopt NO_GLOB_SUBST
14434 case `(set -o) 2>/dev/null` in #(
14446 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14447 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14448 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14449 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14450 # Prefer a ksh shell builtin over an external printf program on Solaris,
14451 # but without wasting forks for bash or zsh.
14452 if test -z "$BASH_VERSION$ZSH_VERSION" \
14453 && (test "X
`print -r -- $as_echo`" = "X
$as_echo") 2>/dev/null; then
14454 as_echo='print -r --'
14455 as_echo_n='print -rn --'
14456 elif (test "X
`printf %s $as_echo`" = "X
$as_echo") 2>/dev/null; then
14457 as_echo='printf %s\n'
14458 as_echo_n='printf %s'
14460 if test "X
`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n
$as_echo"; then
14461 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
14462 as_echo_n='/usr/ucb/echo -n'
14464 as_echo_body='eval expr "X
$1" : "X
\\(.
*\\)"'
14465 as_echo_n_body='eval
14469 expr "X
$arg" : "X
\\(.
*\\)$as_nl";
14470 arg=`expr "X
$arg" : ".
*$as_nl\\(.
*\\)"`;;
14472 expr "X
$arg" : "X
\\(.
*\\)" | tr -d "$as_nl"
14474 export as_echo_n_body
14475 as_echo_n='sh -c $as_echo_n_body as_echo'
14477 export as_echo_body
14478 as_echo='sh -c $as_echo_body as_echo'
14481 # The user is always right.
14482 if test "${PATH_SEPARATOR+set}" != set; then
14484 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14485 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14492 # We need space, tab and new line, in precisely that order. Quoting is
14493 # there to prevent editors from complaining about space-tab.
14494 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14495 # splitting by setting IFS to empty value.)
14498 # Find who we are. Look in the path if we contain no directory separator.
14501 *[\\/]* ) as_myself=$0 ;;
14502 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14503 for as_dir in $PATH
14506 test -z "$as_dir" && as_dir=.
14507 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14513 # We did not find ourselves, most probably we were run as `sh COMMAND'
14514 # in which case we are not to be found in the path.
14515 if test "x
$as_myself" = x; then
14518 if test ! -f "$as_myself"; then
14519 $as_echo "$as_myself: error
: cannot
find myself
; rerun with an absolute
file name
" >&2
14523 # Unset variables that we do not need and which cause bugs (e.g. in
14524 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "||
exit 1"
14525 # suppresses any "Segmentation fault
" message there. '((' could
14526 # trigger a bug in pdksh 5.2.14.
14527 for as_var in BASH_ENV ENV MAIL MAILPATH
14528 do eval test x\${$as_var+set} = xset \
14529 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
14542 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14545 # as_fn_error STATUS ERROR [LINENO LOG_FD]
14546 # ----------------------------------------
14547 # Output "`basename $0`: error
: ERROR
" to stderr. If LINENO and LOG_FD are
14548 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14549 # script with STATUS, using 1 if that was 0.
14552 as_status=$1; test $as_status -eq 0 && as_status=1
14554 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
14555 $as_echo "$as_me:${as_lineno-$LINENO}: error
: $2" >&$4
14557 $as_echo "$as_me: error
: $2" >&2
14558 as_fn_exit $as_status
14562 # as_fn_set_status STATUS
14563 # -----------------------
14564 # Set $? to STATUS, without forking.
14565 as_fn_set_status ()
14568 } # as_fn_set_status
14570 # as_fn_exit STATUS
14571 # -----------------
14572 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14576 as_fn_set_status $1
14582 # Portably unset VAR.
14585 { eval $1=; unset $1;}
14587 as_unset=as_fn_unset
14588 # as_fn_append VAR VALUE
14589 # ----------------------
14590 # Append the text in VALUE to the end of the definition contained in VAR. Take
14591 # advantage of any shell optimizations that allow amortized linear growth over
14592 # repeated appends, instead of the typical quadratic growth present in naive
14594 if (eval "as_var
=1; as_var
+=2; test x\
$as_var = x12
") 2>/dev/null; then :
14595 eval 'as_fn_append ()
14606 # as_fn_arith ARG...
14607 # ------------------
14608 # Perform arithmetic evaluation on the ARGs, and store the result in the
14609 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14610 # must be portable across $(()) and expr.
14611 if (eval "test \$
(( 1 + 1 )) = 2") 2>/dev/null; then :
14612 eval 'as_fn_arith ()
14619 as_val=`expr "$@
" || test $? -eq 1`
14624 if expr a : '\(a\)' >/dev/null 2>&1 &&
14625 test "X
`expr 00001 : '.*\(...\)'`" = X001; then
14631 if (basename -- /) >/dev/null 2>&1 && test "X
`basename -- / 2>&1`" = "X
/"; then
14632 as_basename=basename
14637 if (as_dir=`dirname -- /` && test "X
$as_dir" = X/) >/dev/null 2>&1; then
14643 as_me=`$as_basename -- "$0" ||
14644 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14645 X"$0" : 'X\(//\)$' \| \
14646 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14648 sed '/^.*\/\([^/][^/]*\)\/*$/{
14662 # Avoid depending upon Character Ranges.
14663 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
14664 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14665 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
14666 as_cr_digits='0123456789'
14667 as_cr_alnum=$as_cr_Letters$as_cr_digits
14669 ECHO_C= ECHO_N= ECHO_T=
14670 case `echo -n x` in #(((((
14672 case `echo 'xy\c'` in
14673 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
14675 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
14682 rm -f conf$$ conf$$.exe conf$$.file
14683 if test -d conf$$.dir; then
14684 rm -f conf$$.dir/conf$$.file
14687 mkdir conf$$.dir 2>/dev/null
14689 if (echo >conf$$.file) 2>/dev/null; then
14690 if ln -s conf$$.file conf$$ 2>/dev/null; then
14692 # ... but there are two gotchas:
14693 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14694 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14695 # In both cases, we have to default to `cp -pR'.
14696 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
14698 elif ln conf$$.file conf$$ 2>/dev/null; then
14706 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
14707 rmdir conf$$.dir 2>/dev/null
14712 # Create "$as_dir" as a directory, including parents if necessary.
14717 -*) as_dir=./$as_dir;;
14719 test -d "$as_dir" || eval $as_mkdir_p || {
14723 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s
/'/'\\\\\\\\''/g
"`;; #'(
14724 *) as_qdir=$as_dir;;
14726 as_dirs="'$as_qdir' $as_dirs"
14727 as_dir=`$as_dirname -- "$as_dir" ||
14728 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14729 X"$as_dir" : 'X\(//\)[^/]' \| \
14730 X"$as_dir" : 'X\(//\)$' \| \
14731 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14732 $as_echo X"$as_dir" |
14733 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14737 /^X\(\/\/\)[^/].*/{
14750 test -d "$as_dir" && break
14752 test -z "$as_dirs" || eval "mkdir
$as_dirs"
14753 } || test -d "$as_dir" || as_fn_error $? "cannot create directory
$as_dir"
14757 if mkdir -p . 2>/dev/null; then
14758 as_mkdir_p='mkdir -p "$as_dir"'
14760 test -d ./-p && rmdir ./-p
14765 # as_fn_executable_p FILE
14766 # -----------------------
14767 # Test if FILE is an executable regular file.
14768 as_fn_executable_p ()
14770 test -f "$1" && test -x "$1"
14771 } # as_fn_executable_p
14772 as_test_x='test -x'
14773 as_executable_p=as_fn_executable_p
14775 # Sed expression to map a string onto a valid CPP name.
14776 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14778 # Sed expression to map a string onto a valid variable name.
14779 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14783 ## ----------------------------------- ##
14784 ## Main body of $CONFIG_STATUS script. ##
14785 ## ----------------------------------- ##
14787 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
14789 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14790 # Save the log message, to keep $0 and so on meaningful, and to
14791 # report actual input values of CONFIG_FILES etc. instead of their
14792 # values after options handling.
14794 This
file was extended by sim
$as_me 0, which was
14795 generated by GNU Autoconf
2.69. Invocation
command line was
14797 CONFIG_FILES
= $CONFIG_FILES
14798 CONFIG_HEADERS
= $CONFIG_HEADERS
14799 CONFIG_LINKS
= $CONFIG_LINKS
14800 CONFIG_COMMANDS
= $CONFIG_COMMANDS
14803 on
`(hostname || uname -n) 2>/dev/null | sed 1q`
14808 case $ac_config_files in *"
14809 "*) set x $ac_config_files; shift; ac_config_files=$*;;
14812 case $ac_config_headers in *"
14813 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
14817 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14818 # Files that config.status was made for.
14819 config_files="$ac_config_files"
14820 config_headers="$ac_config_headers"
14821 config_commands="$ac_config_commands"
14825 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14827 \
`$as_me' instantiates files and other configuration actions
14828 from templates according to the current configuration. Unless the files
14829 and actions are specified as TAGs, all are instantiated by default.
14831 Usage: $0 [OPTION]... [TAG]...
14833 -h, --help print this help, then exit
14834 -V, --version print version number and configuration settings, then exit
14835 --config print configuration, then exit
14836 -q, --quiet, --silent
14837 do not print progress messages
14838 -d, --debug don't remove temporary files
14839 --recheck update $as_me by reconfiguring in the same conditions
14840 --file=FILE[:TEMPLATE]
14841 instantiate the configuration file FILE
14842 --header=FILE[:TEMPLATE]
14843 instantiate the configuration header FILE
14845 Configuration files:
14848 Configuration headers:
14851 Configuration commands:
14854 Report bugs to <https://sourceware.org/bugzilla/enter_bug.cgi?product=gdb&component=sim>.
14855 sim home page: <https://sourceware.org/gdb/wiki/Sim/>."
14858 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14859 ac_cs_config="`$as_echo "$ac_configure_args" |
sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
14861 sim config.status 0
14862 configured by $0, generated by GNU Autoconf 2.69,
14863 with options \\"\$ac_cs_config\\"
14865 Copyright (C) 2012 Free Software Foundation, Inc.
14866 This config.status script is free software; the Free Software Foundation
14867 gives unlimited permission to copy, distribute and modify it."
14874 test -n "\$AWK" || AWK=awk
14877 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14878 # The default lists apply if the user does not specify any file.
14884 ac_option=`expr "X$1" : 'X\([^=]*\)='`
14885 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
14889 ac_option=`expr "X$1" : 'X\([^=]*\)='`
14901 # Handling of the options.
14902 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
14904 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
14905 $as_echo "$ac_cs_version"; exit ;;
14906 --config | --confi | --conf | --con | --co | --c )
14907 $as_echo "$ac_cs_config"; exit ;;
14908 --debug | --debu | --deb | --de | --d | -d )
14910 --file | --fil | --fi | --f )
14913 *\'*) ac_optarg=`$as_echo "$ac_optarg" |
sed "s/'/'\\\\\\\\''/g"` ;;
14914 '') as_fn_error $? "missing file argument" ;;
14916 as_fn_append CONFIG_FILES " '$ac_optarg'"
14917 ac_need_defaults=false;;
14918 --header | --heade | --head | --hea )
14921 *\'*) ac_optarg=`$as_echo "$ac_optarg" |
sed "s/'/'\\\\\\\\''/g"` ;;
14923 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
14924 ac_need_defaults=false;;
14926 # Conflict between --help and --header
14927 as_fn_error $? "ambiguous option: \`$1'
14928 Try \`$0 --help' for more information.
";;
14929 --help | --hel | -h )
14930 $as_echo "$ac_cs_usage"; exit ;;
14931 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
14932 | -silent | --silent | --silen | --sile | --sil | --si | --s)
14935 # This is an error.
14936 -*) as_fn_error $? "unrecognized option
: \
`$1'
14937 Try \`$0 --help' for more information." ;;
14939 *) as_fn_append ac_config_targets " $1"
14940 ac_need_defaults=false ;;
14946 ac_configure_extra_args=
14948 if $ac_cs_silent; then
14950 ac_configure_extra_args="$ac_configure_extra_args --silent"
14954 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14955 if \$ac_cs_recheck; then
14956 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14958 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
14959 CONFIG_SHELL='$SHELL'
14960 export CONFIG_SHELL
14965 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14969 sed 'h
;s
/.
/-/g
;s
/^...
/## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14970 ## Running $as_me. ##
14976 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14982 # The HP-UX ksh and POSIX shell print the target directory to stdout
14983 # if CDPATH is set.
14984 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14986 sed_quote_subst='$sed_quote_subst'
14987 double_quote_subst='$double_quote_subst'
14988 delay_variable_subst='$delay_variable_subst'
14989 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
14990 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
14991 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
14992 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
14993 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
14994 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
14995 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
14996 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
14997 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
14998 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
14999 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
15000 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
15001 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
15002 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
15003 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
15004 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
15005 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
15006 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
15007 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
15008 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
15009 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
15010 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
15011 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
15012 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
15013 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
15014 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
15015 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15016 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
15017 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
15018 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
15019 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15020 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
15021 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
15022 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
15023 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
15024 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
15025 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
15026 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15027 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15028 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
15029 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
15030 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
15031 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
15032 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
15033 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
15034 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
15035 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
15036 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15037 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"`'
15038 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15039 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
15040 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
15041 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
15042 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
15043 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
15044 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
15045 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
15046 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
15047 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
15048 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
15049 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
15050 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
15051 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
15052 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
15053 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15054 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
15055 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
15056 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
15057 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
15058 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
15059 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
15060 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15061 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
15062 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15063 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
15064 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15065 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
15066 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15067 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15068 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
15069 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
15070 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15071 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15072 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
15073 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
15074 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
15075 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
15076 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
15077 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
15078 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
15079 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
15080 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
15081 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
15082 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
15083 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
15084 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
15085 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
15086 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
15087 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
15088 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
15089 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
15090 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
15091 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
15092 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
15093 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
15094 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
15095 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
15096 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15097 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15098 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
15099 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
15100 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
15101 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
15102 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
15103 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
15104 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
15105 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
15106 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
15107 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
15108 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
15111 LTCFLAGS='$LTCFLAGS'
15112 compiler='$compiler_DEFAULT'
15114 # A function that is used when there is no print builtin or printf.
15115 func_fallback_echo ()
15117 eval 'cat <<_LTECHO_EOF
15122 # Quote evaled strings.
15136 deplibs_check_method \
15145 lt_cv_sys_global_symbol_pipe \
15146 lt_cv_sys_global_symbol_to_cdecl \
15147 lt_cv_sys_global_symbol_to_c_name_address \
15148 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15149 lt_prog_compiler_no_builtin_flag \
15150 lt_prog_compiler_wl \
15151 lt_prog_compiler_pic \
15152 lt_prog_compiler_static \
15153 lt_cv_prog_compiler_c_o \
15161 export_dynamic_flag_spec \
15162 whole_archive_flag_spec \
15163 compiler_needs_object \
15165 allow_undefined_flag \
15166 no_undefined_flag \
15167 hardcode_libdir_flag_spec \
15168 hardcode_libdir_flag_spec_ld \
15169 hardcode_libdir_separator \
15174 variables_saved_for_relink \
15176 library_names_spec \
15178 install_override_mode \
15182 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15183 *[\\\\\\\`\\"\\\$]*)
15184 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
15187 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15192 # Double-quote double-evaled strings.
15193 for var in reload_cmds \
15194 old_postinstall_cmds \
15195 old_postuninstall_cmds \
15197 extract_expsyms_cmds \
15198 old_archive_from_new_cmds \
15199 old_archive_from_expsyms_cmds \
15201 archive_expsym_cmds \
15203 module_expsym_cmds \
15204 export_symbols_cmds \
15207 postuninstall_cmds \
15209 sys_lib_search_path_spec \
15210 sys_lib_dlsearch_path_spec; do
15211 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15212 *[\\\\\\\`\\"\\\$]*)
15213 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
15216 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15221 ac_aux_dir='$ac_aux_dir'
15222 xsi_shell='$xsi_shell'
15223 lt_shell_append='$lt_shell_append'
15225 # See if we are running on zsh, and set the options which allow our
15226 # commands through without removal of \ escapes INIT.
15227 if test -n "\${ZSH_VERSION+set}" ; then
15228 setopt NO_GLOB_SUBST
15234 TIMESTAMP='$TIMESTAMP'
15240 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15241 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
15242 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
15243 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
15244 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
15245 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
15246 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
15247 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
15248 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
15249 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
15250 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
15251 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
15252 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
15253 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
15254 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
15255 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
15256 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
15257 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
15258 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
15259 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
15260 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
15261 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
15262 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
15263 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
15264 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
15265 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
15266 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
15267 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
15268 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
15269 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
15270 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
15271 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
15272 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
15276 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15278 # Handling of arguments.
15279 for ac_config_target
in $ac_config_targets
15281 case $ac_config_target in
15282 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
15283 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
15284 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
15285 "Make-common.sim") CONFIG_FILES
="$CONFIG_FILES Make-common.sim:common/Make-common.in" ;;
15286 "aarch64/Makefile.sim") CONFIG_FILES
="$CONFIG_FILES aarch64/Makefile.sim:aarch64/Makefile.in" ;;
15287 "aarch64/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS aarch64/Makefile" ;;
15288 "depdir-aarch64") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-aarch64" ;;
15289 "arm/Makefile.sim") CONFIG_FILES
="$CONFIG_FILES arm/Makefile.sim:arm/Makefile.in" ;;
15290 "arm/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS arm/Makefile" ;;
15291 "depdir-arm") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-arm" ;;
15292 "avr/Makefile.sim") CONFIG_FILES
="$CONFIG_FILES avr/Makefile.sim:avr/Makefile.in" ;;
15293 "avr/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS avr/Makefile" ;;
15294 "depdir-avr") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-avr" ;;
15295 "depdir-bfin") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-bfin" ;;
15296 "depdir-bpf") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-bpf" ;;
15297 "cr16/Makefile.sim") CONFIG_FILES
="$CONFIG_FILES cr16/Makefile.sim:cr16/Makefile.in" ;;
15298 "cr16/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS cr16/Makefile" ;;
15299 "depdir-cr16") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-cr16" ;;
15300 "depdir-cris") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-cris" ;;
15301 "d10v/Makefile.sim") CONFIG_FILES
="$CONFIG_FILES d10v/Makefile.sim:d10v/Makefile.in" ;;
15302 "d10v/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS d10v/Makefile" ;;
15303 "depdir-d10v") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-d10v" ;;
15304 "depdir-frv") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-frv" ;;
15305 "ft32/Makefile.sim") CONFIG_FILES
="$CONFIG_FILES ft32/Makefile.sim:ft32/Makefile.in" ;;
15306 "ft32/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS ft32/Makefile" ;;
15307 "depdir-ft32") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-ft32" ;;
15308 "h8300/Makefile.sim") CONFIG_FILES
="$CONFIG_FILES h8300/Makefile.sim:h8300/Makefile.in" ;;
15309 "h8300/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS h8300/Makefile" ;;
15310 "depdir-h8300") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-h8300" ;;
15311 "depdir-iq2000") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-iq2000" ;;
15312 "depdir-lm32") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-lm32" ;;
15313 "m32c/Makefile.sim") CONFIG_FILES
="$CONFIG_FILES m32c/Makefile.sim:m32c/Makefile.in" ;;
15314 "m32c/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS m32c/Makefile" ;;
15315 "depdir-m32c") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-m32c" ;;
15316 "depdir-m32r") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-m32r" ;;
15317 "m68hc11/Makefile.sim") CONFIG_FILES
="$CONFIG_FILES m68hc11/Makefile.sim:m68hc11/Makefile.in" ;;
15318 "m68hc11/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS m68hc11/Makefile" ;;
15319 "depdir-m68hc11") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-m68hc11" ;;
15320 "mcore/Makefile.sim") CONFIG_FILES
="$CONFIG_FILES mcore/Makefile.sim:mcore/Makefile.in" ;;
15321 "mcore/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS mcore/Makefile" ;;
15322 "depdir-mcore") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-mcore" ;;
15323 "microblaze/Makefile.sim") CONFIG_FILES
="$CONFIG_FILES microblaze/Makefile.sim:microblaze/Makefile.in" ;;
15324 "microblaze/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS microblaze/Makefile" ;;
15325 "depdir-microblaze") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-microblaze" ;;
15326 "depdir-mips") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-mips" ;;
15327 "depdir-mn10300") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-mn10300" ;;
15328 "moxie/Makefile.sim") CONFIG_FILES
="$CONFIG_FILES moxie/Makefile.sim:moxie/Makefile.in" ;;
15329 "moxie/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS moxie/Makefile" ;;
15330 "depdir-moxie") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-moxie" ;;
15331 "msp430/Makefile.sim") CONFIG_FILES
="$CONFIG_FILES msp430/Makefile.sim:msp430/Makefile.in" ;;
15332 "msp430/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS msp430/Makefile" ;;
15333 "depdir-msp430") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-msp430" ;;
15334 "depdir-or1k") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-or1k" ;;
15335 "pru/Makefile.sim") CONFIG_FILES
="$CONFIG_FILES pru/Makefile.sim:pru/Makefile.in" ;;
15336 "pru/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS pru/Makefile" ;;
15337 "depdir-pru") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-pru" ;;
15338 "depdir-riscv") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-riscv" ;;
15339 "rl78/Makefile.sim") CONFIG_FILES
="$CONFIG_FILES rl78/Makefile.sim:rl78/Makefile.in" ;;
15340 "rl78/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS rl78/Makefile" ;;
15341 "depdir-rl78") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-rl78" ;;
15342 "depdir-rx") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-rx" ;;
15343 "sh/Makefile.sim") CONFIG_FILES
="$CONFIG_FILES sh/Makefile.sim:sh/Makefile.in" ;;
15344 "sh/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS sh/Makefile" ;;
15345 "depdir-sh") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-sh" ;;
15346 "depdir-erc32") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-erc32" ;;
15347 "depdir-ppc") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-ppc" ;;
15348 "depdir-v850") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-v850" ;;
15349 "example-synacor/Makefile.sim") CONFIG_FILES
="$CONFIG_FILES example-synacor/Makefile.sim:example-synacor/Makefile.in" ;;
15350 "example-synacor/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS example-synacor/Makefile" ;;
15351 "depdir-example-synacor") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-example-synacor" ;;
15352 "arch-subdir.mk") CONFIG_FILES
="$CONFIG_FILES arch-subdir.mk" ;;
15353 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
15355 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15360 # If the user did not use the arguments to specify the items to instantiate,
15361 # then the envvar interface is used. Set only those that are not.
15362 # We use the long form for the default assignment because of an extremely
15363 # bizarre bug on SunOS 4.1.3.
15364 if $ac_need_defaults; then
15365 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15366 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
15367 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
15370 # Have a temporary directory for convenience. Make it in the build tree
15371 # simply because there is no reason against having it here, and in addition,
15372 # creating and moving files from /tmp can sometimes cause problems.
15373 # Hook for its removal unless debugging.
15374 # Note that there is a small window in which the directory will not be cleaned:
15375 # after its creation but before its name has been assigned to `$tmp'.
15379 trap 'exit_status=$?
15380 : "${ac_tmp:=$tmp}"
15381 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15383 trap 'as_fn_exit 1' 1 2 13 15
15385 # Create a (secure) tmp directory for tmp files.
15388 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15392 tmp
=.
/conf$$
-$RANDOM
15393 (umask 077 && mkdir
"$tmp")
15394 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
15397 # Set up the scripts for CONFIG_FILES section.
15398 # No need to generate them if there are no CONFIG_FILES.
15399 # This happens for instance with `./config.status config.h'.
15400 if test -n "$CONFIG_FILES"; then
15403 ac_cr
=`echo X | tr X '\015'`
15404 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15405 # But we know of no other shell where ac_cr would be empty at this
15406 # point, so we can use a bashism as a fallback.
15407 if test "x$ac_cr" = x
; then
15408 eval ac_cr
=\$
\'\\r
\'
15410 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15411 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15414 ac_cs_awk_cr
=$ac_cr
15417 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15422 echo "cat >conf$$subs.awk <<_ACEOF" &&
15423 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15425 } >conf$$subs.sh ||
15426 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15427 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15429 for ac_last_try in false false false false false :; do
15430 . ./conf$$subs.sh ||
15431 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15433 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
15434 if test $ac_delim_n = $ac_delim_num; then
15436 elif $ac_last_try; then
15437 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15439 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15442 rm -f conf$$subs.sh
15444 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15445 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
15449 s/^/S["/; s
/!.
*/"]=/
15459 s/\(.\{148\}\)..*/\1/
15461 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
15466 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15473 s/\(.\{148\}\)..*/\1/
15475 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
15479 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15484 ' <conf$$subs.awk | sed '
15489 ' >>$CONFIG_STATUS || ac_write_fail=1
15490 rm -f conf$$subs.awk
15491 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15493 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
15494 for (key in S) S_is_set[key] = 1
15500 nfields = split(line, field, "@
")
15502 len = length(field[1])
15503 for (i = 2; i < nfields; i++) {
15505 keylen = length(key)
15506 if (S_is_set[key]) {
15508 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15509 len += length(value) + length(field[++i])
15520 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15521 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15522 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
15525 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
15526 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
15529 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15530 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
15531 # trailing colons and then remove the whole line if VPATH becomes empty
15532 # (actually we leave an empty line to preserve line numbers).
15533 if test "x
$srcdir" = x.; then
15534 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
15552 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15553 fi # test -n "$CONFIG_FILES"
15555 # Set up the scripts for CONFIG_HEADERS section.
15556 # No need to generate them if there are no CONFIG_HEADERS.
15557 # This happens for instance with `./config.status Makefile'.
15558 if test -n "$CONFIG_HEADERS"; then
15559 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
15563 # Transform confdefs.h into an awk script `defines.awk', embedded as
15564 # here-document in config.status, that substitutes the proper values into
15565 # config.h.in to produce config.h.
15567 # Create a delimiter string that does not exist in confdefs.h, to ease
15568 # handling of long lines.
15570 for ac_last_try in false false :; do
15571 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
15572 if test -z "$ac_tt"; then
15574 elif $ac_last_try; then
15575 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
15577 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15581 # For the awk script, D is an array of macro values keyed by name,
15582 # likewise P contains macro parameters if any. Preserve backslash
15583 # newline sequences.
15585 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15587 s/.\{148\}/&'"$ac_delim"'/g
15590 s/^[ ]*#[ ]*define[ ][ ]*/ /
15597 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
15599 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
15603 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
15604 D["\
1"]=" \
3\\\\\\n
"\\/p
15606 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
15611 s/.\{148\}/&'"$ac_delim"'/g
15616 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
15619 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
15621 ' <confdefs.h | sed '
15622 s/'"$ac_delim"'/"\\\
15623 "/g' >>$CONFIG_STATUS || ac_write_fail=1
15625 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15626 for (key in D) D_is_set[key] = 1
15629 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
15631 split(line, arg, " ")
15632 if (arg[1] == "#") {
15636 defundef
= substr
(arg
[1], 2)
15639 split(mac1
, mac2
, "(") #)
15641 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
15642 if (D_is_set
[macro
]) {
15643 # Preserve the white space surrounding the "#".
15644 print prefix
"define", macro P
[macro
] D
[macro
]
15647 # Replace #undef with comments. This is necessary, for example,
15648 # in the case of _POSIX_SOURCE, which is predefined and required
15649 # on some systems where configure will not decide to define it.
15650 if (defundef
== "undef") {
15651 print
"/*", prefix defundef
, macro
, "*/"
15659 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15660 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
15661 fi # test -n "$CONFIG_HEADERS"
15664 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
15669 :[FHLC
]) ac_mode
=$ac_tag; continue;;
15671 case $ac_mode$ac_tag in
15673 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
15674 :[FH
]-) ac_tag
=-:-;;
15675 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
15692 -) ac_f
="$ac_tmp/stdin";;
15693 *) # Look for the file first in the build tree, then in the source tree
15694 # (if the path is not absolute). The absolute path cannot be DOS-style,
15695 # because $ac_f cannot contain `:'.
15699 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
15701 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15703 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15704 as_fn_append ac_file_inputs
" '$ac_f'"
15707 # Let's still pretend it is `configure' which instantiates (i.e., don't
15708 # use $as_me), people would be surprised to read:
15709 # /* config.h. Generated by config.status. */
15710 configure_input
='Generated from '`
15711 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15713 if test x
"$ac_file" != x-
; then
15714 configure_input
="$ac_file. $configure_input"
15715 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15716 $as_echo "$as_me: creating $ac_file" >&6;}
15718 # Neutralize special characters interpreted by sed in replacement strings.
15719 case $configure_input in #(
15720 *\
&* |
*\|
* |
*\\* )
15721 ac_sed_conf_input
=`$as_echo "$configure_input" |
15722 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15723 *) ac_sed_conf_input
=$configure_input;;
15727 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
15728 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
15733 ac_dir
=`$as_dirname -- "$ac_file" ||
15734 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15735 X"$ac_file" : 'X\(//\)[^/]' \| \
15736 X"$ac_file" : 'X\(//\)$' \| \
15737 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15738 $as_echo X"$ac_file" |
15739 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15743 /^X\(\/\/\)[^/].*/{
15756 as_dir
="$ac_dir"; as_fn_mkdir_p
15760 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
15762 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15763 # A ".." for each directory in $ac_dir_suffix.
15764 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15765 case $ac_top_builddir_sub in
15766 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
15767 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
15770 ac_abs_top_builddir
=$ac_pwd
15771 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
15772 # for backward compatibility:
15773 ac_top_builddir
=$ac_top_build_prefix
15776 .
) # We are building in place.
15778 ac_top_srcdir
=$ac_top_builddir_sub
15779 ac_abs_top_srcdir
=$ac_pwd ;;
15780 [\\/]* | ?
:[\\/]* ) # Absolute name.
15781 ac_srcdir
=$srcdir$ac_dir_suffix;
15782 ac_top_srcdir
=$srcdir
15783 ac_abs_top_srcdir
=$srcdir ;;
15784 *) # Relative name.
15785 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
15786 ac_top_srcdir
=$ac_top_build_prefix$srcdir
15787 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
15789 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
15799 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
15800 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
15802 ac_MKDIR_P
=$MKDIR_P
15804 [\\/$
]* | ?
:[\\/]* ) ;;
15805 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
15809 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15810 # If the template does not know about datarootdir, expand it.
15811 # FIXME: This hack should be removed a few years after 2.60.
15812 ac_datarootdir_hack
=; ac_datarootdir_seen
=
15823 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15824 *datarootdir
*) ac_datarootdir_seen
=yes;;
15825 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
15826 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15827 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15829 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15830 ac_datarootdir_hack='
15831 s&@datadir@&$datadir&g
15832 s&@docdir@&$docdir&g
15833 s&@infodir@&$infodir&g
15834 s&@localedir@&$localedir&g
15835 s&@mandir@&$mandir&g
15836 s&\\\${datarootdir}&$datarootdir&g' ;;
15840 # Neutralize VPATH when `$srcdir' = `.'.
15841 # Shell code in configure.ac might set extrasub.
15842 # FIXME: do we really want to maintain this feature?
15843 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15844 ac_sed_extra="$ac_vpsub
15847 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15849 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
15850 s|@configure_input@|
$ac_sed_conf_input|
;t t
15851 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
15852 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
15853 s
&@srcdir@
&$ac_srcdir&;t t
15854 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
15855 s
&@top_srcdir@
&$ac_top_srcdir&;t t
15856 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
15857 s
&@builddir@
&$ac_builddir&;t t
15858 s
&@abs_builddir@
&$ac_abs_builddir&;t t
15859 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
15860 s
&@INSTALL@
&$ac_INSTALL&;t t
15861 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
15862 $ac_datarootdir_hack
15864 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
15865 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
15867 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15868 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
15869 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
15870 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
15871 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
15872 which seems to be undefined. Please make sure it is defined" >&5
15873 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
15874 which seems to be undefined. Please make sure it is defined" >&2;}
15876 rm -f "$ac_tmp/stdin"
15878 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
15879 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
15881 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15887 if test x"$ac_file" != x-; then
15889 $as_echo "/* $configure_input */" \
15890 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
15891 } >"$ac_tmp/config.h" \
15892 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15893 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
15894 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
15895 $as_echo "$as_me: $ac_file is unchanged" >&6;}
15898 mv "$ac_tmp/config.h" "$ac_file" \
15899 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15902 $as_echo "/* $configure_input */" \
15903 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
15904 || as_fn_error $? "could not create -" "$LINENO" 5
15906 # Compute "$ac_file"'s index
in $config_headers.
15909 for _am_header
in $config_headers :; do
15910 case $_am_header in
15911 $_am_arg |
$_am_arg:* )
15914 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
15917 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
15918 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15919 X"$_am_arg" : 'X\(//\)[^/]' \| \
15920 X"$_am_arg" : 'X\(//\)$' \| \
15921 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
15922 $as_echo X"$_am_arg" |
15923 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15927 /^X\(\/\/\)[^/].*/{
15939 s/.*/./; q'`/stamp-h
$_am_stamp_count
15942 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
15943 $as_echo "$as_me: executing $ac_file commands" >&6;}
15948 case $ac_file$ac_mode in
15951 # See if we are running on zsh, and set the options which allow our
15952 # commands through without removal of \ escapes.
15953 if test -n "${ZSH_VERSION+set}" ; then
15954 setopt NO_GLOB_SUBST
15957 cfgfile
="${ofile}T"
15958 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
15961 cat <<_LT_EOF >> "$cfgfile"
15964 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
15965 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
15966 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15967 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
15969 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
15970 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
15971 # Written by Gordon Matzigkeit, 1996
15973 # This file is part of GNU Libtool.
15975 # GNU Libtool is free software; you can redistribute it and/or
15976 # modify it under the terms of the GNU General Public License as
15977 # published by the Free Software Foundation; either version 2 of
15978 # the License, or (at your option) any later version.
15980 # As a special exception to the GNU General Public License,
15981 # if you distribute this file as part of a program or library that
15982 # is built using GNU Libtool, you may include this file under the
15983 # same distribution terms that you use for the rest of that program.
15985 # GNU Libtool is distributed in the hope that it will be useful,
15986 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15987 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15988 # GNU General Public License for more details.
15990 # You should have received a copy of the GNU General Public License
15991 # along with GNU Libtool; see the file COPYING. If not, a copy
15992 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
15993 # obtained by writing to the Free Software Foundation, Inc.,
15994 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15997 # The names of the tagged configurations supported by this script.
16000 # ### BEGIN LIBTOOL CONFIG
16002 # Which release of libtool.m4 was used?
16003 macro_version=$macro_version
16004 macro_revision=$macro_revision
16006 # Whether or not to build shared libraries.
16007 build_libtool_libs=$enable_shared
16009 # Whether or not to build static libraries.
16010 build_old_libs=$enable_static
16012 # What type of objects to build.
16015 # Whether or not to optimize for fast installation.
16016 fast_install=$enable_fast_install
16018 # Shell to use when invoking shell scripts.
16021 # An echo program that protects backslashes.
16025 host_alias=$host_alias
16029 # The build system.
16030 build_alias=$build_alias
16034 # A sed program that does not truncate output.
16037 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
16038 Xsed="\$SED -e 1s/^X//"
16040 # A grep program that handles long lines.
16046 # A literal string matcher.
16049 # A BSD- or MS-compatible name lister.
16052 # Whether we need soft or hard links.
16055 # What is the maximum length of a command?
16056 max_cmd_len=$max_cmd_len
16058 # Object file suffix (normally "o").
16061 # Executable file suffix (normally "").
16064 # whether the shell understands "unset".
16067 # turn spaces into newlines.
16070 # turn newlines into spaces.
16073 # An object symbol dumper.
16074 OBJDUMP=$lt_OBJDUMP
16076 # Method to check whether dependent libraries are shared objects.
16077 deplibs_check_method=$lt_deplibs_check_method
16079 # Command to use when deplibs_check_method == "file_magic".
16080 file_magic_cmd=$lt_file_magic_cmd
16084 AR_FLAGS=$lt_AR_FLAGS
16086 # A symbol stripping program.
16089 # Commands used to install an old-style archive.
16091 old_postinstall_cmds=$lt_old_postinstall_cmds
16092 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16094 # Whether to use a lock for old archive extraction.
16095 lock_old_archive_extraction=$lock_old_archive_extraction
16100 # LTCC compiler flags.
16101 LTCFLAGS=$lt_CFLAGS
16103 # Take the output of nm and produce a listing of raw symbols and C names.
16104 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16106 # Transform the output of nm in a proper C declaration.
16107 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16109 # Transform the output of nm in a C name address pair.
16110 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16112 # Transform the output of nm in a C name address pair when lib prefix is needed.
16113 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16115 # The name of the directory that contains temporary libtool files.
16118 # Used to examine libraries when file_magic_cmd begins with "file".
16119 MAGIC_CMD=$MAGIC_CMD
16121 # Must we lock files when doing compilation?
16122 need_locks=$lt_need_locks
16124 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16125 DSYMUTIL=$lt_DSYMUTIL
16127 # Tool to change global to local symbols on Mac OS X.
16130 # Tool to manipulate fat objects and archives on Mac OS X.
16133 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
16136 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
16137 OTOOL64=$lt_OTOOL64
16139 # Old archive suffix (normally "a").
16142 # Shared library suffix (normally ".so").
16143 shrext_cmds=$lt_shrext_cmds
16145 # The commands to extract the exported symbol list from a shared archive.
16146 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16148 # Variables whose values should be saved in libtool wrapper scripts and
16149 # restored at link time.
16150 variables_saved_for_relink=$lt_variables_saved_for_relink
16152 # Do we need the "lib" prefix for modules?
16153 need_lib_prefix=$need_lib_prefix
16155 # Do we need a version for libraries?
16156 need_version=$need_version
16158 # Library versioning type.
16159 version_type=$version_type
16161 # Shared library runtime path variable.
16162 runpath_var=$runpath_var
16164 # Shared library path variable.
16165 shlibpath_var=$shlibpath_var
16167 # Is shlibpath searched before the hard-coded library search path?
16168 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16170 # Format of library name prefix.
16171 libname_spec=$lt_libname_spec
16173 # List of archive names. First name is the real one, the rest are links.
16174 # The last name is the one that the linker finds with -lNAME
16175 library_names_spec=$lt_library_names_spec
16177 # The coded name of the library, if different from the real name.
16178 soname_spec=$lt_soname_spec
16180 # Permission mode override for installation of shared libraries.
16181 install_override_mode=$lt_install_override_mode
16183 # Command to use after installation of a shared archive.
16184 postinstall_cmds=$lt_postinstall_cmds
16186 # Command to use after uninstallation of a shared archive.
16187 postuninstall_cmds=$lt_postuninstall_cmds
16189 # Commands used to finish a libtool library installation in a directory.
16190 finish_cmds=$lt_finish_cmds
16192 # As "finish_cmds", except a single script fragment to be evaled but
16194 finish_eval=$lt_finish_eval
16196 # Whether we should hardcode library paths into libraries.
16197 hardcode_into_libs=$hardcode_into_libs
16199 # Compile-time system search path for libraries.
16200 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16202 # Run-time system search path for libraries.
16203 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16205 # Whether dlopen is supported.
16206 dlopen_support=$enable_dlopen
16208 # Whether dlopen of programs is supported.
16209 dlopen_self=$enable_dlopen_self
16211 # Whether dlopen of statically linked programs is supported.
16212 dlopen_self_static=$enable_dlopen_self_static
16214 # Commands to strip libraries.
16215 old_striplib=$lt_old_striplib
16216 striplib=$lt_striplib
16219 # The linker used to build libraries.
16222 # How to create reloadable object files.
16223 reload_flag=$lt_reload_flag
16224 reload_cmds=$lt_reload_cmds
16226 # Commands used to build an old-style archive.
16227 old_archive_cmds=$lt_old_archive_cmds
16229 # A language specific compiler.
16232 # Is the compiler the GNU compiler?
16235 # Compiler flag to turn off builtin functions.
16236 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16238 # How to pass a linker flag through the compiler.
16239 wl=$lt_lt_prog_compiler_wl
16241 # Additional compiler flags for building library objects.
16242 pic_flag=$lt_lt_prog_compiler_pic
16244 # Compiler flag to prevent dynamic linking.
16245 link_static_flag=$lt_lt_prog_compiler_static
16247 # Does compiler simultaneously support -c and -o options?
16248 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
16250 # Whether or not to add -lc for building shared libraries.
16251 build_libtool_need_lc=$archive_cmds_need_lc
16253 # Whether or not to disallow shared libs when runtime libs are static.
16254 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
16256 # Compiler flag to allow reflexive dlopens.
16257 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
16259 # Compiler flag to generate shared objects directly from archives.
16260 whole_archive_flag_spec=$lt_whole_archive_flag_spec
16262 # Whether the compiler copes with passing no objects directly.
16263 compiler_needs_object=$lt_compiler_needs_object
16265 # Create an old-style archive from a shared archive.
16266 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
16268 # Create a temporary old-style archive to link instead of a shared archive.
16269 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
16271 # Commands used to build a shared archive.
16272 archive_cmds=$lt_archive_cmds
16273 archive_expsym_cmds=$lt_archive_expsym_cmds
16275 # Commands used to build a loadable module if different from building
16276 # a shared archive.
16277 module_cmds=$lt_module_cmds
16278 module_expsym_cmds=$lt_module_expsym_cmds
16280 # Whether we are building with GNU ld or not.
16281 with_gnu_ld=$lt_with_gnu_ld
16283 # Flag that allows shared libraries with undefined symbols to be built.
16284 allow_undefined_flag=$lt_allow_undefined_flag
16286 # Flag that enforces no undefined symbols.
16287 no_undefined_flag=$lt_no_undefined_flag
16289 # Flag to hardcode \$libdir into a binary during linking.
16290 # This must work even if \$libdir does not exist
16291 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16293 # If ld is used when linking, flag to hardcode \$libdir into a binary
16294 # during linking. This must work even if \$libdir does not exist.
16295 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
16297 # Whether we need a single "-rpath" flag with a separated argument.
16298 hardcode_libdir_separator=$lt_hardcode_libdir_separator
16300 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16301 # DIR into the resulting binary.
16302 hardcode_direct=$hardcode_direct
16304 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16305 # DIR into the resulting binary and the resulting library dependency is
16306 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
16307 # library is relocated.
16308 hardcode_direct_absolute=$hardcode_direct_absolute
16310 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
16311 # into the resulting binary.
16312 hardcode_minus_L=$hardcode_minus_L
16314 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
16315 # into the resulting binary.
16316 hardcode_shlibpath_var=$hardcode_shlibpath_var
16318 # Set to "yes" if building a shared library automatically hardcodes DIR
16319 # into the library and all subsequent libraries and executables linked
16321 hardcode_automatic=$hardcode_automatic
16323 # Set to yes if linker adds runtime paths of dependent libraries
16324 # to runtime path list.
16325 inherit_rpath=$inherit_rpath
16327 # Whether libtool must link a program against all its dependency libraries.
16328 link_all_deplibs=$link_all_deplibs
16330 # Fix the shell variable \$srcfile for the compiler.
16331 fix_srcfile_path=$lt_fix_srcfile_path
16333 # Set to "yes" if exported symbols are required.
16334 always_export_symbols=$always_export_symbols
16336 # The commands to list exported symbols.
16337 export_symbols_cmds=$lt_export_symbols_cmds
16339 # Symbols that should not be listed in the preloaded symbols.
16340 exclude_expsyms=$lt_exclude_expsyms
16342 # Symbols that must always be exported.
16343 include_expsyms=$lt_include_expsyms
16345 # Commands necessary for linking programs (against libraries) with templates.
16346 prelink_cmds=$lt_prelink_cmds
16348 # Specify filename containing input files.
16349 file_list_spec=$lt_file_list_spec
16351 # How to hardcode a shared library path into an executable.
16352 hardcode_action=$hardcode_action
16354 # ### END LIBTOOL CONFIG
16360 cat <<\_LT_EOF
>> "$cfgfile"
16361 # AIX sometimes has problems with the GCC collect2 program. For some
16362 # reason, if we set the COLLECT_NAMES environment variable, the problems
16363 # vanish in a puff of smoke.
16364 if test "X${COLLECT_NAMES+set}" != Xset
; then
16366 export COLLECT_NAMES
16373 ltmain
="$ac_aux_dir/ltmain.sh"
16376 # We use sed instead of cat because bash on DJGPP gets confused if
16377 # if finds mixed CR/LF and LF-only lines. Since sed operates in
16378 # text mode, it properly converts lines to CR/LF. This bash problem
16379 # is reportedly fixed, but why not run on old versions too?
16380 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
16381 ||
(rm -f "$cfgfile"; exit 1)
16385 cat << \_LT_EOF
>> "$cfgfile"
16387 # func_dirname file append nondir_replacement
16388 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
16389 # otherwise set result to NONDIR_REPLACEMENT.
16393 */*) func_dirname_result
="${1%/*}${2}" ;;
16394 * ) func_dirname_result
="${3}" ;;
16398 # func_basename file
16401 func_basename_result
="${1##*/}"
16404 # func_dirname_and_basename file append nondir_replacement
16405 # perform func_basename and func_dirname in a single function
16407 # dirname: Compute the dirname of FILE. If nonempty,
16408 # add APPEND to the result, otherwise set result
16409 # to NONDIR_REPLACEMENT.
16410 # value returned in "$func_dirname_result"
16411 # basename: Compute filename of FILE.
16412 # value retuned in "$func_basename_result"
16413 # Implementation must be kept synchronized with func_dirname
16414 # and func_basename. For efficiency, we do not delegate to
16415 # those functions but instead duplicate the functionality here.
16416 func_dirname_and_basename
()
16419 */*) func_dirname_result
="${1%/*}${2}" ;;
16420 * ) func_dirname_result
="${3}" ;;
16422 func_basename_result
="${1##*/}"
16425 # func_stripname prefix suffix name
16426 # strip PREFIX and SUFFIX off of NAME.
16427 # PREFIX and SUFFIX must not contain globbing or regex special
16428 # characters, hashes, percent signs, but SUFFIX may contain a leading
16429 # dot (in which case that matches only a dot).
16432 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
16433 # positional parameters, so assign one to ordinary parameter first.
16434 func_stripname_result
=${3}
16435 func_stripname_result
=${func_stripname_result#"${1}"}
16436 func_stripname_result
=${func_stripname_result%"${2}"}
16442 func_opt_split_opt
=${1%%=*}
16443 func_opt_split_arg
=${1#*=}
16450 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
16451 *) func_lo2o_result
=${1} ;;
16455 # func_xform libobj-or-source
16458 func_xform_result
=${1%.*}.lo
16461 # func_arith arithmetic-term...
16464 func_arith_result
=$
(( $
* ))
16468 # STRING may not start with a hyphen.
16471 func_len_result
=${#1}
16476 *) # Bourne compatible functions.
16477 cat << \_LT_EOF
>> "$cfgfile"
16479 # func_dirname file append nondir_replacement
16480 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
16481 # otherwise set result to NONDIR_REPLACEMENT.
16484 # Extract subdirectory from the argument.
16485 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
16486 if test "X$func_dirname_result" = "X${1}"; then
16487 func_dirname_result
="${3}"
16489 func_dirname_result
="$func_dirname_result${2}"
16493 # func_basename file
16496 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
16500 # func_stripname prefix suffix name
16501 # strip PREFIX and SUFFIX off of NAME.
16502 # PREFIX and SUFFIX must not contain globbing or regex special
16503 # characters, hashes, percent signs, but SUFFIX may contain a leading
16504 # dot (in which case that matches only a dot).
16505 # func_strip_suffix prefix name
16509 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
16510 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
16515 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
16516 my_sed_long_arg
='1s/^-[^=]*=//'
16521 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
16522 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
16528 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
16531 # func_xform libobj-or-source
16534 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
16537 # func_arith arithmetic-term...
16540 func_arith_result
=`expr "$@"`
16544 # STRING may not start with a hyphen.
16547 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
16553 case $lt_shell_append in
16555 cat << \_LT_EOF
>> "$cfgfile"
16557 # func_append var value
16558 # Append VALUE to the end of shell variable VAR.
16566 cat << \_LT_EOF
>> "$cfgfile"
16568 # func_append var value
16569 # Append VALUE to the end of shell variable VAR.
16580 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
16581 ||
(rm -f "$cfgfile"; exit 1)
16583 mv -f "$cfgfile" "$ofile" ||
16584 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16588 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
16589 # Older Autoconf quotes --file arguments for eval, but not when files
16590 # are listed without --file. Let's play safe and only enable the eval
16591 # if we detect the quoting.
16592 case $CONFIG_FILES in
16593 *\'*) eval set x
"$CONFIG_FILES" ;;
16594 *) set x
$CONFIG_FILES ;;
16599 # Strip MF so we end up with the name of the file.
16600 mf
=`echo "$mf" | sed -e 's/:.*$//'`
16601 # Check whether this is an Automake generated Makefile or not.
16602 # We used to match only the files named 'Makefile.in', but
16603 # some people rename them; so instead we look at the file content.
16604 # Grep'ing the first line is not enough: some people post-process
16605 # each Makefile.in and add a new line on top of each file to say so.
16606 # Grep'ing the whole file is not good either: AIX grep has a line
16607 # limit of 2048, but all sed's we know have understand at least 4000.
16608 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
16609 dirpart
=`$as_dirname -- "$mf" ||
16610 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16611 X"$mf" : 'X\(//\)[^/]' \| \
16612 X"$mf" : 'X\(//\)$' \| \
16613 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
16615 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16619 /^X\(\/\/\)[^/].*/{
16635 # Extract the definition of DEPDIR, am__include, and am__quote
16636 # from the Makefile without running 'make'.
16637 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
16638 test -z "$DEPDIR" && continue
16639 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
16640 test -z "$am__include" && continue
16641 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
16642 # Find all dependency output files, they are included files with
16643 # $(DEPDIR) in their names. We invoke sed twice because it is the
16644 # simplest approach to changing $(DEPDIR) to its actual value in the
16646 for file in `sed -n "
16647 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16648 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
16649 # Make sure the directory exists.
16650 test -f "$dirpart/$file" && continue
16651 fdir
=`$as_dirname -- "$file" ||
16652 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16653 X"$file" : 'X\(//\)[^/]' \| \
16654 X"$file" : 'X\(//\)$' \| \
16655 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
16656 $as_echo X"$file" |
16657 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16661 /^X\(\/\/\)[^/].*/{
16674 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
16675 # echo "creating $dirpart/$file"
16676 echo '# dummy' > "$dirpart/$file"
16681 "aarch64/Makefile":C
) sed -n \
16682 -e '/^## COMMON_PRE_/,/^## End COMMON_PRE_/ {
16683 /^srcdir / { s:= := ../:; s:$:/aarch64:; }
16686 <Make-common.sim
>aarch64
/Makesim1.tmp
16687 sed -n -e '/^## COMMON_POST_/,/^## End COMMON_POST_/ p' <Make-common.sim
>aarch64
/Makesim2.tmp
16688 sed -e '/^## COMMON_PRE_/ r aarch64/Makesim1.tmp' \
16689 -e '/^## COMMON_POST_/ r aarch64/Makesim2.tmp' \
16690 <aarch64
/Makefile.sim
>aarch64
/Makefile
16691 rm -f aarch64
/Makesim1.tmp aarch64
/Makesim2.tmp
16693 "depdir-aarch64":C
) $SHELL $ac_aux_dir/mkinstalldirs aarch64
/$DEPDIR ;;
16694 "arm/Makefile":C
) sed -n \
16695 -e '/^## COMMON_PRE_/,/^## End COMMON_PRE_/ {
16696 /^srcdir / { s:= := ../:; s:$:/arm:; }
16699 <Make-common.sim
>arm
/Makesim1.tmp
16700 sed -n -e '/^## COMMON_POST_/,/^## End COMMON_POST_/ p' <Make-common.sim
>arm
/Makesim2.tmp
16701 sed -e '/^## COMMON_PRE_/ r arm/Makesim1.tmp' \
16702 -e '/^## COMMON_POST_/ r arm/Makesim2.tmp' \
16703 <arm
/Makefile.sim
>arm
/Makefile
16704 rm -f arm
/Makesim1.tmp
arm
/Makesim2.tmp
16706 "depdir-arm":C
) $SHELL $ac_aux_dir/mkinstalldirs
arm
/$DEPDIR ;;
16707 "avr/Makefile":C
) sed -n \
16708 -e '/^## COMMON_PRE_/,/^## End COMMON_PRE_/ {
16709 /^srcdir / { s:= := ../:; s:$:/avr:; }
16712 <Make-common.sim
>avr
/Makesim1.tmp
16713 sed -n -e '/^## COMMON_POST_/,/^## End COMMON_POST_/ p' <Make-common.sim
>avr
/Makesim2.tmp
16714 sed -e '/^## COMMON_PRE_/ r avr/Makesim1.tmp' \
16715 -e '/^## COMMON_POST_/ r avr/Makesim2.tmp' \
16716 <avr
/Makefile.sim
>avr
/Makefile
16717 rm -f avr
/Makesim1.tmp avr
/Makesim2.tmp
16719 "depdir-avr":C
) $SHELL $ac_aux_dir/mkinstalldirs avr
/$DEPDIR ;;
16720 "depdir-bfin":C
) $SHELL $ac_aux_dir/mkinstalldirs bfin
/$DEPDIR ;;
16721 "depdir-bpf":C
) $SHELL $ac_aux_dir/mkinstalldirs bpf
/$DEPDIR ;;
16722 "cr16/Makefile":C
) sed -n \
16723 -e '/^## COMMON_PRE_/,/^## End COMMON_PRE_/ {
16724 /^srcdir / { s:= := ../:; s:$:/cr16:; }
16727 <Make-common.sim
>cr16
/Makesim1.tmp
16728 sed -n -e '/^## COMMON_POST_/,/^## End COMMON_POST_/ p' <Make-common.sim
>cr16
/Makesim2.tmp
16729 sed -e '/^## COMMON_PRE_/ r cr16/Makesim1.tmp' \
16730 -e '/^## COMMON_POST_/ r cr16/Makesim2.tmp' \
16731 <cr16
/Makefile.sim
>cr16
/Makefile
16732 rm -f cr16
/Makesim1.tmp cr16
/Makesim2.tmp
16734 "depdir-cr16":C
) $SHELL $ac_aux_dir/mkinstalldirs cr16
/$DEPDIR ;;
16735 "depdir-cris":C
) $SHELL $ac_aux_dir/mkinstalldirs cris
/$DEPDIR ;;
16736 "d10v/Makefile":C
) sed -n \
16737 -e '/^## COMMON_PRE_/,/^## End COMMON_PRE_/ {
16738 /^srcdir / { s:= := ../:; s:$:/d10v:; }
16741 <Make-common.sim
>d10v
/Makesim1.tmp
16742 sed -n -e '/^## COMMON_POST_/,/^## End COMMON_POST_/ p' <Make-common.sim
>d10v
/Makesim2.tmp
16743 sed -e '/^## COMMON_PRE_/ r d10v/Makesim1.tmp' \
16744 -e '/^## COMMON_POST_/ r d10v/Makesim2.tmp' \
16745 <d10v
/Makefile.sim
>d10v
/Makefile
16746 rm -f d10v
/Makesim1.tmp d10v
/Makesim2.tmp
16748 "depdir-d10v":C
) $SHELL $ac_aux_dir/mkinstalldirs d10v
/$DEPDIR ;;
16749 "depdir-frv":C
) $SHELL $ac_aux_dir/mkinstalldirs frv
/$DEPDIR ;;
16750 "ft32/Makefile":C
) sed -n \
16751 -e '/^## COMMON_PRE_/,/^## End COMMON_PRE_/ {
16752 /^srcdir / { s:= := ../:; s:$:/ft32:; }
16755 <Make-common.sim
>ft32
/Makesim1.tmp
16756 sed -n -e '/^## COMMON_POST_/,/^## End COMMON_POST_/ p' <Make-common.sim
>ft32
/Makesim2.tmp
16757 sed -e '/^## COMMON_PRE_/ r ft32/Makesim1.tmp' \
16758 -e '/^## COMMON_POST_/ r ft32/Makesim2.tmp' \
16759 <ft32
/Makefile.sim
>ft32
/Makefile
16760 rm -f ft32
/Makesim1.tmp ft32
/Makesim2.tmp
16762 "depdir-ft32":C
) $SHELL $ac_aux_dir/mkinstalldirs ft32
/$DEPDIR ;;
16763 "h8300/Makefile":C
) sed -n \
16764 -e '/^## COMMON_PRE_/,/^## End COMMON_PRE_/ {
16765 /^srcdir / { s:= := ../:; s:$:/h8300:; }
16768 <Make-common.sim
>h8300
/Makesim1.tmp
16769 sed -n -e '/^## COMMON_POST_/,/^## End COMMON_POST_/ p' <Make-common.sim
>h8300
/Makesim2.tmp
16770 sed -e '/^## COMMON_PRE_/ r h8300/Makesim1.tmp' \
16771 -e '/^## COMMON_POST_/ r h8300/Makesim2.tmp' \
16772 <h8300
/Makefile.sim
>h8300
/Makefile
16773 rm -f h8300
/Makesim1.tmp h8300
/Makesim2.tmp
16775 "depdir-h8300":C
) $SHELL $ac_aux_dir/mkinstalldirs h8300
/$DEPDIR ;;
16776 "depdir-iq2000":C
) $SHELL $ac_aux_dir/mkinstalldirs iq2000
/$DEPDIR ;;
16777 "depdir-lm32":C
) $SHELL $ac_aux_dir/mkinstalldirs lm32
/$DEPDIR ;;
16778 "m32c/Makefile":C
) sed -n \
16779 -e '/^## COMMON_PRE_/,/^## End COMMON_PRE_/ {
16780 /^srcdir / { s:= := ../:; s:$:/m32c:; }
16783 <Make-common.sim
>m32c
/Makesim1.tmp
16784 sed -n -e '/^## COMMON_POST_/,/^## End COMMON_POST_/ p' <Make-common.sim
>m32c
/Makesim2.tmp
16785 sed -e '/^## COMMON_PRE_/ r m32c/Makesim1.tmp' \
16786 -e '/^## COMMON_POST_/ r m32c/Makesim2.tmp' \
16787 <m32c
/Makefile.sim
>m32c
/Makefile
16788 rm -f m32c
/Makesim1.tmp m32c
/Makesim2.tmp
16790 "depdir-m32c":C
) $SHELL $ac_aux_dir/mkinstalldirs m32c
/$DEPDIR ;;
16791 "depdir-m32r":C
) $SHELL $ac_aux_dir/mkinstalldirs m32r
/$DEPDIR ;;
16792 "m68hc11/Makefile":C
) sed -n \
16793 -e '/^## COMMON_PRE_/,/^## End COMMON_PRE_/ {
16794 /^srcdir / { s:= := ../:; s:$:/m68hc11:; }
16797 <Make-common.sim
>m68hc11
/Makesim1.tmp
16798 sed -n -e '/^## COMMON_POST_/,/^## End COMMON_POST_/ p' <Make-common.sim
>m68hc11
/Makesim2.tmp
16799 sed -e '/^## COMMON_PRE_/ r m68hc11/Makesim1.tmp' \
16800 -e '/^## COMMON_POST_/ r m68hc11/Makesim2.tmp' \
16801 <m68hc11
/Makefile.sim
>m68hc11
/Makefile
16802 rm -f m68hc11
/Makesim1.tmp m68hc11
/Makesim2.tmp
16804 "depdir-m68hc11":C
) $SHELL $ac_aux_dir/mkinstalldirs m68hc11
/$DEPDIR ;;
16805 "mcore/Makefile":C
) sed -n \
16806 -e '/^## COMMON_PRE_/,/^## End COMMON_PRE_/ {
16807 /^srcdir / { s:= := ../:; s:$:/mcore:; }
16810 <Make-common.sim
>mcore
/Makesim1.tmp
16811 sed -n -e '/^## COMMON_POST_/,/^## End COMMON_POST_/ p' <Make-common.sim
>mcore
/Makesim2.tmp
16812 sed -e '/^## COMMON_PRE_/ r mcore/Makesim1.tmp' \
16813 -e '/^## COMMON_POST_/ r mcore/Makesim2.tmp' \
16814 <mcore
/Makefile.sim
>mcore
/Makefile
16815 rm -f mcore
/Makesim1.tmp mcore
/Makesim2.tmp
16817 "depdir-mcore":C
) $SHELL $ac_aux_dir/mkinstalldirs mcore
/$DEPDIR ;;
16818 "microblaze/Makefile":C
) sed -n \
16819 -e '/^## COMMON_PRE_/,/^## End COMMON_PRE_/ {
16820 /^srcdir / { s:= := ../:; s:$:/microblaze:; }
16823 <Make-common.sim
>microblaze
/Makesim1.tmp
16824 sed -n -e '/^## COMMON_POST_/,/^## End COMMON_POST_/ p' <Make-common.sim
>microblaze
/Makesim2.tmp
16825 sed -e '/^## COMMON_PRE_/ r microblaze/Makesim1.tmp' \
16826 -e '/^## COMMON_POST_/ r microblaze/Makesim2.tmp' \
16827 <microblaze
/Makefile.sim
>microblaze
/Makefile
16828 rm -f microblaze
/Makesim1.tmp microblaze
/Makesim2.tmp
16830 "depdir-microblaze":C
) $SHELL $ac_aux_dir/mkinstalldirs microblaze
/$DEPDIR ;;
16831 "depdir-mips":C
) $SHELL $ac_aux_dir/mkinstalldirs mips
/$DEPDIR ;;
16832 "depdir-mn10300":C
) $SHELL $ac_aux_dir/mkinstalldirs mn10300
/$DEPDIR ;;
16833 "moxie/Makefile":C
) sed -n \
16834 -e '/^## COMMON_PRE_/,/^## End COMMON_PRE_/ {
16835 /^srcdir / { s:= := ../:; s:$:/moxie:; }
16838 <Make-common.sim
>moxie
/Makesim1.tmp
16839 sed -n -e '/^## COMMON_POST_/,/^## End COMMON_POST_/ p' <Make-common.sim
>moxie
/Makesim2.tmp
16840 sed -e '/^## COMMON_PRE_/ r moxie/Makesim1.tmp' \
16841 -e '/^## COMMON_POST_/ r moxie/Makesim2.tmp' \
16842 <moxie
/Makefile.sim
>moxie
/Makefile
16843 rm -f moxie
/Makesim1.tmp moxie
/Makesim2.tmp
16845 "depdir-moxie":C
) $SHELL $ac_aux_dir/mkinstalldirs moxie
/$DEPDIR ;;
16846 "msp430/Makefile":C
) sed -n \
16847 -e '/^## COMMON_PRE_/,/^## End COMMON_PRE_/ {
16848 /^srcdir / { s:= := ../:; s:$:/msp430:; }
16851 <Make-common.sim
>msp430
/Makesim1.tmp
16852 sed -n -e '/^## COMMON_POST_/,/^## End COMMON_POST_/ p' <Make-common.sim
>msp430
/Makesim2.tmp
16853 sed -e '/^## COMMON_PRE_/ r msp430/Makesim1.tmp' \
16854 -e '/^## COMMON_POST_/ r msp430/Makesim2.tmp' \
16855 <msp430
/Makefile.sim
>msp430
/Makefile
16856 rm -f msp430
/Makesim1.tmp msp430
/Makesim2.tmp
16858 "depdir-msp430":C
) $SHELL $ac_aux_dir/mkinstalldirs msp430
/$DEPDIR ;;
16859 "depdir-or1k":C
) $SHELL $ac_aux_dir/mkinstalldirs or1k
/$DEPDIR ;;
16860 "pru/Makefile":C
) sed -n \
16861 -e '/^## COMMON_PRE_/,/^## End COMMON_PRE_/ {
16862 /^srcdir / { s:= := ../:; s:$:/pru:; }
16865 <Make-common.sim
>pru
/Makesim1.tmp
16866 sed -n -e '/^## COMMON_POST_/,/^## End COMMON_POST_/ p' <Make-common.sim
>pru
/Makesim2.tmp
16867 sed -e '/^## COMMON_PRE_/ r pru/Makesim1.tmp' \
16868 -e '/^## COMMON_POST_/ r pru/Makesim2.tmp' \
16869 <pru
/Makefile.sim
>pru
/Makefile
16870 rm -f pru
/Makesim1.tmp
pru
/Makesim2.tmp
16872 "depdir-pru":C
) $SHELL $ac_aux_dir/mkinstalldirs
pru
/$DEPDIR ;;
16873 "depdir-riscv":C
) $SHELL $ac_aux_dir/mkinstalldirs riscv
/$DEPDIR ;;
16874 "rl78/Makefile":C
) sed -n \
16875 -e '/^## COMMON_PRE_/,/^## End COMMON_PRE_/ {
16876 /^srcdir / { s:= := ../:; s:$:/rl78:; }
16879 <Make-common.sim
>rl78
/Makesim1.tmp
16880 sed -n -e '/^## COMMON_POST_/,/^## End COMMON_POST_/ p' <Make-common.sim
>rl78
/Makesim2.tmp
16881 sed -e '/^## COMMON_PRE_/ r rl78/Makesim1.tmp' \
16882 -e '/^## COMMON_POST_/ r rl78/Makesim2.tmp' \
16883 <rl78
/Makefile.sim
>rl78
/Makefile
16884 rm -f rl78
/Makesim1.tmp rl78
/Makesim2.tmp
16886 "depdir-rl78":C
) $SHELL $ac_aux_dir/mkinstalldirs rl78
/$DEPDIR ;;
16887 "depdir-rx":C
) $SHELL $ac_aux_dir/mkinstalldirs rx
/$DEPDIR ;;
16888 "sh/Makefile":C
) sed -n \
16889 -e '/^## COMMON_PRE_/,/^## End COMMON_PRE_/ {
16890 /^srcdir / { s:= := ../:; s:$:/sh:; }
16893 <Make-common.sim
>sh
/Makesim1.tmp
16894 sed -n -e '/^## COMMON_POST_/,/^## End COMMON_POST_/ p' <Make-common.sim
>sh
/Makesim2.tmp
16895 sed -e '/^## COMMON_PRE_/ r sh/Makesim1.tmp' \
16896 -e '/^## COMMON_POST_/ r sh/Makesim2.tmp' \
16897 <sh
/Makefile.sim
>sh
/Makefile
16898 rm -f sh
/Makesim1.tmp sh
/Makesim2.tmp
16900 "depdir-sh":C
) $SHELL $ac_aux_dir/mkinstalldirs sh
/$DEPDIR ;;
16901 "depdir-erc32":C
) $SHELL $ac_aux_dir/mkinstalldirs erc32
/$DEPDIR ;;
16902 "depdir-ppc":C
) $SHELL $ac_aux_dir/mkinstalldirs ppc
/$DEPDIR ;;
16903 "depdir-v850":C
) $SHELL $ac_aux_dir/mkinstalldirs v850
/$DEPDIR ;;
16904 "example-synacor/Makefile":C
) sed -n \
16905 -e '/^## COMMON_PRE_/,/^## End COMMON_PRE_/ {
16906 /^srcdir / { s:= := ../:; s:$:/example-synacor:; }
16909 <Make-common.sim
>example-synacor
/Makesim1.tmp
16910 sed -n -e '/^## COMMON_POST_/,/^## End COMMON_POST_/ p' <Make-common.sim
>example-synacor
/Makesim2.tmp
16911 sed -e '/^## COMMON_PRE_/ r example-synacor/Makesim1.tmp' \
16912 -e '/^## COMMON_POST_/ r example-synacor/Makesim2.tmp' \
16913 <example-synacor
/Makefile.sim
>example-synacor
/Makefile
16914 rm -f example-synacor
/Makesim1.tmp example-synacor
/Makesim2.tmp
16916 "depdir-example-synacor":C
) $SHELL $ac_aux_dir/mkinstalldirs example-synacor
/$DEPDIR ;;
16924 ac_clean_files
=$ac_clean_files_save
16926 test $ac_write_fail = 0 ||
16927 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
16930 # configure is writing to config.log, and then calls config.status.
16931 # config.status does its own redirection, appending to config.log.
16932 # Unfortunately, on DOS this fails, as config.log is still kept open
16933 # by configure, so config.status won't be able to write to it; its
16934 # output is simply discarded. So we exec the FD to /dev/null,
16935 # effectively closing config.log, so it can be properly (re)opened and
16936 # appended to by config.status. When coming back to configure, we
16937 # need to make the FD available again.
16938 if test "$no_create" != yes; then
16940 ac_config_status_args
=
16941 test "$silent" = yes &&
16942 ac_config_status_args
="$ac_config_status_args --quiet"
16944 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
16946 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16947 # would make configure fail if this is the last instruction.
16948 $ac_cs_success || as_fn_exit
1
16952 # CONFIG_SUBDIRS section.
16954 if test "$no_recursion" != yes; then
16956 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
16957 # so they do not pile up.
16958 ac_sub_configure_args
=
16960 eval "set x $ac_configure_args"
16964 if test -n "$ac_prev"; then
16969 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
16970 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
16971 ac_prev
=cache_file
;;
16972 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
16973 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
16976 --config-cache |
-C)
16978 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
16980 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
16982 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
16984 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
16986 --disable-option-checking)
16990 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
16992 as_fn_append ac_sub_configure_args
" '$ac_arg'" ;;
16996 # Always prepend --prefix to ensure using the same prefix
16997 # in subdir configurations.
16998 ac_arg
="--prefix=$prefix"
17000 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
17002 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
17005 if test "$silent" = yes; then
17006 ac_sub_configure_args
="--silent $ac_sub_configure_args"
17009 # Always prepend --disable-option-checking to silence warnings, since
17010 # different subdirs can have different --enable and --with options.
17011 ac_sub_configure_args
="--disable-option-checking $ac_sub_configure_args"
17014 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
17016 # Do not complain, so a configure script can configure whichever
17017 # parts of a large source tree are present.
17018 test -d "$srcdir/$ac_dir" ||
continue
17020 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
17021 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
17022 $as_echo "$ac_msg" >&6
17023 as_dir
="$ac_dir"; as_fn_mkdir_p
17027 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
17029 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17030 # A ".." for each directory in $ac_dir_suffix.
17031 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17032 case $ac_top_builddir_sub in
17033 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
17034 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
17037 ac_abs_top_builddir
=$ac_pwd
17038 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
17039 # for backward compatibility:
17040 ac_top_builddir
=$ac_top_build_prefix
17043 .
) # We are building in place.
17045 ac_top_srcdir
=$ac_top_builddir_sub
17046 ac_abs_top_srcdir
=$ac_pwd ;;
17047 [\\/]* | ?
:[\\/]* ) # Absolute name.
17048 ac_srcdir
=$srcdir$ac_dir_suffix;
17049 ac_top_srcdir
=$srcdir
17050 ac_abs_top_srcdir
=$srcdir ;;
17051 *) # Relative name.
17052 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
17053 ac_top_srcdir
=$ac_top_build_prefix$srcdir
17054 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
17056 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
17061 # Check for guested configure; otherwise get Cygnus style configure.
17062 if test -f "$ac_srcdir/configure.gnu"; then
17063 ac_sub_configure
=$ac_srcdir/configure.gnu
17064 elif test -f "$ac_srcdir/configure"; then
17065 ac_sub_configure
=$ac_srcdir/configure
17066 elif test -f "$ac_srcdir/configure.in"; then
17067 # This should be Cygnus configure.
17068 ac_sub_configure
=$ac_aux_dir/configure
17070 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
17071 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
17075 # The recursion is here.
17076 if test -n "$ac_sub_configure"; then
17077 # Make the cache file name correct relative to the subdirectory.
17078 case $cache_file in
17079 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
17080 *) # Relative name.
17081 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
17084 { $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
17085 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
17086 # The eval makes quoting arguments work.
17087 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
17088 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
17089 as_fn_error $?
"$ac_sub_configure failed for $ac_dir" "$LINENO" 5
17095 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
17096 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17097 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}