2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for sim 0.
5 # Report bugs to <https://sourceware.org/bugzilla/enter_bug.cgi?product=gdb&component=sim>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE
=1; export DUALCASE
# for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print
-rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
55 as_echo_n='/usr
/ucb
/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
68 as_echo_n='sh
-c $as_echo_n_body as_echo
'
71 as_echo='sh
-c $as_echo_body as_echo
'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x
; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var
in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\
${$as_var+set} = xset \
122 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
135 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
140 _as_can_reexec
=no
; export _as_can_reexec
;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
149 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec
=; unset _as_can_reexec
;}
162 if test "x$CONFIG_SHELL" = x
; then
163 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required
="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1
203 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
204 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
205 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
207 PATH=/empty FPATH=/empty; export PATH FPATH
208 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
209 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
210 if (eval "$as_required") 2>/dev
/null
; then :
215 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
218 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
220 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
223 test -z "$as_dir" && as_dir
=.
227 for as_base
in sh bash ksh sh5
; do
228 # Try only shells that exist, to save several forks.
229 as_shell
=$as_dir/$as_base
230 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
231 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
232 CONFIG_SHELL
=$as_shell as_have_required
=yes
233 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
241 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
242 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
243 CONFIG_SHELL
=$SHELL as_have_required
=yes
248 if test "x$CONFIG_SHELL" != x
; then :
250 # We cannot yet assume a decent shell, so we have to provide a
251 # neutralization value for shells without unset; and this also
252 # works around shells that cannot unset nonexistent variables.
253 # Preserve -v and -x to the replacement shell.
256 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
258 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264 # Admittedly, this is quite paranoid, since all the known shells bail
265 # out after a failed `exec'.
266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
270 if test x
$as_have_required = xno
; then :
271 $as_echo "$0: This script requires a shell more modern than all"
272 $as_echo "$0: the shells that I found on your system."
273 if test x
${ZSH_VERSION+set} = xset
; then
274 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
277 $as_echo "$0: Please tell bug-autoconf@gnu.org and
278 $0: https://sourceware.org/bugzilla/enter_bug.cgi?product=gdb&component=sim
279 $0: about your system, including any error possibly output
280 $0: before this message. Then install a modern shell, or
281 $0: manually run the script under such a shell if you do
288 SHELL
=${CONFIG_SHELL-/bin/sh}
290 # Unset more variables known to interfere with behavior of common tools.
291 CLICOLOR_FORCE
= GREP_OPTIONS
=
292 unset CLICOLOR_FORCE GREP_OPTIONS
294 ## --------------------- ##
295 ## M4sh Shell Functions. ##
296 ## --------------------- ##
299 # Portably unset VAR.
302 { eval $1=; unset $1;}
306 # as_fn_set_status STATUS
307 # -----------------------
308 # Set $? to STATUS, without forking.
316 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
326 # Create "$as_dir" as a directory, including parents if necessary.
331 -*) as_dir
=.
/$as_dir;;
333 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
337 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
340 as_dirs
="'$as_qdir' $as_dirs"
341 as_dir
=`$as_dirname -- "$as_dir" ||
342 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
343 X"$as_dir" : 'X\(//\)[^/]' \| \
344 X"$as_dir" : 'X\(//\)$' \| \
345 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
346 $as_echo X"$as_dir" |
347 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
364 test -d "$as_dir" && break
366 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
367 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
372 # as_fn_executable_p FILE
373 # -----------------------
374 # Test if FILE is an executable regular file.
375 as_fn_executable_p
()
377 test -f "$1" && test -x "$1"
378 } # as_fn_executable_p
379 # as_fn_append VAR VALUE
380 # ----------------------
381 # Append the text in VALUE to the end of the definition contained in VAR. Take
382 # advantage of any shell optimizations that allow amortized linear growth over
383 # repeated appends, instead of the typical quadratic growth present in naive
385 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
386 eval 'as_fn_append ()
399 # Perform arithmetic evaluation on the ARGs, and store the result in the
400 # global $as_val. Take advantage of shells that can avoid forks. The arguments
401 # must be portable across $(()) and expr.
402 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
410 as_val
=`expr "$@" || test $? -eq 1`
415 # as_fn_error STATUS ERROR [LINENO LOG_FD]
416 # ----------------------------------------
417 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
418 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
419 # script with STATUS, using 1 if that was 0.
422 as_status
=$1; test $as_status -eq 0 && as_status
=1
424 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
425 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
427 $as_echo "$as_me: error: $2" >&2
428 as_fn_exit
$as_status
431 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
432 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
438 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
444 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
450 as_me
=`$as_basename -- "$0" ||
451 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
452 X"$0" : 'X\(//\)$' \| \
453 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
455 sed '/^.*\/\([^/][^/]*\)\/*$/{
469 # Avoid depending upon Character Ranges.
470 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
471 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
472 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
473 as_cr_digits
='0123456789'
474 as_cr_alnum
=$as_cr_Letters$as_cr_digits
477 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
478 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
479 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
480 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
481 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
493 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
497 chmod +x
"$as_me.lineno" ||
498 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
500 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
501 # already done that, so ensure we don't try to do so again and fall
502 # in an infinite loop. This has already happened in practice.
503 _as_can_reexec
=no
; export _as_can_reexec
504 # Don't try to exec as it changes $[0], causing all sort of problems
505 # (the dirname of $[0] is not the place where we might find the
506 # original and so on. Autoconf is especially sensitive to this).
508 # Exit status is that of the last command.
512 ECHO_C
= ECHO_N
= ECHO_T
=
513 case `echo -n x` in #(((((
515 case `echo 'xy\c'` in
516 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
518 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
525 rm -f conf$$ conf$$.exe conf$$.
file
526 if test -d conf$$.dir
; then
527 rm -f conf$$.dir
/conf$$.
file
530 mkdir conf$$.dir
2>/dev
/null
532 if (echo >conf$$.
file) 2>/dev
/null
; then
533 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
535 # ... but there are two gotchas:
536 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
537 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
538 # In both cases, we have to default to `cp -pR'.
539 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
541 elif ln conf$$.
file conf$$
2>/dev
/null
; then
549 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
550 rmdir conf$$.dir
2>/dev
/null
552 if mkdir
-p .
2>/dev
/null
; then
553 as_mkdir_p
='mkdir -p "$as_dir"'
555 test -d .
/-p && rmdir .
/-p
560 as_executable_p
=as_fn_executable_p
562 # Sed expression to map a string onto a valid CPP name.
563 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
565 # Sed expression to map a string onto a valid variable name.
566 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
568 SHELL
=${CONFIG_SHELL-/bin/sh}
571 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
575 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
576 # so uname gets run too.
577 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
582 ac_default_prefix
=/usr
/local
584 ac_config_libobj_dir
=.
591 # Identity of this package.
593 PACKAGE_TARNAME
='sim'
595 PACKAGE_STRING
='sim 0'
596 PACKAGE_BUGREPORT
='https://sourceware.org/bugzilla/enter_bug.cgi?product=gdb&component=sim'
597 PACKAGE_URL
='https://sourceware.org/gdb/wiki/Sim/'
599 # Factoring default headers for most tests.
600 ac_includes_default
="\
602 #ifdef HAVE_SYS_TYPES_H
603 # include <sys/types.h>
605 #ifdef HAVE_SYS_STAT_H
606 # include <sys/stat.h>
612 # ifdef HAVE_STDLIB_H
617 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
622 #ifdef HAVE_STRINGS_H
623 # include <strings.h>
625 #ifdef HAVE_INTTYPES_H
626 # include <inttypes.h>
637 enable_option_checking
=no
638 ac_subst_vars
='am__EXEEXT_FALSE
642 SIM_ENABLE_IGEN_FALSE
667 INSTALL_STRIP_PROGRAM
679 MAINTAINER_MODE_FALSE
779 program_transform_name
794 enable_option_checking
805 enable_maintainer_mode
806 enable_dependency_tracking
815 enable_sim_environment
821 enable_build_warnings
822 enable_sim_build_warnings
824 ac_precious_vars
='build_alias
833 ac_subdirs_all
='aarch64
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-sim-debug=opts Enable debugging flags
(for developers of the sim
1507 --enable-sim-endian=endian
1508 Specify target byte endian orientation
1509 --enable-sim-environment=environment
1510 Specify mixed
, user
, virtual or operating
1512 --enable-sim-inline=inlines
1513 Specify
which functions should be inlined
1514 --enable-sim-profile=opts
1515 Enable profiling flags
1516 --enable-sim-stdio Specify whether to use stdio
for console
1518 --enable-sim-trace=opts Enable tracing of simulated programs
1519 --enable-werror treat compile warnings as errors
1520 --enable-build-warnings enable build-time compiler warnings
if gcc is used
1521 --enable-sim-build-warnings
1522 enable SIM specific build-time compiler warnings
if
1526 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1527 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1528 --with-pkgversion=PKG Use PKG
in the version string
in place of
"SIM"
1529 --with-bugurl=URL Direct users to URL to report a bug
1530 --with-system-zlib use installed libz
1531 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1533 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1535 Some influential environment variables
:
1536 CC C compiler
command
1537 CFLAGS C compiler flags
1538 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1539 nonstandard directory
<lib dir
>
1540 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1541 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1542 you have headers
in a nonstandard directory
<include dir
>
1545 Use these variables to override the choices made by
`configure' or to help
1546 it to find libraries and programs with nonstandard names/locations.
1548 Report bugs to <https://sourceware.org/bugzilla/enter_bug.cgi?product=gdb&component=sim>.
1549 sim home page: <https://sourceware.org/gdb/wiki/Sim/>.
1554 if test "$ac_init_help" = "recursive"; then
1555 # If there are subdirs, report their specific --help.
1556 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1557 test -d "$ac_dir" ||
1558 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1563 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1565 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1566 # A ".." for each directory in $ac_dir_suffix.
1567 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1568 case $ac_top_builddir_sub in
1569 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1570 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1573 ac_abs_top_builddir=$ac_pwd
1574 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1575 # for backward compatibility:
1576 ac_top_builddir=$ac_top_build_prefix
1579 .) # We are building in place.
1581 ac_top_srcdir=$ac_top_builddir_sub
1582 ac_abs_top_srcdir=$ac_pwd ;;
1583 [\\/]* | ?:[\\/]* ) # Absolute name.
1584 ac_srcdir=$srcdir$ac_dir_suffix;
1585 ac_top_srcdir=$srcdir
1586 ac_abs_top_srcdir=$srcdir ;;
1588 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1589 ac_top_srcdir=$ac_top_build_prefix$srcdir
1590 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1592 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1594 cd "$ac_dir" || { ac_status=$?; continue; }
1595 # Check for guested configure.
1596 if test -f "$ac_srcdir/configure.gnu"; then
1598 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1599 elif test -f "$ac_srcdir/configure"; then
1601 $SHELL "$ac_srcdir/configure" --help=recursive
1603 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1605 cd "$ac_pwd" || { ac_status=$?; break; }
1609 test -n "$ac_init_help" && exit $ac_status
1610 if $ac_init_version; then
1613 generated by GNU Autoconf 2.69
1615 Copyright (C) 2012 Free Software Foundation, Inc.
1616 This configure script is free software; the Free Software Foundation
1617 gives unlimited permission to copy, distribute and modify it.
1622 ## ------------------------ ##
1623 ## Autoconf initialization. ##
1624 ## ------------------------ ##
1626 # ac_fn_c_try_compile LINENO
1627 # --------------------------
1628 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1629 ac_fn_c_try_compile ()
1631 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1632 rm -f conftest.$ac_objext
1633 if { { ac_try="$ac_compile"
1635 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1636 *) ac_try_echo
=$ac_try;;
1638 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1639 $as_echo "$ac_try_echo"; } >&5
1640 (eval "$ac_compile") 2>conftest.err
1642 if test -s conftest.err
; then
1643 grep -v '^ *+' conftest.err
>conftest.er1
1644 cat conftest.er1
>&5
1645 mv -f conftest.er1 conftest.err
1647 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1648 test $ac_status = 0; } && {
1649 test -z "$ac_c_werror_flag" ||
1650 test ! -s conftest.err
1651 } && test -s conftest.
$ac_objext; then :
1654 $as_echo "$as_me: failed program was:" >&5
1655 sed 's/^/| /' conftest.
$ac_ext >&5
1659 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1660 as_fn_set_status
$ac_retval
1662 } # ac_fn_c_try_compile
1664 # ac_fn_c_try_cpp LINENO
1665 # ----------------------
1666 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1669 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1670 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1672 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1673 *) ac_try_echo=$ac_try;;
1675 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1676 $as_echo "$ac_try_echo"; } >&5
1677 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1679 if test -s conftest.err; then
1680 grep -v '^ *+' conftest.err >conftest.er1
1681 cat conftest.er1 >&5
1682 mv -f conftest.er1 conftest.err
1684 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1685 test $ac_status = 0; } > conftest.i && {
1686 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1687 test ! -s conftest.err
1691 $as_echo "$as_me: failed program was:" >&5
1692 sed 's/^/| /' conftest.$ac_ext >&5
1696 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1697 as_fn_set_status $ac_retval
1701 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1702 # -------------------------------------------------------
1703 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1704 # the include files in INCLUDES and setting the cache variable VAR
1706 ac_fn_c_check_header_mongrel ()
1708 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1709 if eval \${$3+:} false; then :
1710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1711 $as_echo_n "checking for $2... " >&6; }
1712 if eval \${$3+:} false; then :
1713 $as_echo_n "(cached) " >&6
1716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1717 $as_echo "$ac_res" >&6; }
1719 # Is the header compilable?
1720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1721 $as_echo_n "checking $2 usability... " >&6; }
1722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1723 /* end confdefs.h. */
1727 if ac_fn_c_try_compile "$LINENO"; then :
1728 ac_header_compiler=yes
1730 ac_header_compiler=no
1732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1734 $as_echo "$ac_header_compiler" >&6; }
1736 # Is the header present?
1737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1738 $as_echo_n "checking $2 presence... " >&6; }
1739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1740 /* end confdefs.h. */
1743 if ac_fn_c_try_cpp "$LINENO"; then :
1744 ac_header_preproc=yes
1746 ac_header_preproc=no
1748 rm -f conftest.err conftest.i conftest.$ac_ext
1749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1750 $as_echo "$ac_header_preproc" >&6; }
1752 # So? What about this header?
1753 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1755 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1756 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1757 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1758 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1761 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1762 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1763 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1764 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1765 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1766 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1767 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1768 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1769 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1770 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1771 ( $as_echo "## -------------------------------------------------------------------------------------- ##
1772 ## Report this to https://sourceware.org/bugzilla/enter_bug.cgi?product=gdb&component=sim ##
1773 ## -------------------------------------------------------------------------------------- ##"
1774 ) | sed "s/^/$as_me: WARNING: /" >&2
1777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1778 $as_echo_n "checking for $2... " >&6; }
1779 if eval \${$3+:} false; then :
1780 $as_echo_n "(cached) " >&6
1782 eval "$3=\$ac_header_compiler"
1785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1786 $as_echo "$ac_res" >&6; }
1788 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1790 } # ac_fn_c_check_header_mongrel
1792 # ac_fn_c_try_run LINENO
1793 # ----------------------
1794 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1795 # that executables *can* be run.
1798 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1799 if { { ac_try="$ac_link"
1801 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1802 *) ac_try_echo
=$ac_try;;
1804 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1805 $as_echo "$ac_try_echo"; } >&5
1806 (eval "$ac_link") 2>&5
1808 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1809 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1810 { { case "(($ac_try" in
1811 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1812 *) ac_try_echo=$ac_try;;
1814 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1815 $as_echo "$ac_try_echo"; } >&5
1816 (eval "$ac_try") 2>&5
1818 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1819 test $ac_status = 0; }; }; then :
1822 $as_echo "$as_me: program exited with status $ac_status" >&5
1823 $as_echo "$as_me: failed program was:" >&5
1824 sed 's/^/| /' conftest.$ac_ext >&5
1826 ac_retval=$ac_status
1828 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1829 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1830 as_fn_set_status $ac_retval
1834 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1835 # -------------------------------------------------------
1836 # Tests whether HEADER exists and can be compiled using the include files in
1837 # INCLUDES, setting the cache variable VAR accordingly.
1838 ac_fn_c_check_header_compile ()
1840 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1842 $as_echo_n "checking for $2... " >&6; }
1843 if eval \${$3+:} false; then :
1844 $as_echo_n "(cached) " >&6
1846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1847 /* end confdefs.h. */
1851 if ac_fn_c_try_compile "$LINENO"; then :
1856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1860 $as_echo "$ac_res" >&6; }
1861 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1863 } # ac_fn_c_check_header_compile
1865 # ac_fn_c_try_link LINENO
1866 # -----------------------
1867 # Try to link conftest.$ac_ext, and return whether this succeeded.
1870 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1871 rm -f conftest.$ac_objext conftest$ac_exeext
1872 if { { ac_try="$ac_link"
1874 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1875 *) ac_try_echo
=$ac_try;;
1877 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1878 $as_echo "$ac_try_echo"; } >&5
1879 (eval "$ac_link") 2>conftest.err
1881 if test -s conftest.err
; then
1882 grep -v '^ *+' conftest.err
>conftest.er1
1883 cat conftest.er1
>&5
1884 mv -f conftest.er1 conftest.err
1886 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1887 test $ac_status = 0; } && {
1888 test -z "$ac_c_werror_flag" ||
1889 test ! -s conftest.err
1890 } && test -s conftest
$ac_exeext && {
1891 test "$cross_compiling" = yes ||
1892 test -x conftest
$ac_exeext
1896 $as_echo "$as_me: failed program was:" >&5
1897 sed 's/^/| /' conftest.
$ac_ext >&5
1901 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1902 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1903 # interfere with the next link command; also delete a directory that is
1904 # left behind by Apple's compiler. We do this before executing the actions.
1905 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1906 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1907 as_fn_set_status
$ac_retval
1909 } # ac_fn_c_try_link
1911 # ac_fn_c_check_func LINENO FUNC VAR
1912 # ----------------------------------
1913 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1914 ac_fn_c_check_func
()
1916 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1918 $as_echo_n "checking for $2... " >&6; }
1919 if eval \
${$3+:} false
; then :
1920 $as_echo_n "(cached) " >&6
1922 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1923 /* end confdefs.h. */
1924 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1925 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1926 #define $2 innocuous_$2
1928 /* System header to define __stub macros and hopefully few prototypes,
1929 which can conflict with char $2 (); below.
1930 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1931 <limits.h> exists even on freestanding compilers. */
1934 # include <limits.h>
1936 # include <assert.h>
1941 /* Override any GCC internal prototype to avoid an error.
1942 Use char because int might match the return type of a GCC
1943 builtin and then its argument prototype would still apply. */
1948 /* The GNU C library defines this for functions which it implements
1949 to always fail with ENOSYS. Some functions are actually named
1950 something starting with __ and the normal name is an alias. */
1951 #if defined __stub_$2 || defined __stub___$2
1963 if ac_fn_c_try_link
"$LINENO"; then :
1968 rm -f core conftest.err conftest.
$ac_objext \
1969 conftest
$ac_exeext conftest.
$ac_ext
1972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1973 $as_echo "$ac_res" >&6; }
1974 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1976 } # ac_fn_c_check_func
1978 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
1979 # ----------------------------------------------------
1980 # Tries to find if the field MEMBER exists in type AGGR, after including
1981 # INCLUDES, setting cache variable VAR accordingly.
1982 ac_fn_c_check_member
()
1984 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
1986 $as_echo_n "checking for $2.$3... " >&6; }
1987 if eval \
${$4+:} false
; then :
1988 $as_echo_n "(cached) " >&6
1990 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1991 /* end confdefs.h. */
2003 if ac_fn_c_try_compile
"$LINENO"; then :
2006 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2007 /* end confdefs.h. */
2013 if (sizeof ac_aggr.$3)
2019 if ac_fn_c_try_compile
"$LINENO"; then :
2024 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2026 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2030 $as_echo "$ac_res" >&6; }
2031 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2033 } # ac_fn_c_check_member
2035 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2036 # ---------------------------------------------
2037 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2039 ac_fn_c_check_decl
()
2041 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2042 as_decl_name
=`echo $2|sed 's/ *(.*//'`
2043 as_decl_use
=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2045 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2046 if eval \
${$3+:} false
; then :
2047 $as_echo_n "(cached) " >&6
2049 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2050 /* end confdefs.h. */
2055 #ifndef $as_decl_name
2057 (void) $as_decl_use;
2059 (void) $as_decl_name;
2067 if ac_fn_c_try_compile
"$LINENO"; then :
2072 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2076 $as_echo "$ac_res" >&6; }
2077 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2079 } # ac_fn_c_check_decl
2081 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2082 # -------------------------------------------
2083 # Tests whether TYPE exists after having included INCLUDES, setting cache
2084 # variable VAR accordingly.
2085 ac_fn_c_check_type
()
2087 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2089 $as_echo_n "checking for $2... " >&6; }
2090 if eval \
${$3+:} false
; then :
2091 $as_echo_n "(cached) " >&6
2094 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2095 /* end confdefs.h. */
2106 if ac_fn_c_try_compile
"$LINENO"; then :
2107 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2108 /* end confdefs.h. */
2119 if ac_fn_c_try_compile
"$LINENO"; then :
2124 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2126 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2130 $as_echo "$ac_res" >&6; }
2131 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2133 } # ac_fn_c_check_type
2134 cat >config.log
<<_ACEOF
2135 This file contains any messages produced by compilers while
2136 running configure, to aid debugging if configure makes a mistake.
2138 It was created by sim $as_me 0, which was
2139 generated by GNU Autoconf 2.69. Invocation command line was
2151 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2152 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2153 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2154 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2155 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2157 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2158 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2160 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2161 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2162 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2163 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2164 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2165 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2166 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2170 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2174 test -z "$as_dir" && as_dir
=.
2175 $as_echo "PATH: $as_dir"
2191 # Keep a trace of the command line.
2192 # Strip out --no-create and --no-recursion so they do not pile up.
2193 # Strip out --silent because we don't want to record it for future runs.
2194 # Also quote any args containing shell meta-characters.
2195 # Make two passes to allow for proper duplicate-argument suppression.
2199 ac_must_keep_next
=false
2205 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2206 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2207 |
-silent |
--silent |
--silen |
--sile |
--sil)
2210 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2213 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2215 as_fn_append ac_configure_args1
" '$ac_arg'"
2216 if test $ac_must_keep_next = true
; then
2217 ac_must_keep_next
=false
# Got value, back to normal.
2220 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2221 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2222 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2223 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2224 case "$ac_configure_args0 " in
2225 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2228 -* ) ac_must_keep_next
=true
;;
2231 as_fn_append ac_configure_args
" '$ac_arg'"
2236 { ac_configure_args0
=; unset ac_configure_args0
;}
2237 { ac_configure_args1
=; unset ac_configure_args1
;}
2239 # When interrupted or exit'd, cleanup temporary files, and complete
2240 # config.log. We remove comments because anyway the quotes in there
2241 # would cause problems or look ugly.
2242 # WARNING: Use '\'' to represent an apostrophe within the trap.
2243 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2244 trap 'exit_status=$?
2245 # Save into config.log some information that might help in debugging.
2249 $as_echo "## ---------------- ##
2250 ## Cache variables. ##
2251 ## ---------------- ##"
2253 # The following way of writing the cache mishandles newlines in values,
2255 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2256 eval ac_val=\$$ac_var
2260 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2261 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2264 _ | IFS | as_nl) ;; #(
2265 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2266 *) { eval $ac_var=; unset $ac_var;} ;;
2271 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2272 *${as_nl}ac_space=\ *)
2274 "s/'\''/'\''\\\\'\'''\''/g;
2275 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2278 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2285 $as_echo "## ----------------- ##
2286 ## Output variables. ##
2287 ## ----------------- ##"
2289 for ac_var in $ac_subst_vars
2291 eval ac_val=\$$ac_var
2293 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2295 $as_echo "$ac_var='\''$ac_val'\''"
2299 if test -n "$ac_subst_files"; then
2300 $as_echo "## ------------------- ##
2301 ## File substitutions. ##
2302 ## ------------------- ##"
2304 for ac_var
in $ac_subst_files
2306 eval ac_val
=\$
$ac_var
2308 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2310 $as_echo "$ac_var='\''$ac_val'\''"
2315 if test -s confdefs.h; then
2316 $as_echo "## ----------- ##
2323 test "$ac_signal" != 0 &&
2324 $as_echo "$as_me: caught signal $ac_signal"
2325 $as_echo "$as_me: exit $exit_status"
2327 rm -f core *.core core.conftest.* &&
2328 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2331 for ac_signal
in 1 2 13 15; do
2332 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2336 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2337 rm -f -r conftest
* confdefs.h
2339 $as_echo "/* confdefs.h */" > confdefs.h
2341 # Predefined preprocessor variables.
2343 cat >>confdefs.h
<<_ACEOF
2344 #define PACKAGE_NAME "$PACKAGE_NAME"
2347 cat >>confdefs.h
<<_ACEOF
2348 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2351 cat >>confdefs.h
<<_ACEOF
2352 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2355 cat >>confdefs.h
<<_ACEOF
2356 #define PACKAGE_STRING "$PACKAGE_STRING"
2359 cat >>confdefs.h
<<_ACEOF
2360 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2363 cat >>confdefs.h
<<_ACEOF
2364 #define PACKAGE_URL "$PACKAGE_URL"
2368 # Let the site file select an alternate cache file if it wants to.
2369 # Prefer an explicitly selected file to automatically selected ones.
2372 if test -n "$CONFIG_SITE"; then
2373 # We do not want a PATH search for config.site.
2374 case $CONFIG_SITE in #((
2375 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2376 */*) ac_site_file1
=$CONFIG_SITE;;
2377 *) ac_site_file1
=.
/$CONFIG_SITE;;
2379 elif test "x$prefix" != xNONE
; then
2380 ac_site_file1
=$prefix/share
/config.site
2381 ac_site_file2
=$prefix/etc
/config.site
2383 ac_site_file1
=$ac_default_prefix/share
/config.site
2384 ac_site_file2
=$ac_default_prefix/etc
/config.site
2386 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2388 test "x$ac_site_file" = xNONE
&& continue
2389 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2390 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2391 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2392 sed 's/^/| /' "$ac_site_file" >&5
2394 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2395 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2396 as_fn_error $?
"failed to load site script $ac_site_file
2397 See \`config.log' for more details" "$LINENO" 5; }
2401 if test -r "$cache_file"; then
2402 # Some versions of bash will fail to source /dev/null (special files
2403 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2404 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2405 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2406 $as_echo "$as_me: loading cache $cache_file" >&6;}
2408 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2409 *) .
"./$cache_file";;
2413 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2414 $as_echo "$as_me: creating cache $cache_file" >&6;}
2418 as_fn_append ac_header_list
" dlfcn.h"
2419 as_fn_append ac_header_list
" fcntl.h"
2420 as_fn_append ac_header_list
" fpu_control.h"
2421 as_fn_append ac_header_list
" termios.h"
2422 as_fn_append ac_header_list
" unistd.h"
2423 as_fn_append ac_header_list
" utime.h"
2424 as_fn_append ac_header_list
" linux/if_tun.h"
2425 as_fn_append ac_header_list
" linux/mii.h"
2426 as_fn_append ac_header_list
" linux/types.h"
2427 as_fn_append ac_header_list
" net/if.h"
2428 as_fn_append ac_header_list
" netinet/in.h"
2429 as_fn_append ac_header_list
" netinet/tcp.h"
2430 as_fn_append ac_header_list
" sys/ioctl.h"
2431 as_fn_append ac_header_list
" sys/mman.h"
2432 as_fn_append ac_header_list
" sys/mount.h"
2433 as_fn_append ac_header_list
" sys/param.h"
2434 as_fn_append ac_header_list
" sys/resource.h"
2435 as_fn_append ac_header_list
" sys/socket.h"
2436 as_fn_append ac_header_list
" sys/stat.h"
2437 as_fn_append ac_header_list
" sys/statfs.h"
2438 as_fn_append ac_header_list
" sys/termio.h"
2439 as_fn_append ac_header_list
" sys/termios.h"
2440 as_fn_append ac_header_list
" sys/types.h"
2441 as_fn_append ac_header_list
" sys/vfs.h"
2442 as_fn_append ac_func_list
" __setfpucw"
2443 as_fn_append ac_func_list
" access"
2444 as_fn_append ac_func_list
" aint"
2445 as_fn_append ac_func_list
" anint"
2446 as_fn_append ac_func_list
" cfgetispeed"
2447 as_fn_append ac_func_list
" cfgetospeed"
2448 as_fn_append ac_func_list
" cfsetispeed"
2449 as_fn_append ac_func_list
" cfsetospeed"
2450 as_fn_append ac_func_list
" chdir"
2451 as_fn_append ac_func_list
" chmod"
2452 as_fn_append ac_func_list
" dup"
2453 as_fn_append ac_func_list
" dup2"
2454 as_fn_append ac_func_list
" execv"
2455 as_fn_append ac_func_list
" execve"
2456 as_fn_append ac_func_list
" fcntl"
2457 as_fn_append ac_func_list
" fork"
2458 as_fn_append ac_func_list
" fstat"
2459 as_fn_append ac_func_list
" fstatfs"
2460 as_fn_append ac_func_list
" ftruncate"
2461 as_fn_append ac_func_list
" getdirentries"
2462 as_fn_append ac_func_list
" getegid"
2463 as_fn_append ac_func_list
" geteuid"
2464 as_fn_append ac_func_list
" getgid"
2465 as_fn_append ac_func_list
" getpid"
2466 as_fn_append ac_func_list
" getppid"
2467 as_fn_append ac_func_list
" getrusage"
2468 as_fn_append ac_func_list
" gettimeofday"
2469 as_fn_append ac_func_list
" getuid"
2470 as_fn_append ac_func_list
" ioctl"
2471 as_fn_append ac_func_list
" kill"
2472 as_fn_append ac_func_list
" link"
2473 as_fn_append ac_func_list
" lseek"
2474 as_fn_append ac_func_list
" mmap"
2475 as_fn_append ac_func_list
" munmap"
2476 as_fn_append ac_func_list
" pipe"
2477 as_fn_append ac_func_list
" posix_fallocate"
2478 as_fn_append ac_func_list
" pread"
2479 as_fn_append ac_func_list
" rmdir"
2480 as_fn_append ac_func_list
" setregid"
2481 as_fn_append ac_func_list
" setreuid"
2482 as_fn_append ac_func_list
" setgid"
2483 as_fn_append ac_func_list
" setuid"
2484 as_fn_append ac_func_list
" sigaction"
2485 as_fn_append ac_func_list
" sigprocmask"
2486 as_fn_append ac_func_list
" sqrt"
2487 as_fn_append ac_func_list
" stat"
2488 as_fn_append ac_func_list
" strsignal"
2489 as_fn_append ac_func_list
" symlink"
2490 as_fn_append ac_func_list
" tcdrain"
2491 as_fn_append ac_func_list
" tcflow"
2492 as_fn_append ac_func_list
" tcflush"
2493 as_fn_append ac_func_list
" tcgetattr"
2494 as_fn_append ac_func_list
" tcgetpgrp"
2495 as_fn_append ac_func_list
" tcsendbreak"
2496 as_fn_append ac_func_list
" tcsetattr"
2497 as_fn_append ac_func_list
" tcsetpgrp"
2498 as_fn_append ac_func_list
" time"
2499 as_fn_append ac_func_list
" truncate"
2500 as_fn_append ac_func_list
" umask"
2501 as_fn_append ac_func_list
" unlink"
2502 as_fn_append ac_func_list
" utime"
2503 # Check that the precious variables saved in the cache have kept the same
2505 ac_cache_corrupted
=false
2506 for ac_var
in $ac_precious_vars; do
2507 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2508 eval ac_new_set
=\
$ac_env_${ac_var}_set
2509 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2510 eval ac_new_val
=\
$ac_env_${ac_var}_value
2511 case $ac_old_set,$ac_new_set in
2513 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2514 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2515 ac_cache_corrupted
=: ;;
2517 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2518 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2519 ac_cache_corrupted
=: ;;
2522 if test "x$ac_old_val" != "x$ac_new_val"; then
2523 # differences in whitespace do not lead to failure.
2524 ac_old_val_w
=`echo x $ac_old_val`
2525 ac_new_val_w
=`echo x $ac_new_val`
2526 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2527 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2528 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2529 ac_cache_corrupted
=:
2531 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2532 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2533 eval $ac_var=\
$ac_old_val
2535 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2536 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2537 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2538 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2541 # Pass precious variables to config.status.
2542 if test "$ac_new_set" = set; then
2544 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2545 *) ac_arg
=$ac_var=$ac_new_val ;;
2547 case " $ac_configure_args " in
2548 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2549 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2553 if $ac_cache_corrupted; then
2554 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2555 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2556 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2557 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2558 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2560 ## -------------------- ##
2561 ## Main body of script. ##
2562 ## -------------------- ##
2565 ac_cpp
='$CPP $CPPFLAGS'
2566 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2567 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2568 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2577 # Check whether --with-pkgversion was given.
2578 if test "${with_pkgversion+set}" = set; then :
2579 withval
=$with_pkgversion; case "$withval" in
2580 yes) as_fn_error $?
"package version not specified" "$LINENO" 5 ;;
2582 *) PKGVERSION
="($withval) " ;;
2592 cat >>confdefs.h
<<_ACEOF
2593 #define PKGVERSION "$PKGVERSION"
2598 # Check whether --with-bugurl was given.
2599 if test "${with_bugurl+set}" = set; then :
2600 withval
=$with_bugurl; case "$withval" in
2601 yes) as_fn_error $?
"bug URL not specified" "$LINENO" 5 ;;
2604 *) BUGURL
="$withval"
2608 BUGURL
="$PACKAGE_BUGREPORT"
2618 REPORT_BUGS_TO
="<$BUGURL>"
2619 REPORT_BUGS_TEXI
=@uref
{`echo "$BUGURL" | sed 's/@/@@/g'`}
2626 cat >>confdefs.h
<<_ACEOF
2627 #define REPORT_BUGS_TO "$REPORT_BUGS_TO"
2631 ac_config_headers
="$ac_config_headers config.h"
2635 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2636 if test -f "$ac_dir/install-sh"; then
2638 ac_install_sh
="$ac_aux_dir/install-sh -c"
2640 elif test -f "$ac_dir/install.sh"; then
2642 ac_install_sh
="$ac_aux_dir/install.sh -c"
2644 elif test -f "$ac_dir/shtool"; then
2646 ac_install_sh
="$ac_aux_dir/shtool install -c"
2650 if test -z "$ac_aux_dir"; then
2651 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2654 # These three variables are undocumented and unsupported,
2655 # and are intended to be withdrawn in a future Autoconf release.
2656 # They can cause serious problems if a builder's source tree is in a directory
2657 # whose full name contains unusual characters.
2658 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2659 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2660 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2663 # Make sure we can run config.sub.
2664 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2665 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2668 $as_echo_n "checking build system type... " >&6; }
2669 if ${ac_cv_build+:} false
; then :
2670 $as_echo_n "(cached) " >&6
2672 ac_build_alias
=$build_alias
2673 test "x$ac_build_alias" = x
&&
2674 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2675 test "x$ac_build_alias" = x
&&
2676 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2677 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2678 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2682 $as_echo "$ac_cv_build" >&6; }
2683 case $ac_cv_build in
2685 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2688 ac_save_IFS
=$IFS; IFS
='-'
2694 # Remember, the first character of IFS is used to create $*,
2695 # except with old shells:
2698 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2702 $as_echo_n "checking host system type... " >&6; }
2703 if ${ac_cv_host+:} false
; then :
2704 $as_echo_n "(cached) " >&6
2706 if test "x$host_alias" = x
; then
2707 ac_cv_host
=$ac_cv_build
2709 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2710 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2715 $as_echo "$ac_cv_host" >&6; }
2718 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2721 ac_save_IFS
=$IFS; IFS
='-'
2727 # Remember, the first character of IFS is used to create $*,
2728 # except with old shells:
2731 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2735 $as_echo_n "checking target system type... " >&6; }
2736 if ${ac_cv_target+:} false
; then :
2737 $as_echo_n "(cached) " >&6
2739 if test "x$target_alias" = x
; then
2740 ac_cv_target
=$ac_cv_host
2742 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2743 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2748 $as_echo "$ac_cv_target" >&6; }
2749 case $ac_cv_target in
2751 *) as_fn_error $?
"invalid value of canonical target" "$LINENO" 5;;
2753 target
=$ac_cv_target
2754 ac_save_IFS
=$IFS; IFS
='-'
2760 # Remember, the first character of IFS is used to create $*,
2761 # except with old shells:
2764 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2767 # The aliases save the names the user supplied, while $host etc.
2768 # will get canonicalized.
2769 test -n "$target_alias" &&
2770 test "$program_prefix$program_suffix$program_transform_name" = \
2772 program_prefix
=${target_alias}-
2773 # Expand $ac_aux_dir to an absolute path.
2774 am_aux_dir
=`cd "$ac_aux_dir" && pwd`
2777 ac_cpp
='$CPP $CPPFLAGS'
2778 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2779 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2780 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2781 if test -n "$ac_tool_prefix"; then
2782 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2783 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2785 $as_echo_n "checking for $ac_word... " >&6; }
2786 if ${ac_cv_prog_CC+:} false
; then :
2787 $as_echo_n "(cached) " >&6
2789 if test -n "$CC"; then
2790 ac_cv_prog_CC
="$CC" # Let the user override the test.
2792 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2796 test -z "$as_dir" && as_dir
=.
2797 for ac_exec_ext
in '' $ac_executable_extensions; do
2798 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2799 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2800 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2810 if test -n "$CC"; then
2811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2812 $as_echo "$CC" >&6; }
2814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2815 $as_echo "no" >&6; }
2820 if test -z "$ac_cv_prog_CC"; then
2822 # Extract the first word of "gcc", so it can be a program name with args.
2823 set dummy gcc
; ac_word
=$2
2824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2825 $as_echo_n "checking for $ac_word... " >&6; }
2826 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2827 $as_echo_n "(cached) " >&6
2829 if test -n "$ac_ct_CC"; then
2830 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2832 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2836 test -z "$as_dir" && as_dir
=.
2837 for ac_exec_ext
in '' $ac_executable_extensions; do
2838 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2839 ac_cv_prog_ac_ct_CC
="gcc"
2840 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2849 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2850 if test -n "$ac_ct_CC"; then
2851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2852 $as_echo "$ac_ct_CC" >&6; }
2854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2855 $as_echo "no" >&6; }
2858 if test "x$ac_ct_CC" = x
; then
2861 case $cross_compiling:$ac_tool_warned in
2863 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2864 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2865 ac_tool_warned
=yes ;;
2873 if test -z "$CC"; then
2874 if test -n "$ac_tool_prefix"; then
2875 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2876 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2878 $as_echo_n "checking for $ac_word... " >&6; }
2879 if ${ac_cv_prog_CC+:} false
; then :
2880 $as_echo_n "(cached) " >&6
2882 if test -n "$CC"; then
2883 ac_cv_prog_CC
="$CC" # Let the user override the test.
2885 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2889 test -z "$as_dir" && as_dir
=.
2890 for ac_exec_ext
in '' $ac_executable_extensions; do
2891 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2892 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2893 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2903 if test -n "$CC"; then
2904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2905 $as_echo "$CC" >&6; }
2907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2908 $as_echo "no" >&6; }
2914 if test -z "$CC"; then
2915 # Extract the first word of "cc", so it can be a program name with args.
2916 set dummy cc
; ac_word
=$2
2917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2918 $as_echo_n "checking for $ac_word... " >&6; }
2919 if ${ac_cv_prog_CC+:} false
; then :
2920 $as_echo_n "(cached) " >&6
2922 if test -n "$CC"; then
2923 ac_cv_prog_CC
="$CC" # Let the user override the test.
2926 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2930 test -z "$as_dir" && as_dir
=.
2931 for ac_exec_ext
in '' $ac_executable_extensions; do
2932 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2933 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2934 ac_prog_rejected
=yes
2938 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2945 if test $ac_prog_rejected = yes; then
2946 # We found a bogon in the path, so make sure we never use it.
2947 set dummy
$ac_cv_prog_CC
2949 if test $# != 0; then
2950 # We chose a different compiler from the bogus one.
2951 # However, it has the same basename, so the bogon will be chosen
2952 # first if we set CC to just the basename; use the full file name.
2954 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2960 if test -n "$CC"; then
2961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2962 $as_echo "$CC" >&6; }
2964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2965 $as_echo "no" >&6; }
2970 if test -z "$CC"; then
2971 if test -n "$ac_tool_prefix"; then
2972 for ac_prog
in cl.exe
2974 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2975 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2977 $as_echo_n "checking for $ac_word... " >&6; }
2978 if ${ac_cv_prog_CC+:} false
; then :
2979 $as_echo_n "(cached) " >&6
2981 if test -n "$CC"; then
2982 ac_cv_prog_CC
="$CC" # Let the user override the test.
2984 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2988 test -z "$as_dir" && as_dir
=.
2989 for ac_exec_ext
in '' $ac_executable_extensions; do
2990 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2991 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2992 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3002 if test -n "$CC"; then
3003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3004 $as_echo "$CC" >&6; }
3006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3007 $as_echo "no" >&6; }
3011 test -n "$CC" && break
3014 if test -z "$CC"; then
3016 for ac_prog
in cl.exe
3018 # Extract the first word of "$ac_prog", so it can be a program name with args.
3019 set dummy
$ac_prog; ac_word
=$2
3020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3021 $as_echo_n "checking for $ac_word... " >&6; }
3022 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3023 $as_echo_n "(cached) " >&6
3025 if test -n "$ac_ct_CC"; then
3026 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3028 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3032 test -z "$as_dir" && as_dir
=.
3033 for ac_exec_ext
in '' $ac_executable_extensions; do
3034 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3035 ac_cv_prog_ac_ct_CC
="$ac_prog"
3036 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3045 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3046 if test -n "$ac_ct_CC"; then
3047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3048 $as_echo "$ac_ct_CC" >&6; }
3050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3051 $as_echo "no" >&6; }
3055 test -n "$ac_ct_CC" && break
3058 if test "x$ac_ct_CC" = x
; then
3061 case $cross_compiling:$ac_tool_warned in
3063 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3064 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3065 ac_tool_warned
=yes ;;
3074 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3075 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3076 as_fn_error $?
"no acceptable C compiler found in \$PATH
3077 See \`config.log' for more details" "$LINENO" 5; }
3079 # Provide some information about the compiler.
3080 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3083 for ac_option
in --version -v -V -qversion; do
3084 { { ac_try
="$ac_compiler $ac_option >&5"
3086 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3087 *) ac_try_echo=$ac_try;;
3089 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3090 $as_echo "$ac_try_echo"; } >&5
3091 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3093 if test -s conftest.err; then
3095 ... rest of stderr output deleted ...
3096 10q' conftest.err >conftest.er1
3097 cat conftest.er1 >&5
3099 rm -f conftest.er1 conftest.err
3100 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3101 test $ac_status = 0; }
3104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3105 /* end confdefs.h. */
3115 ac_clean_files_save=$ac_clean_files
3116 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3117 # Try to create an executable without -o first, disregard a.out.
3118 # It will help us diagnose broken compilers, and finding out an intuition
3120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3121 $as_echo_n "checking whether the C compiler works... " >&6; }
3122 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3124 # The possible output files:
3125 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3128 for ac_file in $ac_files
3131 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3132 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3137 if { { ac_try="$ac_link_default"
3139 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3140 *) ac_try_echo
=$ac_try;;
3142 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3143 $as_echo "$ac_try_echo"; } >&5
3144 (eval "$ac_link_default") 2>&5
3146 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3147 test $ac_status = 0; }; then :
3148 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3149 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3150 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3151 # so that the user can short-circuit this test for compilers unknown to
3153 for ac_file
in $ac_files ''
3155 test -f "$ac_file" ||
continue
3157 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3160 # We found the default executable, but exeext='' is most
3164 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3166 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3168 # We set ac_cv_exeext here because the later test for it is not
3169 # safe: cross compilers may not add the suffix if given an `-o'
3170 # argument, so we may need to know it at that point already.
3171 # Even if this section looks crufty: it has the advantage of
3178 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3183 if test -z "$ac_file"; then :
3184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3185 $as_echo "no" >&6; }
3186 $as_echo "$as_me: failed program was:" >&5
3187 sed 's/^/| /' conftest.
$ac_ext >&5
3189 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3190 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3191 as_fn_error
77 "C compiler cannot create executables
3192 See \`config.log' for more details" "$LINENO" 5; }
3194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3195 $as_echo "yes" >&6; }
3197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3198 $as_echo_n "checking for C compiler default output file name... " >&6; }
3199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3200 $as_echo "$ac_file" >&6; }
3201 ac_exeext
=$ac_cv_exeext
3203 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3204 ac_clean_files
=$ac_clean_files_save
3205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3206 $as_echo_n "checking for suffix of executables... " >&6; }
3207 if { { ac_try
="$ac_link"
3209 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3210 *) ac_try_echo=$ac_try;;
3212 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3213 $as_echo "$ac_try_echo"; } >&5
3214 (eval "$ac_link") 2>&5
3216 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3217 test $ac_status = 0; }; then :
3218 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3219 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3220 # work properly (i.e., refer to `conftest.exe'), while it won't with
3222 for ac_file
in conftest.exe conftest conftest.
*; do
3223 test -f "$ac_file" ||
continue
3225 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3226 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3232 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3233 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3234 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3235 See \`config.log' for more details" "$LINENO" 5; }
3237 rm -f conftest conftest
$ac_cv_exeext
3238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3239 $as_echo "$ac_cv_exeext" >&6; }
3241 rm -f conftest.
$ac_ext
3242 EXEEXT
=$ac_cv_exeext
3244 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3245 /* end confdefs.h. */
3250 FILE *f = fopen ("conftest.out", "w");
3251 return ferror (f) || fclose (f) != 0;
3257 ac_clean_files
="$ac_clean_files conftest.out"
3258 # Check that the compiler produces executables we can run. If not, either
3259 # the compiler is broken, or we cross compile.
3260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3261 $as_echo_n "checking whether we are cross compiling... " >&6; }
3262 if test "$cross_compiling" != yes; then
3263 { { ac_try
="$ac_link"
3265 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3266 *) ac_try_echo=$ac_try;;
3268 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3269 $as_echo "$ac_try_echo"; } >&5
3270 (eval "$ac_link") 2>&5
3272 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3273 test $ac_status = 0; }
3274 if { ac_try='./conftest$ac_cv_exeext'
3275 { { case "(($ac_try" in
3276 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3277 *) ac_try_echo
=$ac_try;;
3279 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3280 $as_echo "$ac_try_echo"; } >&5
3281 (eval "$ac_try") 2>&5
3283 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3284 test $ac_status = 0; }; }; then
3287 if test "$cross_compiling" = maybe
; then
3290 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3291 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3292 as_fn_error $?
"cannot run C compiled programs.
3293 If you meant to cross compile, use \`--host'.
3294 See \`config.log' for more details" "$LINENO" 5; }
3298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3299 $as_echo "$cross_compiling" >&6; }
3301 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3302 ac_clean_files
=$ac_clean_files_save
3303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3304 $as_echo_n "checking for suffix of object files... " >&6; }
3305 if ${ac_cv_objext+:} false
; then :
3306 $as_echo_n "(cached) " >&6
3308 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3309 /* end confdefs.h. */
3319 rm -f conftest.o conftest.obj
3320 if { { ac_try
="$ac_compile"
3322 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3323 *) ac_try_echo=$ac_try;;
3325 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3326 $as_echo "$ac_try_echo"; } >&5
3327 (eval "$ac_compile") 2>&5
3329 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3330 test $ac_status = 0; }; then :
3331 for ac_file in conftest.o conftest.obj conftest.*; do
3332 test -f "$ac_file" || continue;
3334 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3335 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3340 $as_echo "$as_me: failed program was:" >&5
3341 sed 's/^/| /' conftest.$ac_ext >&5
3343 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3344 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3345 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3346 See \
`config.log' for more details" "$LINENO" 5; }
3348 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3351 $as_echo "$ac_cv_objext" >&6; }
3352 OBJEXT=$ac_cv_objext
3354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3355 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3356 if ${ac_cv_c_compiler_gnu+:} false; then :
3357 $as_echo_n "(cached) " >&6
3359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3360 /* end confdefs.h. */
3373 if ac_fn_c_try_compile "$LINENO"; then :
3378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3379 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3383 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3384 if test $ac_compiler_gnu = yes; then
3389 ac_test_CFLAGS=${CFLAGS+set}
3390 ac_save_CFLAGS=$CFLAGS
3391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3392 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3393 if ${ac_cv_prog_cc_g+:} false; then :
3394 $as_echo_n "(cached) " >&6
3396 ac_save_c_werror_flag=$ac_c_werror_flag
3397 ac_c_werror_flag=yes
3400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3401 /* end confdefs.h. */
3411 if ac_fn_c_try_compile "$LINENO"; then :
3415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3416 /* end confdefs.h. */
3426 if ac_fn_c_try_compile "$LINENO"; then :
3429 ac_c_werror_flag=$ac_save_c_werror_flag
3431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3432 /* end confdefs.h. */
3442 if ac_fn_c_try_compile "$LINENO"; then :
3445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3450 ac_c_werror_flag=$ac_save_c_werror_flag
3452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3453 $as_echo "$ac_cv_prog_cc_g" >&6; }
3454 if test "$ac_test_CFLAGS" = set; then
3455 CFLAGS=$ac_save_CFLAGS
3456 elif test $ac_cv_prog_cc_g = yes; then
3457 if test "$GCC" = yes; then
3463 if test "$GCC" = yes; then
3469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3470 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3471 if ${ac_cv_prog_cc_c89+:} false; then :
3472 $as_echo_n "(cached) " >&6
3474 ac_cv_prog_cc_c89=no
3476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3477 /* end confdefs.h. */
3481 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3482 struct buf { int x; };
3483 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3484 static char *e (p, i)
3490 static char *f (char * (*g) (char **, int), char **p, ...)
3495 s = g (p, va_arg (v,int));
3500 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3501 function prototypes and stuff, but not '\xHH' hex character constants.
3502 These don't provoke an error unfortunately, instead are silently treated
3503 as 'x'. The following induces an error, until -std is added to get
3504 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3505 array size at least. It's necessary to write '\x00'==0 to get something
3506 that's true only with -std. */
3507 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3509 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3510 inside strings and character constants. */
3512 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3514 int test (int i, double x);
3515 struct s1 {int (*f) (int a);};
3516 struct s2 {int (*f) (double a);};
3517 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3523 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3528 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3529 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3531 CC="$ac_save_CC $ac_arg"
3532 if ac_fn_c_try_compile "$LINENO"; then :
3533 ac_cv_prog_cc_c89=$ac_arg
3535 rm -f core conftest.err conftest.$ac_objext
3536 test "x$ac_cv_prog_cc_c89" != "xno" && break
3538 rm -f conftest.$ac_ext
3543 case "x$ac_cv_prog_cc_c89" in
3545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3546 $as_echo "none needed" >&6; } ;;
3548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3549 $as_echo "unsupported" >&6; } ;;
3551 CC="$CC $ac_cv_prog_cc_c89"
3552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3553 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3555 if test "x$ac_cv_prog_cc_c89" != xno; then :
3560 ac_cpp='$CPP $CPPFLAGS'
3561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3566 ac_cpp='$CPP $CPPFLAGS'
3567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3571 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3572 if ${am_cv_prog_cc_c_o+:} false; then :
3573 $as_echo_n "(cached) " >&6
3575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3576 /* end confdefs.h. */
3586 # Make sure it works both with $CC and with simple cc.
3587 # Following AC_PROG_CC_C_O, we do the test twice because some
3588 # compilers refuse to overwrite an existing .o file with -o,
3589 # though they will create one.
3590 am_cv_prog_cc_c_o=yes
3592 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3593 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3596 (exit $ac_status); } \
3597 && test -f conftest2.$ac_objext; then
3600 am_cv_prog_cc_c_o=no
3604 rm -f core conftest*
3607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3608 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3609 if test "$am_cv_prog_cc_c_o" != yes; then
3610 # Losing compiler, so override with the script.
3611 # FIXME: It is wrong to rewrite CC.
3612 # But if we don't then we get into trouble of one sort or another.
3613 # A longer-term fix would be to have automake use am__CC in this case,
3614 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3615 CC="$am_aux_dir/compile $CC"
3618 ac_cpp='$CPP $CPPFLAGS'
3619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3626 ac_cpp='$CPP $CPPFLAGS'
3627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3631 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3632 # On Suns, sometimes $CPP names a directory.
3633 if test -n "$CPP" && test -d "$CPP"; then
3636 if test -z "$CPP"; then
3637 if ${ac_cv_prog_CPP+:} false; then :
3638 $as_echo_n "(cached) " >&6
3640 # Double quotes because CPP needs to be expanded
3641 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3644 for ac_c_preproc_warn_flag in '' yes
3646 # Use a header file that comes with gcc, so configuring glibc
3647 # with a fresh cross-compiler works.
3648 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3649 # <limits.h> exists even on freestanding compilers.
3650 # On the NeXT, cc -E runs the code through the compiler's parser,
3651 # not just through cpp. "Syntax error" is here to catch this case.
3652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3653 /* end confdefs.h. */
3655 # include <limits.h>
3657 # include <assert.h>
3661 if ac_fn_c_try_cpp "$LINENO"; then :
3664 # Broken: fails on valid input.
3667 rm -f conftest.err conftest.i conftest.$ac_ext
3669 # OK, works on sane cases. Now check whether nonexistent headers
3670 # can be detected and how.
3671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3672 /* end confdefs.h. */
3673 #include <ac_nonexistent.h>
3675 if ac_fn_c_try_cpp "$LINENO"; then :
3676 # Broken: success on invalid input.
3679 # Passes both tests.
3683 rm -f conftest.err conftest.i conftest.$ac_ext
3686 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3687 rm -f conftest.i conftest.err conftest.
$ac_ext
3688 if $ac_preproc_ok; then :
3700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3701 $as_echo "$CPP" >&6; }
3703 for ac_c_preproc_warn_flag
in '' yes
3705 # Use a header file that comes with gcc, so configuring glibc
3706 # with a fresh cross-compiler works.
3707 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3708 # <limits.h> exists even on freestanding compilers.
3709 # On the NeXT, cc -E runs the code through the compiler's parser,
3710 # not just through cpp. "Syntax error" is here to catch this case.
3711 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3712 /* end confdefs.h. */
3714 # include <limits.h>
3716 # include <assert.h>
3720 if ac_fn_c_try_cpp
"$LINENO"; then :
3723 # Broken: fails on valid input.
3726 rm -f conftest.err conftest.i conftest.
$ac_ext
3728 # OK, works on sane cases. Now check whether nonexistent headers
3729 # can be detected and how.
3730 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3731 /* end confdefs.h. */
3732 #include <ac_nonexistent.h>
3734 if ac_fn_c_try_cpp
"$LINENO"; then :
3735 # Broken: success on invalid input.
3738 # Passes both tests.
3742 rm -f conftest.err conftest.i conftest.
$ac_ext
3745 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3746 rm -f conftest.i conftest.err conftest.
$ac_ext
3747 if $ac_preproc_ok; then :
3750 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3751 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3752 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
3753 See \`config.log' for more details" "$LINENO" 5; }
3757 ac_cpp
='$CPP $CPPFLAGS'
3758 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3759 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3760 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3764 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3765 if ${ac_cv_path_GREP+:} false
; then :
3766 $as_echo_n "(cached) " >&6
3768 if test -z "$GREP"; then
3769 ac_path_GREP_found
=false
3770 # Loop through the user's path and test for each of PROGNAME-LIST
3771 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3772 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3775 test -z "$as_dir" && as_dir
=.
3776 for ac_prog
in grep ggrep
; do
3777 for ac_exec_ext
in '' $ac_executable_extensions; do
3778 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3779 as_fn_executable_p
"$ac_path_GREP" ||
continue
3780 # Check for GNU ac_path_GREP and select it if it is found.
3781 # Check for GNU $ac_path_GREP
3782 case `"$ac_path_GREP" --version 2>&1` in
3784 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3787 $as_echo_n 0123456789 >"conftest.in"
3790 cat "conftest.in" "conftest.in" >"conftest.tmp"
3791 mv "conftest.tmp" "conftest.in"
3792 cp "conftest.in" "conftest.nl"
3793 $as_echo 'GREP' >> "conftest.nl"
3794 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3795 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3796 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3797 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3798 # Best one so far, save it but keep looking for a better one
3799 ac_cv_path_GREP
="$ac_path_GREP"
3800 ac_path_GREP_max
=$ac_count
3802 # 10*(2^10) chars as input seems more than enough
3803 test $ac_count -gt 10 && break
3805 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3808 $ac_path_GREP_found && break 3
3813 if test -z "$ac_cv_path_GREP"; then
3814 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3817 ac_cv_path_GREP
=$GREP
3821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3822 $as_echo "$ac_cv_path_GREP" >&6; }
3823 GREP
="$ac_cv_path_GREP"
3826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3827 $as_echo_n "checking for egrep... " >&6; }
3828 if ${ac_cv_path_EGREP+:} false
; then :
3829 $as_echo_n "(cached) " >&6
3831 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3832 then ac_cv_path_EGREP
="$GREP -E"
3834 if test -z "$EGREP"; then
3835 ac_path_EGREP_found
=false
3836 # Loop through the user's path and test for each of PROGNAME-LIST
3837 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3838 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3841 test -z "$as_dir" && as_dir
=.
3842 for ac_prog
in egrep; do
3843 for ac_exec_ext
in '' $ac_executable_extensions; do
3844 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3845 as_fn_executable_p
"$ac_path_EGREP" ||
continue
3846 # Check for GNU ac_path_EGREP and select it if it is found.
3847 # Check for GNU $ac_path_EGREP
3848 case `"$ac_path_EGREP" --version 2>&1` in
3850 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3853 $as_echo_n 0123456789 >"conftest.in"
3856 cat "conftest.in" "conftest.in" >"conftest.tmp"
3857 mv "conftest.tmp" "conftest.in"
3858 cp "conftest.in" "conftest.nl"
3859 $as_echo 'EGREP' >> "conftest.nl"
3860 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3861 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3862 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3863 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3864 # Best one so far, save it but keep looking for a better one
3865 ac_cv_path_EGREP
="$ac_path_EGREP"
3866 ac_path_EGREP_max
=$ac_count
3868 # 10*(2^10) chars as input seems more than enough
3869 test $ac_count -gt 10 && break
3871 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3874 $ac_path_EGREP_found && break 3
3879 if test -z "$ac_cv_path_EGREP"; then
3880 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3883 ac_cv_path_EGREP
=$EGREP
3888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3889 $as_echo "$ac_cv_path_EGREP" >&6; }
3890 EGREP
="$ac_cv_path_EGREP"
3893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3894 $as_echo_n "checking for ANSI C header files... " >&6; }
3895 if ${ac_cv_header_stdc+:} false
; then :
3896 $as_echo_n "(cached) " >&6
3898 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3899 /* end confdefs.h. */
3913 if ac_fn_c_try_compile
"$LINENO"; then :
3914 ac_cv_header_stdc
=yes
3916 ac_cv_header_stdc
=no
3918 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3920 if test $ac_cv_header_stdc = yes; then
3921 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3922 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3923 /* end confdefs.h. */
3927 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3928 $EGREP "memchr" >/dev
/null
2>&1; then :
3931 ac_cv_header_stdc
=no
3937 if test $ac_cv_header_stdc = yes; then
3938 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3939 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3940 /* end confdefs.h. */
3944 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3945 $EGREP "free" >/dev
/null
2>&1; then :
3948 ac_cv_header_stdc
=no
3954 if test $ac_cv_header_stdc = yes; then
3955 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3956 if test "$cross_compiling" = yes; then :
3959 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3960 /* end confdefs.h. */
3963 #if ((' ' & 0x0FF) == 0x020)
3964 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3965 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3967 # define ISLOWER(c) \
3968 (('a' <= (c) && (c) <= 'i') \
3969 || ('j' <= (c) && (c) <= 'r') \
3970 || ('s' <= (c) && (c) <= 'z'))
3971 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3974 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3979 for (i = 0; i < 256; i++)
3980 if (XOR (islower (i), ISLOWER (i))
3981 || toupper (i) != TOUPPER (i))
3986 if ac_fn_c_try_run
"$LINENO"; then :
3989 ac_cv_header_stdc
=no
3991 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
3992 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
3997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3998 $as_echo "$ac_cv_header_stdc" >&6; }
3999 if test $ac_cv_header_stdc = yes; then
4001 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4005 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4006 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4007 inttypes.h stdint.h unistd.h
4009 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4010 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4012 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
4013 cat >>confdefs.h
<<_ACEOF
4014 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4023 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4024 if test "x$ac_cv_header_minix_config_h" = xyes
; then :
4031 if test "$MINIX" = yes; then
4033 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4036 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4039 $as_echo "#define _MINIX 1" >>confdefs.h
4044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4045 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4046 if ${ac_cv_safe_to_define___extensions__+:} false
; then :
4047 $as_echo_n "(cached) " >&6
4049 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4050 /* end confdefs.h. */
4052 # define __EXTENSIONS__ 1
4053 $ac_includes_default
4062 if ac_fn_c_try_compile
"$LINENO"; then :
4063 ac_cv_safe_to_define___extensions__
=yes
4065 ac_cv_safe_to_define___extensions__
=no
4067 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4070 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4071 test $ac_cv_safe_to_define___extensions__ = yes &&
4072 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4074 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4076 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4078 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4080 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4083 test "$program_prefix" != NONE
&&
4084 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
4085 # Use a double $ so make ignores it.
4086 test "$program_suffix" != NONE
&&
4087 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
4088 # Double any \ or $.
4089 # By default was `s,x,x', remove it if useless.
4090 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
4091 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
4093 # Find a good install program. We prefer a C program (faster),
4094 # so one script is as good as another. But avoid the broken or
4095 # incompatible versions:
4096 # SysV /etc/install, /usr/sbin/install
4097 # SunOS /usr/etc/install
4098 # IRIX /sbin/install
4100 # AmigaOS /C/install, which installs bootblocks on floppy discs
4101 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4102 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4103 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4104 # OS/2's system install, which has a completely different semantic
4105 # ./install, which can be erroneously created by make from ./install.sh.
4106 # Reject install programs that cannot install multiple files.
4107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
4108 $as_echo_n "checking for a BSD-compatible install... " >&6; }
4109 if test -z "$INSTALL"; then
4110 if ${ac_cv_path_install+:} false
; then :
4111 $as_echo_n "(cached) " >&6
4113 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4117 test -z "$as_dir" && as_dir
=.
4118 # Account for people who put trailing slashes in PATH elements.
4119 case $as_dir/ in #((
4120 .
/ | .
// |
/[cC
]/* | \
4121 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4122 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
4125 # OSF1 and SCO ODT 3.0 have their own names for install.
4126 # Don't use installbsd from OSF since it installs stuff as root
4128 for ac_prog
in ginstall scoinst
install; do
4129 for ac_exec_ext
in '' $ac_executable_extensions; do
4130 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
4131 if test $ac_prog = install &&
4132 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4133 # AIX install. It has an incompatible calling convention.
4135 elif test $ac_prog = install &&
4136 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4137 # program-specific install script used by HP pwplus--don't use.
4140 rm -rf conftest.one conftest.two conftest.dir
4141 echo one
> conftest.one
4142 echo two
> conftest.two
4144 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
4145 test -s conftest.one
&& test -s conftest.two
&&
4146 test -s conftest.dir
/conftest.one
&&
4147 test -s conftest.dir
/conftest.two
4149 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4162 rm -rf conftest.one conftest.two conftest.dir
4165 if test "${ac_cv_path_install+set}" = set; then
4166 INSTALL
=$ac_cv_path_install
4168 # As a last resort, use the slow shell script. Don't cache a
4169 # value for INSTALL within a source directory, because that will
4170 # break other packages using the cache if that directory is
4171 # removed, or if the value is a relative name.
4172 INSTALL
=$ac_install_sh
4175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4176 $as_echo "$INSTALL" >&6; }
4178 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4179 # It thinks the first close brace ends the variable substitution.
4180 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4182 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4184 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
4191 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
4192 if ${ac_cv_c_bigendian+:} false
; then :
4193 $as_echo_n "(cached) " >&6
4195 ac_cv_c_bigendian
=unknown
4196 # See if we're dealing with a universal compiler.
4197 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4198 /* end confdefs.h. */
4199 #ifndef __APPLE_CC__
4200 not a universal capable compiler
4205 if ac_fn_c_try_compile
"$LINENO"; then :
4207 # Check for potential -arch flags. It is not universal unless
4208 # there are at least two -arch flags with different values.
4211 for ac_word
in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
4212 if test -n "$ac_prev"; then
4214 i?
86 | x86_64 | ppc | ppc64
)
4215 if test -z "$ac_arch" ||
test "$ac_arch" = "$ac_word"; then
4218 ac_cv_c_bigendian
=universal
4224 elif test "x$ac_word" = "x-arch"; then
4229 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4230 if test $ac_cv_c_bigendian = unknown
; then
4231 # See if sys/param.h defines the BYTE_ORDER macro.
4232 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4233 /* end confdefs.h. */
4234 #include <sys/types.h>
4235 #include <sys/param.h>
4240 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
4241 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
4250 if ac_fn_c_try_compile
"$LINENO"; then :
4251 # It does; now see whether it defined to BIG_ENDIAN or not.
4252 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4253 /* end confdefs.h. */
4254 #include <sys/types.h>
4255 #include <sys/param.h>
4260 #if BYTE_ORDER != BIG_ENDIAN
4268 if ac_fn_c_try_compile
"$LINENO"; then :
4269 ac_cv_c_bigendian
=yes
4271 ac_cv_c_bigendian
=no
4273 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4275 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4277 if test $ac_cv_c_bigendian = unknown
; then
4278 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
4279 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4280 /* end confdefs.h. */
4286 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
4294 if ac_fn_c_try_compile
"$LINENO"; then :
4295 # It does; now see whether it defined to _BIG_ENDIAN or not.
4296 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4297 /* end confdefs.h. */
4311 if ac_fn_c_try_compile
"$LINENO"; then :
4312 ac_cv_c_bigendian
=yes
4314 ac_cv_c_bigendian
=no
4316 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4318 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4320 if test $ac_cv_c_bigendian = unknown
; then
4321 # Compile a test program.
4322 if test "$cross_compiling" = yes; then :
4323 # Try to guess by grepping values from an object file.
4324 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4325 /* end confdefs.h. */
4326 short int ascii_mm[] =
4327 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
4328 short int ascii_ii[] =
4329 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
4330 int use_ascii (int i) {
4331 return ascii_mm[i] + ascii_ii[i];
4333 short int ebcdic_ii[] =
4334 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
4335 short int ebcdic_mm[] =
4336 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
4337 int use_ebcdic (int i) {
4338 return ebcdic_mm[i] + ebcdic_ii[i];
4345 return use_ascii (foo) == use_ebcdic (foo);
4350 if ac_fn_c_try_compile
"$LINENO"; then :
4351 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
4352 ac_cv_c_bigendian
=yes
4354 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
4355 if test "$ac_cv_c_bigendian" = unknown
; then
4356 ac_cv_c_bigendian
=no
4358 # finding both strings is unlikely to happen, but who knows?
4359 ac_cv_c_bigendian
=unknown
4363 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4365 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4366 /* end confdefs.h. */
4367 $ac_includes_default
4372 /* Are we little or big endian? From Harbison&Steele. */
4376 char c[sizeof (long int)];
4379 return u.c[sizeof (long int) - 1] == 1;
4385 if ac_fn_c_try_run
"$LINENO"; then :
4386 ac_cv_c_bigendian
=no
4388 ac_cv_c_bigendian
=yes
4390 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4391 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
4397 $as_echo "$ac_cv_c_bigendian" >&6; }
4398 case $ac_cv_c_bigendian in #(
4400 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
4406 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
4410 as_fn_error $?
"unknown endianness
4411 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
4417 if test -n "$ac_tool_prefix"; then
4418 # Extract the first word of "${ac_tool_prefix}dtc", so it can be a program name with args.
4419 set dummy
${ac_tool_prefix}dtc
; ac_word
=$2
4420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4421 $as_echo_n "checking for $ac_word... " >&6; }
4422 if ${ac_cv_prog_DTC+:} false
; then :
4423 $as_echo_n "(cached) " >&6
4425 if test -n "$DTC"; then
4426 ac_cv_prog_DTC
="$DTC" # Let the user override the test.
4428 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4432 test -z "$as_dir" && as_dir
=.
4433 for ac_exec_ext
in '' $ac_executable_extensions; do
4434 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4435 ac_cv_prog_DTC
="${ac_tool_prefix}dtc"
4436 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4446 if test -n "$DTC"; then
4447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DTC" >&5
4448 $as_echo "$DTC" >&6; }
4450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4451 $as_echo "no" >&6; }
4456 if test -z "$ac_cv_prog_DTC"; then
4458 # Extract the first word of "dtc", so it can be a program name with args.
4459 set dummy dtc
; ac_word
=$2
4460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4461 $as_echo_n "checking for $ac_word... " >&6; }
4462 if ${ac_cv_prog_ac_ct_DTC+:} false
; then :
4463 $as_echo_n "(cached) " >&6
4465 if test -n "$ac_ct_DTC"; then
4466 ac_cv_prog_ac_ct_DTC
="$ac_ct_DTC" # Let the user override the test.
4468 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4472 test -z "$as_dir" && as_dir
=.
4473 for ac_exec_ext
in '' $ac_executable_extensions; do
4474 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4475 ac_cv_prog_ac_ct_DTC
="dtc"
4476 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4485 ac_ct_DTC
=$ac_cv_prog_ac_ct_DTC
4486 if test -n "$ac_ct_DTC"; then
4487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DTC" >&5
4488 $as_echo "$ac_ct_DTC" >&6; }
4490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4491 $as_echo "no" >&6; }
4494 if test "x$ac_ct_DTC" = x
; then
4497 case $cross_compiling:$ac_tool_warned in
4499 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4500 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4501 ac_tool_warned
=yes ;;
4506 DTC
="$ac_cv_prog_DTC"
4510 if test "x$cross_compiling" = "xno"; then
4511 : "${AR_FOR_BUILD:=\$(AR)}"
4512 : "${CC_FOR_BUILD:=\$(CC)}"
4513 : "${RANLIB_FOR_BUILD:=\$(RANLIB)}"
4514 : "${CFLAGS_FOR_BUILD:=\$(CFLAGS)}"
4515 : "${LDFLAGS_FOR_BUILD:=\$(LDFLAGS)}"
4517 : "${AR_FOR_BUILD:=ar}"
4518 : "${CC_FOR_BUILD:=gcc}"
4519 : "${RANLIB_FOR_BUILD:=ranlib}"
4520 : "${CFLAGS_FOR_BUILD:=-g -O}"
4521 : "${LDLFAGS_FOR_BUILD:=}"
4530 if test -n "$ac_tool_prefix"; then
4531 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4532 set dummy
${ac_tool_prefix}ar; ac_word
=$2
4533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4534 $as_echo_n "checking for $ac_word... " >&6; }
4535 if ${ac_cv_prog_AR+:} false
; then :
4536 $as_echo_n "(cached) " >&6
4538 if test -n "$AR"; then
4539 ac_cv_prog_AR
="$AR" # Let the user override the test.
4541 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4545 test -z "$as_dir" && as_dir
=.
4546 for ac_exec_ext
in '' $ac_executable_extensions; do
4547 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4548 ac_cv_prog_AR
="${ac_tool_prefix}ar"
4549 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4559 if test -n "$AR"; then
4560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4561 $as_echo "$AR" >&6; }
4563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4564 $as_echo "no" >&6; }
4569 if test -z "$ac_cv_prog_AR"; then
4571 # Extract the first word of "ar", so it can be a program name with args.
4572 set dummy
ar; ac_word
=$2
4573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4574 $as_echo_n "checking for $ac_word... " >&6; }
4575 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
4576 $as_echo_n "(cached) " >&6
4578 if test -n "$ac_ct_AR"; then
4579 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
4581 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4585 test -z "$as_dir" && as_dir
=.
4586 for ac_exec_ext
in '' $ac_executable_extensions; do
4587 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4588 ac_cv_prog_ac_ct_AR
="ar"
4589 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4598 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
4599 if test -n "$ac_ct_AR"; then
4600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4601 $as_echo "$ac_ct_AR" >&6; }
4603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4604 $as_echo "no" >&6; }
4607 if test "x$ac_ct_AR" = x
; then
4610 case $cross_compiling:$ac_tool_warned in
4612 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4613 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4614 ac_tool_warned
=yes ;;
4622 if test -n "$ac_tool_prefix"; then
4623 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4624 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4626 $as_echo_n "checking for $ac_word... " >&6; }
4627 if ${ac_cv_prog_RANLIB+:} false
; then :
4628 $as_echo_n "(cached) " >&6
4630 if test -n "$RANLIB"; then
4631 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4633 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4637 test -z "$as_dir" && as_dir
=.
4638 for ac_exec_ext
in '' $ac_executable_extensions; do
4639 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4640 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4641 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4650 RANLIB
=$ac_cv_prog_RANLIB
4651 if test -n "$RANLIB"; then
4652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4653 $as_echo "$RANLIB" >&6; }
4655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4656 $as_echo "no" >&6; }
4661 if test -z "$ac_cv_prog_RANLIB"; then
4662 ac_ct_RANLIB
=$RANLIB
4663 # Extract the first word of "ranlib", so it can be a program name with args.
4664 set dummy ranlib
; ac_word
=$2
4665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4666 $as_echo_n "checking for $ac_word... " >&6; }
4667 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
4668 $as_echo_n "(cached) " >&6
4670 if test -n "$ac_ct_RANLIB"; then
4671 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4673 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4677 test -z "$as_dir" && as_dir
=.
4678 for ac_exec_ext
in '' $ac_executable_extensions; do
4679 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4680 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4681 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4690 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4691 if test -n "$ac_ct_RANLIB"; then
4692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4693 $as_echo "$ac_ct_RANLIB" >&6; }
4695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4696 $as_echo "no" >&6; }
4699 if test "x$ac_ct_RANLIB" = x
; then
4702 case $cross_compiling:$ac_tool_warned in
4704 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4705 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4706 ac_tool_warned
=yes ;;
4708 RANLIB
=$ac_ct_RANLIB
4711 RANLIB
="$ac_cv_prog_RANLIB"
4715 # Require C11 or newer. Autoconf-2.70 provides ac_cv_prog_cc_c11 when using
4716 # AC_PROG_CC, but we're still using Autoconf-2.69, and the newest it understands
4717 # is C99. So handle it ourselves.
4720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C11 is supported by default" >&5
4721 $as_echo_n "checking whether C11 is supported by default... " >&6; }
4722 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4723 /* end confdefs.h. */
4725 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
4726 # error "C11 support not found"
4730 if ac_fn_c_try_compile
"$LINENO"; then :
4731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4732 $as_echo "yes" >&6; }
4735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4736 $as_echo "no" >&6; }
4737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -std=c11 support" >&5
4738 $as_echo_n "checking for -std=c11 support... " >&6; }
4741 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4742 /* end confdefs.h. */
4744 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
4745 # error "C11 support not found"
4749 if ac_fn_c_try_compile
"$LINENO"; then :
4751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4752 $as_echo "yes" >&6; }
4754 C_DIALECT
="-std=c11"
4757 as_fn_error $?
"C11 is required" "$LINENO" 5
4759 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4761 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4767 for ac_header
in $ac_header_list
4769 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4770 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4772 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
4773 cat >>confdefs.h
<<_ACEOF
4774 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4832 for ac_func
in $ac_func_list
4834 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4835 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
4836 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
4837 cat >>confdefs.h
<<_ACEOF
4838 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
4966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
4967 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
4968 if ${ac_cv_struct_tm+:} false
; then :
4969 $as_echo_n "(cached) " >&6
4971 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4972 /* end confdefs.h. */
4973 #include <sys/types.h>
4980 int *p = &tm.tm_sec;
4986 if ac_fn_c_try_compile
"$LINENO"; then :
4987 ac_cv_struct_tm
=time.h
4989 ac_cv_struct_tm
=sys
/time.h
4991 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
4994 $as_echo "$ac_cv_struct_tm" >&6; }
4995 if test $ac_cv_struct_tm = sys
/time.h
; then
4997 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
5001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
5002 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
5003 if ${ac_cv_type_uid_t+:} false
; then :
5004 $as_echo_n "(cached) " >&6
5006 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5007 /* end confdefs.h. */
5008 #include <sys/types.h>
5011 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5012 $EGREP "uid_t" >/dev
/null
2>&1; then :
5013 ac_cv_type_uid_t
=yes
5020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
5021 $as_echo "$ac_cv_type_uid_t" >&6; }
5022 if test $ac_cv_type_uid_t = no
; then
5024 $as_echo "#define uid_t int" >>confdefs.h
5027 $as_echo "#define gid_t int" >>confdefs.h
5033 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5034 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5039 macro_version
='2.2.7a'
5040 macro_revision
='1.3134'
5054 ltmain
="$ac_aux_dir/ltmain.sh"
5056 # Backslashify metacharacters that are still active within
5057 # double-quoted strings.
5058 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
5060 # Same as above, but do not quote variable references.
5061 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
5063 # Sed substitution to delay expansion of an escaped shell variable in a
5064 # double_quote_subst'ed string.
5065 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
5067 # Sed substitution to delay expansion of an escaped single quote.
5068 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
5070 # Sed substitution to avoid accidental globbing in evaled expressions
5071 no_glob_subst
='s/\*/\\\*/g'
5073 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5074 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5075 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5078 $as_echo_n "checking how to print strings... " >&6; }
5079 # Test print first, because it will be a builtin if present.
5080 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5081 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5083 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5086 # Use this function as a fallback that always works.
5087 func_fallback_echo ()
5089 eval 'cat <<_LTECHO_EOF
5093 ECHO='func_fallback_echo
'
5096 # func_echo_all arg...
5097 # Invoke $ECHO with all args, space-separated.
5104 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5105 $as_echo "printf" >&6; } ;;
5106 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5107 $as_echo "print -r" >&6; } ;;
5108 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5109 $as_echo "cat" >&6; } ;;
5125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5126 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5127 if ${ac_cv_path_SED+:} false; then :
5128 $as_echo_n "(cached) " >&6
5130 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5131 for ac_i in 1 2 3 4 5 6 7; do
5132 ac_script="$ac_script$as_nl$ac_script"
5134 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5135 { ac_script=; unset ac_script;}
5136 if test -z "$SED"; then
5137 ac_path_SED_found=false
5138 # Loop through the user's path and
test for each of PROGNAME-LIST
5139 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5143 test -z "$as_dir" && as_dir
=.
5144 for ac_prog
in sed gsed
; do
5145 for ac_exec_ext
in '' $ac_executable_extensions; do
5146 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
5147 as_fn_executable_p
"$ac_path_SED" ||
continue
5148 # Check for GNU ac_path_SED and select it if it is found.
5149 # Check for GNU $ac_path_SED
5150 case `"$ac_path_SED" --version 2>&1` in
5152 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
5155 $as_echo_n 0123456789 >"conftest.in"
5158 cat "conftest.in" "conftest.in" >"conftest.tmp"
5159 mv "conftest.tmp" "conftest.in"
5160 cp "conftest.in" "conftest.nl"
5161 $as_echo '' >> "conftest.nl"
5162 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5163 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5164 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5165 if test $ac_count -gt ${ac_path_SED_max-0}; then
5166 # Best one so far, save it but keep looking for a better one
5167 ac_cv_path_SED
="$ac_path_SED"
5168 ac_path_SED_max
=$ac_count
5170 # 10*(2^10) chars as input seems more than enough
5171 test $ac_count -gt 10 && break
5173 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5176 $ac_path_SED_found && break 3
5181 if test -z "$ac_cv_path_SED"; then
5182 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
5189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5190 $as_echo "$ac_cv_path_SED" >&6; }
5191 SED
="$ac_cv_path_SED"
5194 test -z "$SED" && SED
=sed
5195 Xsed
="$SED -e 1s/^X//"
5207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5208 $as_echo_n "checking for fgrep... " >&6; }
5209 if ${ac_cv_path_FGREP+:} false
; then :
5210 $as_echo_n "(cached) " >&6
5212 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
5213 then ac_cv_path_FGREP
="$GREP -F"
5215 if test -z "$FGREP"; then
5216 ac_path_FGREP_found
=false
5217 # Loop through the user's path and test for each of PROGNAME-LIST
5218 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5219 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5222 test -z "$as_dir" && as_dir
=.
5223 for ac_prog
in fgrep
; do
5224 for ac_exec_ext
in '' $ac_executable_extensions; do
5225 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
5226 as_fn_executable_p
"$ac_path_FGREP" ||
continue
5227 # Check for GNU ac_path_FGREP and select it if it is found.
5228 # Check for GNU $ac_path_FGREP
5229 case `"$ac_path_FGREP" --version 2>&1` in
5231 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
5234 $as_echo_n 0123456789 >"conftest.in"
5237 cat "conftest.in" "conftest.in" >"conftest.tmp"
5238 mv "conftest.tmp" "conftest.in"
5239 cp "conftest.in" "conftest.nl"
5240 $as_echo 'FGREP' >> "conftest.nl"
5241 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5242 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5243 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5244 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5245 # Best one so far, save it but keep looking for a better one
5246 ac_cv_path_FGREP
="$ac_path_FGREP"
5247 ac_path_FGREP_max
=$ac_count
5249 # 10*(2^10) chars as input seems more than enough
5250 test $ac_count -gt 10 && break
5252 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5255 $ac_path_FGREP_found && break 3
5260 if test -z "$ac_cv_path_FGREP"; then
5261 as_fn_error $?
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5264 ac_cv_path_FGREP
=$FGREP
5269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5270 $as_echo "$ac_cv_path_FGREP" >&6; }
5271 FGREP
="$ac_cv_path_FGREP"
5274 test -z "$GREP" && GREP
=grep
5294 # Check whether --with-gnu-ld was given.
5295 if test "${with_gnu_ld+set}" = set; then :
5296 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
5302 if test "$GCC" = yes; then
5303 # Check if gcc -print-prog-name=ld gives a path.
5304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5305 $as_echo_n "checking for ld used by $CC... " >&6; }
5308 # gcc leaves a trailing carriage return which upsets mingw
5309 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5311 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5314 # Accept absolute paths.
5316 re_direlt
='/[^/][^/]*/\.\./'
5317 # Canonicalize the pathname of ld
5318 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5319 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
5320 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5322 test -z "$LD" && LD
="$ac_prog"
5325 # If it fails, then pretend we aren't using GCC.
5329 # If it is relative, then search for the first ld in PATH.
5333 elif test "$with_gnu_ld" = yes; then
5334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5335 $as_echo_n "checking for GNU ld... " >&6; }
5337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5338 $as_echo_n "checking for non-GNU ld... " >&6; }
5340 if ${lt_cv_path_LD+:} false
; then :
5341 $as_echo_n "(cached) " >&6
5343 if test -z "$LD"; then
5344 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5345 for ac_dir
in $PATH; do
5347 test -z "$ac_dir" && ac_dir
=.
5348 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5349 lt_cv_path_LD
="$ac_dir/$ac_prog"
5350 # Check to see if the program is GNU ld. I'd rather use --version,
5351 # but apparently some variants of GNU ld only accept -v.
5352 # Break only if it was the GNU/non-GNU ld that we prefer.
5353 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5354 *GNU
* |
*'with BFD'*)
5355 test "$with_gnu_ld" != no
&& break
5358 test "$with_gnu_ld" != yes && break
5365 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
5370 if test -n "$LD"; then
5371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5372 $as_echo "$LD" >&6; }
5374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5375 $as_echo "no" >&6; }
5377 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
5378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5379 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5380 if ${lt_cv_prog_gnu_ld+:} false
; then :
5381 $as_echo_n "(cached) " >&6
5383 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5384 case `$LD -v 2>&1 </dev/null` in
5385 *GNU
* |
*'with BFD'*)
5386 lt_cv_prog_gnu_ld
=yes
5389 lt_cv_prog_gnu_ld
=no
5393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5394 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5395 with_gnu_ld
=$lt_cv_prog_gnu_ld
5405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5406 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5407 if ${lt_cv_path_NM+:} false
; then :
5408 $as_echo_n "(cached) " >&6
5410 if test -n "$NM"; then
5411 # Let the user override the test.
5414 lt_nm_to_check
="${ac_tool_prefix}nm"
5415 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5416 lt_nm_to_check
="$lt_nm_to_check nm"
5418 for lt_tmp_nm
in $lt_nm_to_check; do
5419 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5420 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
5422 test -z "$ac_dir" && ac_dir
=.
5423 tmp_nm
="$ac_dir/$lt_tmp_nm"
5424 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
5425 # Check to see if the nm accepts a BSD-compat flag.
5426 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5427 # nm: unknown option "B" ignored
5428 # Tru64's nm complains that /dev/null is an invalid object file
5429 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5430 */dev
/null
* |
*'Invalid file or object type'*)
5431 lt_cv_path_NM
="$tmp_nm -B"
5435 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5437 lt_cv_path_NM
="$tmp_nm -p"
5441 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5442 continue # so that we can try to find one that supports BSD flags
5451 : ${lt_cv_path_NM=no}
5454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5455 $as_echo "$lt_cv_path_NM" >&6; }
5456 if test "$lt_cv_path_NM" != "no"; then
5459 # Didn't find any BSD compatible name lister, look for dumpbin.
5460 if test -n "$DUMPBIN"; then :
5461 # Let the user override the test.
5463 if test -n "$ac_tool_prefix"; then
5464 for ac_prog
in dumpbin
"link -dump"
5466 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5467 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5469 $as_echo_n "checking for $ac_word... " >&6; }
5470 if ${ac_cv_prog_DUMPBIN+:} false
; then :
5471 $as_echo_n "(cached) " >&6
5473 if test -n "$DUMPBIN"; then
5474 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
5476 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5480 test -z "$as_dir" && as_dir
=.
5481 for ac_exec_ext
in '' $ac_executable_extensions; do
5482 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5483 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
5484 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5493 DUMPBIN
=$ac_cv_prog_DUMPBIN
5494 if test -n "$DUMPBIN"; then
5495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5496 $as_echo "$DUMPBIN" >&6; }
5498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5499 $as_echo "no" >&6; }
5503 test -n "$DUMPBIN" && break
5506 if test -z "$DUMPBIN"; then
5507 ac_ct_DUMPBIN
=$DUMPBIN
5508 for ac_prog
in dumpbin
"link -dump"
5510 # Extract the first word of "$ac_prog", so it can be a program name with args.
5511 set dummy
$ac_prog; ac_word
=$2
5512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5513 $as_echo_n "checking for $ac_word... " >&6; }
5514 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false
; then :
5515 $as_echo_n "(cached) " >&6
5517 if test -n "$ac_ct_DUMPBIN"; then
5518 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
5520 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5524 test -z "$as_dir" && as_dir
=.
5525 for ac_exec_ext
in '' $ac_executable_extensions; do
5526 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5527 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
5528 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5537 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
5538 if test -n "$ac_ct_DUMPBIN"; then
5539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5540 $as_echo "$ac_ct_DUMPBIN" >&6; }
5542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5543 $as_echo "no" >&6; }
5547 test -n "$ac_ct_DUMPBIN" && break
5550 if test "x$ac_ct_DUMPBIN" = x
; then
5553 case $cross_compiling:$ac_tool_warned in
5555 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5556 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5557 ac_tool_warned
=yes ;;
5559 DUMPBIN
=$ac_ct_DUMPBIN
5563 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5565 DUMPBIN
="$DUMPBIN -symbols"
5573 if test "$DUMPBIN" != ":"; then
5577 test -z "$NM" && NM
=nm
5584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5585 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5586 if ${lt_cv_nm_interface+:} false
; then :
5587 $as_echo_n "(cached) " >&6
5589 lt_cv_nm_interface
="BSD nm"
5590 echo "int some_variable = 0;" > conftest.
$ac_ext
5591 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5592 (eval "$ac_compile" 2>conftest.err
)
5593 cat conftest.err
>&5
5594 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5595 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
5596 cat conftest.err
>&5
5597 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5598 cat conftest.out
>&5
5599 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
5600 lt_cv_nm_interface
="MS dumpbin"
5604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5605 $as_echo "$lt_cv_nm_interface" >&6; }
5607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5608 $as_echo_n "checking whether ln -s works... " >&6; }
5610 if test "$LN_S" = "ln -s"; then
5611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5612 $as_echo "yes" >&6; }
5614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5615 $as_echo "no, using $LN_S" >&6; }
5618 # find the maximum length of command line arguments
5619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5620 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5621 if ${lt_cv_sys_max_cmd_len+:} false
; then :
5622 $as_echo_n "(cached) " >&6
5629 # On DJGPP, this test can blow up pretty badly due to problems in libc
5630 # (any single argument exceeding 2000 bytes causes a buffer overrun
5631 # during glob expansion). Even if it were fixed, the result of this
5632 # check would be larger than it should be.
5633 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5637 # Under GNU Hurd, this test is not required because there is
5638 # no limit to the length of command line arguments.
5639 # Libtool will interpret -1 as no limit whatsoever
5640 lt_cv_sys_max_cmd_len
=-1;
5643 cygwin
* | mingw
* | cegcc
*)
5644 # On Win9x/ME, this test blows up -- it succeeds, but takes
5645 # about 5 minutes as the teststring grows exponentially.
5646 # Worse, since 9x/ME are not pre-emptively multitasking,
5647 # you end up with a "frozen" computer, even though with patience
5648 # the test eventually succeeds (with a max line length of 256k).
5649 # Instead, let's just punt: use the minimum linelength reported by
5650 # all of the supported platforms: 8192 (on NT/2K/XP).
5651 lt_cv_sys_max_cmd_len
=8192;
5655 # On MiNT this can take a long time and run out of memory.
5656 lt_cv_sys_max_cmd_len
=8192;
5660 # On AmigaOS with pdksh, this test takes hours, literally.
5661 # So we just punt and use a minimum line length of 8192.
5662 lt_cv_sys_max_cmd_len
=8192;
5665 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5666 # This has been around since 386BSD, at least. Likely further.
5667 if test -x /sbin
/sysctl
; then
5668 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5669 elif test -x /usr
/sbin
/sysctl
; then
5670 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5672 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
5674 # And add a safety zone
5675 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5676 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5680 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5681 lt_cv_sys_max_cmd_len
=196608
5685 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5686 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5687 # nice to cause kernel panics so lets avoid the loop below.
5688 # First set a reasonable default.
5689 lt_cv_sys_max_cmd_len
=16384
5691 if test -x /sbin
/sysconfig
; then
5692 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5693 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
5698 lt_cv_sys_max_cmd_len
=102400
5700 sysv5
* | sco5v6
* | sysv4.2uw2
*)
5701 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5702 if test -n "$kargmax"; then
5703 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
5705 lt_cv_sys_max_cmd_len
=32768
5709 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
5710 if test -n "$lt_cv_sys_max_cmd_len"; then
5711 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5712 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5714 # Make teststring a little bigger before we do anything with it.
5715 # a 1K string should be a reasonable start.
5716 for i
in 1 2 3 4 5 6 7 8 ; do
5717 teststring
=$teststring$teststring
5719 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
5720 # If test is not a shell built-in, we'll probably end up computing a
5721 # maximum length that is only half of the actual maximum length, but
5723 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5724 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
5725 test $i != 17 # 1/2 MB should be enough
5728 teststring
=$teststring$teststring
5730 # Only check the string length outside the loop.
5731 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
5733 # Add a significant safety factor because C++ compilers can tack on
5734 # massive amounts of additional arguments before passing them to the
5735 # linker. It appears as though 1/2 is a usable value.
5736 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
5743 if test -n $lt_cv_sys_max_cmd_len ; then
5744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5745 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5748 $as_echo "none" >&6; }
5750 max_cmd_len
=$lt_cv_sys_max_cmd_len
5761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5762 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5763 # Try some XSI features
5766 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5768 && eval 'test $(( 1 + 1 )) -eq 2 \
5769 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5771 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
5772 $as_echo "$xsi_shell" >&6; }
5775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
5776 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
5778 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
5780 && lt_shell_append=yes
5781 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
5782 $as_echo "$lt_shell_append" >&6; }
5785 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5795 # test EBCDIC or ASCII
5796 case `echo X|tr X '\101'` in
5797 A) # ASCII based system
5798 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5799 lt_SP2NL='tr \040 \012'
5800 lt_NL2SP='tr \015\012 \040\040'
5802 *) # EBCDIC based system
5803 lt_SP2NL='tr \100 \n'
5804 lt_NL2SP='tr \r\n \100\100'
5816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
5817 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
5818 if ${lt_cv_ld_reload_flag+:} false; then :
5819 $as_echo_n "(cached
) " >&6
5821 lt_cv_ld_reload_flag='-r'
5823 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
5824 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5825 reload_flag=$lt_cv_ld_reload_flag
5826 case $reload_flag in
5828 *) reload_flag=" $reload_flag" ;;
5830 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5833 if test "$GCC" = yes; then
5834 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5836 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5849 if test -n "$ac_tool_prefix"; then
5850 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
5851 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5853 $as_echo_n "checking
for $ac_word...
" >&6; }
5854 if ${ac_cv_prog_OBJDUMP+:} false; then :
5855 $as_echo_n "(cached
) " >&6
5857 if test -n "$OBJDUMP"; then
5858 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5860 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5864 test -z "$as_dir" && as_dir=.
5865 for ac_exec_ext in '' $ac_executable_extensions; do
5866 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5867 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
5868 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5877 OBJDUMP=$ac_cv_prog_OBJDUMP
5878 if test -n "$OBJDUMP"; then
5879 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
5880 $as_echo "$OBJDUMP" >&6; }
5882 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5883 $as_echo "no
" >&6; }
5888 if test -z "$ac_cv_prog_OBJDUMP"; then
5889 ac_ct_OBJDUMP=$OBJDUMP
5890 # Extract the first word of "objdump
", so it can be a program name with args.
5891 set dummy objdump; ac_word=$2
5892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5893 $as_echo_n "checking
for $ac_word...
" >&6; }
5894 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5895 $as_echo_n "(cached
) " >&6
5897 if test -n "$ac_ct_OBJDUMP"; then
5898 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5900 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5904 test -z "$as_dir" && as_dir=.
5905 for ac_exec_ext in '' $ac_executable_extensions; do
5906 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5907 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
5908 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5917 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5918 if test -n "$ac_ct_OBJDUMP"; then
5919 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
5920 $as_echo "$ac_ct_OBJDUMP" >&6; }
5922 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5923 $as_echo "no
" >&6; }
5926 if test "x
$ac_ct_OBJDUMP" = x; then
5929 case $cross_compiling:$ac_tool_warned in
5931 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5932 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5933 ac_tool_warned=yes ;;
5935 OBJDUMP=$ac_ct_OBJDUMP
5938 OBJDUMP="$ac_cv_prog_OBJDUMP"
5941 test -z "$OBJDUMP" && OBJDUMP=objdump
5951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
5952 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
5953 if ${lt_cv_deplibs_check_method+:} false; then :
5954 $as_echo_n "(cached
) " >&6
5956 lt_cv_file_magic_cmd='$MAGIC_CMD'
5957 lt_cv_file_magic_test_file=
5958 lt_cv_deplibs_check_method='unknown'
5959 # Need to set the preceding variable on all platforms that support
5960 # interlibrary dependencies.
5961 # 'none' -- dependencies not supported.
5962 # `unknown' -- same as none, but documents that we really don't know.
5963 # 'pass_all' -- all dependencies passed with no checks.
5964 # 'test_compile' -- check by making test program.
5965 # 'file_magic [[regex]]' -- check by looking for files in library path
5966 # which responds to the $file_magic_cmd with a given extended regex.
5967 # If you have `file' or equivalent on your system and you're not sure
5968 # whether `pass_all' will *always* work, you probably want this one.
5972 lt_cv_deplibs_check_method=pass_all
5976 lt_cv_deplibs_check_method=pass_all
5980 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5981 lt_cv_file_magic_cmd='/usr/bin/file -L'
5982 lt_cv_file_magic_test_file=/shlib/libc.so
5986 # func_win32_libid is a shell function defined in ltmain.sh
5987 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5988 lt_cv_file_magic_cmd='func_win32_libid'
5992 # Base MSYS/MinGW do not provide the 'file' command needed by
5993 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5994 # unless we find 'file', for example because we are cross-compiling.
5995 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5996 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
5997 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5998 lt_cv_file_magic_cmd='func_win32_libid'
6000 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6001 lt_cv_file_magic_cmd='$OBJDUMP -f'
6006 # use the weaker test based on 'objdump'. See mingw*.
6007 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6008 lt_cv_file_magic_cmd='$OBJDUMP -f'
6011 darwin* | rhapsody*)
6012 lt_cv_deplibs_check_method=pass_all
6015 freebsd* | dragonfly*)
6016 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6019 # Not sure whether the presence of OpenBSD here was a mistake.
6020 # Let's accept both of them until this is cleared up.
6021 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6022 lt_cv_file_magic_cmd=/usr/bin/file
6023 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6027 lt_cv_deplibs_check_method=pass_all
6032 lt_cv_deplibs_check_method=pass_all
6036 lt_cv_deplibs_check_method=pass_all
6039 hpux10.20* | hpux11*)
6040 lt_cv_file_magic_cmd=/usr/bin/file
6043 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6044 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6047 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]'
6048 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6051 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6052 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6058 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6059 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6062 irix5* | irix6* | nonstopux*)
6064 *-32|*"-32 ") libmagic=32-bit;;
6065 *-n32|*"-n32 ") libmagic=N32;;
6066 *-64|*"-64 ") libmagic=64-bit;;
6067 *) libmagic=never-match;;
6069 lt_cv_deplibs_check_method=pass_all
6072 # This must be Linux ELF.
6073 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6074 lt_cv_deplibs_check_method=pass_all
6078 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6079 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6081 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6086 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6087 lt_cv_file_magic_cmd=/usr/bin/file
6088 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6092 lt_cv_deplibs_check_method=pass_all
6096 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
6097 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6099 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6103 osf3* | osf4* | osf5*)
6104 lt_cv_deplibs_check_method=pass_all
6108 lt_cv_deplibs_check_method=pass_all
6112 lt_cv_deplibs_check_method=pass_all
6115 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6116 lt_cv_deplibs_check_method=pass_all
6120 case $host_vendor in
6122 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]'
6123 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6126 lt_cv_deplibs_check_method=pass_all
6129 lt_cv_file_magic_cmd='/bin/file'
6130 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6133 lt_cv_file_magic_cmd='/bin/file'
6134 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
6135 lt_cv_file_magic_test_file=/lib/libc.so
6138 lt_cv_deplibs_check_method=pass_all
6141 lt_cv_deplibs_check_method=pass_all
6147 lt_cv_deplibs_check_method=pass_all
6152 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
6153 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6154 file_magic_cmd=$lt_cv_file_magic_cmd
6155 deplibs_check_method=$lt_cv_deplibs_check_method
6156 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6170 plugin_names="liblto_plugin.so liblto_plugin-0.dll cyglto_plugin-0.dll
"
6171 for plugin in $plugin_names; do
6172 plugin_so=`${CC} ${CFLAGS} --print-prog-name $plugin`
6173 if test x$plugin_so = x$plugin; then
6174 plugin_so=`${CC} ${CFLAGS} --print-file-name $plugin`
6176 if test x$plugin_so != x$plugin; then
6177 plugin_option="--plugin $plugin_so"
6182 if test -n "$ac_tool_prefix"; then
6183 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6184 set dummy ${ac_tool_prefix}ar; ac_word=$2
6185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6186 $as_echo_n "checking
for $ac_word...
" >&6; }
6187 if ${ac_cv_prog_AR+:} false; then :
6188 $as_echo_n "(cached
) " >&6
6190 if test -n "$AR"; then
6191 ac_cv_prog_AR="$AR" # Let the user override the test.
6193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6197 test -z "$as_dir" && as_dir=.
6198 for ac_exec_ext in '' $ac_executable_extensions; do
6199 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6200 ac_cv_prog_AR="${ac_tool_prefix}ar"
6201 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6211 if test -n "$AR"; then
6212 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
6213 $as_echo "$AR" >&6; }
6215 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6216 $as_echo "no
" >&6; }
6221 if test -z "$ac_cv_prog_AR"; then
6223 # Extract the first word of "ar", so it can be a program name with args.
6224 set dummy ar; ac_word=$2
6225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6226 $as_echo_n "checking
for $ac_word...
" >&6; }
6227 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6228 $as_echo_n "(cached
) " >&6
6230 if test -n "$ac_ct_AR"; then
6231 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6233 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6237 test -z "$as_dir" && as_dir=.
6238 for ac_exec_ext in '' $ac_executable_extensions; do
6239 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6240 ac_cv_prog_ac_ct_AR="ar"
6241 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6250 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6251 if test -n "$ac_ct_AR"; then
6252 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
6253 $as_echo "$ac_ct_AR" >&6; }
6255 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6256 $as_echo "no
" >&6; }
6259 if test "x
$ac_ct_AR" = x; then
6262 case $cross_compiling:$ac_tool_warned in
6264 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6265 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6266 ac_tool_warned=yes ;;
6274 test -z "$AR" && AR=ar
6275 if test -n "$plugin_option"; then
6276 if $AR --help 2>&1 | grep -q "\
--plugin"; then
6278 $AR $plugin_option rc conftest.a conftest.c
6279 if test "$?
" != 0; then
6280 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: Failed
: $AR $plugin_option rc
" >&5
6281 $as_echo "$as_me: WARNING
: Failed
: $AR $plugin_option rc
" >&2;}
6283 AR="$AR $plugin_option"
6288 test -z "$AR_FLAGS" && AR_FLAGS=cru
6300 if test -n "$ac_tool_prefix"; then
6301 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6302 set dummy ${ac_tool_prefix}strip; ac_word=$2
6303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6304 $as_echo_n "checking
for $ac_word...
" >&6; }
6305 if ${ac_cv_prog_STRIP+:} false; then :
6306 $as_echo_n "(cached
) " >&6
6308 if test -n "$STRIP"; then
6309 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6315 test -z "$as_dir" && as_dir=.
6316 for ac_exec_ext in '' $ac_executable_extensions; do
6317 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6318 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6319 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6328 STRIP=$ac_cv_prog_STRIP
6329 if test -n "$STRIP"; then
6330 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
6331 $as_echo "$STRIP" >&6; }
6333 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6334 $as_echo "no
" >&6; }
6339 if test -z "$ac_cv_prog_STRIP"; then
6341 # Extract the first word of "strip
", so it can be a program name with args.
6342 set dummy strip; ac_word=$2
6343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6344 $as_echo_n "checking
for $ac_word...
" >&6; }
6345 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6346 $as_echo_n "(cached
) " >&6
6348 if test -n "$ac_ct_STRIP"; then
6349 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6351 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6355 test -z "$as_dir" && as_dir=.
6356 for ac_exec_ext in '' $ac_executable_extensions; do
6357 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6358 ac_cv_prog_ac_ct_STRIP="strip
"
6359 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6368 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6369 if test -n "$ac_ct_STRIP"; then
6370 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
6371 $as_echo "$ac_ct_STRIP" >&6; }
6373 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6374 $as_echo "no
" >&6; }
6377 if test "x
$ac_ct_STRIP" = x; then
6380 case $cross_compiling:$ac_tool_warned in
6382 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6383 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6384 ac_tool_warned=yes ;;
6389 STRIP="$ac_cv_prog_STRIP"
6392 test -z "$STRIP" && STRIP=:
6399 if test -n "$ac_tool_prefix"; then
6400 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6401 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6403 $as_echo_n "checking
for $ac_word...
" >&6; }
6404 if ${ac_cv_prog_RANLIB+:} false; then :
6405 $as_echo_n "(cached
) " >&6
6407 if test -n "$RANLIB"; then
6408 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6410 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6414 test -z "$as_dir" && as_dir=.
6415 for ac_exec_ext in '' $ac_executable_extensions; do
6416 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6417 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
6418 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6427 RANLIB=$ac_cv_prog_RANLIB
6428 if test -n "$RANLIB"; then
6429 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
6430 $as_echo "$RANLIB" >&6; }
6432 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6433 $as_echo "no
" >&6; }
6438 if test -z "$ac_cv_prog_RANLIB"; then
6439 ac_ct_RANLIB=$RANLIB
6440 # Extract the first word of "ranlib
", so it can be a program name with args.
6441 set dummy ranlib; ac_word=$2
6442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6443 $as_echo_n "checking
for $ac_word...
" >&6; }
6444 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6445 $as_echo_n "(cached
) " >&6
6447 if test -n "$ac_ct_RANLIB"; then
6448 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6450 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6454 test -z "$as_dir" && as_dir=.
6455 for ac_exec_ext in '' $ac_executable_extensions; do
6456 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6457 ac_cv_prog_ac_ct_RANLIB="ranlib
"
6458 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6467 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6468 if test -n "$ac_ct_RANLIB"; then
6469 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
6470 $as_echo "$ac_ct_RANLIB" >&6; }
6472 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6473 $as_echo "no
" >&6; }
6476 if test "x
$ac_ct_RANLIB" = x; then
6479 case $cross_compiling:$ac_tool_warned in
6481 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6482 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6483 ac_tool_warned=yes ;;
6485 RANLIB=$ac_ct_RANLIB
6488 RANLIB="$ac_cv_prog_RANLIB"
6491 test -z "$RANLIB" && RANLIB=:
6492 if test -n "$plugin_option" && test "$RANLIB" != ":"; then
6493 if $RANLIB --help 2>&1 | grep -q "\
--plugin"; then
6494 RANLIB="$RANLIB $plugin_option"
6503 # Determine commands to create old-style static archives.
6504 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6505 old_postinstall_cmds='chmod 644 $oldlib'
6506 old_postuninstall_cmds=
6508 if test -n "$RANLIB"; then
6511 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
6514 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
6517 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
6522 lock_old_archive_extraction=yes ;;
6524 lock_old_archive_extraction=no ;;
6547 for ac_prog in gawk mawk nawk awk
6549 # Extract the first word of "$ac_prog", so it can be a program name with args.
6550 set dummy $ac_prog; ac_word=$2
6551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6552 $as_echo_n "checking
for $ac_word...
" >&6; }
6553 if ${ac_cv_prog_AWK+:} false; then :
6554 $as_echo_n "(cached
) " >&6
6556 if test -n "$AWK"; then
6557 ac_cv_prog_AWK="$AWK" # Let the user override the test.
6559 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6563 test -z "$as_dir" && as_dir=.
6564 for ac_exec_ext in '' $ac_executable_extensions; do
6565 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6566 ac_cv_prog_AWK="$ac_prog"
6567 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6577 if test -n "$AWK"; then
6578 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AWK" >&5
6579 $as_echo "$AWK" >&6; }
6581 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6582 $as_echo "no
" >&6; }
6586 test -n "$AWK" && break
6607 # If no C compiler was specified, use CC.
6610 # If no C compiler flags were specified, use CFLAGS.
6611 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6613 # Allow CC to be a program name with arguments.
6617 # Check for command to grab the raw symbol name followed by C symbol from nm.
6618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
6619 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
6620 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6621 $as_echo_n "(cached
) " >&6
6624 # These are sane defaults that work on at least a few old systems.
6625 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6627 # Character class describing NM global symbol codes.
6628 symcode='[BCDEGRST]'
6630 # Regexp to match symbols that can be accessed directly from C.
6631 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6633 # Define system-specific variables.
6638 cygwin* | mingw* | pw32* | cegcc*)
6639 symcode='[ABCDGISTW]'
6642 if test "$host_cpu" = ia64; then
6643 symcode='[ABCDEGRST]'
6647 symcode='[BCDEGRST]'
6650 symcode='[BCDEGQRST]'
6661 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6669 # If we're using GNU nm, then use its standard symbol codes.
6670 case `$NM -V 2>&1` in
6671 *GNU* | *'with BFD'*)
6672 symcode='[ABCDGIRSTW]' ;;
6675 # Transform an extracted symbol line into a proper C declaration.
6676 # Some systems (esp. on ia64) link data and code symbols differently,
6677 # so use this general approach.
6678 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6680 # Transform an extracted symbol line into symbol name and symbol address
6681 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6682 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'"
6684 # Handle CRLF in mingw tool chain
6688 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6692 # Try without a prefix underscore, then with it.
6693 for ac_symprfx in "" "_
"; do
6695 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6696 symxfrm="\\1 $ac_symprfx\\2 \\2"
6698 # Write the raw and C identifiers.
6699 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6700 # Fake it for dumpbin and say T for any non-static function
6701 # and D for any global variable.
6702 # Also find C++ and __fastcall symbols from MSVC++,
6703 # which start with @ or ?.
6704 lt_cv_sys_global_symbol_pipe="$AWK '"\
6705 " {last_section=section; section=\$ 3};"\
6706 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6707 " \$ 0!~/External *\|/{next};"\
6708 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6709 " {if(hide[section]) next};"\
6710 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6711 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6712 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6713 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6714 " ' prfx
=^
$ac_symprfx"
6716 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6719 # Check to see that the pipe works correctly.
6723 cat > conftest.$ac_ext <<_LT_EOF
6728 void nm_test_func(void);
6729 void nm_test_func(void){}
6733 int main(){nm_test_var='a';nm_test_func();return(0);}
6736 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6737 (eval $ac_compile) 2>&5
6739 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6740 test $ac_status = 0; }; then
6741 # Now try to grab the symbols.
6743 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
6744 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6746 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6747 test $ac_status = 0; } && test -s "$nlist"; then
6748 # Try sorting and uniquifying the output.
6749 if sort "$nlist" | uniq > "$nlist"T; then
6750 mv -f "$nlist"T "$nlist"
6755 # Make sure that we snagged all the symbols we need.
6756 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6757 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6758 cat <<_LT_EOF > conftest.$ac_ext
6764 # Now generate the symbol file.
6765 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6767 cat <<_LT_EOF >> conftest.$ac_ext
6769 /* The mapping between symbol names and symbols. */
6774 lt__PROGRAM__LTX_preloaded_symbols[] =
6776 { "@PROGRAM@
", (void *) 0 },
6778 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6779 cat <<\_LT_EOF >> conftest.$ac_ext
6783 /* This works around a problem in FreeBSD linker */
6784 #ifdef FREEBSD_WORKAROUND
6785 static const void *lt_preloaded_setup() {
6786 return lt__PROGRAM__LTX_preloaded_symbols;
6794 # Now try linking the two files.
6795 mv conftest.$ac_objext conftstm.$ac_objext
6796 lt_save_LIBS="$LIBS"
6797 lt_save_CFLAGS="$CFLAGS"
6798 LIBS="conftstm.
$ac_objext"
6799 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6800 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6801 (eval $ac_link) 2>&5
6803 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6804 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6807 LIBS="$lt_save_LIBS"
6808 CFLAGS="$lt_save_CFLAGS"
6810 echo "cannot
find nm_test_func
in $nlist" >&5
6813 echo "cannot
find nm_test_var
in $nlist" >&5
6816 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
6819 echo "$progname: failed program was
:" >&5
6820 cat conftest.$ac_ext >&5
6822 rm -rf conftest* conftst*
6824 # Do not use the global_symbol_pipe unless it works.
6825 if test "$pipe_works" = yes; then
6828 lt_cv_sys_global_symbol_pipe=
6834 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6835 lt_cv_sys_global_symbol_to_cdecl=
6837 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6838 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
6839 $as_echo "failed
" >&6; }
6841 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
6842 $as_echo "ok
" >&6; }
6866 # Check whether --enable-libtool-lock was given.
6867 if test "${enable_libtool_lock+set}" = set; then :
6868 enableval=$enable_libtool_lock;
6871 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
6873 # Some flags need to be propagated to the compiler or linker for good
6877 # Find out which ABI we are using.
6878 echo 'int i;' > conftest.$ac_ext
6879 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6880 (eval $ac_compile) 2>&5
6882 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6883 test $ac_status = 0; }; then
6884 case `/usr/bin/file conftest.$ac_objext` in
6896 # Find out which ABI we are using.
6897 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
6898 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6899 (eval $ac_compile) 2>&5
6901 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6902 test $ac_status = 0; }; then
6903 if test "$lt_cv_prog_gnu_ld" = yes; then
6904 case `/usr/bin/file conftest.$ac_objext` in
6906 LD="${LD-ld} -melf32bsmip"
6909 LD="${LD-ld} -melf32bmipn32"
6912 LD="${LD-ld} -melf64bmip"
6916 case `/usr/bin/file conftest.$ac_objext` in
6932 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
6933 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6934 # Find out which ABI we are using.
6935 echo 'int i;' > conftest.$ac_ext
6936 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6937 (eval $ac_compile) 2>&5
6939 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6940 test $ac_status = 0; }; then
6941 case `/usr/bin/file conftest.o` in
6944 x86_64-*kfreebsd*-gnu)
6945 LD="${LD-ld} -m elf_i386_fbsd
"
6948 case `/usr/bin/file conftest.o` in
6950 LD="${LD-ld} -m elf32_x86_64
"
6953 LD="${LD-ld} -m elf_i386
"
6957 powerpc64le-*linux*)
6958 LD="${LD-ld} -m elf32lppclinux
"
6961 LD="${LD-ld} -m elf32ppclinux
"
6964 LD="${LD-ld} -m elf_s390
"
6967 LD="${LD-ld} -m elf32_sparc
"
6973 x86_64-*kfreebsd*-gnu)
6974 LD="${LD-ld} -m elf_x86_64_fbsd
"
6977 LD="${LD-ld} -m elf_x86_64
"
6980 LD="${LD-ld} -m elf64lppc
"
6983 LD="${LD-ld} -m elf64ppc
"
6985 s390*-*linux*|s390*-*tpf*)
6986 LD="${LD-ld} -m elf64_s390
"
6989 LD="${LD-ld} -m elf64_sparc
"
6999 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7000 SAVE_CFLAGS="$CFLAGS"
7001 CFLAGS="$CFLAGS -belf"
7002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
7003 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
7004 if ${lt_cv_cc_needs_belf+:} false; then :
7005 $as_echo_n "(cached
) " >&6
7008 ac_cpp='$CPP $CPPFLAGS'
7009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7014 /* end confdefs.h. */
7024 if ac_fn_c_try_link "$LINENO"; then :
7025 lt_cv_cc_needs_belf=yes
7027 lt_cv_cc_needs_belf=no
7029 rm -f core conftest.err conftest.$ac_objext \
7030 conftest$ac_exeext conftest.$ac_ext
7032 ac_cpp='$CPP $CPPFLAGS'
7033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7038 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
7039 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7040 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7041 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7042 CFLAGS="$SAVE_CFLAGS"
7046 # Find out which ABI we are using.
7047 echo 'int i;' > conftest.$ac_ext
7048 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7049 (eval $ac_compile) 2>&5
7051 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7052 test $ac_status = 0; }; then
7053 case `/usr/bin/file conftest.o` in
7055 case $lt_cv_prog_gnu_ld in
7056 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
7058 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7070 need_locks="$enable_libtool_lock"
7074 rhapsody* | darwin*)
7075 if test -n "$ac_tool_prefix"; then
7076 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
7077 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7079 $as_echo_n "checking
for $ac_word...
" >&6; }
7080 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7081 $as_echo_n "(cached
) " >&6
7083 if test -n "$DSYMUTIL"; then
7084 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7086 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7090 test -z "$as_dir" && as_dir=.
7091 for ac_exec_ext in '' $ac_executable_extensions; do
7092 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7093 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
7094 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7103 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7104 if test -n "$DSYMUTIL"; then
7105 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
7106 $as_echo "$DSYMUTIL" >&6; }
7108 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7109 $as_echo "no
" >&6; }
7114 if test -z "$ac_cv_prog_DSYMUTIL"; then
7115 ac_ct_DSYMUTIL=$DSYMUTIL
7116 # Extract the first word of "dsymutil
", so it can be a program name with args.
7117 set dummy dsymutil; ac_word=$2
7118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7119 $as_echo_n "checking
for $ac_word...
" >&6; }
7120 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7121 $as_echo_n "(cached
) " >&6
7123 if test -n "$ac_ct_DSYMUTIL"; then
7124 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7126 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7130 test -z "$as_dir" && as_dir=.
7131 for ac_exec_ext in '' $ac_executable_extensions; do
7132 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7133 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
7134 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7143 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7144 if test -n "$ac_ct_DSYMUTIL"; then
7145 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
7146 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7148 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7149 $as_echo "no
" >&6; }
7152 if test "x
$ac_ct_DSYMUTIL" = x; then
7155 case $cross_compiling:$ac_tool_warned in
7157 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7158 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7159 ac_tool_warned=yes ;;
7161 DSYMUTIL=$ac_ct_DSYMUTIL
7164 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7167 if test -n "$ac_tool_prefix"; then
7168 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
7169 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7171 $as_echo_n "checking
for $ac_word...
" >&6; }
7172 if ${ac_cv_prog_NMEDIT+:} false; then :
7173 $as_echo_n "(cached
) " >&6
7175 if test -n "$NMEDIT"; then
7176 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7182 test -z "$as_dir" && as_dir=.
7183 for ac_exec_ext in '' $ac_executable_extensions; do
7184 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7185 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
7186 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7195 NMEDIT=$ac_cv_prog_NMEDIT
7196 if test -n "$NMEDIT"; then
7197 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
7198 $as_echo "$NMEDIT" >&6; }
7200 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7201 $as_echo "no
" >&6; }
7206 if test -z "$ac_cv_prog_NMEDIT"; then
7207 ac_ct_NMEDIT=$NMEDIT
7208 # Extract the first word of "nmedit
", so it can be a program name with args.
7209 set dummy nmedit; ac_word=$2
7210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7211 $as_echo_n "checking
for $ac_word...
" >&6; }
7212 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7213 $as_echo_n "(cached
) " >&6
7215 if test -n "$ac_ct_NMEDIT"; then
7216 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7222 test -z "$as_dir" && as_dir=.
7223 for ac_exec_ext in '' $ac_executable_extensions; do
7224 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7225 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
7226 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7235 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7236 if test -n "$ac_ct_NMEDIT"; then
7237 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
7238 $as_echo "$ac_ct_NMEDIT" >&6; }
7240 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7241 $as_echo "no
" >&6; }
7244 if test "x
$ac_ct_NMEDIT" = x; then
7247 case $cross_compiling:$ac_tool_warned in
7249 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7250 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7251 ac_tool_warned=yes ;;
7253 NMEDIT=$ac_ct_NMEDIT
7256 NMEDIT="$ac_cv_prog_NMEDIT"
7259 if test -n "$ac_tool_prefix"; then
7260 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
7261 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7263 $as_echo_n "checking
for $ac_word...
" >&6; }
7264 if ${ac_cv_prog_LIPO+:} false; then :
7265 $as_echo_n "(cached
) " >&6
7267 if test -n "$LIPO"; then
7268 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7270 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7274 test -z "$as_dir" && as_dir=.
7275 for ac_exec_ext in '' $ac_executable_extensions; do
7276 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7277 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
7278 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7287 LIPO=$ac_cv_prog_LIPO
7288 if test -n "$LIPO"; then
7289 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
7290 $as_echo "$LIPO" >&6; }
7292 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7293 $as_echo "no
" >&6; }
7298 if test -z "$ac_cv_prog_LIPO"; then
7300 # Extract the first word of "lipo
", so it can be a program name with args.
7301 set dummy lipo; ac_word=$2
7302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7303 $as_echo_n "checking
for $ac_word...
" >&6; }
7304 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7305 $as_echo_n "(cached
) " >&6
7307 if test -n "$ac_ct_LIPO"; then
7308 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7310 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7314 test -z "$as_dir" && as_dir=.
7315 for ac_exec_ext in '' $ac_executable_extensions; do
7316 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7317 ac_cv_prog_ac_ct_LIPO="lipo
"
7318 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7327 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7328 if test -n "$ac_ct_LIPO"; then
7329 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
7330 $as_echo "$ac_ct_LIPO" >&6; }
7332 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7333 $as_echo "no
" >&6; }
7336 if test "x
$ac_ct_LIPO" = x; then
7339 case $cross_compiling:$ac_tool_warned in
7341 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7342 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7343 ac_tool_warned=yes ;;
7348 LIPO="$ac_cv_prog_LIPO"
7351 if test -n "$ac_tool_prefix"; then
7352 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
7353 set dummy ${ac_tool_prefix}otool; ac_word=$2
7354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7355 $as_echo_n "checking
for $ac_word...
" >&6; }
7356 if ${ac_cv_prog_OTOOL+:} false; then :
7357 $as_echo_n "(cached
) " >&6
7359 if test -n "$OTOOL"; then
7360 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7366 test -z "$as_dir" && as_dir=.
7367 for ac_exec_ext in '' $ac_executable_extensions; do
7368 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7369 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
7370 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7379 OTOOL=$ac_cv_prog_OTOOL
7380 if test -n "$OTOOL"; then
7381 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
7382 $as_echo "$OTOOL" >&6; }
7384 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7385 $as_echo "no
" >&6; }
7390 if test -z "$ac_cv_prog_OTOOL"; then
7392 # Extract the first word of "otool
", so it can be a program name with args.
7393 set dummy otool; ac_word=$2
7394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7395 $as_echo_n "checking
for $ac_word...
" >&6; }
7396 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7397 $as_echo_n "(cached
) " >&6
7399 if test -n "$ac_ct_OTOOL"; then
7400 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7406 test -z "$as_dir" && as_dir=.
7407 for ac_exec_ext in '' $ac_executable_extensions; do
7408 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7409 ac_cv_prog_ac_ct_OTOOL="otool
"
7410 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7419 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7420 if test -n "$ac_ct_OTOOL"; then
7421 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
7422 $as_echo "$ac_ct_OTOOL" >&6; }
7424 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7425 $as_echo "no
" >&6; }
7428 if test "x
$ac_ct_OTOOL" = x; then
7431 case $cross_compiling:$ac_tool_warned in
7433 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7434 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7435 ac_tool_warned=yes ;;
7440 OTOOL="$ac_cv_prog_OTOOL"
7443 if test -n "$ac_tool_prefix"; then
7444 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
7445 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7447 $as_echo_n "checking
for $ac_word...
" >&6; }
7448 if ${ac_cv_prog_OTOOL64+:} false; then :
7449 $as_echo_n "(cached
) " >&6
7451 if test -n "$OTOOL64"; then
7452 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7454 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7458 test -z "$as_dir" && as_dir=.
7459 for ac_exec_ext in '' $ac_executable_extensions; do
7460 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7461 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
7462 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7471 OTOOL64=$ac_cv_prog_OTOOL64
7472 if test -n "$OTOOL64"; then
7473 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
7474 $as_echo "$OTOOL64" >&6; }
7476 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7477 $as_echo "no
" >&6; }
7482 if test -z "$ac_cv_prog_OTOOL64"; then
7483 ac_ct_OTOOL64=$OTOOL64
7484 # Extract the first word of "otool64
", so it can be a program name with args.
7485 set dummy otool64; ac_word=$2
7486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7487 $as_echo_n "checking
for $ac_word...
" >&6; }
7488 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7489 $as_echo_n "(cached
) " >&6
7491 if test -n "$ac_ct_OTOOL64"; then
7492 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7494 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7498 test -z "$as_dir" && as_dir=.
7499 for ac_exec_ext in '' $ac_executable_extensions; do
7500 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7501 ac_cv_prog_ac_ct_OTOOL64="otool64
"
7502 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7511 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7512 if test -n "$ac_ct_OTOOL64"; then
7513 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
7514 $as_echo "$ac_ct_OTOOL64" >&6; }
7516 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7517 $as_echo "no
" >&6; }
7520 if test "x
$ac_ct_OTOOL64" = x; then
7523 case $cross_compiling:$ac_tool_warned in
7525 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7526 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7527 ac_tool_warned=yes ;;
7529 OTOOL64=$ac_ct_OTOOL64
7532 OTOOL64="$ac_cv_prog_OTOOL64"
7561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
7562 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
7563 if ${lt_cv_apple_cc_single_mod+:} false; then :
7564 $as_echo_n "(cached
) " >&6
7566 lt_cv_apple_cc_single_mod=no
7567 if test -z "${LT_MULTI_MODULE}"; then
7568 # By default we will add the -single_module flag. You can override
7569 # by either setting the environment variable LT_MULTI_MODULE
7570 # non-empty at configure time, or by adding -multi_module to the
7572 rm -rf libconftest.dylib*
7573 echo "int foo
(void
){return 1;}" > conftest.c
7574 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7575 -dynamiclib -Wl,-single_module conftest.c
" >&5
7576 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7577 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7579 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7580 lt_cv_apple_cc_single_mod=yes
7582 cat conftest.err >&5
7584 rm -rf libconftest.dylib*
7588 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
7589 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
7591 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
7592 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7593 $as_echo_n "(cached
) " >&6
7595 lt_cv_ld_exported_symbols_list=no
7596 save_LDFLAGS=$LDFLAGS
7597 echo "_main
" > conftest.sym
7598 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
7599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7600 /* end confdefs.h. */
7610 if ac_fn_c_try_link "$LINENO"; then :
7611 lt_cv_ld_exported_symbols_list=yes
7613 lt_cv_ld_exported_symbols_list=no
7615 rm -f core conftest.err conftest.$ac_objext \
7616 conftest$ac_exeext conftest.$ac_ext
7617 LDFLAGS="$save_LDFLAGS"
7620 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
7621 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
7623 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
7624 if ${lt_cv_ld_force_load+:} false; then :
7625 $as_echo_n "(cached
) " >&6
7627 lt_cv_ld_force_load=no
7628 cat > conftest.c << _LT_EOF
7629 int forced_loaded() { return 2;}
7631 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
7632 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7633 echo "$AR cru libconftest.a conftest.o
" >&5
7634 $AR cru libconftest.a conftest.o 2>&5
7635 cat > conftest.c << _LT_EOF
7636 int main() { return 0;}
7638 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
7639 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7641 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7642 lt_cv_ld_force_load=yes
7644 cat conftest.err >&5
7646 rm -f conftest.err libconftest.a conftest conftest.c
7647 rm -rf conftest.dSYM
7650 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
7651 $as_echo "$lt_cv_ld_force_load" >&6; }
7653 rhapsody* | darwin1.[012])
7654 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7656 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7657 darwin*) # darwin 5.x on
7658 # if running on 10.5 or later, the deployment target defaults
7659 # to the OS version, if on x86, and 10.4, the deployment
7660 # target defaults to 10.4. Don't you love it?
7661 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7662 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7663 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7665 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7667 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7671 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7672 _lt_dar_single_mod='$single_module'
7674 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7675 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7677 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7679 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
7680 _lt_dsymutil='~$DSYMUTIL $lib || :'
7687 for ac_header in dlfcn.h
7689 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h
" "ac_cv_header_dlfcn_h
" "$ac_includes_default
7691 if test "x
$ac_cv_header_dlfcn_h" = xyes; then :
7692 cat >>confdefs.h <<_ACEOF
7693 #define HAVE_DLFCN_H 1
7702 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
7703 as_ac_Header=`$as_echo "ac_cv_header_dirent_
$ac_hdr" | $as_tr_sh`
7704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_hdr that defines DIR
" >&5
7705 $as_echo_n "checking
for $ac_hdr that defines DIR...
" >&6; }
7706 if eval \${$as_ac_Header+:} false; then :
7707 $as_echo_n "(cached
) " >&6
7709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7710 /* end confdefs.h. */
7711 #include <sys/types.h>
7723 if ac_fn_c_try_compile "$LINENO"; then :
7724 eval "$as_ac_Header=yes"
7726 eval "$as_ac_Header=no
"
7728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7730 eval ac_res=\$$as_ac_Header
7731 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_res" >&5
7732 $as_echo "$ac_res" >&6; }
7733 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7734 cat >>confdefs.h <<_ACEOF
7735 #define `$as_echo "HAVE_
$ac_hdr" | $as_tr_cpp` 1
7738 ac_header_dirent=$ac_hdr; break
7742 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
7743 if test $ac_header_dirent = dirent.h; then
7744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for library containing opendir
" >&5
7745 $as_echo_n "checking
for library containing opendir...
" >&6; }
7746 if ${ac_cv_search_opendir+:} false; then :
7747 $as_echo_n "(cached
) " >&6
7749 ac_func_search_save_LIBS=$LIBS
7750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7751 /* end confdefs.h. */
7753 /* Override any GCC internal prototype to avoid an error.
7754 Use char because int might match the return type of a GCC
7755 builtin and then its argument prototype would still apply. */
7768 for ac_lib in '' dir; do
7769 if test -z "$ac_lib"; then
7770 ac_res="none required
"
7773 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
7775 if ac_fn_c_try_link "$LINENO"; then :
7776 ac_cv_search_opendir=$ac_res
7778 rm -f core conftest.err conftest.$ac_objext \
7780 if ${ac_cv_search_opendir+:} false; then :
7784 if ${ac_cv_search_opendir+:} false; then :
7787 ac_cv_search_opendir=no
7790 LIBS=$ac_func_search_save_LIBS
7792 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_search_opendir" >&5
7793 $as_echo "$ac_cv_search_opendir" >&6; }
7794 ac_res=$ac_cv_search_opendir
7795 if test "$ac_res" != no; then :
7796 test "$ac_res" = "none required
" || LIBS="$ac_res $LIBS"
7801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for library containing opendir
" >&5
7802 $as_echo_n "checking
for library containing opendir...
" >&6; }
7803 if ${ac_cv_search_opendir+:} false; then :
7804 $as_echo_n "(cached
) " >&6
7806 ac_func_search_save_LIBS=$LIBS
7807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7808 /* end confdefs.h. */
7810 /* Override any GCC internal prototype to avoid an error.
7811 Use char because int might match the return type of a GCC
7812 builtin and then its argument prototype would still apply. */
7825 for ac_lib in '' x; do
7826 if test -z "$ac_lib"; then
7827 ac_res="none required
"
7830 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
7832 if ac_fn_c_try_link "$LINENO"; then :
7833 ac_cv_search_opendir=$ac_res
7835 rm -f core conftest.err conftest.$ac_objext \
7837 if ${ac_cv_search_opendir+:} false; then :
7841 if ${ac_cv_search_opendir+:} false; then :
7844 ac_cv_search_opendir=no
7847 LIBS=$ac_func_search_save_LIBS
7849 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_search_opendir" >&5
7850 $as_echo "$ac_cv_search_opendir" >&6; }
7851 ac_res=$ac_cv_search_opendir
7852 if test "$ac_res" != no; then :
7853 test "$ac_res" = "none required
" || LIBS="$ac_res $LIBS"
7862 ac_fn_c_check_member "$LINENO" "struct stat
" "st_blksize
" "ac_cv_member_struct_stat_st_blksize
" "$ac_includes_default"
7863 if test "x
$ac_cv_member_struct_stat_st_blksize" = xyes; then :
7865 cat >>confdefs.h <<_ACEOF
7866 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
7870 $as_echo "#define HAVE_ST_BLKSIZE 1" >>confdefs.h
7875 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
7876 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
7878 cat >>confdefs.h
<<_ACEOF
7879 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
7883 $as_echo "#define HAVE_ST_BLOCKS 1" >>confdefs.h
7886 case " $LIBOBJS " in
7887 *" fileblocks.$ac_objext "* ) ;;
7888 *) LIBOBJS
="$LIBOBJS fileblocks.$ac_objext"
7895 ac_fn_c_check_member
"$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
7896 if test "x$ac_cv_member_struct_stat_st_rdev" = xyes
; then :
7898 cat >>confdefs.h
<<_ACEOF
7899 #define HAVE_STRUCT_STAT_ST_RDEV 1
7903 $as_echo "#define HAVE_ST_RDEV 1" >>confdefs.h
7908 ac_fn_c_check_member
"$LINENO" "struct tm" "tm_zone" "ac_cv_member_struct_tm_tm_zone" "#include <sys/types.h>
7909 #include <$ac_cv_struct_tm>
7912 if test "x$ac_cv_member_struct_tm_tm_zone" = xyes
; then :
7914 cat >>confdefs.h
<<_ACEOF
7915 #define HAVE_STRUCT_TM_TM_ZONE 1
7921 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
7923 $as_echo "#define HAVE_TM_ZONE 1" >>confdefs.h
7926 ac_fn_c_check_decl
"$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include <time.h>
7928 if test "x$ac_cv_have_decl_tzname" = xyes
; then :
7934 cat >>confdefs.h
<<_ACEOF
7935 #define HAVE_DECL_TZNAME $ac_have_decl
7938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5
7939 $as_echo_n "checking for tzname... " >&6; }
7940 if ${ac_cv_var_tzname+:} false
; then :
7941 $as_echo_n "(cached) " >&6
7943 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7944 /* end confdefs.h. */
7946 #if !HAVE_DECL_TZNAME
7947 extern char *tzname[];
7953 return tzname[0][0];
7958 if ac_fn_c_try_link
"$LINENO"; then :
7959 ac_cv_var_tzname
=yes
7963 rm -f core conftest.err conftest.
$ac_objext \
7964 conftest
$ac_exeext conftest.
$ac_ext
7966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_tzname" >&5
7967 $as_echo "$ac_cv_var_tzname" >&6; }
7968 if test $ac_cv_var_tzname = yes; then
7970 $as_echo "#define HAVE_TZNAME 1" >>confdefs.h
7976 ac_fn_c_check_member
"$LINENO" "struct stat" "st_dev" "ac_cv_member_struct_stat_st_dev" "#ifdef HAVE_SYS_TYPES_H
7977 #include <sys/types.h>
7979 #ifdef HAVE_SYS_STAT_H
7980 #include <sys/stat.h>
7983 if test "x$ac_cv_member_struct_stat_st_dev" = xyes
; then :
7985 cat >>confdefs.h
<<_ACEOF
7986 #define HAVE_STRUCT_STAT_ST_DEV 1
7991 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ino" "ac_cv_member_struct_stat_st_ino" "#ifdef HAVE_SYS_TYPES_H
7992 #include <sys/types.h>
7994 #ifdef HAVE_SYS_STAT_H
7995 #include <sys/stat.h>
7998 if test "x$ac_cv_member_struct_stat_st_ino" = xyes
; then :
8000 cat >>confdefs.h
<<_ACEOF
8001 #define HAVE_STRUCT_STAT_ST_INO 1
8006 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mode" "ac_cv_member_struct_stat_st_mode" "#ifdef HAVE_SYS_TYPES_H
8007 #include <sys/types.h>
8009 #ifdef HAVE_SYS_STAT_H
8010 #include <sys/stat.h>
8013 if test "x$ac_cv_member_struct_stat_st_mode" = xyes
; then :
8015 cat >>confdefs.h
<<_ACEOF
8016 #define HAVE_STRUCT_STAT_ST_MODE 1
8021 ac_fn_c_check_member
"$LINENO" "struct stat" "st_nlink" "ac_cv_member_struct_stat_st_nlink" "#ifdef HAVE_SYS_TYPES_H
8022 #include <sys/types.h>
8024 #ifdef HAVE_SYS_STAT_H
8025 #include <sys/stat.h>
8028 if test "x$ac_cv_member_struct_stat_st_nlink" = xyes
; then :
8030 cat >>confdefs.h
<<_ACEOF
8031 #define HAVE_STRUCT_STAT_ST_NLINK 1
8036 ac_fn_c_check_member
"$LINENO" "struct stat" "st_uid" "ac_cv_member_struct_stat_st_uid" "#ifdef HAVE_SYS_TYPES_H
8037 #include <sys/types.h>
8039 #ifdef HAVE_SYS_STAT_H
8040 #include <sys/stat.h>
8043 if test "x$ac_cv_member_struct_stat_st_uid" = xyes
; then :
8045 cat >>confdefs.h
<<_ACEOF
8046 #define HAVE_STRUCT_STAT_ST_UID 1
8051 ac_fn_c_check_member
"$LINENO" "struct stat" "st_gid" "ac_cv_member_struct_stat_st_gid" "#ifdef HAVE_SYS_TYPES_H
8052 #include <sys/types.h>
8054 #ifdef HAVE_SYS_STAT_H
8055 #include <sys/stat.h>
8058 if test "x$ac_cv_member_struct_stat_st_gid" = xyes
; then :
8060 cat >>confdefs.h
<<_ACEOF
8061 #define HAVE_STRUCT_STAT_ST_GID 1
8066 ac_fn_c_check_member
"$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "#ifdef HAVE_SYS_TYPES_H
8067 #include <sys/types.h>
8069 #ifdef HAVE_SYS_STAT_H
8070 #include <sys/stat.h>
8073 if test "x$ac_cv_member_struct_stat_st_rdev" = xyes
; then :
8075 cat >>confdefs.h
<<_ACEOF
8076 #define HAVE_STRUCT_STAT_ST_RDEV 1
8081 ac_fn_c_check_member
"$LINENO" "struct stat" "st_size" "ac_cv_member_struct_stat_st_size" "#ifdef HAVE_SYS_TYPES_H
8082 #include <sys/types.h>
8084 #ifdef HAVE_SYS_STAT_H
8085 #include <sys/stat.h>
8088 if test "x$ac_cv_member_struct_stat_st_size" = xyes
; then :
8090 cat >>confdefs.h
<<_ACEOF
8091 #define HAVE_STRUCT_STAT_ST_SIZE 1
8096 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "#ifdef HAVE_SYS_TYPES_H
8097 #include <sys/types.h>
8099 #ifdef HAVE_SYS_STAT_H
8100 #include <sys/stat.h>
8103 if test "x$ac_cv_member_struct_stat_st_blksize" = xyes
; then :
8105 cat >>confdefs.h
<<_ACEOF
8106 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
8111 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "#ifdef HAVE_SYS_TYPES_H
8112 #include <sys/types.h>
8114 #ifdef HAVE_SYS_STAT_H
8115 #include <sys/stat.h>
8118 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
8120 cat >>confdefs.h
<<_ACEOF
8121 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
8126 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atime" "ac_cv_member_struct_stat_st_atime" "#ifdef HAVE_SYS_TYPES_H
8127 #include <sys/types.h>
8129 #ifdef HAVE_SYS_STAT_H
8130 #include <sys/stat.h>
8133 if test "x$ac_cv_member_struct_stat_st_atime" = xyes
; then :
8135 cat >>confdefs.h
<<_ACEOF
8136 #define HAVE_STRUCT_STAT_ST_ATIME 1
8141 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtime" "ac_cv_member_struct_stat_st_mtime" "#ifdef HAVE_SYS_TYPES_H
8142 #include <sys/types.h>
8144 #ifdef HAVE_SYS_STAT_H
8145 #include <sys/stat.h>
8148 if test "x$ac_cv_member_struct_stat_st_mtime" = xyes
; then :
8150 cat >>confdefs.h
<<_ACEOF
8151 #define HAVE_STRUCT_STAT_ST_MTIME 1
8156 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctime" "ac_cv_member_struct_stat_st_ctime" "#ifdef HAVE_SYS_TYPES_H
8157 #include <sys/types.h>
8159 #ifdef HAVE_SYS_STAT_H
8160 #include <sys/stat.h>
8163 if test "x$ac_cv_member_struct_stat_st_ctime" = xyes
; then :
8165 cat >>confdefs.h
<<_ACEOF
8166 #define HAVE_STRUCT_STAT_ST_CTIME 1
8173 ac_fn_c_check_type
"$LINENO" "__int128" "ac_cv_type___int128" "$ac_includes_default"
8174 if test "x$ac_cv_type___int128" = xyes
; then :
8176 cat >>confdefs.h
<<_ACEOF
8177 #define HAVE___INT128 1
8183 ac_fn_c_check_type
"$LINENO" "socklen_t" "ac_cv_type_socklen_t" "#include <sys/types.h>
8184 #include <sys/socket.h>
8187 if test "x$ac_cv_type_socklen_t" = xyes
; then :
8189 cat >>confdefs.h
<<_ACEOF
8190 #define HAVE_SOCKLEN_T 1
8197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking type of array argument to getgroups" >&5
8198 $as_echo_n "checking type of array argument to getgroups... " >&6; }
8199 if ${ac_cv_type_getgroups+:} false
; then :
8200 $as_echo_n "(cached) " >&6
8202 if test "$cross_compiling" = yes; then :
8203 ac_cv_type_getgroups
=cross
8205 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8206 /* end confdefs.h. */
8207 /* Thanks to Mike Rendell for this test. */
8208 $ac_includes_default
8211 #define MAX(x, y) ((x) > (y) ? (x) : (y))
8218 union { gid_t gval; long int lval; } val;
8221 for (i = 0; i < NGID; i++)
8222 gidset[i] = val.gval;
8223 n = getgroups (sizeof (gidset) / MAX (sizeof (int), sizeof (gid_t)) - 1,
8225 /* Exit non-zero if getgroups seems to require an array of ints. This
8226 happens when gid_t is short int but getgroups modifies an array
8228 return n > 0 && gidset[n] != val.gval;
8231 if ac_fn_c_try_run
"$LINENO"; then :
8232 ac_cv_type_getgroups
=gid_t
8234 ac_cv_type_getgroups
=int
8236 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
8237 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
8240 if test $ac_cv_type_getgroups = cross
; then
8241 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8242 /* end confdefs.h. */
8246 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8247 $EGREP "getgroups.*int.*gid_t" >/dev
/null
2>&1; then :
8248 ac_cv_type_getgroups
=gid_t
8250 ac_cv_type_getgroups
=int
8256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_getgroups" >&5
8257 $as_echo "$ac_cv_type_getgroups" >&6; }
8259 cat >>confdefs.h
<<_ACEOF
8260 #define GETGROUPS_T $ac_cv_type_getgroups
8264 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
8265 if test "x$ac_cv_type_mode_t" = xyes
; then :
8269 cat >>confdefs.h
<<_ACEOF
8275 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
8276 if test "x$ac_cv_type_off_t" = xyes
; then :
8280 cat >>confdefs.h
<<_ACEOF
8281 #define off_t long int
8286 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
8287 if test "x$ac_cv_type_pid_t" = xyes
; then :
8291 cat >>confdefs.h
<<_ACEOF
8297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
8298 $as_echo_n "checking return type of signal handlers... " >&6; }
8299 if ${ac_cv_type_signal+:} false
; then :
8300 $as_echo_n "(cached) " >&6
8302 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8303 /* end confdefs.h. */
8304 #include <sys/types.h>
8310 return *(signal (0, 0)) (0) == 1;
8315 if ac_fn_c_try_compile
"$LINENO"; then :
8316 ac_cv_type_signal
=int
8318 ac_cv_type_signal
=void
8320 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
8323 $as_echo "$ac_cv_type_signal" >&6; }
8325 cat >>confdefs.h
<<_ACEOF
8326 #define RETSIGTYPE $ac_cv_type_signal
8330 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
8331 if test "x$ac_cv_type_size_t" = xyes
; then :
8335 cat >>confdefs.h
<<_ACEOF
8336 #define size_t unsigned int
8341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
8342 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
8343 if ${ac_cv_type_uid_t+:} false
; then :
8344 $as_echo_n "(cached) " >&6
8346 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8347 /* end confdefs.h. */
8348 #include <sys/types.h>
8351 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8352 $EGREP "uid_t" >/dev
/null
2>&1; then :
8353 ac_cv_type_uid_t
=yes
8360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
8361 $as_echo "$ac_cv_type_uid_t" >&6; }
8362 if test $ac_cv_type_uid_t = no
; then
8364 $as_echo "#define uid_t int" >>confdefs.h
8367 $as_echo "#define gid_t int" >>confdefs.h
8373 # If we haven't got the data from the intl directory,
8374 # assume NLS is disabled.
8383 if test -f ..
/intl
/config.intl
; then
8384 . ..
/intl
/config.intl
8386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
8387 $as_echo_n "checking whether NLS is requested... " >&6; }
8388 if test x
"$USE_NLS" != xyes
; then
8389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8390 $as_echo "no" >&6; }
8392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8393 $as_echo "yes" >&6; }
8395 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
8398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
8399 $as_echo_n "checking for catalogs to be installed... " >&6; }
8400 # Look for .po and .gmo files in the source directory.
8403 for cat in $srcdir/po
/*.gmo
$srcdir/po
/*.po
; do
8404 # If there aren't any .gmo files the shell will give us the
8405 # literal string "../path/to/srcdir/po/*.gmo" which has to be
8407 case "$cat" in *\
**)
8410 # The quadruple backslash is collapsed to a double backslash
8411 # by the backticks, then collapsed again by the double quotes,
8412 # leaving us with one backslash in the sed expression (right
8413 # before the dot that mustn't act as a wildcard).
8414 cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
8415 lang
=`echo $cat | sed -e "s!\\\\.gmo!!"`
8416 # The user is allowed to set LINGUAS to a list of languages to
8417 # install catalogs for. If it's empty that means "all of them."
8418 if test "x$LINGUAS" = x
; then
8419 CATALOGS
="$CATALOGS $cat"
8420 XLINGUAS
="$XLINGUAS $lang"
8422 case "$LINGUAS" in *$lang*)
8423 CATALOGS
="$CATALOGS $cat"
8424 XLINGUAS
="$XLINGUAS $lang"
8430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
8431 $as_echo "$LINGUAS" >&6; }
8445 # Use the system's zlib library.
8446 zlibdir
="-L\$(top_builddir)/../zlib"
8447 zlibinc
="-I\$(top_srcdir)/../zlib"
8449 # Check whether --with-system-zlib was given.
8450 if test "${with_system_zlib+set}" = set; then :
8451 withval
=$with_system_zlib; if test x
$with_system_zlib = xyes
; then
8464 for ac_header
in dlfcn.h
8466 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8468 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
8469 cat >>confdefs.h
<<_ACEOF
8470 #define HAVE_DLFCN_H 1
8477 for ac_header
in windows.h
8479 ac_fn_c_check_header_compile
"$LINENO" "windows.h" "ac_cv_header_windows_h" "$ac_includes_default
8481 if test "x$ac_cv_header_windows_h" = xyes
; then :
8482 cat >>confdefs.h
<<_ACEOF
8483 #define HAVE_WINDOWS_H 1
8491 # Check whether --enable-plugins was given.
8492 if test "${enable_plugins+set}" = set; then :
8493 enableval
=$enable_plugins; case "${enableval}" in
8496 if test "$maybe_plugins" != "yes" ; then
8497 as_fn_error $?
"Building with plugin support requires a host that supports dlopen." "$LINENO" 5
8501 plugins
=$maybe_plugins
8505 if test "$plugins" = "yes"; then
8506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlsym" >&5
8507 $as_echo_n "checking for library containing dlsym... " >&6; }
8508 if ${ac_cv_search_dlsym+:} false
; then :
8509 $as_echo_n "(cached) " >&6
8511 ac_func_search_save_LIBS
=$LIBS
8512 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8513 /* end confdefs.h. */
8515 /* Override any GCC internal prototype to avoid an error.
8516 Use char because int might match the return type of a GCC
8517 builtin and then its argument prototype would still apply. */
8530 for ac_lib
in '' dl
; do
8531 if test -z "$ac_lib"; then
8532 ac_res
="none required"
8535 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
8537 if ac_fn_c_try_link
"$LINENO"; then :
8538 ac_cv_search_dlsym
=$ac_res
8540 rm -f core conftest.err conftest.
$ac_objext \
8542 if ${ac_cv_search_dlsym+:} false
; then :
8546 if ${ac_cv_search_dlsym+:} false
; then :
8549 ac_cv_search_dlsym
=no
8552 LIBS
=$ac_func_search_save_LIBS
8554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlsym" >&5
8555 $as_echo "$ac_cv_search_dlsym" >&6; }
8556 ac_res
=$ac_cv_search_dlsym
8557 if test "$ac_res" != no
; then :
8558 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
8564 if test "$plugins" = yes; then
8585 # Check whether --enable-shared was given.
8586 if test "${enable_shared+set}" = set; then :
8587 enableval
=$enable_shared; p
=${PACKAGE-default}
8589 yes) enable_shared
=yes ;;
8590 no
) enable_shared
=no
;;
8593 # Look at the argument we got. We use all the common list separators.
8594 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8595 for pkg
in $enableval; do
8597 if test "X$pkg" = "X$p"; then
8616 # Check whether --enable-static was given.
8617 if test "${enable_static+set}" = set; then :
8618 enableval
=$enable_static; p
=${PACKAGE-default}
8620 yes) enable_static
=yes ;;
8621 no
) enable_static
=no
;;
8624 # Look at the argument we got. We use all the common list separators.
8625 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8626 for pkg
in $enableval; do
8628 if test "X$pkg" = "X$p"; then
8648 # Check whether --with-pic was given.
8649 if test "${with_pic+set}" = set; then :
8650 withval
=$with_pic; pic_mode
="$withval"
8656 test -z "$pic_mode" && pic_mode
=default
8664 # Check whether --enable-fast-install was given.
8665 if test "${enable_fast_install+set}" = set; then :
8666 enableval
=$enable_fast_install; p
=${PACKAGE-default}
8668 yes) enable_fast_install
=yes ;;
8669 no
) enable_fast_install
=no
;;
8671 enable_fast_install
=no
8672 # Look at the argument we got. We use all the common list separators.
8673 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8674 for pkg
in $enableval; do
8676 if test "X$pkg" = "X$p"; then
8677 enable_fast_install
=yes
8684 enable_fast_install
=yes
8697 # This can be used to rebuild libtool when needed
8698 LIBTOOL_DEPS
="$ltmain"
8700 # Always use our own libtool.
8701 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
8728 test -z "$LN_S" && LN_S
="ln -s"
8743 if test -n "${ZSH_VERSION+set}" ; then
8744 setopt NO_GLOB_SUBST
8747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8748 $as_echo_n "checking for objdir... " >&6; }
8749 if ${lt_cv_objdir+:} false
; then :
8750 $as_echo_n "(cached) " >&6
8752 rm -f .libs
2>/dev
/null
8753 mkdir .libs
2>/dev
/null
8754 if test -d .libs
; then
8757 # MS-DOS does not allow filenames that begin with a dot.
8760 rmdir .libs
2>/dev
/null
8762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8763 $as_echo "$lt_cv_objdir" >&6; }
8764 objdir
=$lt_cv_objdir
8770 cat >>confdefs.h
<<_ACEOF
8771 #define LT_OBJDIR "$lt_cv_objdir/"
8779 # AIX sometimes has problems with the GCC collect2 program. For some
8780 # reason, if we set the COLLECT_NAMES environment variable, the problems
8781 # vanish in a puff of smoke.
8782 if test "X${COLLECT_NAMES+set}" != Xset
; then
8784 export COLLECT_NAMES
8791 can_build_shared
=yes
8793 # All known linkers require a `.a' archive for static linking (except MSVC,
8794 # which needs '.lib').
8797 with_gnu_ld
="$lt_cv_prog_gnu_ld"
8800 old_CFLAGS
="$CFLAGS"
8802 # Set sane defaults for various variables
8803 test -z "$CC" && CC
=cc
8804 test -z "$LTCC" && LTCC
=$CC
8805 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
8806 test -z "$LD" && LD
=ld
8807 test -z "$ac_objext" && ac_objext
=o
8809 for cc_temp
in $compiler""; do
8811 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
8812 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
8817 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8820 # Only perform the check for file, if the check method requires it
8821 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
8822 case $deplibs_check_method in
8824 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8826 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8827 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
8828 $as_echo_n "(cached) " >&6
8832 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8835 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8836 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8837 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8838 for ac_dir
in $ac_dummy; do
8840 test -z "$ac_dir" && ac_dir
=.
8841 if test -f $ac_dir/${ac_tool_prefix}file; then
8842 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
8843 if test -n "$file_magic_test_file"; then
8844 case $deplibs_check_method in
8846 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8847 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8848 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8849 $EGREP "$file_magic_regex" > /dev
/null
; then
8854 *** Warning: the command libtool uses to detect shared libraries,
8855 *** $file_magic_cmd, produces output that libtool cannot recognize.
8856 *** The result is that libtool may fail to recognize shared libraries
8857 *** as such. This will affect the creation of libtool libraries that
8858 *** depend on shared libraries, but programs linked with such libtool
8859 *** libraries will work regardless of this problem. Nevertheless, you
8860 *** may want to report the problem to your system manager and/or to
8861 *** bug-libtool@gnu.org
8871 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8876 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8877 if test -n "$MAGIC_CMD"; then
8878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8879 $as_echo "$MAGIC_CMD" >&6; }
8881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8882 $as_echo "no" >&6; }
8889 if test -z "$lt_cv_path_MAGIC_CMD"; then
8890 if test -n "$ac_tool_prefix"; then
8891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8892 $as_echo_n "checking for file... " >&6; }
8893 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
8894 $as_echo_n "(cached) " >&6
8898 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8901 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8902 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8903 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8904 for ac_dir
in $ac_dummy; do
8906 test -z "$ac_dir" && ac_dir
=.
8907 if test -f $ac_dir/file; then
8908 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
8909 if test -n "$file_magic_test_file"; then
8910 case $deplibs_check_method in
8912 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8913 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8914 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8915 $EGREP "$file_magic_regex" > /dev
/null
; then
8920 *** Warning: the command libtool uses to detect shared libraries,
8921 *** $file_magic_cmd, produces output that libtool cannot recognize.
8922 *** The result is that libtool may fail to recognize shared libraries
8923 *** as such. This will affect the creation of libtool libraries that
8924 *** depend on shared libraries, but programs linked with such libtool
8925 *** libraries will work regardless of this problem. Nevertheless, you
8926 *** may want to report the problem to your system manager and/or to
8927 *** bug-libtool@gnu.org
8937 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8942 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8943 if test -n "$MAGIC_CMD"; then
8944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8945 $as_echo "$MAGIC_CMD" >&6; }
8947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8948 $as_echo "no" >&6; }
8961 # Use C for the default configuration in the libtool script
8965 ac_cpp
='$CPP $CPPFLAGS'
8966 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8967 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8968 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8971 # Source file extension for C test sources.
8974 # Object file extension for compiled C test sources.
8978 # Code to be used in simple compile tests
8979 lt_simple_compile_test_code
="int some_variable = 0;"
8981 # Code to be used in simple link tests
8982 lt_simple_link_test_code
='int main(){return(0);}'
8990 # If no C compiler was specified, use CC.
8993 # If no C compiler flags were specified, use CFLAGS.
8994 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8996 # Allow CC to be a program name with arguments.
8999 # Save the default compiler, since it gets overwritten when the other
9000 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9001 compiler_DEFAULT
=$CC
9003 # save warnings/boilerplate of simple test code
9004 ac_outfile
=conftest.
$ac_objext
9005 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
9006 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
9007 _lt_compiler_boilerplate
=`cat conftest.err`
9010 ac_outfile
=conftest.
$ac_objext
9011 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
9012 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
9013 _lt_linker_boilerplate
=`cat conftest.err`
9018 ## There is no encapsulation within the following macros, do not change
9019 ## the running order or otherwise move them around unless you know exactly
9020 ## what you are doing...
9021 if test -n "$compiler"; then
9023 lt_prog_compiler_no_builtin_flag
=
9025 if test "$GCC" = yes; then
9026 case $cc_basename in
9028 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
9030 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
9033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9034 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9035 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
9036 $as_echo_n "(cached) " >&6
9038 lt_cv_prog_compiler_rtti_exceptions
=no
9039 ac_outfile
=conftest.
$ac_objext
9040 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9041 lt_compiler_flag
="-fno-rtti -fno-exceptions"
9042 # Insert the option either (1) after the last *FLAGS variable, or
9043 # (2) before a word containing "conftest.", or (3) at the end.
9044 # Note that $ac_compile itself does not contain backslashes and begins
9045 # with a dollar sign (not a hyphen), so the echo should work correctly.
9046 # The option is referenced via a variable to avoid confusing sed.
9047 lt_compile
=`echo "$ac_compile" | $SED \
9048 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9049 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9050 -e 's:$: $lt_compiler_flag:'`
9051 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9052 (eval "$lt_compile" 2>conftest.err
)
9054 cat conftest.err
>&5
9055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9056 if (exit $ac_status) && test -s "$ac_outfile"; then
9057 # The compiler can only warn and ignore the option if not recognized
9058 # So say no if there are warnings other than the usual output.
9059 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
9060 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9061 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9062 lt_cv_prog_compiler_rtti_exceptions
=yes
9068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9069 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9071 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
9072 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9084 lt_prog_compiler_wl
=
9085 lt_prog_compiler_pic
=
9086 lt_prog_compiler_static
=
9088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9089 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9091 if test "$GCC" = yes; then
9092 lt_prog_compiler_wl
='-Wl,'
9093 lt_prog_compiler_static
='-static'
9097 # All AIX code is PIC.
9098 if test "$host_cpu" = ia64
; then
9099 # AIX 5 now supports IA64 processor
9100 lt_prog_compiler_static
='-Bstatic'
9102 lt_prog_compiler_pic
='-fPIC'
9108 # see comment about AmigaOS4 .so support
9109 lt_prog_compiler_pic
='-fPIC'
9112 # FIXME: we need at least 68020 code to build shared libraries, but
9113 # adding the `-m68020' flag to GCC prevents building anything better,
9115 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
9120 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
9121 # PIC is the default for these OSes.
9124 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9125 # This hack is so that the source file can tell whether it is being
9126 # built for inclusion in a dll (and should export symbols for example).
9127 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9128 # (--disable-auto-import) libraries
9129 lt_prog_compiler_pic
='-DDLL_EXPORT'
9132 darwin
* | rhapsody
*)
9133 # PIC is the default on this platform
9134 # Common symbols not allowed in MH_DYLIB files
9135 lt_prog_compiler_pic
='-fno-common'
9139 # PIC is the default for Haiku.
9140 # The "-static" flag exists, but is broken.
9141 lt_prog_compiler_static
=
9145 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9146 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9147 # sets the default TLS model and affects inlining.
9153 lt_prog_compiler_pic
='-fPIC'
9159 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9160 # Instead, we relocate shared libraries at runtime.
9164 # Just because we use GCC doesn't mean we suddenly get shared libraries
9165 # on systems that don't support them.
9166 lt_prog_compiler_can_build_shared
=no
9171 # QNX uses GNU C++, but need to define -shared option too, otherwise
9173 lt_prog_compiler_pic
='-fPIC -shared'
9177 if test -d /usr
/nec
; then
9178 lt_prog_compiler_pic
=-Kconform_pic
9183 lt_prog_compiler_pic
='-fPIC'
9187 case $cc_basename in
9188 nvcc
*) # Cuda Compiler Driver 2.2
9189 lt_prog_compiler_wl
='-Xlinker '
9190 lt_prog_compiler_pic
='-Xcompiler -fPIC'
9194 # PORTME Check for flag to pass linker flags through the system compiler.
9197 lt_prog_compiler_wl
='-Wl,'
9198 if test "$host_cpu" = ia64
; then
9199 # AIX 5 now supports IA64 processor
9200 lt_prog_compiler_static
='-Bstatic'
9202 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
9206 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9207 # This hack is so that the source file can tell whether it is being
9208 # built for inclusion in a dll (and should export symbols for example).
9209 lt_prog_compiler_pic
='-DDLL_EXPORT'
9212 hpux9
* | hpux10
* | hpux11
*)
9213 lt_prog_compiler_wl
='-Wl,'
9214 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9221 lt_prog_compiler_pic
='+Z'
9224 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9225 lt_prog_compiler_static
='${wl}-a ${wl}archive'
9228 irix5
* | irix6
* | nonstopux
*)
9229 lt_prog_compiler_wl
='-Wl,'
9230 # PIC (with -KPIC) is the default.
9231 lt_prog_compiler_static
='-non_shared'
9234 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9235 case $cc_basename in
9236 # old Intel for x86_64 which still supported -KPIC.
9238 lt_prog_compiler_wl
='-Wl,'
9239 lt_prog_compiler_pic
='-KPIC'
9240 lt_prog_compiler_static
='-static'
9242 # icc used to be incompatible with GCC.
9243 # ICC 10 doesn't accept -KPIC any more.
9245 lt_prog_compiler_wl
='-Wl,'
9246 lt_prog_compiler_pic
='-fPIC'
9247 lt_prog_compiler_static
='-static'
9249 # Lahey Fortran 8.1.
9251 lt_prog_compiler_wl
='-Wl,'
9252 lt_prog_compiler_pic
='--shared'
9253 lt_prog_compiler_static
='--static'
9255 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9256 # Portland Group compilers (*not* the Pentium gcc compiler,
9257 # which looks to be a dead project)
9258 lt_prog_compiler_wl
='-Wl,'
9259 lt_prog_compiler_pic
='-fpic'
9260 lt_prog_compiler_static
='-Bstatic'
9263 lt_prog_compiler_wl
='-Wl,'
9264 # All Alpha code is PIC.
9265 lt_prog_compiler_static
='-non_shared'
9267 xl
* | bgxl
* | bgf
* | mpixl
*)
9268 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9269 lt_prog_compiler_wl
='-Wl,'
9270 lt_prog_compiler_pic
='-qpic'
9271 lt_prog_compiler_static
='-qstaticlink'
9274 case `$CC -V 2>&1 | sed 5q` in
9275 *Sun\ F
* |
*Sun
*Fortran
*)
9276 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9277 lt_prog_compiler_pic
='-KPIC'
9278 lt_prog_compiler_static
='-Bstatic'
9279 lt_prog_compiler_wl
=''
9283 lt_prog_compiler_pic
='-KPIC'
9284 lt_prog_compiler_static
='-Bstatic'
9285 lt_prog_compiler_wl
='-Wl,'
9293 lt_prog_compiler_pic
='-KPIC'
9294 lt_prog_compiler_static
='-Bstatic'
9298 # QNX uses GNU C++, but need to define -shared option too, otherwise
9300 lt_prog_compiler_pic
='-fPIC -shared'
9303 osf3
* | osf4
* | osf5
*)
9304 lt_prog_compiler_wl
='-Wl,'
9305 # All OSF/1 code is PIC.
9306 lt_prog_compiler_static
='-non_shared'
9310 lt_prog_compiler_static
='-non_shared'
9314 lt_prog_compiler_pic
='-KPIC'
9315 lt_prog_compiler_static
='-Bstatic'
9316 case $cc_basename in
9318 lt_prog_compiler_wl
='-Qoption ld ';;
9320 lt_prog_compiler_wl
='-Wl,';;
9325 lt_prog_compiler_wl
='-Qoption ld '
9326 lt_prog_compiler_pic
='-PIC'
9327 lt_prog_compiler_static
='-Bstatic'
9330 sysv4 | sysv4.2uw2
* | sysv4.3
*)
9331 lt_prog_compiler_wl
='-Wl,'
9332 lt_prog_compiler_pic
='-KPIC'
9333 lt_prog_compiler_static
='-Bstatic'
9337 if test -d /usr
/nec
;then
9338 lt_prog_compiler_pic
='-Kconform_pic'
9339 lt_prog_compiler_static
='-Bstatic'
9343 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
9344 lt_prog_compiler_wl
='-Wl,'
9345 lt_prog_compiler_pic
='-KPIC'
9346 lt_prog_compiler_static
='-Bstatic'
9350 lt_prog_compiler_wl
='-Wl,'
9351 lt_prog_compiler_can_build_shared
=no
9355 lt_prog_compiler_pic
='-pic'
9356 lt_prog_compiler_static
='-Bstatic'
9360 lt_prog_compiler_can_build_shared
=no
9366 # For platforms which do not support PIC, -DPIC is meaningless:
9368 lt_prog_compiler_pic
=
9371 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
9374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9375 $as_echo "$lt_prog_compiler_pic" >&6; }
9383 # Check to make sure the PIC flag actually works.
9385 if test -n "$lt_prog_compiler_pic"; then
9386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9387 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9388 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
9389 $as_echo_n "(cached) " >&6
9391 lt_cv_prog_compiler_pic_works
=no
9392 ac_outfile
=conftest.
$ac_objext
9393 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9394 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
9395 # Insert the option either (1) after the last *FLAGS variable, or
9396 # (2) before a word containing "conftest.", or (3) at the end.
9397 # Note that $ac_compile itself does not contain backslashes and begins
9398 # with a dollar sign (not a hyphen), so the echo should work correctly.
9399 # The option is referenced via a variable to avoid confusing sed.
9400 lt_compile
=`echo "$ac_compile" | $SED \
9401 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9402 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9403 -e 's:$: $lt_compiler_flag:'`
9404 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9405 (eval "$lt_compile" 2>conftest.err
)
9407 cat conftest.err
>&5
9408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9409 if (exit $ac_status) && test -s "$ac_outfile"; then
9410 # The compiler can only warn and ignore the option if not recognized
9411 # So say no if there are warnings other than the usual output.
9412 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
9413 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9414 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9415 lt_cv_prog_compiler_pic_works
=yes
9421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9422 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9424 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
9425 case $lt_prog_compiler_pic in
9427 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
9430 lt_prog_compiler_pic
=
9431 lt_prog_compiler_can_build_shared
=no
9442 # Check to make sure the static flag actually works.
9444 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
9445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9446 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9447 if ${lt_cv_prog_compiler_static_works+:} false
; then :
9448 $as_echo_n "(cached) " >&6
9450 lt_cv_prog_compiler_static_works
=no
9451 save_LDFLAGS
="$LDFLAGS"
9452 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
9453 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9454 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9455 # The linker can only warn and ignore the option if not recognized
9456 # So say no if there are warnings
9457 if test -s conftest.err
; then
9458 # Append any errors to the config.log.
9459 cat conftest.err
1>&5
9460 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9461 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9462 if diff conftest.exp conftest.er2
>/dev
/null
; then
9463 lt_cv_prog_compiler_static_works
=yes
9466 lt_cv_prog_compiler_static_works
=yes
9470 LDFLAGS
="$save_LDFLAGS"
9473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9474 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9476 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
9479 lt_prog_compiler_static
=
9488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9489 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9490 if ${lt_cv_prog_compiler_c_o+:} false
; then :
9491 $as_echo_n "(cached) " >&6
9493 lt_cv_prog_compiler_c_o
=no
9494 $RM -r conftest
2>/dev
/null
9498 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9500 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9501 # Insert the option either (1) after the last *FLAGS variable, or
9502 # (2) before a word containing "conftest.", or (3) at the end.
9503 # Note that $ac_compile itself does not contain backslashes and begins
9504 # with a dollar sign (not a hyphen), so the echo should work correctly.
9505 lt_compile
=`echo "$ac_compile" | $SED \
9506 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9507 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9508 -e 's:$: $lt_compiler_flag:'`
9509 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9510 (eval "$lt_compile" 2>out
/conftest.err
)
9512 cat out
/conftest.err
>&5
9513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9514 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9516 # The compiler can only warn and ignore the option if not recognized
9517 # So say no if there are warnings
9518 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9519 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9520 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9521 lt_cv_prog_compiler_c_o
=yes
9526 # SGI C++ compiler will create directory out/ii_files/ for
9527 # template instantiation
9528 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9529 $RM out
/* && rmdir out
9535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9536 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9544 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9545 if ${lt_cv_prog_compiler_c_o+:} false
; then :
9546 $as_echo_n "(cached) " >&6
9548 lt_cv_prog_compiler_c_o
=no
9549 $RM -r conftest
2>/dev
/null
9553 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9555 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9556 # Insert the option either (1) after the last *FLAGS variable, or
9557 # (2) before a word containing "conftest.", or (3) at the end.
9558 # Note that $ac_compile itself does not contain backslashes and begins
9559 # with a dollar sign (not a hyphen), so the echo should work correctly.
9560 lt_compile
=`echo "$ac_compile" | $SED \
9561 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9562 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9563 -e 's:$: $lt_compiler_flag:'`
9564 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9565 (eval "$lt_compile" 2>out
/conftest.err
)
9567 cat out
/conftest.err
>&5
9568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9569 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9571 # The compiler can only warn and ignore the option if not recognized
9572 # So say no if there are warnings
9573 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9574 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9575 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9576 lt_cv_prog_compiler_c_o
=yes
9581 # SGI C++ compiler will create directory out/ii_files/ for
9582 # template instantiation
9583 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9584 $RM out
/* && rmdir out
9590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9591 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9596 hard_links
="nottested"
9597 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
9598 # do not overwrite the value of need_locks provided by the user
9599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9600 $as_echo_n "checking if we can lock with hard links... " >&6; }
9603 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9605 ln conftest.a conftest.b
2>&5 || hard_links
=no
9606 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9608 $as_echo "$hard_links" >&6; }
9609 if test "$hard_links" = no
; then
9610 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9611 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9624 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9627 allow_undefined_flag
=
9628 always_export_symbols
=no
9630 archive_expsym_cmds
=
9631 compiler_needs_object
=no
9632 enable_shared_with_static_runtimes
=no
9633 export_dynamic_flag_spec
=
9634 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9635 hardcode_automatic
=no
9637 hardcode_direct_absolute
=no
9638 hardcode_libdir_flag_spec
=
9639 hardcode_libdir_flag_spec_ld
=
9640 hardcode_libdir_separator
=
9642 hardcode_shlibpath_var
=unsupported
9644 link_all_deplibs
=unknown
9647 old_archive_from_new_cmds
=
9648 old_archive_from_expsyms_cmds
=
9649 thread_safe_flag_spec
=
9650 whole_archive_flag_spec
=
9651 # include_expsyms should be a list of space-separated symbols to be *always*
9652 # included in the symbol list
9654 # exclude_expsyms can be an extended regexp of symbols to exclude
9655 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9656 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9657 # as well as any symbol that contains `d'.
9658 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9659 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9660 # platforms (ab)use it in PIC code, but their linkers get confused if
9661 # the symbol is explicitly referenced. Since portable code cannot
9662 # rely on this symbol name, it's probably fine to never include it in
9663 # preloaded symbol tables.
9664 # Exclude shared library initialization/finalization symbols.
9665 extract_expsyms_cmds
=
9668 cygwin
* | mingw
* | pw32
* | cegcc
*)
9669 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9670 # When not using gcc, we currently assume that we are using
9671 # Microsoft Visual C++.
9672 if test "$GCC" != yes; then
9677 # we just hope/assume this is gcc and not c89 (= MSVC++)
9687 # On some targets, GNU ld is compatible enough with the native linker
9688 # that we're better off using the native interface for both.
9689 lt_use_gnu_ld_interface
=no
9690 if test "$with_gnu_ld" = yes; then
9693 # The AIX port of GNU ld has always aspired to compatibility
9694 # with the native linker. However, as the warning in the GNU ld
9695 # block says, versions before 2.19.5* couldn't really create working
9696 # shared libraries, regardless of the interface used.
9697 case `$LD -v 2>&1` in
9698 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
9699 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
9700 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
9702 lt_use_gnu_ld_interface
=yes
9707 lt_use_gnu_ld_interface
=yes
9712 if test "$lt_use_gnu_ld_interface" = yes; then
9713 # If archive_cmds runs LD, not CC, wlarc should be empty
9716 # Set some defaults for GNU ld with shared library support. These
9717 # are reset later if shared libraries are not supported. Putting them
9718 # here allows them to be overridden if necessary.
9719 runpath_var
=LD_RUN_PATH
9720 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9721 export_dynamic_flag_spec
='${wl}--export-dynamic'
9722 # ancient GNU ld didn't support --whole-archive et. al.
9723 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
9724 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9726 whole_archive_flag_spec
=
9728 supports_anon_versioning
=no
9729 case `$LD -v 2>&1` in
9730 *GNU\ gold
*) supports_anon_versioning
=yes ;;
9731 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
9732 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
9733 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
9734 *\
2.11.
*) ;; # other 2.11 versions
9735 *) supports_anon_versioning
=yes ;;
9738 # See if GNU ld supports shared libraries.
9741 # On AIX/PPC, the GNU linker is very broken
9742 if test "$host_cpu" != ia64
; then
9746 *** Warning: the GNU linker, at least up to release 2.19, is reported
9747 *** to be unable to reliably create shared libraries on AIX.
9748 *** Therefore, libtool is disabling shared libraries support. If you
9749 *** really care for shared libraries, you may want to install binutils
9750 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9751 *** You will then need to restart the configuration process.
9760 # see comment about AmigaOS4 .so support
9761 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9762 archive_expsym_cmds
=''
9765 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)'
9766 hardcode_libdir_flag_spec
='-L$libdir'
9767 hardcode_minus_L
=yes
9773 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9774 allow_undefined_flag
=unsupported
9775 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9776 # support --undefined. This deserves some investigation. FIXME
9777 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9783 cygwin
* | mingw
* | pw32
* | cegcc
*)
9784 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9785 # as there is no search path for DLLs.
9786 hardcode_libdir_flag_spec
='-L$libdir'
9787 export_dynamic_flag_spec
='${wl}--export-all-symbols'
9788 allow_undefined_flag
=unsupported
9789 always_export_symbols
=no
9790 enable_shared_with_static_runtimes
=yes
9791 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9793 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
9794 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9795 # If the export-symbols file already is a .def file (1st line
9796 # is EXPORTS), use it as is; otherwise, prepend...
9797 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9798 cp $export_symbols $output_objdir/$soname.def;
9800 echo EXPORTS > $output_objdir/$soname.def;
9801 cat $export_symbols >> $output_objdir/$soname.def;
9803 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9810 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9811 link_all_deplibs
=yes
9816 hardcode_shlibpath_var
=no
9817 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9818 export_dynamic_flag_spec
='${wl}-E'
9819 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9820 # Instead, shared libraries are loaded at an image base (0x10000000 by
9821 # default) and relocated if they conflict, which is a slow very memory
9822 # consuming and fragmenting process. To avoid this, we pick a random,
9823 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9824 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9825 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9826 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'
9829 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9831 if test "$host_os" = linux-dietlibc
; then
9832 case $cc_basename in
9833 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9836 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
9837 && test "$tmp_diet" = no
9839 tmp_addflag
=' $pic_flag'
9840 tmp_sharedflag
='-shared'
9841 case $cc_basename,$host_cpu in
9842 pgcc
*) # Portland Group C compiler
9843 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'
9844 tmp_addflag
=' $pic_flag'
9846 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9847 # Portland Group f77 and f90 compilers
9848 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'
9849 tmp_addflag
=' $pic_flag -Mnomain' ;;
9850 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9851 tmp_addflag
=' -i_dynamic' ;;
9852 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9853 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9854 ifc
* | ifort
*) # Intel Fortran compiler
9855 tmp_addflag
=' -nofor_main' ;;
9856 lf95
*) # Lahey Fortran 8.1
9857 whole_archive_flag_spec
=
9858 tmp_sharedflag
='--shared' ;;
9859 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9860 tmp_sharedflag
='-qmkshrobj'
9862 nvcc
*) # Cuda Compiler Driver 2.2
9863 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'
9864 compiler_needs_object
=yes
9867 case `$CC -V 2>&1 | sed 5q` in
9868 *Sun\ C
*) # Sun C 5.9
9869 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'
9870 compiler_needs_object
=yes
9871 tmp_sharedflag
='-G' ;;
9872 *Sun\ F
*) # Sun Fortran 8.3
9873 tmp_sharedflag
='-G' ;;
9875 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9877 if test "x$supports_anon_versioning" = xyes
; then
9878 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9879 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9880 echo "local: *; };" >> $output_objdir/$libname.ver~
9881 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9884 case $cc_basename in
9885 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
9886 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9887 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9888 hardcode_libdir_flag_spec
=
9889 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
9890 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9891 if test "x$supports_anon_versioning" = xyes
; then
9892 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9893 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9894 echo "local: *; };" >> $output_objdir/$libname.ver~
9895 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9905 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9906 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9909 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9910 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9915 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
9919 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9920 *** create shared libraries on Solaris systems. Therefore, libtool
9921 *** is disabling shared libraries support. We urge you to upgrade GNU
9922 *** binutils to release 2.9.1 or newer. Another option is to modify
9923 *** your PATH or compiler configuration so that the native linker is
9924 *** used, and then restart.
9927 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9928 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9929 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9935 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9936 case `$LD -v 2>&1` in
9937 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9941 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9942 *** reliably create shared libraries on SCO systems. Therefore, libtool
9943 *** is disabling shared libraries support. We urge you to upgrade GNU
9944 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9945 *** your PATH or compiler configuration so that the native linker is
9946 *** used, and then restart.
9951 # For security reasons, it is highly recommended that you always
9952 # use absolute paths for naming shared libraries, and exclude the
9953 # DT_RUNPATH tag from executables and libraries. But doing so
9954 # requires that you compile everything twice, which is a pain.
9955 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9956 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9957 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9958 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9967 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9970 hardcode_shlibpath_var
=no
9974 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9975 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9976 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9983 if test "$ld_shlibs" = no
; then
9985 hardcode_libdir_flag_spec
=
9986 export_dynamic_flag_spec
=
9987 whole_archive_flag_spec
=
9990 # PORTME fill in a description of your system's linker (not GNU ld)
9993 allow_undefined_flag
=unsupported
9994 always_export_symbols
=yes
9995 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'
9996 # Note: this linker hardcodes the directories in LIBPATH if there
9997 # are no directories specified by -L.
9998 hardcode_minus_L
=yes
9999 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10000 # Neither direct hardcoding nor static linking is supported with a
10002 hardcode_direct
=unsupported
10007 if test "$host_cpu" = ia64
; then
10008 # On IA64, the linker does run time linking by default, so we don't
10009 # have to do anything special.
10010 aix_use_runtimelinking
=no
10011 exp_sym_flag
='-Bexport'
10014 # If we're using GNU nm, then we don't want the "-C" option.
10015 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10016 # Also, AIX nm treats weak defined symbols like other global
10017 # defined symbols, whereas GNU nm marks them as "W".
10018 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
10019 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'
10021 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'
10023 aix_use_runtimelinking
=no
10025 # Test if we are trying to use run time linking or normal
10026 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10027 # need to do runtime linking.
10028 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
10029 for ld_flag
in $LDFLAGS; do
10030 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
10031 aix_use_runtimelinking
=yes
10038 exp_sym_flag
='-bexport'
10039 no_entry_flag
='-bnoentry'
10042 # When large executables or shared objects are built, AIX ld can
10043 # have problems creating the table of contents. If linking a library
10044 # or program results in "error TOC overflow" add -mminimal-toc to
10045 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10046 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10049 hardcode_direct
=yes
10050 hardcode_direct_absolute
=yes
10051 hardcode_libdir_separator
=':'
10052 link_all_deplibs
=yes
10053 file_list_spec
='${wl}-f,'
10055 if test "$GCC" = yes; then
10056 case $host_os in aix4.
[012]|aix4.
[012].
*)
10057 # We only want to do this on AIX 4.2 and lower, the check
10058 # below for broken collect2 doesn't work under 4.3+
10059 collect2name
=`${CC} -print-prog-name=collect2`
10060 if test -f "$collect2name" &&
10061 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
10063 # We have reworked collect2
10066 # We have old collect2
10067 hardcode_direct
=unsupported
10068 # It fails to find uninstalled libraries when the uninstalled
10069 # path is not listed in the libpath. Setting hardcode_minus_L
10070 # to unsupported forces relinking
10071 hardcode_minus_L
=yes
10072 hardcode_libdir_flag_spec
='-L$libdir'
10073 hardcode_libdir_separator
=
10077 shared_flag
='-shared'
10078 if test "$aix_use_runtimelinking" = yes; then
10079 shared_flag
="$shared_flag "'${wl}-G'
10083 if test "$host_cpu" = ia64
; then
10084 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10085 # chokes on -Wl,-G. The following line is correct:
10088 if test "$aix_use_runtimelinking" = yes; then
10089 shared_flag
='${wl}-G'
10091 shared_flag
='${wl}-bM:SRE'
10096 export_dynamic_flag_spec
='${wl}-bexpall'
10097 # It seems that -bexpall does not export symbols beginning with
10098 # underscore (_), so it is better to generate a list of symbols to export.
10099 always_export_symbols
=yes
10100 if test "$aix_use_runtimelinking" = yes; then
10101 # Warning - without using the other runtime loading flags (-brtl),
10102 # -berok will link without error, but may produce a broken library.
10103 allow_undefined_flag
='-berok'
10104 # Determine the default libpath from the value encoded in an
10105 # empty executable.
10106 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10107 /* end confdefs.h. */
10117 if ac_fn_c_try_link
"$LINENO"; then :
10119 lt_aix_libpath_sed
='
10120 /Import File Strings/,/^$/ {
10126 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10127 # Check for a 64-bit object if we didn't find anything.
10128 if test -z "$aix_libpath"; then
10129 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10132 rm -f core conftest.err conftest.
$ac_objext \
10133 conftest
$ac_exeext conftest.
$ac_ext
10134 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10136 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10137 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"
10139 if test "$host_cpu" = ia64
; then
10140 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
10141 allow_undefined_flag
="-z nodefs"
10142 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"
10144 # Determine the default libpath from the value encoded in an
10145 # empty executable.
10146 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10147 /* end confdefs.h. */
10157 if ac_fn_c_try_link
"$LINENO"; then :
10159 lt_aix_libpath_sed
='
10160 /Import File Strings/,/^$/ {
10166 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10167 # Check for a 64-bit object if we didn't find anything.
10168 if test -z "$aix_libpath"; then
10169 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10172 rm -f core conftest.err conftest.
$ac_objext \
10173 conftest
$ac_exeext conftest.
$ac_ext
10174 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10176 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10177 # Warning - without using the other run time loading flags,
10178 # -berok will link without error, but may produce a broken library.
10179 no_undefined_flag
=' ${wl}-bernotok'
10180 allow_undefined_flag
=' ${wl}-berok'
10181 if test "$with_gnu_ld" = yes; then
10182 # We only use this code for GNU lds that support --whole-archive.
10183 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10185 # Exported symbols can be pulled into shared objects from archives
10186 whole_archive_flag_spec
='$convenience'
10188 archive_cmds_need_lc
=yes
10189 # This is similar to how AIX traditionally builds its shared libraries.
10190 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'
10198 # see comment about AmigaOS4 .so support
10199 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10200 archive_expsym_cmds
=''
10203 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)'
10204 hardcode_libdir_flag_spec
='-L$libdir'
10205 hardcode_minus_L
=yes
10211 export_dynamic_flag_spec
=-rdynamic
10214 cygwin
* | mingw
* | pw32
* | cegcc
*)
10215 # When not using gcc, we currently assume that we are using
10216 # Microsoft Visual C++.
10217 # hardcode_libdir_flag_spec is actually meaningless, as there is
10218 # no search path for DLLs.
10219 hardcode_libdir_flag_spec
=' '
10220 allow_undefined_flag
=unsupported
10221 # Tell ltmain to make .lib files, not .a files.
10223 # Tell ltmain to make .dll files, not .so files.
10225 # FIXME: Setting linknames here is a bad hack.
10226 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10227 # The linker will automatically build a .lib file if we build a DLL.
10228 old_archive_from_new_cmds
='true'
10229 # FIXME: Should let the user specify the lib program.
10230 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
10231 fix_srcfile_path
='`cygpath -w "$srcfile"`'
10232 enable_shared_with_static_runtimes
=yes
10235 darwin
* | rhapsody
*)
10238 archive_cmds_need_lc
=no
10240 hardcode_automatic
=yes
10241 hardcode_shlibpath_var
=unsupported
10242 if test "$lt_cv_ld_force_load" = "yes"; then
10243 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\"`'
10245 whole_archive_flag_spec
=''
10247 link_all_deplibs
=yes
10248 allow_undefined_flag
="$_lt_dar_allow_undefined"
10249 case $cc_basename in
10250 ifort
*) _lt_dar_can_shared
=yes ;;
10251 *) _lt_dar_can_shared
=$GCC ;;
10253 if test "$_lt_dar_can_shared" = "yes"; then
10254 output_verbose_link_cmd
=func_echo_all
10255 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10256 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10257 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}"
10258 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}"
10267 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10268 hardcode_libdir_flag_spec
='-L$libdir'
10269 hardcode_shlibpath_var
=no
10272 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10273 # support. Future versions do this automatically, but an explicit c++rt0.o
10274 # does not break anything, and helps significantly (at the cost of a little
10277 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10278 hardcode_libdir_flag_spec
='-R$libdir'
10279 hardcode_direct
=yes
10280 hardcode_shlibpath_var
=no
10283 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10285 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10286 hardcode_direct
=yes
10287 hardcode_minus_L
=yes
10288 hardcode_shlibpath_var
=no
10291 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10292 freebsd
* | dragonfly
*)
10293 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10294 hardcode_libdir_flag_spec
='-R$libdir'
10295 hardcode_direct
=yes
10296 hardcode_shlibpath_var
=no
10300 if test "$GCC" = yes; then
10301 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'
10303 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'
10305 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10306 hardcode_libdir_separator
=:
10307 hardcode_direct
=yes
10309 # hardcode_minus_L: Not really in the search PATH,
10310 # but as the default location of the library.
10311 hardcode_minus_L
=yes
10312 export_dynamic_flag_spec
='${wl}-E'
10316 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10317 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10319 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10321 if test "$with_gnu_ld" = no
; then
10322 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10323 hardcode_libdir_flag_spec_ld
='+b $libdir'
10324 hardcode_libdir_separator
=:
10325 hardcode_direct
=yes
10326 hardcode_direct_absolute
=yes
10327 export_dynamic_flag_spec
='${wl}-E'
10328 # hardcode_minus_L: Not really in the search PATH,
10329 # but as the default location of the library.
10330 hardcode_minus_L
=yes
10335 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10338 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10341 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10344 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10350 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10353 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10357 # Older versions of the 11.00 compiler do not understand -b yet
10358 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10360 $as_echo_n "checking if $CC understands -b... " >&6; }
10361 if ${lt_cv_prog_compiler__b+:} false
; then :
10362 $as_echo_n "(cached) " >&6
10364 lt_cv_prog_compiler__b
=no
10365 save_LDFLAGS
="$LDFLAGS"
10366 LDFLAGS
="$LDFLAGS -b"
10367 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10368 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10369 # The linker can only warn and ignore the option if not recognized
10370 # So say no if there are warnings
10371 if test -s conftest.err
; then
10372 # Append any errors to the config.log.
10373 cat conftest.err
1>&5
10374 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
10375 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10376 if diff conftest.exp conftest.er2
>/dev
/null
; then
10377 lt_cv_prog_compiler__b
=yes
10380 lt_cv_prog_compiler__b
=yes
10384 LDFLAGS
="$save_LDFLAGS"
10387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10388 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10390 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
10391 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10393 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10399 if test "$with_gnu_ld" = no
; then
10400 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10401 hardcode_libdir_separator
=:
10406 hardcode_shlibpath_var
=no
10409 hardcode_direct
=yes
10410 hardcode_direct_absolute
=yes
10411 export_dynamic_flag_spec
='${wl}-E'
10413 # hardcode_minus_L: Not really in the search PATH,
10414 # but as the default location of the library.
10415 hardcode_minus_L
=yes
10421 irix5
* | irix6
* | nonstopux
*)
10422 if test "$GCC" = yes; then
10423 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'
10424 # Try to use the -exported_symbol ld option, if it does not
10425 # work, assume that -exports_file does not work either and
10426 # implicitly export all symbols.
10427 save_LDFLAGS
="$LDFLAGS"
10428 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10429 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10430 /* end confdefs.h. */
10433 if ac_fn_c_try_link
"$LINENO"; then :
10434 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'
10437 rm -f core conftest.err conftest.
$ac_objext \
10438 conftest
$ac_exeext conftest.
$ac_ext
10439 LDFLAGS
="$save_LDFLAGS"
10441 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'
10442 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'
10444 archive_cmds_need_lc
='no'
10445 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10446 hardcode_libdir_separator
=:
10448 link_all_deplibs
=yes
10452 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10453 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10455 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10457 hardcode_libdir_flag_spec
='-R$libdir'
10458 hardcode_direct
=yes
10459 hardcode_shlibpath_var
=no
10463 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10464 hardcode_direct
=yes
10465 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10466 hardcode_libdir_separator
=:
10467 hardcode_shlibpath_var
=no
10474 if test -f /usr
/libexec
/ld.so
; then
10475 hardcode_direct
=yes
10476 hardcode_shlibpath_var
=no
10477 hardcode_direct_absolute
=yes
10478 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10479 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10480 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10481 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10482 export_dynamic_flag_spec
='${wl}-E'
10485 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
10486 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10487 hardcode_libdir_flag_spec
='-R$libdir'
10490 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10491 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10501 hardcode_libdir_flag_spec
='-L$libdir'
10502 hardcode_minus_L
=yes
10503 allow_undefined_flag
=unsupported
10504 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'
10505 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10509 if test "$GCC" = yes; then
10510 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10511 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'
10513 allow_undefined_flag
=' -expect_unresolved \*'
10514 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'
10516 archive_cmds_need_lc
='no'
10517 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10518 hardcode_libdir_separator
=:
10521 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10522 if test "$GCC" = yes; then
10523 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10524 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'
10525 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10527 allow_undefined_flag
=' -expect_unresolved \*'
10528 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'
10529 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~
10530 $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'
10532 # Both c and cxx compiler support -rpath directly
10533 hardcode_libdir_flag_spec
='-rpath $libdir'
10535 archive_cmds_need_lc
='no'
10536 hardcode_libdir_separator
=:
10540 no_undefined_flag
=' -z defs'
10541 if test "$GCC" = yes; then
10543 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10544 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10545 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10547 case `$CC -V 2>&1` in
10550 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10551 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10552 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10556 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10557 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10558 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10562 hardcode_libdir_flag_spec
='-R$libdir'
10563 hardcode_shlibpath_var
=no
10565 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10567 # The compiler driver will combine and reorder linker options,
10568 # but understands `-z linker_flag'. GCC discards it without `$wl',
10569 # but is careful enough not to reorder.
10570 # Supported since Solaris 2.6 (maybe 2.5.1?)
10571 if test "$GCC" = yes; then
10572 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10574 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10578 link_all_deplibs
=yes
10582 if test "x$host_vendor" = xsequent
; then
10583 # Use $CC to link under sequent, because it throws in some extra .o
10584 # files that make .init and .fini sections work.
10585 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10587 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10589 hardcode_libdir_flag_spec
='-L$libdir'
10590 hardcode_direct
=yes
10591 hardcode_minus_L
=yes
10592 hardcode_shlibpath_var
=no
10596 case $host_vendor in
10598 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10599 hardcode_direct
=yes # is this really true???
10602 ## LD is ld it makes a PLAMLIB
10603 ## CC just makes a GrossModule.
10604 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10605 reload_cmds
='$CC -r -o $output$reload_objs'
10609 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10610 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10613 runpath_var
='LD_RUN_PATH'
10614 hardcode_shlibpath_var
=no
10618 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10619 hardcode_shlibpath_var
=no
10620 export_dynamic_flag_spec
='-Bexport'
10624 if test -d /usr
/nec
; then
10625 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10626 hardcode_shlibpath_var
=no
10627 runpath_var
=LD_RUN_PATH
10628 hardcode_runpath_var
=yes
10633 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10634 no_undefined_flag
='${wl}-z,text'
10635 archive_cmds_need_lc
=no
10636 hardcode_shlibpath_var
=no
10637 runpath_var
='LD_RUN_PATH'
10639 if test "$GCC" = yes; then
10640 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10641 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10643 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10644 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10648 sysv5
* | sco3.2v5
* | sco5v6
*)
10649 # Note: We can NOT use -z defs as we might desire, because we do not
10650 # link with -lc, and that would cause any symbols used from libc to
10651 # always be unresolved, which means just about no library would
10652 # ever link correctly. If we're not using GNU ld we use -z text
10653 # though, which does catch some bad symbols but isn't as heavy-handed
10655 no_undefined_flag
='${wl}-z,text'
10656 allow_undefined_flag
='${wl}-z,nodefs'
10657 archive_cmds_need_lc
=no
10658 hardcode_shlibpath_var
=no
10659 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10660 hardcode_libdir_separator
=':'
10661 link_all_deplibs
=yes
10662 export_dynamic_flag_spec
='${wl}-Bexport'
10663 runpath_var
='LD_RUN_PATH'
10665 if test "$GCC" = yes; then
10666 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10667 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10669 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10670 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10675 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10676 hardcode_libdir_flag_spec
='-L$libdir'
10677 hardcode_shlibpath_var
=no
10685 if test x
$host_vendor = xsni
; then
10687 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10688 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10695 $as_echo "$ld_shlibs" >&6; }
10696 test "$ld_shlibs" = no
&& can_build_shared
=no
10698 with_gnu_ld
=$with_gnu_ld
10715 # Do we need to explicitly link libc?
10717 case "x$archive_cmds_need_lc" in
10719 # Assume -lc should be added
10720 archive_cmds_need_lc
=yes
10722 if test "$enable_shared" = yes && test "$GCC" = yes; then
10723 case $archive_cmds in
10725 # FIXME: we may have to deal with multi-command sequences.
10728 # Test whether the compiler implicitly links with -lc since on some
10729 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10730 # to ld, don't add -lc before -lgcc.
10731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10732 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10733 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
10734 $as_echo_n "(cached) " >&6
10737 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10739 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10740 (eval $ac_compile) 2>&5
10742 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10743 test $ac_status = 0; } 2>conftest.err
; then
10746 libobjs
=conftest.
$ac_objext
10748 wl
=$lt_prog_compiler_wl
10749 pic_flag
=$lt_prog_compiler_pic
10755 lt_save_allow_undefined_flag
=$allow_undefined_flag
10756 allow_undefined_flag
=
10757 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10758 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10760 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10761 test $ac_status = 0; }
10763 lt_cv_archive_cmds_need_lc
=no
10765 lt_cv_archive_cmds_need_lc
=yes
10767 allow_undefined_flag
=$lt_save_allow_undefined_flag
10769 cat conftest.err
1>&5
10774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10775 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10776 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
10939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10940 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10942 if test "$GCC" = yes; then
10944 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10945 *) lt_awk_arg
="/^libraries:/" ;;
10948 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
10949 *) lt_sed_strip_eq
="s,=/,/,g" ;;
10951 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10952 case $lt_search_path_spec in
10954 # if the path contains ";" then we assume it to be the separator
10955 # otherwise default to the standard path separator (i.e. ":") - it is
10956 # assumed that no part of a normal pathname contains ";" but that should
10957 # okay in the real world where ";" in dirpaths is itself problematic.
10958 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10961 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10964 # Ok, now we have the path, separated by spaces, we can step through it
10965 # and add multilib dir if necessary.
10966 lt_tmp_lt_search_path_spec
=
10967 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10968 for lt_sys_path
in $lt_search_path_spec; do
10969 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10970 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10972 test -d "$lt_sys_path" && \
10973 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10976 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10977 BEGIN {RS=" "; FS="/|\n";} {
10980 for (lt_i = NF; lt_i > 0; lt_i--) {
10981 if ($lt_i != "" && $lt_i != ".") {
10982 if ($lt_i == "..") {
10985 if (lt_count == 0) {
10986 lt_foo="/" $lt_i lt_foo;
10993 if (lt_foo != "") { lt_freq[lt_foo]++; }
10994 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10996 # AWK program above erroneously prepends '/' to C:/dos/paths
10999 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
11000 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11002 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11004 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11006 library_names_spec
=
11007 libname_spec
='lib$name'
11011 postuninstall_cmds
=
11015 shlibpath_overrides_runpath
=unknown
11017 dynamic_linker
="$host_os ld.so"
11018 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11019 need_lib_prefix
=unknown
11020 hardcode_into_libs
=no
11022 # when you set need_version to no, make sure it does not cause -set_version
11023 # flags to be left without arguments
11024 need_version
=unknown
11029 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
11030 shlibpath_var
=LIBPATH
11032 # AIX 3 has no versioning support, so we append a major version to the name.
11033 soname_spec
='${libname}${release}${shared_ext}$major'
11040 hardcode_into_libs
=yes
11041 if test "$host_cpu" = ia64
; then
11042 # AIX 5 supports IA64
11043 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11044 shlibpath_var
=LD_LIBRARY_PATH
11046 # With GCC up to 2.95.x, collect2 would create an import file
11047 # for dependence libraries. The import file would start with
11048 # the line `#! .'. This would cause the generated library to
11049 # depend on `.', always an invalid library. This was fixed in
11050 # development snapshots of GCC prior to 3.0.
11052 aix4 | aix4.
[01] | aix4.
[01].
*)
11053 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11055 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
11058 can_build_shared
=no
11062 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11063 # soname into executable. Probably we can add versioning support to
11064 # collect2, so additional links can be useful in future.
11065 if test "$aix_use_runtimelinking" = yes; then
11066 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11067 # instead of lib<name>.a to let people know that these are not
11068 # typical AIX shared libraries.
11069 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11071 # We preserve .a as extension for shared libraries through AIX4.2
11072 # and later when we are not doing run time linking.
11073 library_names_spec
='${libname}${release}.a $libname.a'
11074 soname_spec
='${libname}${release}${shared_ext}$major'
11076 shlibpath_var
=LIBPATH
11083 # Since July 2007 AmigaOS4 officially supports .so libraries.
11084 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11085 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11088 library_names_spec
='$libname.ixlibrary $libname.a'
11089 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11090 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'
11096 library_names_spec
='${libname}${shared_ext}'
11097 dynamic_linker
="$host_os ld.so"
11098 shlibpath_var
=LIBRARY_PATH
11104 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11105 soname_spec
='${libname}${release}${shared_ext}$major'
11106 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11107 shlibpath_var
=LD_LIBRARY_PATH
11108 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11109 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11110 # the default ld.so.conf also contains /usr/contrib/lib and
11111 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11112 # libtool to hard-code these into programs
11115 cygwin
* | mingw
* | pw32
* | cegcc
*)
11116 version_type
=windows
11121 case $GCC,$host_os in
11122 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
11123 library_names_spec
='$libname.dll.a'
11124 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11125 postinstall_cmds
='base_file=`basename \${file}`~
11126 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11127 dldir=$destdir/`dirname \$dlpath`~
11128 test -d \$dldir || mkdir -p \$dldir~
11129 $install_prog $dir/$dlname \$dldir/$dlname~
11130 chmod a+x \$dldir/$dlname~
11131 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11132 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11134 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11135 dlpath=$dir/\$dldll~
11137 shlibpath_overrides_runpath
=yes
11141 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11142 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11144 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
11147 # MinGW DLLs use traditional 'lib' prefix
11148 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11151 # pw32 DLLs use 'pw' prefix rather than 'lib'
11152 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11158 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11161 dynamic_linker
='Win32 ld.exe'
11162 # FIXME: first we should search . and the directory the executable is in
11166 darwin
* | rhapsody
*)
11167 dynamic_linker
="$host_os dyld"
11168 version_type
=darwin
11171 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11172 soname_spec
='${libname}${release}${major}$shared_ext'
11173 shlibpath_overrides_runpath
=yes
11174 shlibpath_var
=DYLD_LIBRARY_PATH
11175 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
11177 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
11178 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11185 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11186 soname_spec
='${libname}${release}${shared_ext}$major'
11187 shlibpath_var
=LD_LIBRARY_PATH
11190 freebsd
* | dragonfly
*)
11191 # DragonFly does not have aout. When/if they implement a new
11192 # versioning mechanism, adjust this.
11193 if test -x /usr
/bin
/objformat
; then
11194 objformat
=`/usr/bin/objformat`
11197 freebsd
[23].
*) objformat
=aout
;;
11198 *) objformat
=elf
;;
11201 version_type
=freebsd-
$objformat
11202 case $version_type in
11204 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11209 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11213 shlibpath_var
=LD_LIBRARY_PATH
11216 shlibpath_overrides_runpath
=yes
11218 freebsd3.
[01]* | freebsdelf3.
[01]*)
11219 shlibpath_overrides_runpath
=yes
11220 hardcode_into_libs
=yes
11222 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
11223 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
11224 shlibpath_overrides_runpath
=no
11225 hardcode_into_libs
=yes
11227 *) # from 4.6 on, and DragonFly
11228 shlibpath_overrides_runpath
=yes
11229 hardcode_into_libs
=yes
11238 dynamic_linker
="$host_os runtime_loader"
11239 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11240 soname_spec
='${libname}${release}${shared_ext}$major'
11241 shlibpath_var
=LIBRARY_PATH
11242 shlibpath_overrides_runpath
=yes
11243 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
11244 hardcode_into_libs
=yes
11247 hpux9
* | hpux10
* | hpux11
*)
11248 # Give a soname corresponding to the major version so that dld.sl refuses to
11249 # link against other versions.
11256 hardcode_into_libs
=yes
11257 dynamic_linker
="$host_os dld.so"
11258 shlibpath_var
=LD_LIBRARY_PATH
11259 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11260 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11261 soname_spec
='${libname}${release}${shared_ext}$major'
11262 if test "X$HPUX_IA64_MODE" = X32
; then
11263 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11265 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11267 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11271 hardcode_into_libs
=yes
11272 dynamic_linker
="$host_os dld.sl"
11273 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
11274 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11275 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11276 soname_spec
='${libname}${release}${shared_ext}$major'
11277 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11278 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11282 dynamic_linker
="$host_os dld.sl"
11283 shlibpath_var
=SHLIB_PATH
11284 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
11285 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11286 soname_spec
='${libname}${release}${shared_ext}$major'
11289 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11290 postinstall_cmds
='chmod 555 $lib'
11291 # or fails outright, so override atomically:
11292 install_override_mode
=555
11299 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11300 soname_spec
='${libname}${release}${shared_ext}$major'
11301 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
11302 shlibpath_var
=LD_LIBRARY_PATH
11303 shlibpath_overrides_runpath
=no
11304 hardcode_into_libs
=yes
11307 irix5
* | irix6
* | nonstopux
*)
11309 nonstopux
*) version_type
=nonstopux
;;
11311 if test "$lt_cv_prog_gnu_ld" = yes; then
11319 soname_spec
='${libname}${release}${shared_ext}$major'
11320 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11322 irix5
* | nonstopux
*)
11323 libsuff
= shlibsuff
=
11326 case $LD in # libtool.m4 will add one of these switches to LD
11327 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
11328 libsuff
= shlibsuff
= libmagic
=32-bit;;
11329 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
11330 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11331 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
11332 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11333 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
11337 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11338 shlibpath_overrides_runpath
=no
11339 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11340 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
11341 hardcode_into_libs
=yes
11344 # No shared lib support for Linux oldld, aout, or coff.
11345 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11349 # This must be Linux ELF.
11350 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
11354 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11355 soname_spec
='${libname}${release}${shared_ext}$major'
11356 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11357 shlibpath_var
=LD_LIBRARY_PATH
11358 shlibpath_overrides_runpath
=no
11360 # Some binutils ld are patched to set DT_RUNPATH
11361 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
11362 $as_echo_n "(cached) " >&6
11364 lt_cv_shlibpath_overrides_runpath
=no
11365 save_LDFLAGS
=$LDFLAGS
11366 save_libdir
=$libdir
11367 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11368 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11369 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11370 /* end confdefs.h. */
11380 if ac_fn_c_try_link
"$LINENO"; then :
11381 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
11382 lt_cv_shlibpath_overrides_runpath
=yes
11385 rm -f core conftest.err conftest.
$ac_objext \
11386 conftest
$ac_exeext conftest.
$ac_ext
11387 LDFLAGS
=$save_LDFLAGS
11388 libdir
=$save_libdir
11392 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
11394 # This implies no fast_install, which is unacceptable.
11395 # Some rework will be needed to allow for fast_install
11396 # before this can be enabled.
11397 hardcode_into_libs
=yes
11399 # Append ld.so.conf contents to the search path
11400 if test -f /etc
/ld.so.conf
; then
11401 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' ' '`
11402 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
11405 # We used to test for /lib/ld.so.1 and disable shared libraries on
11406 # powerpc, because MkLinux only supported shared libraries with the
11407 # GNU dynamic linker. Since this was broken with cross compilers,
11408 # most powerpc-linux boxes support dynamic linking these days and
11409 # people can always --disable-shared, the test was removed, and we
11410 # assume the GNU/Linux dynamic linker is in use.
11411 dynamic_linker
='GNU/Linux ld.so'
11418 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11419 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11420 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11421 dynamic_linker
='NetBSD (a.out) ld.so'
11423 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11424 soname_spec
='${libname}${release}${shared_ext}$major'
11425 dynamic_linker
='NetBSD ld.elf_so'
11427 shlibpath_var
=LD_LIBRARY_PATH
11428 shlibpath_overrides_runpath
=yes
11429 hardcode_into_libs
=yes
11434 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11435 shlibpath_var
=LD_LIBRARY_PATH
11436 shlibpath_overrides_runpath
=yes
11443 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11444 soname_spec
='${libname}${release}${shared_ext}$major'
11445 shlibpath_var
=LD_LIBRARY_PATH
11446 shlibpath_overrides_runpath
=no
11447 hardcode_into_libs
=yes
11448 dynamic_linker
='ldqnx.so'
11453 sys_lib_dlsearch_path_spec
="/usr/lib"
11455 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11457 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
11458 *) need_version
=no
;;
11460 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11461 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11462 shlibpath_var
=LD_LIBRARY_PATH
11463 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11465 openbsd2.
[89] | openbsd2.
[89].
*)
11466 shlibpath_overrides_runpath
=no
11469 shlibpath_overrides_runpath
=yes
11473 shlibpath_overrides_runpath
=yes
11478 libname_spec
='$name'
11481 library_names_spec
='$libname${shared_ext} $libname.a'
11482 dynamic_linker
='OS/2 ld.exe'
11483 shlibpath_var
=LIBPATH
11486 osf3
* | osf4
* | osf5
*)
11490 soname_spec
='${libname}${release}${shared_ext}$major'
11491 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11492 shlibpath_var
=LD_LIBRARY_PATH
11493 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11494 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11505 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11506 soname_spec
='${libname}${release}${shared_ext}$major'
11507 shlibpath_var
=LD_LIBRARY_PATH
11508 shlibpath_overrides_runpath
=yes
11509 hardcode_into_libs
=yes
11510 # ldd complains unless libraries are executable
11511 postinstall_cmds
='chmod +x $lib'
11516 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11517 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11518 shlibpath_var
=LD_LIBRARY_PATH
11519 shlibpath_overrides_runpath
=yes
11520 if test "$with_gnu_ld" = yes; then
11528 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11529 soname_spec
='${libname}${release}${shared_ext}$major'
11530 shlibpath_var
=LD_LIBRARY_PATH
11531 case $host_vendor in
11533 shlibpath_overrides_runpath
=no
11535 runpath_var
=LD_RUN_PATH
11543 shlibpath_overrides_runpath
=no
11544 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11550 if test -d /usr
/nec
;then
11552 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11553 soname_spec
='$libname${shared_ext}.$major'
11554 shlibpath_var
=LD_LIBRARY_PATH
11558 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11559 version_type
=freebsd-elf
11562 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11563 soname_spec
='${libname}${release}${shared_ext}$major'
11564 shlibpath_var
=LD_LIBRARY_PATH
11565 shlibpath_overrides_runpath
=yes
11566 hardcode_into_libs
=yes
11567 if test "$with_gnu_ld" = yes; then
11568 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11570 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11573 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11577 sys_lib_dlsearch_path_spec
='/usr/lib'
11581 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11585 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11586 shlibpath_var
=LD_LIBRARY_PATH
11587 shlibpath_overrides_runpath
=no
11588 hardcode_into_libs
=yes
11593 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11594 soname_spec
='${libname}${release}${shared_ext}$major'
11595 shlibpath_var
=LD_LIBRARY_PATH
11602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11603 $as_echo "$dynamic_linker" >&6; }
11604 test "$dynamic_linker" = no
&& can_build_shared
=no
11606 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11607 if test "$GCC" = yes; then
11608 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11611 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11612 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
11614 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11615 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
11709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11710 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11712 if test -n "$hardcode_libdir_flag_spec" ||
11713 test -n "$runpath_var" ||
11714 test "X$hardcode_automatic" = "Xyes" ; then
11716 # We can hardcode non-existent directories.
11717 if test "$hardcode_direct" != no
&&
11718 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11719 # have to relink, otherwise we might link with an installed library
11720 # when we should be linking with a yet-to-be-installed one
11721 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11722 test "$hardcode_minus_L" != no
; then
11723 # Linking always hardcodes the temporary library directory.
11724 hardcode_action
=relink
11726 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11727 hardcode_action
=immediate
11730 # We cannot hardcode anything, or else we can only hardcode existing
11732 hardcode_action
=unsupported
11734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11735 $as_echo "$hardcode_action" >&6; }
11737 if test "$hardcode_action" = relink ||
11738 test "$inherit_rpath" = yes; then
11739 # Fast installation is not supported
11740 enable_fast_install
=no
11741 elif test "$shlibpath_overrides_runpath" = yes ||
11742 test "$enable_shared" = no
; then
11743 # Fast installation is not necessary
11744 enable_fast_install
=needless
11752 if test "x$enable_dlopen" != xyes
; then
11753 enable_dlopen
=unknown
11754 enable_dlopen_self
=unknown
11755 enable_dlopen_self_static
=unknown
11762 lt_cv_dlopen
="load_add_on"
11764 lt_cv_dlopen_self
=yes
11767 mingw
* | pw32
* | cegcc
*)
11768 lt_cv_dlopen
="LoadLibrary"
11773 lt_cv_dlopen
="dlopen"
11778 # if libdl is installed we need to link against it
11779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11780 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11781 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11782 $as_echo_n "(cached) " >&6
11784 ac_check_lib_save_LIBS
=$LIBS
11786 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11787 /* end confdefs.h. */
11789 /* Override any GCC internal prototype to avoid an error.
11790 Use char because int might match the return type of a GCC
11791 builtin and then its argument prototype would still apply. */
11804 if ac_fn_c_try_link
"$LINENO"; then :
11805 ac_cv_lib_dl_dlopen
=yes
11807 ac_cv_lib_dl_dlopen
=no
11809 rm -f core conftest.err conftest.
$ac_objext \
11810 conftest
$ac_exeext conftest.
$ac_ext
11811 LIBS
=$ac_check_lib_save_LIBS
11813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11814 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11815 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11816 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11819 lt_cv_dlopen
="dyld"
11821 lt_cv_dlopen_self
=yes
11828 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
11829 if test "x$ac_cv_func_shl_load" = xyes
; then :
11830 lt_cv_dlopen
="shl_load"
11832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11833 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11834 if ${ac_cv_lib_dld_shl_load+:} false
; then :
11835 $as_echo_n "(cached) " >&6
11837 ac_check_lib_save_LIBS
=$LIBS
11839 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11840 /* end confdefs.h. */
11842 /* Override any GCC internal prototype to avoid an error.
11843 Use char because int might match the return type of a GCC
11844 builtin and then its argument prototype would still apply. */
11852 return shl_load ();
11857 if ac_fn_c_try_link
"$LINENO"; then :
11858 ac_cv_lib_dld_shl_load
=yes
11860 ac_cv_lib_dld_shl_load
=no
11862 rm -f core conftest.err conftest.
$ac_objext \
11863 conftest
$ac_exeext conftest.
$ac_ext
11864 LIBS
=$ac_check_lib_save_LIBS
11866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11867 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11868 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
11869 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
11871 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
11872 if test "x$ac_cv_func_dlopen" = xyes
; then :
11873 lt_cv_dlopen
="dlopen"
11875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11876 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11877 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11878 $as_echo_n "(cached) " >&6
11880 ac_check_lib_save_LIBS
=$LIBS
11882 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11883 /* end confdefs.h. */
11885 /* Override any GCC internal prototype to avoid an error.
11886 Use char because int might match the return type of a GCC
11887 builtin and then its argument prototype would still apply. */
11900 if ac_fn_c_try_link
"$LINENO"; then :
11901 ac_cv_lib_dl_dlopen
=yes
11903 ac_cv_lib_dl_dlopen
=no
11905 rm -f core conftest.err conftest.
$ac_objext \
11906 conftest
$ac_exeext conftest.
$ac_ext
11907 LIBS
=$ac_check_lib_save_LIBS
11909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11910 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11911 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11912 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11915 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11916 if ${ac_cv_lib_svld_dlopen+:} false
; then :
11917 $as_echo_n "(cached) " >&6
11919 ac_check_lib_save_LIBS
=$LIBS
11920 LIBS
="-lsvld $LIBS"
11921 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11922 /* end confdefs.h. */
11924 /* Override any GCC internal prototype to avoid an error.
11925 Use char because int might match the return type of a GCC
11926 builtin and then its argument prototype would still apply. */
11939 if ac_fn_c_try_link
"$LINENO"; then :
11940 ac_cv_lib_svld_dlopen
=yes
11942 ac_cv_lib_svld_dlopen
=no
11944 rm -f core conftest.err conftest.
$ac_objext \
11945 conftest
$ac_exeext conftest.
$ac_ext
11946 LIBS
=$ac_check_lib_save_LIBS
11948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11949 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11950 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
11951 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11954 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11955 if ${ac_cv_lib_dld_dld_link+:} false
; then :
11956 $as_echo_n "(cached) " >&6
11958 ac_check_lib_save_LIBS
=$LIBS
11960 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11961 /* end confdefs.h. */
11963 /* Override any GCC internal prototype to avoid an error.
11964 Use char because int might match the return type of a GCC
11965 builtin and then its argument prototype would still apply. */
11973 return dld_link ();
11978 if ac_fn_c_try_link
"$LINENO"; then :
11979 ac_cv_lib_dld_dld_link
=yes
11981 ac_cv_lib_dld_dld_link
=no
11983 rm -f core conftest.err conftest.
$ac_objext \
11984 conftest
$ac_exeext conftest.
$ac_ext
11985 LIBS
=$ac_check_lib_save_LIBS
11987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11988 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11989 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
11990 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
12011 if test "x$lt_cv_dlopen" != xno
; then
12017 case $lt_cv_dlopen in
12019 save_CPPFLAGS
="$CPPFLAGS"
12020 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12022 save_LDFLAGS
="$LDFLAGS"
12023 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12026 LIBS
="$lt_cv_dlopen_libs $LIBS"
12028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12029 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12030 if ${lt_cv_dlopen_self+:} false
; then :
12031 $as_echo_n "(cached) " >&6
12033 if test "$cross_compiling" = yes; then :
12034 lt_cv_dlopen_self
=cross
12036 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12037 lt_status
=$lt_dlunknown
12038 cat > conftest.
$ac_ext <<_LT_EOF
12039 #line 12039 "configure"
12040 #include "confdefs.h"
12049 # define LT_DLGLOBAL RTLD_GLOBAL
12052 # define LT_DLGLOBAL DL_GLOBAL
12054 # define LT_DLGLOBAL 0
12058 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12059 find out it does not work in some platform. */
12060 #ifndef LT_DLLAZY_OR_NOW
12062 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12065 # define LT_DLLAZY_OR_NOW DL_LAZY
12068 # define LT_DLLAZY_OR_NOW RTLD_NOW
12071 # define LT_DLLAZY_OR_NOW DL_NOW
12073 # define LT_DLLAZY_OR_NOW 0
12080 /* When -fvisbility=hidden is used, assume the code has been annotated
12081 correspondingly for the symbols needed. */
12082 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12083 void fnord () __attribute__((visibility("default")));
12086 void fnord () { int i=42; }
12089 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12090 int status = $lt_dlunknown;
12094 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12097 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12098 else puts (dlerror ());
12100 /* dlclose (self); */
12108 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12109 (eval $ac_link) 2>&5
12111 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12112 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12113 (.
/conftest
; exit; ) >&5 2>/dev
/null
12115 case x
$lt_status in
12116 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12117 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12118 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
12121 # compilation failed
12122 lt_cv_dlopen_self
=no
12129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12130 $as_echo "$lt_cv_dlopen_self" >&6; }
12132 if test "x$lt_cv_dlopen_self" = xyes
; then
12133 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
12134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12135 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12136 if ${lt_cv_dlopen_self_static+:} false
; then :
12137 $as_echo_n "(cached) " >&6
12139 if test "$cross_compiling" = yes; then :
12140 lt_cv_dlopen_self_static
=cross
12142 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12143 lt_status
=$lt_dlunknown
12144 cat > conftest.
$ac_ext <<_LT_EOF
12145 #line 12145 "configure"
12146 #include "confdefs.h"
12155 # define LT_DLGLOBAL RTLD_GLOBAL
12158 # define LT_DLGLOBAL DL_GLOBAL
12160 # define LT_DLGLOBAL 0
12164 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12165 find out it does not work in some platform. */
12166 #ifndef LT_DLLAZY_OR_NOW
12168 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12171 # define LT_DLLAZY_OR_NOW DL_LAZY
12174 # define LT_DLLAZY_OR_NOW RTLD_NOW
12177 # define LT_DLLAZY_OR_NOW DL_NOW
12179 # define LT_DLLAZY_OR_NOW 0
12186 /* When -fvisbility=hidden is used, assume the code has been annotated
12187 correspondingly for the symbols needed. */
12188 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12189 void fnord () __attribute__((visibility("default")));
12192 void fnord () { int i=42; }
12195 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12196 int status = $lt_dlunknown;
12200 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12203 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12204 else puts (dlerror ());
12206 /* dlclose (self); */
12214 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12215 (eval $ac_link) 2>&5
12217 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12218 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12219 (.
/conftest
; exit; ) >&5 2>/dev
/null
12221 case x
$lt_status in
12222 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
12223 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
12224 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
12227 # compilation failed
12228 lt_cv_dlopen_self_static
=no
12235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12236 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12239 CPPFLAGS
="$save_CPPFLAGS"
12240 LDFLAGS
="$save_LDFLAGS"
12245 case $lt_cv_dlopen_self in
12246 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12247 *) enable_dlopen_self
=unknown
;;
12250 case $lt_cv_dlopen_self_static in
12251 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
12252 *) enable_dlopen_self_static
=unknown
;;
12274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12275 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12276 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
12277 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12278 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12280 $as_echo "yes" >&6; }
12282 # FIXME - insert some real tests, host_os isn't really good enough
12285 if test -n "$STRIP" ; then
12286 striplib
="$STRIP -x"
12287 old_striplib
="$STRIP -S"
12288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12289 $as_echo "yes" >&6; }
12291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12292 $as_echo "no" >&6; }
12296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12297 $as_echo "no" >&6; }
12313 # Report which library types will actually be built
12314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12315 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12317 $as_echo "$can_build_shared" >&6; }
12319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12320 $as_echo_n "checking whether to build shared libraries... " >&6; }
12321 test "$can_build_shared" = "no" && enable_shared
=no
12323 # On AIX, shared libraries and static libraries use the same namespace, and
12324 # are all built from PIC.
12327 test "$enable_shared" = yes && enable_static
=no
12328 if test -n "$RANLIB"; then
12329 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12330 postinstall_cmds
='$RANLIB $lib'
12335 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
12336 test "$enable_shared" = yes && enable_static
=no
12340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12341 $as_echo "$enable_shared" >&6; }
12343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12344 $as_echo_n "checking whether to build static libraries... " >&6; }
12345 # Make sure either enable_shared or enable_static is yes.
12346 test "$enable_shared" = yes || enable_static
=yes
12347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12348 $as_echo "$enable_static" >&6; }
12355 ac_cpp
='$CPP $CPPFLAGS'
12356 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12357 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12358 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12374 ac_config_commands
="$ac_config_commands libtool"
12379 # Only expand once:
12384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bind in -lsocket" >&5
12385 $as_echo_n "checking for bind in -lsocket... " >&6; }
12386 if ${ac_cv_lib_socket_bind+:} false
; then :
12387 $as_echo_n "(cached) " >&6
12389 ac_check_lib_save_LIBS
=$LIBS
12390 LIBS
="-lsocket $LIBS"
12391 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12392 /* end confdefs.h. */
12394 /* Override any GCC internal prototype to avoid an error.
12395 Use char because int might match the return type of a GCC
12396 builtin and then its argument prototype would still apply. */
12409 if ac_fn_c_try_link
"$LINENO"; then :
12410 ac_cv_lib_socket_bind
=yes
12412 ac_cv_lib_socket_bind
=no
12414 rm -f core conftest.err conftest.
$ac_objext \
12415 conftest
$ac_exeext conftest.
$ac_ext
12416 LIBS
=$ac_check_lib_save_LIBS
12418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_bind" >&5
12419 $as_echo "$ac_cv_lib_socket_bind" >&6; }
12420 if test "x$ac_cv_lib_socket_bind" = xyes
; then :
12421 cat >>confdefs.h
<<_ACEOF
12422 #define HAVE_LIBSOCKET 1
12425 LIBS
="-lsocket $LIBS"
12429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
12430 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
12431 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
12432 $as_echo_n "(cached) " >&6
12434 ac_check_lib_save_LIBS
=$LIBS
12436 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12437 /* end confdefs.h. */
12439 /* Override any GCC internal prototype to avoid an error.
12440 Use char because int might match the return type of a GCC
12441 builtin and then its argument prototype would still apply. */
12445 char gethostbyname ();
12449 return gethostbyname ();
12454 if ac_fn_c_try_link
"$LINENO"; then :
12455 ac_cv_lib_nsl_gethostbyname
=yes
12457 ac_cv_lib_nsl_gethostbyname
=no
12459 rm -f core conftest.err conftest.
$ac_objext \
12460 conftest
$ac_exeext conftest.
$ac_ext
12461 LIBS
=$ac_check_lib_save_LIBS
12463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
12464 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
12465 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
12466 cat >>confdefs.h
<<_ACEOF
12467 #define HAVE_LIBNSL 1
12474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabs in -lm" >&5
12475 $as_echo_n "checking for fabs in -lm... " >&6; }
12476 if ${ac_cv_lib_m_fabs+:} false
; then :
12477 $as_echo_n "(cached) " >&6
12479 ac_check_lib_save_LIBS
=$LIBS
12481 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12482 /* end confdefs.h. */
12484 /* Override any GCC internal prototype to avoid an error.
12485 Use char because int might match the return type of a GCC
12486 builtin and then its argument prototype would still apply. */
12499 if ac_fn_c_try_link
"$LINENO"; then :
12500 ac_cv_lib_m_fabs
=yes
12502 ac_cv_lib_m_fabs
=no
12504 rm -f core conftest.err conftest.
$ac_objext \
12505 conftest
$ac_exeext conftest.
$ac_ext
12506 LIBS
=$ac_check_lib_save_LIBS
12508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fabs" >&5
12509 $as_echo "$ac_cv_lib_m_fabs" >&6; }
12510 if test "x$ac_cv_lib_m_fabs" = xyes
; then :
12511 cat >>confdefs.h
<<_ACEOF
12512 #define HAVE_LIBM 1
12519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log2 in -lm" >&5
12520 $as_echo_n "checking for log2 in -lm... " >&6; }
12521 if ${ac_cv_lib_m_log2+:} false
; then :
12522 $as_echo_n "(cached) " >&6
12524 ac_check_lib_save_LIBS
=$LIBS
12526 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12527 /* end confdefs.h. */
12529 /* Override any GCC internal prototype to avoid an error.
12530 Use char because int might match the return type of a GCC
12531 builtin and then its argument prototype would still apply. */
12544 if ac_fn_c_try_link
"$LINENO"; then :
12545 ac_cv_lib_m_log2
=yes
12547 ac_cv_lib_m_log2
=no
12549 rm -f core conftest.err conftest.
$ac_objext \
12550 conftest
$ac_exeext conftest.
$ac_ext
12551 LIBS
=$ac_check_lib_save_LIBS
12553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_log2" >&5
12554 $as_echo "$ac_cv_lib_m_log2" >&6; }
12555 if test "x$ac_cv_lib_m_log2" = xyes
; then :
12556 cat >>confdefs.h
<<_ACEOF
12557 #define HAVE_LIBM 1
12567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
12568 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
12569 # Check whether --enable-maintainer-mode was given.
12570 if test "${enable_maintainer_mode+set}" = set; then :
12571 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
12573 USE_MAINTAINER_MODE
=no
12576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
12577 $as_echo "$USE_MAINTAINER_MODE" >&6; }
12578 if test $USE_MAINTAINER_MODE = yes; then
12579 MAINTAINER_MODE_TRUE
=
12580 MAINTAINER_MODE_FALSE
='#'
12582 MAINTAINER_MODE_TRUE
='#'
12583 MAINTAINER_MODE_FALSE
=
12586 MAINT
=$MAINTAINER_MODE_TRUE
12589 am__api_version
='1.15'
12591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
12592 $as_echo_n "checking whether build environment is sane... " >&6; }
12593 # Reject unsafe characters in $srcdir or the absolute working directory
12594 # name. Accept space and tab only in the latter.
12598 *[\\\"\
#\$\&\'\`$am_lf]*)
12599 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
12602 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
12603 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
12606 # Do 'set' in a subshell so we don't clobber the current shell's
12607 # arguments. Must try -L first in case configure is actually a
12608 # symlink; some systems play weird games with the mod time of symlinks
12609 # (eg FreeBSD returns the mod time of the symlink's containing
12613 for am_try
in 1 2; do
12614 echo "timestamp, slept: $am_has_slept" > conftest.
file
12615 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
12616 if test "$*" = "X"; then
12618 set X
`ls -t "$srcdir/configure" conftest.file`
12620 if test "$*" != "X $srcdir/configure conftest.file" \
12621 && test "$*" != "X conftest.file $srcdir/configure"; then
12623 # If neither matched, then we have a broken ls. This can happen
12624 # if, for instance, CONFIG_SHELL is bash and it inherits a
12625 # broken ls alias from the environment. This has actually
12626 # happened. Such a system could not be considered "sane".
12627 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
12628 alias in your environment" "$LINENO" 5
12630 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
12637 test "$2" = conftest.
file
12643 as_fn_error $?
"newly created file is older than distributed files!
12644 Check your system clock" "$LINENO" 5
12646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12647 $as_echo "yes" >&6; }
12648 # If we didn't sleep, we still need to ensure time stamps of config.status and
12649 # generated files are strictly newer.
12651 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
12656 rm -f conftest.
file
12658 if test x
"${MISSING+set}" != xset
; then
12659 case $am_aux_dir in
12661 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
12663 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
12666 # Use eval to expand $SHELL
12667 if eval "$MISSING --is-lightweight"; then
12668 am_missing_run
="$MISSING "
12671 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
12672 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
12675 if test x
"${install_sh+set}" != xset
; then
12676 case $am_aux_dir in
12678 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
12680 install_sh
="\${SHELL} $am_aux_dir/install-sh"
12684 # Installed binaries are usually stripped using 'strip' when the user
12685 # run "make install-strip". However 'strip' might not be the right
12686 # tool to use in cross-compilation environments, therefore Automake
12687 # will honor the 'STRIP' environment variable to overrule this program.
12688 if test "$cross_compiling" != no
; then
12689 if test -n "$ac_tool_prefix"; then
12690 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
12691 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
12692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12693 $as_echo_n "checking for $ac_word... " >&6; }
12694 if ${ac_cv_prog_STRIP+:} false
; then :
12695 $as_echo_n "(cached) " >&6
12697 if test -n "$STRIP"; then
12698 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
12700 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12701 for as_dir
in $PATH
12704 test -z "$as_dir" && as_dir
=.
12705 for ac_exec_ext
in '' $ac_executable_extensions; do
12706 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12707 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
12708 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12717 STRIP
=$ac_cv_prog_STRIP
12718 if test -n "$STRIP"; then
12719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
12720 $as_echo "$STRIP" >&6; }
12722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12723 $as_echo "no" >&6; }
12728 if test -z "$ac_cv_prog_STRIP"; then
12730 # Extract the first word of "strip", so it can be a program name with args.
12731 set dummy strip
; ac_word
=$2
12732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12733 $as_echo_n "checking for $ac_word... " >&6; }
12734 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
12735 $as_echo_n "(cached) " >&6
12737 if test -n "$ac_ct_STRIP"; then
12738 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
12740 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12741 for as_dir
in $PATH
12744 test -z "$as_dir" && as_dir
=.
12745 for ac_exec_ext
in '' $ac_executable_extensions; do
12746 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12747 ac_cv_prog_ac_ct_STRIP
="strip"
12748 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12757 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
12758 if test -n "$ac_ct_STRIP"; then
12759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
12760 $as_echo "$ac_ct_STRIP" >&6; }
12762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12763 $as_echo "no" >&6; }
12766 if test "x$ac_ct_STRIP" = x
; then
12769 case $cross_compiling:$ac_tool_warned in
12771 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12772 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12773 ac_tool_warned
=yes ;;
12778 STRIP
="$ac_cv_prog_STRIP"
12782 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
12784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
12785 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
12786 if test -z "$MKDIR_P"; then
12787 if ${ac_cv_path_mkdir+:} false
; then :
12788 $as_echo_n "(cached) " >&6
12790 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12791 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
12794 test -z "$as_dir" && as_dir
=.
12795 for ac_prog
in mkdir gmkdir
; do
12796 for ac_exec_ext
in '' $ac_executable_extensions; do
12797 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
12798 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
12799 'mkdir (GNU coreutils) '* | \
12800 'mkdir (coreutils) '* | \
12801 'mkdir (fileutils) '4.1*)
12802 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
12812 test -d .
/--version && rmdir .
/--version
12813 if test "${ac_cv_path_mkdir+set}" = set; then
12814 MKDIR_P
="$ac_cv_path_mkdir -p"
12816 # As a last resort, use the slow shell script. Don't cache a
12817 # value for MKDIR_P within a source directory, because that will
12818 # break other packages using the cache if that directory is
12819 # removed, or if the value is a relative name.
12820 MKDIR_P
="$ac_install_sh -d"
12823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
12824 $as_echo "$MKDIR_P" >&6; }
12826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
12827 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
12829 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
12830 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
12831 $as_echo_n "(cached) " >&6
12833 cat >conftest.
make <<\_ACEOF
12836 @
echo '@@@%%%=$(MAKE)=@@@%%%'
12838 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
12839 case `${MAKE-make} -f conftest.make 2>/dev/null` in
12840 *@@@
%%%=?
*=@@@
%%%*)
12841 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
12843 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
12845 rm -f conftest.
make
12847 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
12848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12849 $as_echo "yes" >&6; }
12852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12853 $as_echo "no" >&6; }
12854 SET_MAKE
="MAKE=${MAKE-make}"
12857 rm -rf .tst
2>/dev
/null
12858 mkdir .tst
2>/dev
/null
12859 if test -d .tst
; then
12864 rmdir .tst
2>/dev
/null
12866 DEPDIR
="${am__leading_dot}deps"
12868 ac_config_commands
="$ac_config_commands depfiles"
12871 am_make
=${MAKE-make}
12872 cat > confinc
<< 'END'
12874 @
echo this is the am__doit target
12877 # If we don't find an include directive, just comment out the code.
12878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
12879 $as_echo_n "checking for style of include used by $am_make... " >&6; }
12883 # First try GNU make style include.
12884 echo "include confinc" > confmf
12885 # Ignore all kinds of additional output from 'make'.
12886 case `$am_make -s -f confmf 2> /dev/null` in #(
12887 *the\ am__doit\ target
*)
12888 am__include
=include
12893 # Now try BSD make style include.
12894 if test "$am__include" = "#"; then
12895 echo '.include "confinc"' > confmf
12896 case `$am_make -s -f confmf 2> /dev/null` in #(
12897 *the\ am__doit\ target
*)
12898 am__include
=.include
12906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
12907 $as_echo "$_am_result" >&6; }
12908 rm -f confinc confmf
12910 # Check whether --enable-dependency-tracking was given.
12911 if test "${enable_dependency_tracking+set}" = set; then :
12912 enableval
=$enable_dependency_tracking;
12915 if test "x$enable_dependency_tracking" != xno
; then
12916 am_depcomp
="$ac_aux_dir/depcomp"
12920 if test "x$enable_dependency_tracking" != xno; then
12929 # Check whether --enable-silent-rules was given.
12930 if test "${enable_silent_rules+set}" = set; then :
12931 enableval
=$enable_silent_rules;
12934 case $enable_silent_rules in # (((
12935 yes) AM_DEFAULT_VERBOSITY
=0;;
12936 no
) AM_DEFAULT_VERBOSITY
=1;;
12937 *) AM_DEFAULT_VERBOSITY
=1;;
12939 am_make
=${MAKE-make}
12940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
12941 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
12942 if ${am_cv_make_support_nested_variables+:} false
; then :
12943 $as_echo_n "(cached) " >&6
12945 if $as_echo 'TRUE=$(BAR$(V))
12951 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
12952 am_cv_make_support_nested_variables
=yes
12954 am_cv_make_support_nested_variables
=no
12957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
12958 $as_echo "$am_cv_make_support_nested_variables" >&6; }
12959 if test $am_cv_make_support_nested_variables = yes; then
12961 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
12963 AM_V
=$AM_DEFAULT_VERBOSITY
12964 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
12968 if test "`cd $srcdir && pwd`" != "`pwd`"; then
12969 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
12970 # is not polluted with repeated "-I."
12971 am__isrc
=' -I$(srcdir)'
12972 # test to see if srcdir already configured
12973 if test -f $srcdir/config.status
; then
12974 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
12978 # test whether we have cygpath
12979 if test -z "$CYGPATH_W"; then
12980 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
12981 CYGPATH_W
='cygpath -w'
12988 # Define the identity of the package.
12993 cat >>confdefs.h
<<_ACEOF
12994 #define PACKAGE "$PACKAGE"
12998 cat >>confdefs.h
<<_ACEOF
12999 #define VERSION "$VERSION"
13002 # Some tools Automake needs.
13004 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
13007 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
13010 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
13013 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
13016 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
13018 # For better backward compatibility. To be removed once Automake 1.9.x
13019 # dies out for good. For more background, see:
13020 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
13021 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
13022 mkdir_p
='$(MKDIR_P)'
13024 # We need awk for the "check" target (and possibly the TAP driver). The
13025 # system "awk" is bad on some platforms.
13026 # Always define AMTAR for backward compatibility. Yes, it's still used
13027 # in the wild :-( We should find a proper way to deprecate it ...
13028 AMTAR
='$${TAR-tar}'
13031 # We'll loop over all known methods to create a tar archive until one works.
13032 _am_tools
='gnutar pax cpio none'
13034 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
13040 depcc
="$CC" am_compiler_list
=
13042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
13043 $as_echo_n "checking dependency style of $depcc... " >&6; }
13044 if ${am_cv_CC_dependencies_compiler_type+:} false
; then :
13045 $as_echo_n "(cached) " >&6
13047 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
13048 # We make a subdir and do the tests there. Otherwise we can end up
13049 # making bogus files that we don't know about and never remove. For
13050 # instance it was reported that on HP-UX the gcc test will end up
13051 # making a dummy file named 'D' -- because '-MD' means "put the output
13053 rm -rf conftest.dir
13055 # Copy depcomp to subdir because otherwise we won't find it if we're
13056 # using a relative directory.
13057 cp "$am_depcomp" conftest.dir
13059 # We will build objects and dependencies in a subdirectory because
13060 # it helps to detect inapplicable dependency modes. For instance
13061 # both Tru64's cc and ICC support -MD to output dependencies as a
13062 # side effect of compilation, but ICC will put the dependencies in
13063 # the current directory while Tru64 will put them in the object
13067 am_cv_CC_dependencies_compiler_type
=none
13068 if test "$am_compiler_list" = ""; then
13069 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
13071 am__universal
=false
13072 case " $depcc " in #(
13073 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
13076 for depmode
in $am_compiler_list; do
13077 # Setup a source with many dependencies, because some compilers
13078 # like to wrap large dependency lists on column 80 (with \), and
13079 # we should not choose a depcomp mode which is confused by this.
13081 # We need to recreate these files for each test, as the compiler may
13082 # overwrite some of them when testing with obscure command lines.
13083 # This happens at least with the AIX C compiler.
13085 for i
in 1 2 3 4 5 6; do
13086 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
13087 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
13088 # Solaris 10 /bin/sh.
13089 echo '/* dummy */' > sub
/conftst
$i.h
13091 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
13093 # We check with '-c' and '-o' for the sake of the "dashmstdout"
13094 # mode. It turns out that the SunPro C++ compiler does not properly
13095 # handle '-M -o', and we need to detect this. Also, some Intel
13096 # versions had trouble with output in subdirs.
13097 am__obj
=sub
/conftest.
${OBJEXT-o}
13098 am__minus_obj
="-o $am__obj"
13101 # This depmode causes a compiler race in universal mode.
13102 test "$am__universal" = false ||
continue
13105 # After this tag, mechanisms are not by side-effect, so they'll
13106 # only be used when explicitly requested.
13107 if test "x$enable_dependency_tracking" = xyes
; then
13113 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
13114 # This compiler won't grok '-c -o', but also, the minuso test has
13115 # not run yet. These depmodes are late enough in the game, and
13116 # so weak that their functioning should not be impacted.
13117 am__obj
=conftest.
${OBJEXT-o}
13122 if depmode
=$depmode \
13123 source=sub
/conftest.c object
=$am__obj \
13124 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
13125 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
13126 >/dev
/null
2>conftest.err
&&
13127 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
13128 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
13129 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
13130 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
13131 # icc doesn't choke on unknown options, it will just issue warnings
13132 # or remarks (even with -Werror). So we grep stderr for any message
13133 # that says an option was ignored or not supported.
13134 # When given -MP, icc 7.0 and 7.1 complain thusly:
13135 # icc: Command line warning: ignoring option '-M'; no argument required
13136 # The diagnosis changed in icc 8.0:
13137 # icc: Command line remark: option '-MP' not supported
13138 if (grep 'ignoring option' conftest.err ||
13139 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
13140 am_cv_CC_dependencies_compiler_type
=$depmode
13147 rm -rf conftest.dir
13149 am_cv_CC_dependencies_compiler_type
=none
13153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
13154 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
13155 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
13158 test "x$enable_dependency_tracking" != xno \
13159 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
13160 am__fastdepCC_TRUE
=
13161 am__fastdepCC_FALSE
='#'
13163 am__fastdepCC_TRUE
='#'
13164 am__fastdepCC_FALSE
=
13169 # POSIX will say in a future version that running "rm -f" with no argument
13170 # is OK; and we want to be able to make that assumption in our Makefile
13171 # recipes. So use an aggressive probe to check that the usage we want is
13172 # actually supported "in the wild" to an acceptable degree.
13173 # See automake bug#10828.
13174 # To make any issue more visible, cause the running configure to be aborted
13175 # by default if the 'rm' program in use doesn't match our expectations; the
13176 # user can still override this though.
13177 if rm -f && rm -fr && rm -rf; then : OK
; else
13181 Your 'rm' program seems unable to run without file operands specified
13182 on the command line, even when the '-f' option is present. This is contrary
13183 to the behaviour of most rm programs out there, and not conforming with
13184 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
13186 Please tell bug-automake@gnu.org about your system, including the value
13187 of your $PATH and any error possibly output before this message. This
13188 can help us improve future automake versions.
13191 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
13192 echo 'Configuration will proceed anyway, since you have set the' >&2
13193 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
13197 Aborting the configuration process, to ensure you take notice of the issue.
13199 You can download and install GNU coreutils to get an 'rm' implementation
13200 that behaves properly: <http://www.gnu.org/software/coreutils/>.
13202 If you want to complete the configuration process using your problematic
13203 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
13204 to "yes", and re-run configure.
13207 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
13211 # Check whether --enable-silent-rules was given.
13212 if test "${enable_silent_rules+set}" = set; then :
13213 enableval
=$enable_silent_rules;
13216 case $enable_silent_rules in # (((
13217 yes) AM_DEFAULT_VERBOSITY
=0;;
13218 no
) AM_DEFAULT_VERBOSITY
=1;;
13219 *) AM_DEFAULT_VERBOSITY
=0;;
13221 am_make
=${MAKE-make}
13222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
13223 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
13224 if ${am_cv_make_support_nested_variables+:} false
; then :
13225 $as_echo_n "(cached) " >&6
13227 if $as_echo 'TRUE=$(BAR$(V))
13233 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
13234 am_cv_make_support_nested_variables
=yes
13236 am_cv_make_support_nested_variables
=no
13239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
13240 $as_echo "$am_cv_make_support_nested_variables" >&6; }
13241 if test $am_cv_make_support_nested_variables = yes; then
13243 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
13245 AM_V
=$AM_DEFAULT_VERBOSITY
13246 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
13251 # If a cpu ever has more than one simulator to choose from, use
13252 # --enable-sim=... to choose.
13253 # Check whether --enable-sim was given.
13254 if test "${enable_sim+set}" = set; then :
13255 enableval=$enable_sim; case "${enableval}" in
13257 *) as_fn_error $? "bad value ${enableval} given for --enable-sim option" "$LINENO" 5 ;;
13262 # Check whether --enable-example-sims was given.
13263 if test "${enable_example_sims+set}" = set; then :
13264 enableval=$enable_example_sims;
13268 # Check whether --enable-targets was given.
13269 if test "${enable_targets+set}" = set; then :
13270 enableval=$enable_targets; case "${enableval}" in
13271 yes | "") as_fn_error $? "enable-targets option must specify target names or 'all
'" "$LINENO" 5
13273 no) enable_targets= ;;
13274 *) enable_targets=$enableval ;;
13279 SIM_PRIMARY_TARGET=
13285 if test "${enable_sim}" != no; then
13287 for targ in `echo $target $enable_targets | sed 's
/,/ /g
'`
13291 if test "${targ}" = "${target}"; then
13292 SIM_PRIMARY_TARGET=aarch64
13296 subdirs="$subdirs aarch64"
13298 ac_config_commands="$ac_config_commands depdir-aarch64"
13307 if test "${targ}" = "${target}"; then
13308 SIM_PRIMARY_TARGET=arm
13310 subdirs="$subdirs arm"
13312 ac_config_commands="$ac_config_commands depdir-arm"
13321 if test "${targ}" = "${target}"; then
13322 SIM_PRIMARY_TARGET=avr
13324 subdirs="$subdirs avr"
13326 ac_config_commands="$ac_config_commands depdir-avr"
13335 if test "${targ}" = "${target}"; then
13336 SIM_PRIMARY_TARGET=bfin
13338 subdirs="$subdirs bfin"
13340 ac_config_commands="$ac_config_commands depdir-bfin"
13349 if test "${targ}" = "${target}"; then
13350 SIM_PRIMARY_TARGET=bpf
13352 subdirs="$subdirs bpf"
13354 ac_config_commands="$ac_config_commands depdir-bpf"
13363 if test "${targ}" = "${target}"; then
13364 SIM_PRIMARY_TARGET=cr16
13366 subdirs="$subdirs cr16"
13368 ac_config_commands="$ac_config_commands depdir-cr16"
13376 all|cris-*-* | crisv32-*-*)
13377 if test "${targ}" = "${target}"; then
13378 SIM_PRIMARY_TARGET=cris
13380 subdirs="$subdirs cris"
13382 ac_config_commands="$ac_config_commands depdir-cris"
13391 if test "${targ}" = "${target}"; then
13392 SIM_PRIMARY_TARGET=d10v
13394 subdirs="$subdirs d10v"
13396 ac_config_commands="$ac_config_commands depdir-d10v"
13405 if test "${targ}" = "${target}"; then
13406 SIM_PRIMARY_TARGET=frv
13408 subdirs="$subdirs frv"
13410 ac_config_commands="$ac_config_commands depdir-frv"
13419 if test "${targ}" = "${target}"; then
13420 SIM_PRIMARY_TARGET=h8300
13422 subdirs="$subdirs h8300"
13424 ac_config_commands="$ac_config_commands depdir-h8300"
13433 if test "${targ}" = "${target}"; then
13434 SIM_PRIMARY_TARGET=iq2000
13436 subdirs="$subdirs iq2000"
13438 ac_config_commands="$ac_config_commands depdir-iq2000"
13447 if test "${targ}" = "${target}"; then
13448 SIM_PRIMARY_TARGET=lm32
13450 subdirs="$subdirs lm32"
13452 ac_config_commands="$ac_config_commands depdir-lm32"
13461 if test "${targ}" = "${target}"; then
13462 SIM_PRIMARY_TARGET=m32c
13464 subdirs="$subdirs m32c"
13466 ac_config_commands="$ac_config_commands depdir-m32c"
13475 if test "${targ}" = "${target}"; then
13476 SIM_PRIMARY_TARGET=m32r
13478 subdirs="$subdirs m32r"
13480 ac_config_commands="$ac_config_commands depdir-m32r"
13488 all|m68hc11-*-*|m6811-*-*)
13489 if test "${targ}" = "${target}"; then
13490 SIM_PRIMARY_TARGET=m68hc11
13492 subdirs="$subdirs m68hc11"
13494 ac_config_commands="$ac_config_commands depdir-m68hc11"
13503 if test "${targ}" = "${target}"; then
13504 SIM_PRIMARY_TARGET=mcore
13506 subdirs="$subdirs mcore"
13508 ac_config_commands="$ac_config_commands depdir-mcore"
13516 all|microblaze-*-*)
13517 if test "${targ}" = "${target}"; then
13518 SIM_PRIMARY_TARGET=microblaze
13520 subdirs="$subdirs microblaze"
13522 ac_config_commands="$ac_config_commands depdir-microblaze"
13531 if test "${targ}" = "${target}"; then
13532 SIM_PRIMARY_TARGET=mips
13534 subdirs="$subdirs mips"
13536 ac_config_commands="$ac_config_commands depdir-mips"
13545 if test "${targ}" = "${target}"; then
13546 SIM_PRIMARY_TARGET=mn10300
13548 subdirs="$subdirs mn10300"
13550 ac_config_commands="$ac_config_commands depdir-mn10300"
13559 if test "${targ}" = "${target}"; then
13560 SIM_PRIMARY_TARGET=moxie
13562 subdirs="$subdirs moxie"
13564 ac_config_commands="$ac_config_commands depdir-moxie"
13573 if test "${targ}" = "${target}"; then
13574 SIM_PRIMARY_TARGET=msp430
13576 subdirs="$subdirs msp430"
13578 ac_config_commands="$ac_config_commands depdir-msp430"
13586 all|or1k-*-* | or1knd-*-*)
13587 if test "${targ}" = "${target}"; then
13588 SIM_PRIMARY_TARGET=or1k
13590 subdirs="$subdirs or1k"
13592 ac_config_commands="$ac_config_commands depdir-or1k"
13601 if test "${targ}" = "${target}"; then
13602 SIM_PRIMARY_TARGET=pru
13604 subdirs="$subdirs pru"
13606 ac_config_commands="$ac_config_commands depdir-pru"
13615 if test "${targ}" = "${target}"; then
13616 SIM_PRIMARY_TARGET=riscv
13618 subdirs="$subdirs riscv"
13620 ac_config_commands="$ac_config_commands depdir-riscv"
13629 if test "${targ}" = "${target}"; then
13630 SIM_PRIMARY_TARGET=rl78
13632 subdirs="$subdirs rl78"
13634 ac_config_commands="$ac_config_commands depdir-rl78"
13643 if test "${targ}" = "${target}"; then
13644 SIM_PRIMARY_TARGET=rx
13646 subdirs="$subdirs rx"
13648 ac_config_commands="$ac_config_commands depdir-rx"
13657 if test "${targ}" = "${target}"; then
13658 SIM_PRIMARY_TARGET=sh
13660 subdirs="$subdirs sh"
13662 ac_config_commands="$ac_config_commands depdir-sh"
13670 all|sparc-*-rtems*|sparc-*-elf*)
13671 if test "${targ}" = "${target}"; then
13672 SIM_PRIMARY_TARGET=erc32
13674 subdirs="$subdirs erc32"
13676 ac_config_commands="$ac_config_commands depdir-erc32"
13685 if test "${targ}" = "${target}"; then
13686 SIM_PRIMARY_TARGET=ppc
13688 subdirs="$subdirs ppc"
13690 ac_config_commands="$ac_config_commands depdir-ppc"
13699 if test "${targ}" = "${target}"; then
13700 SIM_PRIMARY_TARGET=ft32
13702 subdirs="$subdirs ft32"
13704 ac_config_commands="$ac_config_commands depdir-ft32"
13713 if test "${targ}" = "${target}"; then
13714 SIM_PRIMARY_TARGET=v850
13716 subdirs="$subdirs v850"
13718 ac_config_commands="$ac_config_commands depdir-v850"
13727 if test "x${enable_example_sims}" = xyes; then
13728 subdirs="$subdirs example-synacor"
13730 ac_config_commands="$ac_config_commands depdir-example-synacor"
13735 if test "$sim_igen" = "yes"; then
13736 SIM_ENABLE_IGEN_TRUE=
13737 SIM_ENABLE_IGEN_FALSE='#'
13739 SIM_ENABLE_IGEN_TRUE
='#'
13740 SIM_ENABLE_IGEN_FALSE
=
13744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to force sim alignment" >&5
13745 $as_echo_n "checking whether to force sim alignment... " >&6; }
13747 # Check whether --enable-sim-alignment was given.
13748 if test "${enable_sim_alignment+set}" = set; then :
13749 enableval
=$enable_sim_alignment; case "${enableval}" in
13750 yes | strict | STRICT
) sim_alignment
="STRICT_ALIGNMENT";;
13751 no | nonstrict | NONSTRICT
) sim_alignment
="NONSTRICT_ALIGNMENT";;
13752 forced | FORCED
) sim_alignment
="FORCED_ALIGNMENT";;
13753 *) as_fn_error $?
"\"Unknown value $enableval passed to --enable-sim-alignment\"" "$LINENO" 5;;
13757 cat >>confdefs.h
<<_ACEOF
13758 #define WITH_ALIGNMENT ${sim_alignment:-0}
13761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${sim_alignment:-no}" >&5
13762 $as_echo "${sim_alignment:-no}" >&6; }
13765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable sim asserts" >&5
13766 $as_echo_n "checking whether to enable sim asserts... " >&6; }
13768 # Check whether --enable-sim-assert was given.
13769 if test "${enable_sim_assert+set}" = set; then :
13770 enableval
=$enable_sim_assert; case "${enableval}" in
13771 yes) sim_assert
="1";;
13772 no
) sim_assert
="0";;
13773 *) as_fn_error $?
"--enable-sim-assert does not take a value" "$LINENO" 5;;
13777 cat >>confdefs.h
<<_ACEOF
13778 #define WITH_ASSERT $sim_assert
13781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_assert" >&5
13782 $as_echo "$sim_assert" >&6; }
13784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sim debug setting" >&5
13785 $as_echo_n "checking for sim debug setting... " >&6; }
13787 # Check whether --enable-sim-debug was given.
13788 if test "${enable_sim_debug+set}" = set; then :
13789 enableval
=$enable_sim_debug; case "${enableval}" in
13790 yes) sim_debug
="7";;
13791 no
) sim_debug
="0";;
13792 *) sim_debug
="($enableval)";;
13795 if test "$sim_debug" != "0"; then
13797 cat >>confdefs.h
<<_ACEOF
13798 #define DEBUG $sim_debug
13803 cat >>confdefs.h
<<_ACEOF
13804 #define WITH_DEBUG $sim_debug
13807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_debug" >&5
13808 $as_echo "$sim_debug" >&6; }
13810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to force sim endianness" >&5
13811 $as_echo_n "checking whether to force sim endianness... " >&6; }
13813 # Check whether --enable-sim-endian was given.
13814 if test "${enable_sim_endian+set}" = set; then :
13815 enableval
=$enable_sim_endian; case "${enableval}" in
13816 b
*|B
*) sim_endian
="BFD_ENDIAN_BIG";;
13817 l
*|L
*) sim_endian
="BFD_ENDIAN_LITTLE";;
13819 *) as_fn_error $?
"\"Unknown value $enableval for --enable-sim-endian\"" "$LINENO" 5;;
13823 cat >>confdefs.h
<<_ACEOF
13824 #define WITH_TARGET_BYTE_ORDER ${sim_endian:-BFD_ENDIAN_UNKNOWN}
13827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${sim_alignment:-no}" >&5
13828 $as_echo "${sim_alignment:-no}" >&6; }
13831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking default sim environment setting" >&5
13832 $as_echo_n "checking default sim environment setting... " >&6; }
13833 sim_environment
="ALL_ENVIRONMENT"
13834 # Check whether --enable-sim-environment was given.
13835 if test "${enable_sim_environment+set}" = set; then :
13836 enableval
=$enable_sim_environment; case "${enableval}" in
13837 all | ALL
) sim_environment
="ALL_ENVIRONMENT";;
13838 user | USER
) sim_environment
="USER_ENVIRONMENT";;
13839 virtual | VIRTUAL
) sim_environment
="VIRTUAL_ENVIRONMENT";;
13840 operating | OPERATING
) sim_environment
="OPERATING_ENVIRONMENT";;
13841 *) as_fn_error $?
"Unknown value $enableval passed to --enable-sim-environment" "$LINENO" 5;;
13845 cat >>confdefs.h
<<_ACEOF
13846 #define WITH_ENVIRONMENT $sim_environment
13849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_environment" >&5
13850 $as_echo "$sim_environment" >&6; }
13852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sim inline settings" >&5
13853 $as_echo_n "checking sim inline settings... " >&6; }
13854 sim_inline
="-DDEFAULT_INLINE=0"
13855 # Check whether --enable-sim-inline was given.
13856 if test "${enable_sim_inline+set}" = set; then :
13857 enableval
=$enable_sim_inline; sim_inline
=""
13858 case "$enableval" in
13859 no
) sim_inline
="-DDEFAULT_INLINE=0";;
13860 0) sim_inline
="-DDEFAULT_INLINE=0";;
13861 yes |
2) sim_inline
="-DDEFAULT_INLINE=ALL_C_INLINE";;
13862 1) sim_inline
="-DDEFAULT_INLINE=INLINE_LOCALS";;
13863 *) for x
in `echo "$enableval" | sed -e "s/,/ /g"`; do
13866 *_INLINE
=*) new_flag
="-D$x";;
13867 *=*) new_flag
=`echo "$x" | sed -e "s/=/_INLINE=/" -e "s/^/-D/"`;;
13868 *_INLINE
) new_flag
="-D$x=ALL_C_INLINE";;
13869 *) new_flag
="-D$x""_INLINE=ALL_C_INLINE";;
13871 if test x
"$sim_inline" = x
""; then
13872 sim_inline
="$new_flag"
13874 sim_inline
="$sim_inline $new_flag"
13880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_inline" >&5
13881 $as_echo "$sim_inline" >&6; }
13882 SIM_INLINE
=$sim_inline
13885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sim profile settings" >&5
13886 $as_echo_n "checking for sim profile settings... " >&6; }
13889 # Check whether --enable-sim-profile was given.
13890 if test "${enable_sim_profile+set}" = set; then :
13891 enableval
=$enable_sim_profile; case "${enableval}" in
13892 yes) profile
="1" sim_profile
="-1";;
13893 no
) profile
="0" sim_profile
="0";;
13895 profile
="(${enableval})" sim_profile
="(${enableval})";;
13899 for x
in `echo "$enableval" | sed -e "s/,/ /g"`; do
13900 if test x
"$sim_profile" = x
; then
13901 sim_profile
="(PROFILE_$x"
13903 sim_profile
="${sim_profile}|PROFILE_$x"
13906 sim_profile
="$sim_profile)" ;;
13910 cat >>confdefs.h
<<_ACEOF
13911 #define PROFILE $profile
13915 cat >>confdefs.h
<<_ACEOF
13916 #define WITH_PROFILE $sim_profile
13919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_profile" >&5
13920 $as_echo "$sim_profile" >&6; }
13922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sim stdio debug behavior" >&5
13923 $as_echo_n "checking for sim stdio debug behavior... " >&6; }
13925 # Check whether --enable-sim-stdio was given.
13926 if test "${enable_sim_stdio+set}" = set; then :
13927 enableval
=$enable_sim_stdio; case "${enableval}" in
13928 yes) sim_stdio
="DO_USE_STDIO";;
13929 no
) sim_stdio
="DONT_USE_STDIO";;
13930 *) as_fn_error $?
"Unknown value $enableval passed to --enable-sim-stdio" "$LINENO" 5;;
13934 cat >>confdefs.h
<<_ACEOF
13935 #define WITH_STDIO $sim_stdio
13938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_stdio" >&5
13939 $as_echo "$sim_stdio" >&6; }
13941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sim trace settings" >&5
13942 $as_echo_n "checking for sim trace settings... " >&6; }
13943 sim_trace
="~TRACE_debug"
13944 # Check whether --enable-sim-trace was given.
13945 if test "${enable_sim_trace+set}" = set; then :
13946 enableval
=$enable_sim_trace; case "${enableval}" in
13947 yes) sim_trace
="-1";;
13948 no
) sim_trace
="0";;
13950 sim_trace
="'(${enableval})'";;
13953 for x
in `echo "$enableval" | sed -e "s/,/ /g"`; do
13954 if test x
"$sim_trace" = x
; then
13955 sim_trace
="(TRACE_$x"
13957 sim_trace
="${sim_trace}|TRACE_$x"
13960 sim_trace
="$sim_trace)" ;;
13964 cat >>confdefs.h
<<_ACEOF
13965 #define WITH_TRACE $sim_trace
13968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_trace" >&5
13969 $as_echo "$sim_trace" >&6; }
13972 # Check whether --enable-werror was given.
13973 if test "${enable_werror+set}" = set; then :
13974 enableval
=$enable_werror; case "${enableval}" in
13975 yes | y
) ERROR_ON_WARNING
="yes" ;;
13976 no | n
) ERROR_ON_WARNING
="no" ;;
13977 *) as_fn_error $?
"bad value ${enableval} for --enable-werror" "$LINENO" 5 ;;
13982 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
13983 ERROR_ON_WARNING
=yes
13987 if test "${ERROR_ON_WARNING}" = yes ; then
13988 WERROR_CFLAGS
="-Werror"
13991 build_warnings
="-Wall -Wdeclaration-after-statement -Wpointer-arith \
13993 -Wno-unused -Wunused-value -Wunused-function \
13994 -Wno-switch -Wno-char-subscripts -Wmissing-prototypes
13995 -Wdeclaration-after-statement -Wempty-body -Wmissing-parameter-type \
13996 -Wold-style-declaration -Wold-style-definition"
13998 # Enable -Wno-format by default when using gcc on mingw since many
13999 # GCC versions complain about %I64.
14001 *-*-mingw32*) build_warnings
="$build_warnings -Wno-format" ;;
14002 *) build_warnings
="$build_warnings -Wformat-nonliteral" ;;
14005 # Check whether --enable-build-warnings was given.
14006 if test "${enable_build_warnings+set}" = set; then :
14007 enableval
=$enable_build_warnings; case "${enableval}" in
14009 no
) build_warnings
="-w";;
14010 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
14011 build_warnings
="${build_warnings} ${t}";;
14012 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
14013 build_warnings
="${t} ${build_warnings}";;
14014 *) build_warnings
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
14016 if test x
"$silent" != x
"yes" && test x
"$build_warnings" != x
""; then
14017 echo "Setting compiler warning flags = $build_warnings" 6>&1
14020 # Check whether --enable-sim-build-warnings was given.
14021 if test "${enable_sim_build_warnings+set}" = set; then :
14022 enableval
=$enable_sim_build_warnings; case "${enableval}" in
14024 no
) build_warnings
="-w";;
14025 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
14026 build_warnings
="${build_warnings} ${t}";;
14027 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
14028 build_warnings
="${t} ${build_warnings}";;
14029 *) build_warnings
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
14031 if test x
"$silent" != x
"yes" && test x
"$build_warnings" != x
""; then
14032 echo "Setting GDB specific compiler warning flags = $build_warnings" 6>&1
14036 if test "x${build_warnings}" != x
-a "x$GCC" = xyes
14038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking compiler warning flags" >&5
14039 $as_echo_n "checking compiler warning flags... " >&6; }
14040 # Separate out the -Werror flag as some files just cannot be
14041 # compiled with it enabled.
14042 for w
in ${build_warnings}; do
14044 -Werr*) WERROR_CFLAGS
=-Werror ;;
14045 *) # Check that GCC accepts it
14046 saved_CFLAGS
="$CFLAGS"
14047 CFLAGS
="$CFLAGS -Werror $w"
14048 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14049 /* end confdefs.h. */
14059 if ac_fn_c_try_compile
"$LINENO"; then :
14060 WARN_CFLAGS
="${WARN_CFLAGS} $w"
14062 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14063 CFLAGS
="$saved_CFLAGS"
14066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${WARN_CFLAGS} ${WERROR_CFLAGS}" >&5
14067 $as_echo "${WARN_CFLAGS} ${WERROR_CFLAGS}" >&6; }
14071 ac_config_files="$ac_config_files arch-subdir.mk Makefile
"
14073 cat >confcache <<\_ACEOF
14074 # This file is a shell script that caches the results of configure
14075 # tests run on this system so they can be shared between configure
14076 # scripts and configure runs, see configure's option --config-cache.
14077 # It is not useful on other systems. If it contains results you don't
14078 # want to keep, you may remove or edit it.
14080 # config.status only pays attention to the cache file if you give it
14081 # the --recheck option to rerun configure.
14083 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14084 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14085 # following values.
14089 # The following way of writing the cache mishandles newlines in values,
14090 # but we know of no workaround that is simple, portable, and efficient.
14091 # So, we kill variables containing newlines.
14092 # Ultrix sh set writes to stderr and can't be redirected directly,
14093 # and sets the high bit in the cache file unless we assign to the vars.
14095 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14096 eval ac_val=\$$ac_var
14100 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: cache variable
$ac_var contains a newline
" >&5
14101 $as_echo "$as_me: WARNING
: cache variable
$ac_var contains a newline
" >&2;} ;;
14104 _ | IFS | as_nl) ;; #(
14105 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14106 *) { eval $ac_var=; unset $ac_var;} ;;
14112 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14113 *${as_nl}ac_space=\ *)
14114 # `set' does not quote correctly, so add quotes: double-quote
14115 # substitution turns \\\\ into \\, and sed turns \\ into \.
14118 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
14121 # `set' quotes correctly as required by POSIX, so do not add quotes.
14122 sed -n "/^
[_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*=/p
"
14131 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14133 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14135 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14136 if test -w "$cache_file"; then
14137 if test "x
$cache_file" != "x
/dev
/null
"; then
14138 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache
$cache_file" >&5
14139 $as_echo "$as_me: updating cache
$cache_file" >&6;}
14140 if test ! -f "$cache_file" || test -h "$cache_file"; then
14141 cat confcache >"$cache_file"
14143 case $cache_file in #(
14145 mv -f confcache "$cache_file"$$ &&
14146 mv -f "$cache_file"$$ "$cache_file" ;; #(
14148 mv -f confcache "$cache_file" ;;
14153 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache
$cache_file" >&5
14154 $as_echo "$as_me: not updating unwritable cache
$cache_file" >&6;}
14159 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
14160 # Let make expand exec_prefix.
14161 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
14163 DEFS=-DHAVE_CONFIG_H
14168 for ac_i in : $LIBOBJS; do test "x
$ac_i" = x: && continue
14169 # 1. Remove the extension, and $U if already installed.
14170 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
14171 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14172 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14173 # will be set to the directory where LIBOBJS objects are built.
14174 as_fn_append ac_libobjs " \
${LIBOBJDIR}$ac_i\
$U.
$ac_objext"
14175 as_fn_append ac_ltlibobjs " \
${LIBOBJDIR}$ac_i"'$U.lo'
14177 LIBOBJS=$ac_libobjs
14179 LTLIBOBJS=$ac_ltlibobjs
14183 if test -z "${PLUGINS_TRUE}" && test -z "${PLUGINS_FALSE}"; then
14184 as_fn_error $? "conditional
\"PLUGINS
\" was never defined.
14185 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
14187 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
14188 as_fn_error $? "conditional
\"MAINTAINER_MODE
\" was never defined.
14189 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
14191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure
" >&5
14192 $as_echo_n "checking that generated files are newer than configure...
" >&6; }
14193 if test -n "$am_sleep_pid"; then
14194 # Hide warnings about reused PIDs.
14195 wait $am_sleep_pid 2>/dev/null
14197 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: done" >&5
14198 $as_echo "done" >&6; }
14199 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14200 as_fn_error $? "conditional
\"AMDEP
\" was never defined.
14201 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
14203 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14204 as_fn_error $? "conditional
\"am__fastdepCC
\" was never defined.
14205 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
14207 if test -n "$EXEEXT"; then
14209 am__EXEEXT_FALSE='#'
14211 am__EXEEXT_TRUE='#'
14215 if test -z "${SIM_ENABLE_IGEN_TRUE}" && test -z "${SIM_ENABLE_IGEN_FALSE}"; then
14216 as_fn_error $? "conditional
\"SIM_ENABLE_IGEN
\" was never defined.
14217 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
14220 : "${CONFIG_STATUS=./config.status}"
14222 ac_clean_files_save=$ac_clean_files
14223 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14224 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$CONFIG_STATUS" >&5
14225 $as_echo "$as_me: creating
$CONFIG_STATUS" >&6;}
14227 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14229 # Generated by $as_me.
14230 # Run this file to recreate the current configuration.
14231 # Compiler output produced by configure, useful for debugging
14232 # configure, is in config.log if it exists.
14235 ac_cs_recheck=false
14238 SHELL=\${CONFIG_SHELL-$SHELL}
14241 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
14242 ## -------------------- ##
14243 ## M4sh Initialization. ##
14244 ## -------------------- ##
14246 # Be more Bourne compatible
14247 DUALCASE=1; export DUALCASE # for MKS sh
14248 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
14251 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14252 # is contrary to our usage. Disable this feature.
14253 alias -g '${1+"$@"}'='"$@
"'
14254 setopt NO_GLOB_SUBST
14256 case `(set -o) 2>/dev/null` in #(
14268 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14269 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14270 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14271 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14272 # Prefer a ksh shell builtin over an external printf program on Solaris,
14273 # but without wasting forks for bash or zsh.
14274 if test -z "$BASH_VERSION$ZSH_VERSION" \
14275 && (test "X
`print -r -- $as_echo`" = "X
$as_echo") 2>/dev/null; then
14276 as_echo='print -r --'
14277 as_echo_n='print -rn --'
14278 elif (test "X
`printf %s $as_echo`" = "X
$as_echo") 2>/dev/null; then
14279 as_echo='printf %s\n'
14280 as_echo_n='printf %s'
14282 if test "X
`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n
$as_echo"; then
14283 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
14284 as_echo_n='/usr/ucb/echo -n'
14286 as_echo_body='eval expr "X
$1" : "X
\\(.
*\\)"'
14287 as_echo_n_body='eval
14291 expr "X
$arg" : "X
\\(.
*\\)$as_nl";
14292 arg=`expr "X
$arg" : ".
*$as_nl\\(.
*\\)"`;;
14294 expr "X
$arg" : "X
\\(.
*\\)" | tr -d "$as_nl"
14296 export as_echo_n_body
14297 as_echo_n='sh -c $as_echo_n_body as_echo'
14299 export as_echo_body
14300 as_echo='sh -c $as_echo_body as_echo'
14303 # The user is always right.
14304 if test "${PATH_SEPARATOR+set}" != set; then
14306 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14307 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14314 # We need space, tab and new line, in precisely that order. Quoting is
14315 # there to prevent editors from complaining about space-tab.
14316 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14317 # splitting by setting IFS to empty value.)
14320 # Find who we are. Look in the path if we contain no directory separator.
14323 *[\\/]* ) as_myself=$0 ;;
14324 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14325 for as_dir in $PATH
14328 test -z "$as_dir" && as_dir=.
14329 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14335 # We did not find ourselves, most probably we were run as `sh COMMAND'
14336 # in which case we are not to be found in the path.
14337 if test "x
$as_myself" = x; then
14340 if test ! -f "$as_myself"; then
14341 $as_echo "$as_myself: error
: cannot
find myself
; rerun with an absolute
file name
" >&2
14345 # Unset variables that we do not need and which cause bugs (e.g. in
14346 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "||
exit 1"
14347 # suppresses any "Segmentation fault
" message there. '((' could
14348 # trigger a bug in pdksh 5.2.14.
14349 for as_var in BASH_ENV ENV MAIL MAILPATH
14350 do eval test x\${$as_var+set} = xset \
14351 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
14364 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14367 # as_fn_error STATUS ERROR [LINENO LOG_FD]
14368 # ----------------------------------------
14369 # Output "`basename $0`: error
: ERROR
" to stderr. If LINENO and LOG_FD are
14370 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14371 # script with STATUS, using 1 if that was 0.
14374 as_status=$1; test $as_status -eq 0 && as_status=1
14376 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
14377 $as_echo "$as_me:${as_lineno-$LINENO}: error
: $2" >&$4
14379 $as_echo "$as_me: error
: $2" >&2
14380 as_fn_exit $as_status
14384 # as_fn_set_status STATUS
14385 # -----------------------
14386 # Set $? to STATUS, without forking.
14387 as_fn_set_status ()
14390 } # as_fn_set_status
14392 # as_fn_exit STATUS
14393 # -----------------
14394 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14398 as_fn_set_status $1
14404 # Portably unset VAR.
14407 { eval $1=; unset $1;}
14409 as_unset=as_fn_unset
14410 # as_fn_append VAR VALUE
14411 # ----------------------
14412 # Append the text in VALUE to the end of the definition contained in VAR. Take
14413 # advantage of any shell optimizations that allow amortized linear growth over
14414 # repeated appends, instead of the typical quadratic growth present in naive
14416 if (eval "as_var
=1; as_var
+=2; test x\
$as_var = x12
") 2>/dev/null; then :
14417 eval 'as_fn_append ()
14428 # as_fn_arith ARG...
14429 # ------------------
14430 # Perform arithmetic evaluation on the ARGs, and store the result in the
14431 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14432 # must be portable across $(()) and expr.
14433 if (eval "test \$
(( 1 + 1 )) = 2") 2>/dev/null; then :
14434 eval 'as_fn_arith ()
14441 as_val=`expr "$@
" || test $? -eq 1`
14446 if expr a : '\(a\)' >/dev/null 2>&1 &&
14447 test "X
`expr 00001 : '.*\(...\)'`" = X001; then
14453 if (basename -- /) >/dev/null 2>&1 && test "X
`basename -- / 2>&1`" = "X
/"; then
14454 as_basename=basename
14459 if (as_dir=`dirname -- /` && test "X
$as_dir" = X/) >/dev/null 2>&1; then
14465 as_me=`$as_basename -- "$0" ||
14466 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14467 X"$0" : 'X\(//\)$' \| \
14468 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14470 sed '/^.*\/\([^/][^/]*\)\/*$/{
14484 # Avoid depending upon Character Ranges.
14485 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
14486 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14487 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
14488 as_cr_digits='0123456789'
14489 as_cr_alnum=$as_cr_Letters$as_cr_digits
14491 ECHO_C= ECHO_N= ECHO_T=
14492 case `echo -n x` in #(((((
14494 case `echo 'xy\c'` in
14495 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
14497 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
14504 rm -f conf$$ conf$$.exe conf$$.file
14505 if test -d conf$$.dir; then
14506 rm -f conf$$.dir/conf$$.file
14509 mkdir conf$$.dir 2>/dev/null
14511 if (echo >conf$$.file) 2>/dev/null; then
14512 if ln -s conf$$.file conf$$ 2>/dev/null; then
14514 # ... but there are two gotchas:
14515 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14516 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14517 # In both cases, we have to default to `cp -pR'.
14518 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
14520 elif ln conf$$.file conf$$ 2>/dev/null; then
14528 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
14529 rmdir conf$$.dir 2>/dev/null
14534 # Create "$as_dir" as a directory, including parents if necessary.
14539 -*) as_dir=./$as_dir;;
14541 test -d "$as_dir" || eval $as_mkdir_p || {
14545 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s
/'/'\\\\\\\\''/g
"`;; #'(
14546 *) as_qdir=$as_dir;;
14548 as_dirs="'$as_qdir' $as_dirs"
14549 as_dir=`$as_dirname -- "$as_dir" ||
14550 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14551 X"$as_dir" : 'X\(//\)[^/]' \| \
14552 X"$as_dir" : 'X\(//\)$' \| \
14553 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14554 $as_echo X"$as_dir" |
14555 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14559 /^X\(\/\/\)[^/].*/{
14572 test -d "$as_dir" && break
14574 test -z "$as_dirs" || eval "mkdir
$as_dirs"
14575 } || test -d "$as_dir" || as_fn_error $? "cannot create directory
$as_dir"
14579 if mkdir -p . 2>/dev/null; then
14580 as_mkdir_p='mkdir -p "$as_dir"'
14582 test -d ./-p && rmdir ./-p
14587 # as_fn_executable_p FILE
14588 # -----------------------
14589 # Test if FILE is an executable regular file.
14590 as_fn_executable_p ()
14592 test -f "$1" && test -x "$1"
14593 } # as_fn_executable_p
14594 as_test_x='test -x'
14595 as_executable_p=as_fn_executable_p
14597 # Sed expression to map a string onto a valid CPP name.
14598 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14600 # Sed expression to map a string onto a valid variable name.
14601 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14605 ## ----------------------------------- ##
14606 ## Main body of $CONFIG_STATUS script. ##
14607 ## ----------------------------------- ##
14609 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
14611 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14612 # Save the log message, to keep $0 and so on meaningful, and to
14613 # report actual input values of CONFIG_FILES etc. instead of their
14614 # values after options handling.
14616 This
file was extended by sim
$as_me 0, which was
14617 generated by GNU Autoconf
2.69. Invocation
command line was
14619 CONFIG_FILES
= $CONFIG_FILES
14620 CONFIG_HEADERS
= $CONFIG_HEADERS
14621 CONFIG_LINKS
= $CONFIG_LINKS
14622 CONFIG_COMMANDS
= $CONFIG_COMMANDS
14625 on
`(hostname || uname -n) 2>/dev/null | sed 1q`
14630 case $ac_config_files in *"
14631 "*) set x $ac_config_files; shift; ac_config_files=$*;;
14634 case $ac_config_headers in *"
14635 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
14639 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14640 # Files that config.status was made for.
14641 config_files="$ac_config_files"
14642 config_headers="$ac_config_headers"
14643 config_commands="$ac_config_commands"
14647 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14649 \
`$as_me' instantiates files and other configuration actions
14650 from templates according to the current configuration. Unless the files
14651 and actions are specified as TAGs, all are instantiated by default.
14653 Usage: $0 [OPTION]... [TAG]...
14655 -h, --help print this help, then exit
14656 -V, --version print version number and configuration settings, then exit
14657 --config print configuration, then exit
14658 -q, --quiet, --silent
14659 do not print progress messages
14660 -d, --debug don't remove temporary files
14661 --recheck update $as_me by reconfiguring in the same conditions
14662 --file=FILE[:TEMPLATE]
14663 instantiate the configuration file FILE
14664 --header=FILE[:TEMPLATE]
14665 instantiate the configuration header FILE
14667 Configuration files:
14670 Configuration headers:
14673 Configuration commands:
14676 Report bugs to <https://sourceware.org/bugzilla/enter_bug.cgi?product=gdb&component=sim>.
14677 sim home page: <https://sourceware.org/gdb/wiki/Sim/>."
14680 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14681 ac_cs_config="`$as_echo "$ac_configure_args" |
sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
14683 sim config.status 0
14684 configured by $0, generated by GNU Autoconf 2.69,
14685 with options \\"\$ac_cs_config\\"
14687 Copyright (C) 2012 Free Software Foundation, Inc.
14688 This config.status script is free software; the Free Software Foundation
14689 gives unlimited permission to copy, distribute and modify it."
14696 test -n "\$AWK" || AWK=awk
14699 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14700 # The default lists apply if the user does not specify any file.
14706 ac_option=`expr "X$1" : 'X\([^=]*\)='`
14707 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
14711 ac_option=`expr "X$1" : 'X\([^=]*\)='`
14723 # Handling of the options.
14724 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
14726 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
14727 $as_echo "$ac_cs_version"; exit ;;
14728 --config | --confi | --conf | --con | --co | --c )
14729 $as_echo "$ac_cs_config"; exit ;;
14730 --debug | --debu | --deb | --de | --d | -d )
14732 --file | --fil | --fi | --f )
14735 *\'*) ac_optarg=`$as_echo "$ac_optarg" |
sed "s/'/'\\\\\\\\''/g"` ;;
14736 '') as_fn_error $? "missing file argument" ;;
14738 as_fn_append CONFIG_FILES " '$ac_optarg'"
14739 ac_need_defaults=false;;
14740 --header | --heade | --head | --hea )
14743 *\'*) ac_optarg=`$as_echo "$ac_optarg" |
sed "s/'/'\\\\\\\\''/g"` ;;
14745 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
14746 ac_need_defaults=false;;
14748 # Conflict between --help and --header
14749 as_fn_error $? "ambiguous option: \`$1'
14750 Try \`$0 --help' for more information.
";;
14751 --help | --hel | -h )
14752 $as_echo "$ac_cs_usage"; exit ;;
14753 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
14754 | -silent | --silent | --silen | --sile | --sil | --si | --s)
14757 # This is an error.
14758 -*) as_fn_error $? "unrecognized option
: \
`$1'
14759 Try \`$0 --help' for more information." ;;
14761 *) as_fn_append ac_config_targets " $1"
14762 ac_need_defaults=false ;;
14768 ac_configure_extra_args=
14770 if $ac_cs_silent; then
14772 ac_configure_extra_args="$ac_configure_extra_args --silent"
14776 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14777 if \$ac_cs_recheck; then
14778 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14780 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
14781 CONFIG_SHELL='$SHELL'
14782 export CONFIG_SHELL
14787 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14791 sed 'h
;s
/.
/-/g
;s
/^...
/## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14792 ## Running $as_me. ##
14798 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14804 # The HP-UX ksh and POSIX shell print the target directory to stdout
14805 # if CDPATH is set.
14806 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14808 sed_quote_subst='$sed_quote_subst'
14809 double_quote_subst='$double_quote_subst'
14810 delay_variable_subst='$delay_variable_subst'
14811 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
14812 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
14813 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
14814 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
14815 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
14816 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
14817 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
14818 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
14819 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
14820 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
14821 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
14822 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
14823 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
14824 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
14825 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
14826 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
14827 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
14828 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
14829 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
14830 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
14831 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
14832 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
14833 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
14834 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
14835 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
14836 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
14837 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
14838 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
14839 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
14840 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
14841 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
14842 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
14843 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
14844 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
14845 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
14846 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
14847 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
14848 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14849 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14850 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
14851 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
14852 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
14853 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
14854 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
14855 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
14856 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
14857 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
14858 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
14859 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"`'
14860 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
14861 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
14862 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
14863 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
14864 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
14865 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
14866 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
14867 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
14868 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
14869 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
14870 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
14871 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
14872 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
14873 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
14874 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
14875 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14876 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
14877 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
14878 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
14879 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
14880 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
14881 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
14882 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14883 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
14884 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14885 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
14886 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14887 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
14888 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
14889 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
14890 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
14891 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
14892 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
14893 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
14894 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
14895 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
14896 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
14897 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
14898 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
14899 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
14900 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
14901 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
14902 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
14903 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
14904 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
14905 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
14906 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
14907 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
14908 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
14909 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
14910 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
14911 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
14912 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
14913 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
14914 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
14915 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
14916 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
14917 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
14918 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14919 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14920 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
14921 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
14922 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
14923 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
14924 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
14925 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
14926 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
14927 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
14928 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
14929 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
14930 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
14933 LTCFLAGS='$LTCFLAGS'
14934 compiler='$compiler_DEFAULT'
14936 # A function that is used when there is no print builtin or printf.
14937 func_fallback_echo ()
14939 eval 'cat <<_LTECHO_EOF
14944 # Quote evaled strings.
14958 deplibs_check_method \
14967 lt_cv_sys_global_symbol_pipe \
14968 lt_cv_sys_global_symbol_to_cdecl \
14969 lt_cv_sys_global_symbol_to_c_name_address \
14970 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14971 lt_prog_compiler_no_builtin_flag \
14972 lt_prog_compiler_wl \
14973 lt_prog_compiler_pic \
14974 lt_prog_compiler_static \
14975 lt_cv_prog_compiler_c_o \
14983 export_dynamic_flag_spec \
14984 whole_archive_flag_spec \
14985 compiler_needs_object \
14987 allow_undefined_flag \
14988 no_undefined_flag \
14989 hardcode_libdir_flag_spec \
14990 hardcode_libdir_flag_spec_ld \
14991 hardcode_libdir_separator \
14996 variables_saved_for_relink \
14998 library_names_spec \
15000 install_override_mode \
15004 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15005 *[\\\\\\\`\\"\\\$]*)
15006 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
15009 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15014 # Double-quote double-evaled strings.
15015 for var in reload_cmds \
15016 old_postinstall_cmds \
15017 old_postuninstall_cmds \
15019 extract_expsyms_cmds \
15020 old_archive_from_new_cmds \
15021 old_archive_from_expsyms_cmds \
15023 archive_expsym_cmds \
15025 module_expsym_cmds \
15026 export_symbols_cmds \
15029 postuninstall_cmds \
15031 sys_lib_search_path_spec \
15032 sys_lib_dlsearch_path_spec; do
15033 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15034 *[\\\\\\\`\\"\\\$]*)
15035 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
15038 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15043 ac_aux_dir='$ac_aux_dir'
15044 xsi_shell='$xsi_shell'
15045 lt_shell_append='$lt_shell_append'
15047 # See if we are running on zsh, and set the options which allow our
15048 # commands through without removal of \ escapes INIT.
15049 if test -n "\${ZSH_VERSION+set}" ; then
15050 setopt NO_GLOB_SUBST
15056 TIMESTAMP='$TIMESTAMP'
15062 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15063 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
15064 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
15065 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
15066 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
15067 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
15068 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
15069 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
15070 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
15071 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
15072 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
15073 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
15074 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
15075 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
15076 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
15077 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
15078 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
15079 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
15080 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
15081 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
15082 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
15083 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
15084 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
15085 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
15086 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
15087 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
15088 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
15089 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
15090 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
15091 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
15092 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
15093 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
15094 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
15098 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15100 # Handling of arguments.
15101 for ac_config_target
in $ac_config_targets
15103 case $ac_config_target in
15104 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
15105 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
15106 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
15107 "depdir-aarch64") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-aarch64" ;;
15108 "depdir-arm") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-arm" ;;
15109 "depdir-avr") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-avr" ;;
15110 "depdir-bfin") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-bfin" ;;
15111 "depdir-bpf") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-bpf" ;;
15112 "depdir-cr16") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-cr16" ;;
15113 "depdir-cris") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-cris" ;;
15114 "depdir-d10v") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-d10v" ;;
15115 "depdir-frv") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-frv" ;;
15116 "depdir-h8300") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-h8300" ;;
15117 "depdir-iq2000") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-iq2000" ;;
15118 "depdir-lm32") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-lm32" ;;
15119 "depdir-m32c") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-m32c" ;;
15120 "depdir-m32r") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-m32r" ;;
15121 "depdir-m68hc11") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-m68hc11" ;;
15122 "depdir-mcore") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-mcore" ;;
15123 "depdir-microblaze") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-microblaze" ;;
15124 "depdir-mips") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-mips" ;;
15125 "depdir-mn10300") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-mn10300" ;;
15126 "depdir-moxie") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-moxie" ;;
15127 "depdir-msp430") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-msp430" ;;
15128 "depdir-or1k") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-or1k" ;;
15129 "depdir-pru") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-pru" ;;
15130 "depdir-riscv") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-riscv" ;;
15131 "depdir-rl78") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-rl78" ;;
15132 "depdir-rx") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-rx" ;;
15133 "depdir-sh") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-sh" ;;
15134 "depdir-erc32") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-erc32" ;;
15135 "depdir-ppc") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-ppc" ;;
15136 "depdir-ft32") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-ft32" ;;
15137 "depdir-v850") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-v850" ;;
15138 "depdir-example-synacor") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-example-synacor" ;;
15139 "arch-subdir.mk") CONFIG_FILES
="$CONFIG_FILES arch-subdir.mk" ;;
15140 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
15142 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15147 # If the user did not use the arguments to specify the items to instantiate,
15148 # then the envvar interface is used. Set only those that are not.
15149 # We use the long form for the default assignment because of an extremely
15150 # bizarre bug on SunOS 4.1.3.
15151 if $ac_need_defaults; then
15152 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15153 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
15154 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
15157 # Have a temporary directory for convenience. Make it in the build tree
15158 # simply because there is no reason against having it here, and in addition,
15159 # creating and moving files from /tmp can sometimes cause problems.
15160 # Hook for its removal unless debugging.
15161 # Note that there is a small window in which the directory will not be cleaned:
15162 # after its creation but before its name has been assigned to `$tmp'.
15166 trap 'exit_status=$?
15167 : "${ac_tmp:=$tmp}"
15168 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15170 trap 'as_fn_exit 1' 1 2 13 15
15172 # Create a (secure) tmp directory for tmp files.
15175 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15179 tmp
=.
/conf$$
-$RANDOM
15180 (umask 077 && mkdir
"$tmp")
15181 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
15184 # Set up the scripts for CONFIG_FILES section.
15185 # No need to generate them if there are no CONFIG_FILES.
15186 # This happens for instance with `./config.status config.h'.
15187 if test -n "$CONFIG_FILES"; then
15190 ac_cr
=`echo X | tr X '\015'`
15191 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15192 # But we know of no other shell where ac_cr would be empty at this
15193 # point, so we can use a bashism as a fallback.
15194 if test "x$ac_cr" = x
; then
15195 eval ac_cr
=\$
\'\\r
\'
15197 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15198 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15201 ac_cs_awk_cr
=$ac_cr
15204 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15209 echo "cat >conf$$subs.awk <<_ACEOF" &&
15210 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15212 } >conf$$subs.sh ||
15213 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15214 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15216 for ac_last_try in false false false false false :; do
15217 . ./conf$$subs.sh ||
15218 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15220 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
15221 if test $ac_delim_n = $ac_delim_num; then
15223 elif $ac_last_try; then
15224 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15226 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15229 rm -f conf$$subs.sh
15231 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15232 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
15236 s/^/S["/; s
/!.
*/"]=/
15246 s/\(.\{148\}\)..*/\1/
15248 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
15253 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15260 s/\(.\{148\}\)..*/\1/
15262 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
15266 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15271 ' <conf$$subs.awk | sed '
15276 ' >>$CONFIG_STATUS || ac_write_fail=1
15277 rm -f conf$$subs.awk
15278 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15280 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
15281 for (key in S) S_is_set[key] = 1
15287 nfields = split(line, field, "@
")
15289 len = length(field[1])
15290 for (i = 2; i < nfields; i++) {
15292 keylen = length(key)
15293 if (S_is_set[key]) {
15295 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15296 len += length(value) + length(field[++i])
15307 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15308 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15309 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
15312 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
15313 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
15316 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15317 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
15318 # trailing colons and then remove the whole line if VPATH becomes empty
15319 # (actually we leave an empty line to preserve line numbers).
15320 if test "x
$srcdir" = x.; then
15321 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
15339 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15340 fi # test -n "$CONFIG_FILES"
15342 # Set up the scripts for CONFIG_HEADERS section.
15343 # No need to generate them if there are no CONFIG_HEADERS.
15344 # This happens for instance with `./config.status Makefile'.
15345 if test -n "$CONFIG_HEADERS"; then
15346 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
15350 # Transform confdefs.h into an awk script `defines.awk', embedded as
15351 # here-document in config.status, that substitutes the proper values into
15352 # config.h.in to produce config.h.
15354 # Create a delimiter string that does not exist in confdefs.h, to ease
15355 # handling of long lines.
15357 for ac_last_try in false false :; do
15358 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
15359 if test -z "$ac_tt"; then
15361 elif $ac_last_try; then
15362 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
15364 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15368 # For the awk script, D is an array of macro values keyed by name,
15369 # likewise P contains macro parameters if any. Preserve backslash
15370 # newline sequences.
15372 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15374 s/.\{148\}/&'"$ac_delim"'/g
15377 s/^[ ]*#[ ]*define[ ][ ]*/ /
15384 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
15386 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
15390 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
15391 D["\
1"]=" \
3\\\\\\n
"\\/p
15393 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
15398 s/.\{148\}/&'"$ac_delim"'/g
15403 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
15406 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
15408 ' <confdefs.h | sed '
15409 s/'"$ac_delim"'/"\\\
15410 "/g' >>$CONFIG_STATUS || ac_write_fail=1
15412 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15413 for (key in D) D_is_set[key] = 1
15416 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
15418 split(line, arg, " ")
15419 if (arg[1] == "#") {
15423 defundef
= substr
(arg
[1], 2)
15426 split(mac1
, mac2
, "(") #)
15428 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
15429 if (D_is_set
[macro
]) {
15430 # Preserve the white space surrounding the "#".
15431 print prefix
"define", macro P
[macro
] D
[macro
]
15434 # Replace #undef with comments. This is necessary, for example,
15435 # in the case of _POSIX_SOURCE, which is predefined and required
15436 # on some systems where configure will not decide to define it.
15437 if (defundef
== "undef") {
15438 print
"/*", prefix defundef
, macro
, "*/"
15446 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15447 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
15448 fi # test -n "$CONFIG_HEADERS"
15451 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
15456 :[FHLC
]) ac_mode
=$ac_tag; continue;;
15458 case $ac_mode$ac_tag in
15460 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
15461 :[FH
]-) ac_tag
=-:-;;
15462 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
15479 -) ac_f
="$ac_tmp/stdin";;
15480 *) # Look for the file first in the build tree, then in the source tree
15481 # (if the path is not absolute). The absolute path cannot be DOS-style,
15482 # because $ac_f cannot contain `:'.
15486 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
15488 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15490 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15491 as_fn_append ac_file_inputs
" '$ac_f'"
15494 # Let's still pretend it is `configure' which instantiates (i.e., don't
15495 # use $as_me), people would be surprised to read:
15496 # /* config.h. Generated by config.status. */
15497 configure_input
='Generated from '`
15498 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15500 if test x
"$ac_file" != x-
; then
15501 configure_input
="$ac_file. $configure_input"
15502 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15503 $as_echo "$as_me: creating $ac_file" >&6;}
15505 # Neutralize special characters interpreted by sed in replacement strings.
15506 case $configure_input in #(
15507 *\
&* |
*\|
* |
*\\* )
15508 ac_sed_conf_input
=`$as_echo "$configure_input" |
15509 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15510 *) ac_sed_conf_input
=$configure_input;;
15514 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
15515 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
15520 ac_dir
=`$as_dirname -- "$ac_file" ||
15521 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15522 X"$ac_file" : 'X\(//\)[^/]' \| \
15523 X"$ac_file" : 'X\(//\)$' \| \
15524 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15525 $as_echo X"$ac_file" |
15526 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15530 /^X\(\/\/\)[^/].*/{
15543 as_dir
="$ac_dir"; as_fn_mkdir_p
15547 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
15549 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15550 # A ".." for each directory in $ac_dir_suffix.
15551 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15552 case $ac_top_builddir_sub in
15553 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
15554 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
15557 ac_abs_top_builddir
=$ac_pwd
15558 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
15559 # for backward compatibility:
15560 ac_top_builddir
=$ac_top_build_prefix
15563 .
) # We are building in place.
15565 ac_top_srcdir
=$ac_top_builddir_sub
15566 ac_abs_top_srcdir
=$ac_pwd ;;
15567 [\\/]* | ?
:[\\/]* ) # Absolute name.
15568 ac_srcdir
=$srcdir$ac_dir_suffix;
15569 ac_top_srcdir
=$srcdir
15570 ac_abs_top_srcdir
=$srcdir ;;
15571 *) # Relative name.
15572 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
15573 ac_top_srcdir
=$ac_top_build_prefix$srcdir
15574 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
15576 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
15586 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
15587 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
15589 ac_MKDIR_P
=$MKDIR_P
15591 [\\/$
]* | ?
:[\\/]* ) ;;
15592 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
15596 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15597 # If the template does not know about datarootdir, expand it.
15598 # FIXME: This hack should be removed a few years after 2.60.
15599 ac_datarootdir_hack
=; ac_datarootdir_seen
=
15610 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15611 *datarootdir
*) ac_datarootdir_seen
=yes;;
15612 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
15613 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15614 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15616 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15617 ac_datarootdir_hack='
15618 s&@datadir@&$datadir&g
15619 s&@docdir@&$docdir&g
15620 s&@infodir@&$infodir&g
15621 s&@localedir@&$localedir&g
15622 s&@mandir@&$mandir&g
15623 s&\\\${datarootdir}&$datarootdir&g' ;;
15627 # Neutralize VPATH when `$srcdir' = `.'.
15628 # Shell code in configure.ac might set extrasub.
15629 # FIXME: do we really want to maintain this feature?
15630 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15631 ac_sed_extra="$ac_vpsub
15634 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15636 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
15637 s|@configure_input@|
$ac_sed_conf_input|
;t t
15638 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
15639 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
15640 s
&@srcdir@
&$ac_srcdir&;t t
15641 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
15642 s
&@top_srcdir@
&$ac_top_srcdir&;t t
15643 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
15644 s
&@builddir@
&$ac_builddir&;t t
15645 s
&@abs_builddir@
&$ac_abs_builddir&;t t
15646 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
15647 s
&@INSTALL@
&$ac_INSTALL&;t t
15648 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
15649 $ac_datarootdir_hack
15651 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
15652 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
15654 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15655 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
15656 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
15657 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
15658 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
15659 which seems to be undefined. Please make sure it is defined" >&5
15660 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
15661 which seems to be undefined. Please make sure it is defined" >&2;}
15663 rm -f "$ac_tmp/stdin"
15665 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
15666 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
15668 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15674 if test x"$ac_file" != x-; then
15676 $as_echo "/* $configure_input */" \
15677 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
15678 } >"$ac_tmp/config.h" \
15679 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15680 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
15681 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
15682 $as_echo "$as_me: $ac_file is unchanged" >&6;}
15685 mv "$ac_tmp/config.h" "$ac_file" \
15686 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15689 $as_echo "/* $configure_input */" \
15690 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
15691 || as_fn_error $? "could not create -" "$LINENO" 5
15693 # Compute "$ac_file"'s index
in $config_headers.
15696 for _am_header
in $config_headers :; do
15697 case $_am_header in
15698 $_am_arg |
$_am_arg:* )
15701 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
15704 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
15705 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15706 X"$_am_arg" : 'X\(//\)[^/]' \| \
15707 X"$_am_arg" : 'X\(//\)$' \| \
15708 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
15709 $as_echo X"$_am_arg" |
15710 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15714 /^X\(\/\/\)[^/].*/{
15726 s/.*/./; q'`/stamp-h
$_am_stamp_count
15729 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
15730 $as_echo "$as_me: executing $ac_file commands" >&6;}
15735 case $ac_file$ac_mode in
15738 # See if we are running on zsh, and set the options which allow our
15739 # commands through without removal of \ escapes.
15740 if test -n "${ZSH_VERSION+set}" ; then
15741 setopt NO_GLOB_SUBST
15744 cfgfile
="${ofile}T"
15745 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
15748 cat <<_LT_EOF >> "$cfgfile"
15751 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
15752 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
15753 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15754 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
15756 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
15757 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
15758 # Written by Gordon Matzigkeit, 1996
15760 # This file is part of GNU Libtool.
15762 # GNU Libtool is free software; you can redistribute it and/or
15763 # modify it under the terms of the GNU General Public License as
15764 # published by the Free Software Foundation; either version 2 of
15765 # the License, or (at your option) any later version.
15767 # As a special exception to the GNU General Public License,
15768 # if you distribute this file as part of a program or library that
15769 # is built using GNU Libtool, you may include this file under the
15770 # same distribution terms that you use for the rest of that program.
15772 # GNU Libtool is distributed in the hope that it will be useful,
15773 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15774 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15775 # GNU General Public License for more details.
15777 # You should have received a copy of the GNU General Public License
15778 # along with GNU Libtool; see the file COPYING. If not, a copy
15779 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
15780 # obtained by writing to the Free Software Foundation, Inc.,
15781 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15784 # The names of the tagged configurations supported by this script.
15787 # ### BEGIN LIBTOOL CONFIG
15789 # Which release of libtool.m4 was used?
15790 macro_version=$macro_version
15791 macro_revision=$macro_revision
15793 # Whether or not to build shared libraries.
15794 build_libtool_libs=$enable_shared
15796 # Whether or not to build static libraries.
15797 build_old_libs=$enable_static
15799 # What type of objects to build.
15802 # Whether or not to optimize for fast installation.
15803 fast_install=$enable_fast_install
15805 # Shell to use when invoking shell scripts.
15808 # An echo program that protects backslashes.
15812 host_alias=$host_alias
15816 # The build system.
15817 build_alias=$build_alias
15821 # A sed program that does not truncate output.
15824 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
15825 Xsed="\$SED -e 1s/^X//"
15827 # A grep program that handles long lines.
15833 # A literal string matcher.
15836 # A BSD- or MS-compatible name lister.
15839 # Whether we need soft or hard links.
15842 # What is the maximum length of a command?
15843 max_cmd_len=$max_cmd_len
15845 # Object file suffix (normally "o").
15848 # Executable file suffix (normally "").
15851 # whether the shell understands "unset".
15854 # turn spaces into newlines.
15857 # turn newlines into spaces.
15860 # An object symbol dumper.
15861 OBJDUMP=$lt_OBJDUMP
15863 # Method to check whether dependent libraries are shared objects.
15864 deplibs_check_method=$lt_deplibs_check_method
15866 # Command to use when deplibs_check_method == "file_magic".
15867 file_magic_cmd=$lt_file_magic_cmd
15871 AR_FLAGS=$lt_AR_FLAGS
15873 # A symbol stripping program.
15876 # Commands used to install an old-style archive.
15878 old_postinstall_cmds=$lt_old_postinstall_cmds
15879 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15881 # Whether to use a lock for old archive extraction.
15882 lock_old_archive_extraction=$lock_old_archive_extraction
15887 # LTCC compiler flags.
15888 LTCFLAGS=$lt_CFLAGS
15890 # Take the output of nm and produce a listing of raw symbols and C names.
15891 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15893 # Transform the output of nm in a proper C declaration.
15894 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15896 # Transform the output of nm in a C name address pair.
15897 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15899 # Transform the output of nm in a C name address pair when lib prefix is needed.
15900 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15902 # The name of the directory that contains temporary libtool files.
15905 # Used to examine libraries when file_magic_cmd begins with "file".
15906 MAGIC_CMD=$MAGIC_CMD
15908 # Must we lock files when doing compilation?
15909 need_locks=$lt_need_locks
15911 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15912 DSYMUTIL=$lt_DSYMUTIL
15914 # Tool to change global to local symbols on Mac OS X.
15917 # Tool to manipulate fat objects and archives on Mac OS X.
15920 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
15923 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15924 OTOOL64=$lt_OTOOL64
15926 # Old archive suffix (normally "a").
15929 # Shared library suffix (normally ".so").
15930 shrext_cmds=$lt_shrext_cmds
15932 # The commands to extract the exported symbol list from a shared archive.
15933 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15935 # Variables whose values should be saved in libtool wrapper scripts and
15936 # restored at link time.
15937 variables_saved_for_relink=$lt_variables_saved_for_relink
15939 # Do we need the "lib" prefix for modules?
15940 need_lib_prefix=$need_lib_prefix
15942 # Do we need a version for libraries?
15943 need_version=$need_version
15945 # Library versioning type.
15946 version_type=$version_type
15948 # Shared library runtime path variable.
15949 runpath_var=$runpath_var
15951 # Shared library path variable.
15952 shlibpath_var=$shlibpath_var
15954 # Is shlibpath searched before the hard-coded library search path?
15955 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15957 # Format of library name prefix.
15958 libname_spec=$lt_libname_spec
15960 # List of archive names. First name is the real one, the rest are links.
15961 # The last name is the one that the linker finds with -lNAME
15962 library_names_spec=$lt_library_names_spec
15964 # The coded name of the library, if different from the real name.
15965 soname_spec=$lt_soname_spec
15967 # Permission mode override for installation of shared libraries.
15968 install_override_mode=$lt_install_override_mode
15970 # Command to use after installation of a shared archive.
15971 postinstall_cmds=$lt_postinstall_cmds
15973 # Command to use after uninstallation of a shared archive.
15974 postuninstall_cmds=$lt_postuninstall_cmds
15976 # Commands used to finish a libtool library installation in a directory.
15977 finish_cmds=$lt_finish_cmds
15979 # As "finish_cmds", except a single script fragment to be evaled but
15981 finish_eval=$lt_finish_eval
15983 # Whether we should hardcode library paths into libraries.
15984 hardcode_into_libs=$hardcode_into_libs
15986 # Compile-time system search path for libraries.
15987 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15989 # Run-time system search path for libraries.
15990 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15992 # Whether dlopen is supported.
15993 dlopen_support=$enable_dlopen
15995 # Whether dlopen of programs is supported.
15996 dlopen_self=$enable_dlopen_self
15998 # Whether dlopen of statically linked programs is supported.
15999 dlopen_self_static=$enable_dlopen_self_static
16001 # Commands to strip libraries.
16002 old_striplib=$lt_old_striplib
16003 striplib=$lt_striplib
16006 # The linker used to build libraries.
16009 # How to create reloadable object files.
16010 reload_flag=$lt_reload_flag
16011 reload_cmds=$lt_reload_cmds
16013 # Commands used to build an old-style archive.
16014 old_archive_cmds=$lt_old_archive_cmds
16016 # A language specific compiler.
16019 # Is the compiler the GNU compiler?
16022 # Compiler flag to turn off builtin functions.
16023 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16025 # How to pass a linker flag through the compiler.
16026 wl=$lt_lt_prog_compiler_wl
16028 # Additional compiler flags for building library objects.
16029 pic_flag=$lt_lt_prog_compiler_pic
16031 # Compiler flag to prevent dynamic linking.
16032 link_static_flag=$lt_lt_prog_compiler_static
16034 # Does compiler simultaneously support -c and -o options?
16035 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
16037 # Whether or not to add -lc for building shared libraries.
16038 build_libtool_need_lc=$archive_cmds_need_lc
16040 # Whether or not to disallow shared libs when runtime libs are static.
16041 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
16043 # Compiler flag to allow reflexive dlopens.
16044 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
16046 # Compiler flag to generate shared objects directly from archives.
16047 whole_archive_flag_spec=$lt_whole_archive_flag_spec
16049 # Whether the compiler copes with passing no objects directly.
16050 compiler_needs_object=$lt_compiler_needs_object
16052 # Create an old-style archive from a shared archive.
16053 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
16055 # Create a temporary old-style archive to link instead of a shared archive.
16056 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
16058 # Commands used to build a shared archive.
16059 archive_cmds=$lt_archive_cmds
16060 archive_expsym_cmds=$lt_archive_expsym_cmds
16062 # Commands used to build a loadable module if different from building
16063 # a shared archive.
16064 module_cmds=$lt_module_cmds
16065 module_expsym_cmds=$lt_module_expsym_cmds
16067 # Whether we are building with GNU ld or not.
16068 with_gnu_ld=$lt_with_gnu_ld
16070 # Flag that allows shared libraries with undefined symbols to be built.
16071 allow_undefined_flag=$lt_allow_undefined_flag
16073 # Flag that enforces no undefined symbols.
16074 no_undefined_flag=$lt_no_undefined_flag
16076 # Flag to hardcode \$libdir into a binary during linking.
16077 # This must work even if \$libdir does not exist
16078 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16080 # If ld is used when linking, flag to hardcode \$libdir into a binary
16081 # during linking. This must work even if \$libdir does not exist.
16082 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
16084 # Whether we need a single "-rpath" flag with a separated argument.
16085 hardcode_libdir_separator=$lt_hardcode_libdir_separator
16087 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16088 # DIR into the resulting binary.
16089 hardcode_direct=$hardcode_direct
16091 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16092 # DIR into the resulting binary and the resulting library dependency is
16093 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
16094 # library is relocated.
16095 hardcode_direct_absolute=$hardcode_direct_absolute
16097 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
16098 # into the resulting binary.
16099 hardcode_minus_L=$hardcode_minus_L
16101 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
16102 # into the resulting binary.
16103 hardcode_shlibpath_var=$hardcode_shlibpath_var
16105 # Set to "yes" if building a shared library automatically hardcodes DIR
16106 # into the library and all subsequent libraries and executables linked
16108 hardcode_automatic=$hardcode_automatic
16110 # Set to yes if linker adds runtime paths of dependent libraries
16111 # to runtime path list.
16112 inherit_rpath=$inherit_rpath
16114 # Whether libtool must link a program against all its dependency libraries.
16115 link_all_deplibs=$link_all_deplibs
16117 # Fix the shell variable \$srcfile for the compiler.
16118 fix_srcfile_path=$lt_fix_srcfile_path
16120 # Set to "yes" if exported symbols are required.
16121 always_export_symbols=$always_export_symbols
16123 # The commands to list exported symbols.
16124 export_symbols_cmds=$lt_export_symbols_cmds
16126 # Symbols that should not be listed in the preloaded symbols.
16127 exclude_expsyms=$lt_exclude_expsyms
16129 # Symbols that must always be exported.
16130 include_expsyms=$lt_include_expsyms
16132 # Commands necessary for linking programs (against libraries) with templates.
16133 prelink_cmds=$lt_prelink_cmds
16135 # Specify filename containing input files.
16136 file_list_spec=$lt_file_list_spec
16138 # How to hardcode a shared library path into an executable.
16139 hardcode_action=$hardcode_action
16141 # ### END LIBTOOL CONFIG
16147 cat <<\_LT_EOF
>> "$cfgfile"
16148 # AIX sometimes has problems with the GCC collect2 program. For some
16149 # reason, if we set the COLLECT_NAMES environment variable, the problems
16150 # vanish in a puff of smoke.
16151 if test "X${COLLECT_NAMES+set}" != Xset
; then
16153 export COLLECT_NAMES
16160 ltmain
="$ac_aux_dir/ltmain.sh"
16163 # We use sed instead of cat because bash on DJGPP gets confused if
16164 # if finds mixed CR/LF and LF-only lines. Since sed operates in
16165 # text mode, it properly converts lines to CR/LF. This bash problem
16166 # is reportedly fixed, but why not run on old versions too?
16167 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
16168 ||
(rm -f "$cfgfile"; exit 1)
16172 cat << \_LT_EOF
>> "$cfgfile"
16174 # func_dirname file append nondir_replacement
16175 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
16176 # otherwise set result to NONDIR_REPLACEMENT.
16180 */*) func_dirname_result
="${1%/*}${2}" ;;
16181 * ) func_dirname_result
="${3}" ;;
16185 # func_basename file
16188 func_basename_result
="${1##*/}"
16191 # func_dirname_and_basename file append nondir_replacement
16192 # perform func_basename and func_dirname in a single function
16194 # dirname: Compute the dirname of FILE. If nonempty,
16195 # add APPEND to the result, otherwise set result
16196 # to NONDIR_REPLACEMENT.
16197 # value returned in "$func_dirname_result"
16198 # basename: Compute filename of FILE.
16199 # value retuned in "$func_basename_result"
16200 # Implementation must be kept synchronized with func_dirname
16201 # and func_basename. For efficiency, we do not delegate to
16202 # those functions but instead duplicate the functionality here.
16203 func_dirname_and_basename
()
16206 */*) func_dirname_result
="${1%/*}${2}" ;;
16207 * ) func_dirname_result
="${3}" ;;
16209 func_basename_result
="${1##*/}"
16212 # func_stripname prefix suffix name
16213 # strip PREFIX and SUFFIX off of NAME.
16214 # PREFIX and SUFFIX must not contain globbing or regex special
16215 # characters, hashes, percent signs, but SUFFIX may contain a leading
16216 # dot (in which case that matches only a dot).
16219 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
16220 # positional parameters, so assign one to ordinary parameter first.
16221 func_stripname_result
=${3}
16222 func_stripname_result
=${func_stripname_result#"${1}"}
16223 func_stripname_result
=${func_stripname_result%"${2}"}
16229 func_opt_split_opt
=${1%%=*}
16230 func_opt_split_arg
=${1#*=}
16237 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
16238 *) func_lo2o_result
=${1} ;;
16242 # func_xform libobj-or-source
16245 func_xform_result
=${1%.*}.lo
16248 # func_arith arithmetic-term...
16251 func_arith_result
=$
(( $
* ))
16255 # STRING may not start with a hyphen.
16258 func_len_result
=${#1}
16263 *) # Bourne compatible functions.
16264 cat << \_LT_EOF
>> "$cfgfile"
16266 # func_dirname file append nondir_replacement
16267 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
16268 # otherwise set result to NONDIR_REPLACEMENT.
16271 # Extract subdirectory from the argument.
16272 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
16273 if test "X$func_dirname_result" = "X${1}"; then
16274 func_dirname_result
="${3}"
16276 func_dirname_result
="$func_dirname_result${2}"
16280 # func_basename file
16283 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
16287 # func_stripname prefix suffix name
16288 # strip PREFIX and SUFFIX off of NAME.
16289 # PREFIX and SUFFIX must not contain globbing or regex special
16290 # characters, hashes, percent signs, but SUFFIX may contain a leading
16291 # dot (in which case that matches only a dot).
16292 # func_strip_suffix prefix name
16296 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
16297 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
16302 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
16303 my_sed_long_arg
='1s/^-[^=]*=//'
16308 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
16309 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
16315 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
16318 # func_xform libobj-or-source
16321 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
16324 # func_arith arithmetic-term...
16327 func_arith_result
=`expr "$@"`
16331 # STRING may not start with a hyphen.
16334 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
16340 case $lt_shell_append in
16342 cat << \_LT_EOF
>> "$cfgfile"
16344 # func_append var value
16345 # Append VALUE to the end of shell variable VAR.
16353 cat << \_LT_EOF
>> "$cfgfile"
16355 # func_append var value
16356 # Append VALUE to the end of shell variable VAR.
16367 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
16368 ||
(rm -f "$cfgfile"; exit 1)
16370 mv -f "$cfgfile" "$ofile" ||
16371 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16375 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
16376 # Older Autoconf quotes --file arguments for eval, but not when files
16377 # are listed without --file. Let's play safe and only enable the eval
16378 # if we detect the quoting.
16379 case $CONFIG_FILES in
16380 *\'*) eval set x
"$CONFIG_FILES" ;;
16381 *) set x
$CONFIG_FILES ;;
16386 # Strip MF so we end up with the name of the file.
16387 mf
=`echo "$mf" | sed -e 's/:.*$//'`
16388 # Check whether this is an Automake generated Makefile or not.
16389 # We used to match only the files named 'Makefile.in', but
16390 # some people rename them; so instead we look at the file content.
16391 # Grep'ing the first line is not enough: some people post-process
16392 # each Makefile.in and add a new line on top of each file to say so.
16393 # Grep'ing the whole file is not good either: AIX grep has a line
16394 # limit of 2048, but all sed's we know have understand at least 4000.
16395 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
16396 dirpart
=`$as_dirname -- "$mf" ||
16397 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16398 X"$mf" : 'X\(//\)[^/]' \| \
16399 X"$mf" : 'X\(//\)$' \| \
16400 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
16402 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16406 /^X\(\/\/\)[^/].*/{
16422 # Extract the definition of DEPDIR, am__include, and am__quote
16423 # from the Makefile without running 'make'.
16424 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
16425 test -z "$DEPDIR" && continue
16426 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
16427 test -z "$am__include" && continue
16428 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
16429 # Find all dependency output files, they are included files with
16430 # $(DEPDIR) in their names. We invoke sed twice because it is the
16431 # simplest approach to changing $(DEPDIR) to its actual value in the
16433 for file in `sed -n "
16434 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16435 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
16436 # Make sure the directory exists.
16437 test -f "$dirpart/$file" && continue
16438 fdir
=`$as_dirname -- "$file" ||
16439 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16440 X"$file" : 'X\(//\)[^/]' \| \
16441 X"$file" : 'X\(//\)$' \| \
16442 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
16443 $as_echo X"$file" |
16444 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16448 /^X\(\/\/\)[^/].*/{
16461 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
16462 # echo "creating $dirpart/$file"
16463 echo '# dummy' > "$dirpart/$file"
16468 "depdir-aarch64":C
) $SHELL $ac_aux_dir/mkinstalldirs aarch64
/$DEPDIR ;;
16469 "depdir-arm":C
) $SHELL $ac_aux_dir/mkinstalldirs
arm
/$DEPDIR ;;
16470 "depdir-avr":C
) $SHELL $ac_aux_dir/mkinstalldirs avr
/$DEPDIR ;;
16471 "depdir-bfin":C
) $SHELL $ac_aux_dir/mkinstalldirs bfin
/$DEPDIR ;;
16472 "depdir-bpf":C
) $SHELL $ac_aux_dir/mkinstalldirs bpf
/$DEPDIR ;;
16473 "depdir-cr16":C
) $SHELL $ac_aux_dir/mkinstalldirs cr16
/$DEPDIR ;;
16474 "depdir-cris":C
) $SHELL $ac_aux_dir/mkinstalldirs cris
/$DEPDIR ;;
16475 "depdir-d10v":C
) $SHELL $ac_aux_dir/mkinstalldirs d10v
/$DEPDIR ;;
16476 "depdir-frv":C
) $SHELL $ac_aux_dir/mkinstalldirs frv
/$DEPDIR ;;
16477 "depdir-h8300":C
) $SHELL $ac_aux_dir/mkinstalldirs h8300
/$DEPDIR ;;
16478 "depdir-iq2000":C
) $SHELL $ac_aux_dir/mkinstalldirs iq2000
/$DEPDIR ;;
16479 "depdir-lm32":C
) $SHELL $ac_aux_dir/mkinstalldirs lm32
/$DEPDIR ;;
16480 "depdir-m32c":C
) $SHELL $ac_aux_dir/mkinstalldirs m32c
/$DEPDIR ;;
16481 "depdir-m32r":C
) $SHELL $ac_aux_dir/mkinstalldirs m32r
/$DEPDIR ;;
16482 "depdir-m68hc11":C
) $SHELL $ac_aux_dir/mkinstalldirs m68hc11
/$DEPDIR ;;
16483 "depdir-mcore":C
) $SHELL $ac_aux_dir/mkinstalldirs mcore
/$DEPDIR ;;
16484 "depdir-microblaze":C
) $SHELL $ac_aux_dir/mkinstalldirs microblaze
/$DEPDIR ;;
16485 "depdir-mips":C
) $SHELL $ac_aux_dir/mkinstalldirs mips
/$DEPDIR ;;
16486 "depdir-mn10300":C
) $SHELL $ac_aux_dir/mkinstalldirs mn10300
/$DEPDIR ;;
16487 "depdir-moxie":C
) $SHELL $ac_aux_dir/mkinstalldirs moxie
/$DEPDIR ;;
16488 "depdir-msp430":C
) $SHELL $ac_aux_dir/mkinstalldirs msp430
/$DEPDIR ;;
16489 "depdir-or1k":C
) $SHELL $ac_aux_dir/mkinstalldirs or1k
/$DEPDIR ;;
16490 "depdir-pru":C
) $SHELL $ac_aux_dir/mkinstalldirs
pru
/$DEPDIR ;;
16491 "depdir-riscv":C
) $SHELL $ac_aux_dir/mkinstalldirs riscv
/$DEPDIR ;;
16492 "depdir-rl78":C
) $SHELL $ac_aux_dir/mkinstalldirs rl78
/$DEPDIR ;;
16493 "depdir-rx":C
) $SHELL $ac_aux_dir/mkinstalldirs rx
/$DEPDIR ;;
16494 "depdir-sh":C
) $SHELL $ac_aux_dir/mkinstalldirs sh
/$DEPDIR ;;
16495 "depdir-erc32":C
) $SHELL $ac_aux_dir/mkinstalldirs erc32
/$DEPDIR ;;
16496 "depdir-ppc":C
) $SHELL $ac_aux_dir/mkinstalldirs ppc
/$DEPDIR ;;
16497 "depdir-ft32":C
) $SHELL $ac_aux_dir/mkinstalldirs ft32
/$DEPDIR ;;
16498 "depdir-v850":C
) $SHELL $ac_aux_dir/mkinstalldirs v850
/$DEPDIR ;;
16499 "depdir-example-synacor":C
) $SHELL $ac_aux_dir/mkinstalldirs example-synacor
/$DEPDIR ;;
16507 ac_clean_files
=$ac_clean_files_save
16509 test $ac_write_fail = 0 ||
16510 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
16513 # configure is writing to config.log, and then calls config.status.
16514 # config.status does its own redirection, appending to config.log.
16515 # Unfortunately, on DOS this fails, as config.log is still kept open
16516 # by configure, so config.status won't be able to write to it; its
16517 # output is simply discarded. So we exec the FD to /dev/null,
16518 # effectively closing config.log, so it can be properly (re)opened and
16519 # appended to by config.status. When coming back to configure, we
16520 # need to make the FD available again.
16521 if test "$no_create" != yes; then
16523 ac_config_status_args
=
16524 test "$silent" = yes &&
16525 ac_config_status_args
="$ac_config_status_args --quiet"
16527 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
16529 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16530 # would make configure fail if this is the last instruction.
16531 $ac_cs_success || as_fn_exit
1
16535 # CONFIG_SUBDIRS section.
16537 if test "$no_recursion" != yes; then
16539 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
16540 # so they do not pile up.
16541 ac_sub_configure_args
=
16543 eval "set x $ac_configure_args"
16547 if test -n "$ac_prev"; then
16552 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
16553 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
16554 ac_prev
=cache_file
;;
16555 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
16556 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
16559 --config-cache |
-C)
16561 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
16563 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
16565 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
16567 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
16569 --disable-option-checking)
16573 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
16575 as_fn_append ac_sub_configure_args
" '$ac_arg'" ;;
16579 # Always prepend --prefix to ensure using the same prefix
16580 # in subdir configurations.
16581 ac_arg
="--prefix=$prefix"
16583 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
16585 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
16588 if test "$silent" = yes; then
16589 ac_sub_configure_args
="--silent $ac_sub_configure_args"
16592 # Always prepend --disable-option-checking to silence warnings, since
16593 # different subdirs can have different --enable and --with options.
16594 ac_sub_configure_args
="--disable-option-checking $ac_sub_configure_args"
16597 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
16599 # Do not complain, so a configure script can configure whichever
16600 # parts of a large source tree are present.
16601 test -d "$srcdir/$ac_dir" ||
continue
16603 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
16604 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
16605 $as_echo "$ac_msg" >&6
16606 as_dir
="$ac_dir"; as_fn_mkdir_p
16610 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16612 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16613 # A ".." for each directory in $ac_dir_suffix.
16614 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16615 case $ac_top_builddir_sub in
16616 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16617 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
16620 ac_abs_top_builddir
=$ac_pwd
16621 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
16622 # for backward compatibility:
16623 ac_top_builddir
=$ac_top_build_prefix
16626 .
) # We are building in place.
16628 ac_top_srcdir
=$ac_top_builddir_sub
16629 ac_abs_top_srcdir
=$ac_pwd ;;
16630 [\\/]* | ?
:[\\/]* ) # Absolute name.
16631 ac_srcdir
=$srcdir$ac_dir_suffix;
16632 ac_top_srcdir
=$srcdir
16633 ac_abs_top_srcdir
=$srcdir ;;
16634 *) # Relative name.
16635 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
16636 ac_top_srcdir
=$ac_top_build_prefix$srcdir
16637 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
16639 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
16644 # Check for guested configure; otherwise get Cygnus style configure.
16645 if test -f "$ac_srcdir/configure.gnu"; then
16646 ac_sub_configure
=$ac_srcdir/configure.gnu
16647 elif test -f "$ac_srcdir/configure"; then
16648 ac_sub_configure
=$ac_srcdir/configure
16649 elif test -f "$ac_srcdir/configure.in"; then
16650 # This should be Cygnus configure.
16651 ac_sub_configure
=$ac_aux_dir/configure
16653 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
16654 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
16658 # The recursion is here.
16659 if test -n "$ac_sub_configure"; then
16660 # Make the cache file name correct relative to the subdirectory.
16661 case $cache_file in
16662 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
16663 *) # Relative name.
16664 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
16667 { $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
16668 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
16669 # The eval makes quoting arguments work.
16670 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
16671 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
16672 as_fn_error $?
"$ac_sub_configure failed for $ac_dir" "$LINENO" 5
16678 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
16679 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16680 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}