2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for sim 0.
5 # Report bugs to <https://sourceware.org/bugzilla/enter_bug.cgi?product=gdb&component=sim>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE
=1; export DUALCASE
# for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print
-rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
55 as_echo_n='/usr
/ucb
/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
68 as_echo_n='sh
-c $as_echo_n_body as_echo
'
71 as_echo='sh
-c $as_echo_body as_echo
'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x
; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var
in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\
${$as_var+set} = xset \
122 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
135 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
140 _as_can_reexec
=no
; export _as_can_reexec
;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
149 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec
=; unset _as_can_reexec
;}
162 if test "x$CONFIG_SHELL" = x
; then
163 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required
="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1
203 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
204 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
205 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
207 PATH=/empty FPATH=/empty; export PATH FPATH
208 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
209 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
210 if (eval "$as_required") 2>/dev
/null
; then :
215 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
218 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
220 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
223 test -z "$as_dir" && as_dir
=.
227 for as_base
in sh bash ksh sh5
; do
228 # Try only shells that exist, to save several forks.
229 as_shell
=$as_dir/$as_base
230 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
231 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
232 CONFIG_SHELL
=$as_shell as_have_required
=yes
233 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
241 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
242 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
243 CONFIG_SHELL
=$SHELL as_have_required
=yes
248 if test "x$CONFIG_SHELL" != x
; then :
250 # We cannot yet assume a decent shell, so we have to provide a
251 # neutralization value for shells without unset; and this also
252 # works around shells that cannot unset nonexistent variables.
253 # Preserve -v and -x to the replacement shell.
256 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
258 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264 # Admittedly, this is quite paranoid, since all the known shells bail
265 # out after a failed `exec'.
266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
270 if test x
$as_have_required = xno
; then :
271 $as_echo "$0: This script requires a shell more modern than all"
272 $as_echo "$0: the shells that I found on your system."
273 if test x
${ZSH_VERSION+set} = xset
; then
274 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
277 $as_echo "$0: Please tell bug-autoconf@gnu.org and
278 $0: https://sourceware.org/bugzilla/enter_bug.cgi?product=gdb&component=sim
279 $0: about your system, including any error possibly output
280 $0: before this message. Then install a modern shell, or
281 $0: manually run the script under such a shell if you do
288 SHELL
=${CONFIG_SHELL-/bin/sh}
290 # Unset more variables known to interfere with behavior of common tools.
291 CLICOLOR_FORCE
= GREP_OPTIONS
=
292 unset CLICOLOR_FORCE GREP_OPTIONS
294 ## --------------------- ##
295 ## M4sh Shell Functions. ##
296 ## --------------------- ##
299 # Portably unset VAR.
302 { eval $1=; unset $1;}
306 # as_fn_set_status STATUS
307 # -----------------------
308 # Set $? to STATUS, without forking.
316 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
326 # Create "$as_dir" as a directory, including parents if necessary.
331 -*) as_dir
=.
/$as_dir;;
333 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
337 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
340 as_dirs
="'$as_qdir' $as_dirs"
341 as_dir
=`$as_dirname -- "$as_dir" ||
342 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
343 X"$as_dir" : 'X\(//\)[^/]' \| \
344 X"$as_dir" : 'X\(//\)$' \| \
345 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
346 $as_echo X"$as_dir" |
347 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
364 test -d "$as_dir" && break
366 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
367 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
372 # as_fn_executable_p FILE
373 # -----------------------
374 # Test if FILE is an executable regular file.
375 as_fn_executable_p
()
377 test -f "$1" && test -x "$1"
378 } # as_fn_executable_p
379 # as_fn_append VAR VALUE
380 # ----------------------
381 # Append the text in VALUE to the end of the definition contained in VAR. Take
382 # advantage of any shell optimizations that allow amortized linear growth over
383 # repeated appends, instead of the typical quadratic growth present in naive
385 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
386 eval 'as_fn_append ()
399 # Perform arithmetic evaluation on the ARGs, and store the result in the
400 # global $as_val. Take advantage of shells that can avoid forks. The arguments
401 # must be portable across $(()) and expr.
402 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
410 as_val
=`expr "$@" || test $? -eq 1`
415 # as_fn_error STATUS ERROR [LINENO LOG_FD]
416 # ----------------------------------------
417 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
418 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
419 # script with STATUS, using 1 if that was 0.
422 as_status
=$1; test $as_status -eq 0 && as_status
=1
424 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
425 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
427 $as_echo "$as_me: error: $2" >&2
428 as_fn_exit
$as_status
431 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
432 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
438 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
444 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
450 as_me
=`$as_basename -- "$0" ||
451 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
452 X"$0" : 'X\(//\)$' \| \
453 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
455 sed '/^.*\/\([^/][^/]*\)\/*$/{
469 # Avoid depending upon Character Ranges.
470 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
471 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
472 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
473 as_cr_digits
='0123456789'
474 as_cr_alnum
=$as_cr_Letters$as_cr_digits
477 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
478 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
479 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
480 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
481 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
493 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
497 chmod +x
"$as_me.lineno" ||
498 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
500 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
501 # already done that, so ensure we don't try to do so again and fall
502 # in an infinite loop. This has already happened in practice.
503 _as_can_reexec
=no
; export _as_can_reexec
504 # Don't try to exec as it changes $[0], causing all sort of problems
505 # (the dirname of $[0] is not the place where we might find the
506 # original and so on. Autoconf is especially sensitive to this).
508 # Exit status is that of the last command.
512 ECHO_C
= ECHO_N
= ECHO_T
=
513 case `echo -n x` in #(((((
515 case `echo 'xy\c'` in
516 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
518 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
525 rm -f conf$$ conf$$.exe conf$$.
file
526 if test -d conf$$.dir
; then
527 rm -f conf$$.dir
/conf$$.
file
530 mkdir conf$$.dir
2>/dev
/null
532 if (echo >conf$$.
file) 2>/dev
/null
; then
533 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
535 # ... but there are two gotchas:
536 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
537 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
538 # In both cases, we have to default to `cp -pR'.
539 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
541 elif ln conf$$.
file conf$$
2>/dev
/null
; then
549 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
550 rmdir conf$$.dir
2>/dev
/null
552 if mkdir
-p .
2>/dev
/null
; then
553 as_mkdir_p
='mkdir -p "$as_dir"'
555 test -d .
/-p && rmdir .
/-p
560 as_executable_p
=as_fn_executable_p
562 # Sed expression to map a string onto a valid CPP name.
563 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
565 # Sed expression to map a string onto a valid variable name.
566 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
568 SHELL
=${CONFIG_SHELL-/bin/sh}
571 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
575 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
576 # so uname gets run too.
577 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
582 ac_default_prefix
=/usr
/local
584 ac_config_libobj_dir
=.
591 # Identity of this package.
593 PACKAGE_TARNAME
='sim'
595 PACKAGE_STRING
='sim 0'
596 PACKAGE_BUGREPORT
='https://sourceware.org/bugzilla/enter_bug.cgi?product=gdb&component=sim'
597 PACKAGE_URL
='https://sourceware.org/gdb/wiki/Sim/'
599 # Factoring default headers for most tests.
600 ac_includes_default
="\
602 #ifdef HAVE_SYS_TYPES_H
603 # include <sys/types.h>
605 #ifdef HAVE_SYS_STAT_H
606 # include <sys/stat.h>
612 # ifdef HAVE_STDLIB_H
617 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
622 #ifdef HAVE_STRINGS_H
623 # include <strings.h>
625 #ifdef HAVE_INTTYPES_H
626 # include <inttypes.h>
637 enable_option_checking
=no
638 ac_subst_vars
='am__EXEEXT_FALSE
641 SIM_ENABLE_IGEN_FALSE
666 INSTALL_STRIP_PROGRAM
678 MAINTAINER_MODE_FALSE
777 program_transform_name
792 enable_option_checking
803 enable_maintainer_mode
804 enable_dependency_tracking
813 enable_sim_environment
818 enable_build_warnings
819 enable_sim_build_warnings
821 ac_precious_vars
='build_alias
830 ac_subdirs_all
='aarch64
863 # Initialize some variables set by options.
865 ac_init_version
=false
866 ac_unrecognized_opts
=
868 # The variables have the same names as the options, with
869 # dashes changed to underlines.
877 program_transform_name
=s
,x
,x
,
885 # Installation directory options.
886 # These are left unexpanded so users can "make install exec_prefix=/foo"
887 # and all the variables that are supposed to be based on exec_prefix
888 # by default will actually change.
889 # Use braces instead of parens because sh, perl, etc. also accept them.
890 # (The list follows the same order as the GNU Coding Standards.)
891 bindir
='${exec_prefix}/bin'
892 sbindir
='${exec_prefix}/sbin'
893 libexecdir
='${exec_prefix}/libexec'
894 datarootdir
='${prefix}/share'
895 datadir
='${datarootdir}'
896 sysconfdir
='${prefix}/etc'
897 sharedstatedir
='${prefix}/com'
898 localstatedir
='${prefix}/var'
899 includedir
='${prefix}/include'
900 oldincludedir
='/usr/include'
901 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
902 infodir
='${datarootdir}/info'
907 libdir
='${exec_prefix}/lib'
908 localedir
='${datarootdir}/locale'
909 mandir
='${datarootdir}/man'
915 # If the previous option needs an argument, assign it.
916 if test -n "$ac_prev"; then
917 eval $ac_prev=\
$ac_option
923 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
928 # Accept the important Cygnus configure options, so we can diagnose typos.
930 case $ac_dashdash$ac_option in
934 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
936 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
939 -build |
--build |
--buil |
--bui |
--bu)
940 ac_prev
=build_alias
;;
941 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
942 build_alias
=$ac_optarg ;;
944 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
945 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
946 ac_prev
=cache_file
;;
947 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
948 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
949 cache_file
=$ac_optarg ;;
952 cache_file
=config.cache
;;
954 -datadir |
--datadir |
--datadi |
--datad)
956 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
957 datadir
=$ac_optarg ;;
959 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
960 |
--dataroo |
--dataro |
--datar)
961 ac_prev
=datarootdir
;;
962 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
963 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
964 datarootdir
=$ac_optarg ;;
966 -disable-* |
--disable-*)
967 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
968 # Reject names that are not valid shell variable names.
969 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
970 as_fn_error $?
"invalid feature name: $ac_useropt"
971 ac_useropt_orig
=$ac_useropt
972 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
973 case $ac_user_opts in
977 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
978 ac_unrecognized_sep
=', ';;
980 eval enable_
$ac_useropt=no
;;
982 -docdir |
--docdir |
--docdi |
--doc |
--do)
984 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
987 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
989 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
992 -enable-* |
--enable-*)
993 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
994 # Reject names that are not valid shell variable names.
995 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
996 as_fn_error $?
"invalid feature name: $ac_useropt"
997 ac_useropt_orig
=$ac_useropt
998 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
999 case $ac_user_opts in
1001 "enable_
$ac_useropt"
1003 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1004 ac_unrecognized_sep
=', ';;
1006 eval enable_
$ac_useropt=\
$ac_optarg ;;
1008 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1009 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1010 |
--exec |
--exe |
--ex)
1011 ac_prev
=exec_prefix
;;
1012 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1013 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1014 |
--exec=* |
--exe=* |
--ex=*)
1015 exec_prefix
=$ac_optarg ;;
1017 -gas |
--gas |
--ga |
--g)
1018 # Obsolete; use --with-gas.
1021 -help |
--help |
--hel |
--he |
-h)
1022 ac_init_help
=long
;;
1023 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1024 ac_init_help
=recursive
;;
1025 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1026 ac_init_help
=short
;;
1028 -host |
--host |
--hos |
--ho)
1029 ac_prev
=host_alias
;;
1030 -host=* |
--host=* |
--hos=* |
--ho=*)
1031 host_alias
=$ac_optarg ;;
1033 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1035 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1037 htmldir
=$ac_optarg ;;
1039 -includedir |
--includedir |
--includedi |
--included |
--include \
1040 |
--includ |
--inclu |
--incl |
--inc)
1041 ac_prev
=includedir
;;
1042 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1043 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1044 includedir
=$ac_optarg ;;
1046 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1048 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1049 infodir
=$ac_optarg ;;
1051 -libdir |
--libdir |
--libdi |
--libd)
1053 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1054 libdir
=$ac_optarg ;;
1056 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1057 |
--libexe |
--libex |
--libe)
1058 ac_prev
=libexecdir
;;
1059 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1060 |
--libexe=* |
--libex=* |
--libe=*)
1061 libexecdir
=$ac_optarg ;;
1063 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1064 ac_prev
=localedir
;;
1065 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1066 localedir
=$ac_optarg ;;
1068 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1069 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1070 ac_prev
=localstatedir
;;
1071 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1072 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1073 localstatedir
=$ac_optarg ;;
1075 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1077 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1078 mandir
=$ac_optarg ;;
1080 -nfp |
--nfp |
--nf)
1081 # Obsolete; use --without-fp.
1084 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1085 |
--no-cr |
--no-c |
-n)
1088 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1089 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1092 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1093 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1094 |
--oldin |
--oldi |
--old |
--ol |
--o)
1095 ac_prev
=oldincludedir
;;
1096 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1097 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1098 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1099 oldincludedir
=$ac_optarg ;;
1101 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1103 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1104 prefix
=$ac_optarg ;;
1106 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1107 |
--program-pre |
--program-pr |
--program-p)
1108 ac_prev
=program_prefix
;;
1109 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1110 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1111 program_prefix
=$ac_optarg ;;
1113 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1114 |
--program-suf |
--program-su |
--program-s)
1115 ac_prev
=program_suffix
;;
1116 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1117 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1118 program_suffix
=$ac_optarg ;;
1120 -program-transform-name |
--program-transform-name \
1121 |
--program-transform-nam |
--program-transform-na \
1122 |
--program-transform-n |
--program-transform- \
1123 |
--program-transform |
--program-transfor \
1124 |
--program-transfo |
--program-transf \
1125 |
--program-trans |
--program-tran \
1126 |
--progr-tra |
--program-tr |
--program-t)
1127 ac_prev
=program_transform_name
;;
1128 -program-transform-name=* |
--program-transform-name=* \
1129 |
--program-transform-nam=* |
--program-transform-na=* \
1130 |
--program-transform-n=* |
--program-transform-=* \
1131 |
--program-transform=* |
--program-transfor=* \
1132 |
--program-transfo=* |
--program-transf=* \
1133 |
--program-trans=* |
--program-tran=* \
1134 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1135 program_transform_name
=$ac_optarg ;;
1137 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1139 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1140 pdfdir
=$ac_optarg ;;
1142 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1144 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1147 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1148 |
-silent |
--silent |
--silen |
--sile |
--sil)
1151 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1153 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1155 sbindir
=$ac_optarg ;;
1157 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1158 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1159 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1161 ac_prev
=sharedstatedir
;;
1162 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1163 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1164 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1166 sharedstatedir
=$ac_optarg ;;
1168 -site |
--site |
--sit)
1170 -site=* |
--site=* |
--sit=*)
1173 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1175 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1176 srcdir
=$ac_optarg ;;
1178 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1179 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1180 ac_prev
=sysconfdir
;;
1181 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1182 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1183 sysconfdir
=$ac_optarg ;;
1185 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1186 ac_prev
=target_alias
;;
1187 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1188 target_alias
=$ac_optarg ;;
1190 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1193 -version |
--version |
--versio |
--versi |
--vers |
-V)
1194 ac_init_version
=: ;;
1197 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1198 # Reject names that are not valid shell variable names.
1199 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1200 as_fn_error $?
"invalid package name: $ac_useropt"
1201 ac_useropt_orig
=$ac_useropt
1202 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1203 case $ac_user_opts in
1207 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1208 ac_unrecognized_sep
=', ';;
1210 eval with_
$ac_useropt=\
$ac_optarg ;;
1212 -without-* |
--without-*)
1213 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1214 # Reject names that are not valid shell variable names.
1215 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1216 as_fn_error $?
"invalid package name: $ac_useropt"
1217 ac_useropt_orig
=$ac_useropt
1218 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1219 case $ac_user_opts in
1223 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1224 ac_unrecognized_sep
=', ';;
1226 eval with_
$ac_useropt=no
;;
1229 # Obsolete; use --with-x.
1232 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1233 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1234 ac_prev
=x_includes
;;
1235 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1236 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1237 x_includes
=$ac_optarg ;;
1239 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1240 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1241 ac_prev
=x_libraries
;;
1242 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1243 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1244 x_libraries
=$ac_optarg ;;
1246 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1247 Try \`$0 --help' for more information"
1251 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1252 # Reject names that are not valid shell variable names.
1253 case $ac_envvar in #(
1254 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1255 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1257 eval $ac_envvar=\
$ac_optarg
1258 export $ac_envvar ;;
1261 # FIXME: should be removed in autoconf 3.0.
1262 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1263 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1264 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1265 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1271 if test -n "$ac_prev"; then
1272 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1273 as_fn_error $?
"missing argument to $ac_option"
1276 if test -n "$ac_unrecognized_opts"; then
1277 case $enable_option_checking in
1279 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1280 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1284 # Check all directory arguments for consistency.
1285 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1286 datadir sysconfdir sharedstatedir localstatedir includedir \
1287 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1288 libdir localedir mandir
1290 eval ac_val
=\$
$ac_var
1291 # Remove trailing slashes.
1294 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1295 eval $ac_var=\
$ac_val;;
1297 # Be sure to have absolute directory names.
1299 [\\/$
]* | ?
:[\\/]* ) continue;;
1300 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1302 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1305 # There might be people who depend on the old broken behavior: `$host'
1306 # used to hold the argument of --host etc.
1307 # FIXME: To remove some day.
1310 target
=$target_alias
1312 # FIXME: To remove some day.
1313 if test "x$host_alias" != x
; then
1314 if test "x$build_alias" = x
; then
1315 cross_compiling
=maybe
1316 elif test "x$build_alias" != "x$host_alias"; then
1322 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1324 test "$silent" = yes && exec 6>/dev
/null
1327 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1328 ac_ls_di
=`ls -di .` &&
1329 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1330 as_fn_error $?
"working directory cannot be determined"
1331 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1332 as_fn_error $?
"pwd does not report name of working directory"
1335 # Find the source files, if location was not specified.
1336 if test -z "$srcdir"; then
1337 ac_srcdir_defaulted
=yes
1338 # Try the directory containing this script, then the parent directory.
1339 ac_confdir
=`$as_dirname -- "$as_myself" ||
1340 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1341 X"$as_myself" : 'X\(//\)[^/]' \| \
1342 X"$as_myself" : 'X\(//\)$' \| \
1343 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1344 $as_echo X"$as_myself" |
1345 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1363 if test ! -r "$srcdir/$ac_unique_file"; then
1367 ac_srcdir_defaulted
=no
1369 if test ! -r "$srcdir/$ac_unique_file"; then
1370 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1371 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1373 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1375 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1377 # When building in place, set srcdir=.
1378 if test "$ac_abs_confdir" = "$ac_pwd"; then
1381 # Remove unnecessary trailing slashes from srcdir.
1382 # Double slashes in file names in object file debugging info
1383 # mess up M-x gdb in Emacs.
1385 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1387 for ac_var
in $ac_precious_vars; do
1388 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1389 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1390 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1391 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1395 # Report the --help message.
1397 if test "$ac_init_help" = "long"; then
1398 # Omit some internal or obsolete options to make the list less imposing.
1399 # This message is too long to be a string in the A/UX 3.1 sh.
1401 \`configure' configures sim 0 to adapt to many kinds of systems.
1403 Usage: $0 [OPTION]... [VAR=VALUE]...
1405 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1406 VAR=VALUE. See below for descriptions of some of the useful variables.
1408 Defaults for the options are specified in brackets.
1411 -h, --help display this help and exit
1412 --help=short display options specific to this package
1413 --help=recursive display the short help of all the included packages
1414 -V, --version display version information and exit
1415 -q, --quiet, --silent do not print \`checking ...' messages
1416 --cache-file=FILE cache test results in FILE [disabled]
1417 -C, --config-cache alias for \`--cache-file=config.cache'
1418 -n, --no-create do not create output files
1419 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1421 Installation directories:
1422 --prefix=PREFIX install architecture-independent files in PREFIX
1423 [$ac_default_prefix]
1424 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1427 By default, \`make install' will install all the files in
1428 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1429 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1430 for instance \`--prefix=\$HOME'.
1432 For better control, use the options below.
1434 Fine tuning of the installation directories:
1435 --bindir=DIR user executables [EPREFIX/bin]
1436 --sbindir=DIR system admin executables [EPREFIX/sbin]
1437 --libexecdir=DIR program executables [EPREFIX/libexec]
1438 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1439 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1440 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1441 --libdir=DIR object code libraries [EPREFIX/lib]
1442 --includedir=DIR C header files [PREFIX/include]
1443 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1444 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1445 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1446 --infodir=DIR info documentation [DATAROOTDIR/info]
1447 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1448 --mandir=DIR man documentation [DATAROOTDIR/man]
1449 --docdir=DIR documentation root [DATAROOTDIR/doc/sim]
1450 --htmldir=DIR html documentation [DOCDIR]
1451 --dvidir=DIR dvi documentation [DOCDIR]
1452 --pdfdir=DIR pdf documentation [DOCDIR]
1453 --psdir=DIR ps documentation [DOCDIR]
1459 --program-prefix=PREFIX prepend PREFIX to installed program names
1460 --program-suffix=SUFFIX append SUFFIX to installed program names
1461 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1464 --build=BUILD configure
for building on BUILD
[guessed
]
1465 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1466 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1470 if test -n "$ac_init_help"; then
1471 case $ac_init_help in
1472 short | recursive
) echo "Configuration of sim 0:";;
1477 --disable-option-checking ignore unrecognized
--enable/--with options
1478 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1479 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1480 --enable-plugins Enable support
for plugins
1481 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1482 --enable-static[=PKGS
] build static libraries
[default
=yes]
1483 --enable-fast-install[=PKGS
]
1484 optimize
for fast installation
[default
=yes]
1485 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1486 --enable-maintainer-mode
1487 enable make rules and dependencies not useful
(and
1488 sometimes confusing
) to the casual installer
1489 --enable-dependency-tracking
1490 do not reject slow dependency extractors
1491 --disable-dependency-tracking
1492 speeds up one-time build
1493 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1494 --disable-silent-rules verbose build output
(undo
: "make V=0")
1495 --enable-sim Enable the GNU simulator
1496 --enable-example-sims enable example GNU simulators
1497 --enable-targets alternative target configurations
1498 --enable-sim-alignment=align
1499 Specify strict
, nonstrict or forced alignment of
1501 --enable-sim-assert Specify whether to perform random assertions
1502 --enable-sim-debug=opts Enable debugging flags
(for developers of the sim
1504 --enable-sim-endian=endian
1505 Specify target byte endian orientation
1506 --enable-sim-environment=environment
1507 Specify mixed
, user
, virtual or operating
1509 --enable-sim-profile=opts
1510 Enable profiling flags
1511 --enable-sim-stdio Specify whether to use stdio
for console
1513 --enable-sim-trace=opts Enable tracing of simulated programs
1514 --enable-werror treat compile warnings as errors
1515 --enable-build-warnings enable build-time compiler warnings
if gcc is used
1516 --enable-sim-build-warnings
1517 enable SIM specific build-time compiler warnings
if
1521 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1522 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1523 --with-pkgversion=PKG Use PKG
in the version string
in place of
"SIM"
1524 --with-bugurl=URL Direct users to URL to report a bug
1525 --with-system-zlib use installed libz
1526 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1528 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1530 Some influential environment variables
:
1531 CC C compiler
command
1532 CFLAGS C compiler flags
1533 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1534 nonstandard directory
<lib dir
>
1535 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1536 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1537 you have headers
in a nonstandard directory
<include dir
>
1540 Use these variables to override the choices made by
`configure' or to help
1541 it to find libraries and programs with nonstandard names/locations.
1543 Report bugs to <https://sourceware.org/bugzilla/enter_bug.cgi?product=gdb&component=sim>.
1544 sim home page: <https://sourceware.org/gdb/wiki/Sim/>.
1549 if test "$ac_init_help" = "recursive"; then
1550 # If there are subdirs, report their specific --help.
1551 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1552 test -d "$ac_dir" ||
1553 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1558 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1560 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1561 # A ".." for each directory in $ac_dir_suffix.
1562 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1563 case $ac_top_builddir_sub in
1564 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1565 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1568 ac_abs_top_builddir=$ac_pwd
1569 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1570 # for backward compatibility:
1571 ac_top_builddir=$ac_top_build_prefix
1574 .) # We are building in place.
1576 ac_top_srcdir=$ac_top_builddir_sub
1577 ac_abs_top_srcdir=$ac_pwd ;;
1578 [\\/]* | ?:[\\/]* ) # Absolute name.
1579 ac_srcdir=$srcdir$ac_dir_suffix;
1580 ac_top_srcdir=$srcdir
1581 ac_abs_top_srcdir=$srcdir ;;
1583 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1584 ac_top_srcdir=$ac_top_build_prefix$srcdir
1585 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1587 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1589 cd "$ac_dir" || { ac_status=$?; continue; }
1590 # Check for guested configure.
1591 if test -f "$ac_srcdir/configure.gnu"; then
1593 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1594 elif test -f "$ac_srcdir/configure"; then
1596 $SHELL "$ac_srcdir/configure" --help=recursive
1598 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1600 cd "$ac_pwd" || { ac_status=$?; break; }
1604 test -n "$ac_init_help" && exit $ac_status
1605 if $ac_init_version; then
1608 generated by GNU Autoconf 2.69
1610 Copyright (C) 2012 Free Software Foundation, Inc.
1611 This configure script is free software; the Free Software Foundation
1612 gives unlimited permission to copy, distribute and modify it.
1617 ## ------------------------ ##
1618 ## Autoconf initialization. ##
1619 ## ------------------------ ##
1621 # ac_fn_c_try_compile LINENO
1622 # --------------------------
1623 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1624 ac_fn_c_try_compile ()
1626 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1627 rm -f conftest.$ac_objext
1628 if { { ac_try="$ac_compile"
1630 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1631 *) ac_try_echo
=$ac_try;;
1633 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1634 $as_echo "$ac_try_echo"; } >&5
1635 (eval "$ac_compile") 2>conftest.err
1637 if test -s conftest.err
; then
1638 grep -v '^ *+' conftest.err
>conftest.er1
1639 cat conftest.er1
>&5
1640 mv -f conftest.er1 conftest.err
1642 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1643 test $ac_status = 0; } && {
1644 test -z "$ac_c_werror_flag" ||
1645 test ! -s conftest.err
1646 } && test -s conftest.
$ac_objext; then :
1649 $as_echo "$as_me: failed program was:" >&5
1650 sed 's/^/| /' conftest.
$ac_ext >&5
1654 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1655 as_fn_set_status
$ac_retval
1657 } # ac_fn_c_try_compile
1659 # ac_fn_c_try_cpp LINENO
1660 # ----------------------
1661 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1664 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1665 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1667 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1668 *) ac_try_echo=$ac_try;;
1670 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1671 $as_echo "$ac_try_echo"; } >&5
1672 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1674 if test -s conftest.err; then
1675 grep -v '^ *+' conftest.err >conftest.er1
1676 cat conftest.er1 >&5
1677 mv -f conftest.er1 conftest.err
1679 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1680 test $ac_status = 0; } > conftest.i && {
1681 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1682 test ! -s conftest.err
1686 $as_echo "$as_me: failed program was:" >&5
1687 sed 's/^/| /' conftest.$ac_ext >&5
1691 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1692 as_fn_set_status $ac_retval
1696 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1697 # -------------------------------------------------------
1698 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1699 # the include files in INCLUDES and setting the cache variable VAR
1701 ac_fn_c_check_header_mongrel ()
1703 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1704 if eval \${$3+:} false; then :
1705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1706 $as_echo_n "checking for $2... " >&6; }
1707 if eval \${$3+:} false; then :
1708 $as_echo_n "(cached) " >&6
1711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1712 $as_echo "$ac_res" >&6; }
1714 # Is the header compilable?
1715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1716 $as_echo_n "checking $2 usability... " >&6; }
1717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1718 /* end confdefs.h. */
1722 if ac_fn_c_try_compile "$LINENO"; then :
1723 ac_header_compiler=yes
1725 ac_header_compiler=no
1727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1729 $as_echo "$ac_header_compiler" >&6; }
1731 # Is the header present?
1732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1733 $as_echo_n "checking $2 presence... " >&6; }
1734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1735 /* end confdefs.h. */
1738 if ac_fn_c_try_cpp "$LINENO"; then :
1739 ac_header_preproc=yes
1741 ac_header_preproc=no
1743 rm -f conftest.err conftest.i conftest.$ac_ext
1744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1745 $as_echo "$ac_header_preproc" >&6; }
1747 # So? What about this header?
1748 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1750 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1751 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1752 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1753 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1756 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1757 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1758 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1759 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1760 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1761 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1762 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1763 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1764 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1765 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1766 ( $as_echo "## -------------------------------------------------------------------------------------- ##
1767 ## Report this to https://sourceware.org/bugzilla/enter_bug.cgi?product=gdb&component=sim ##
1768 ## -------------------------------------------------------------------------------------- ##"
1769 ) | sed "s/^/$as_me: WARNING: /" >&2
1772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1773 $as_echo_n "checking for $2... " >&6; }
1774 if eval \${$3+:} false; then :
1775 $as_echo_n "(cached) " >&6
1777 eval "$3=\$ac_header_compiler"
1780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1781 $as_echo "$ac_res" >&6; }
1783 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1785 } # ac_fn_c_check_header_mongrel
1787 # ac_fn_c_try_run LINENO
1788 # ----------------------
1789 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1790 # that executables *can* be run.
1793 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1794 if { { ac_try="$ac_link"
1796 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1797 *) ac_try_echo
=$ac_try;;
1799 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1800 $as_echo "$ac_try_echo"; } >&5
1801 (eval "$ac_link") 2>&5
1803 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1804 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1805 { { case "(($ac_try" in
1806 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1807 *) ac_try_echo=$ac_try;;
1809 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1810 $as_echo "$ac_try_echo"; } >&5
1811 (eval "$ac_try") 2>&5
1813 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1814 test $ac_status = 0; }; }; then :
1817 $as_echo "$as_me: program exited with status $ac_status" >&5
1818 $as_echo "$as_me: failed program was:" >&5
1819 sed 's/^/| /' conftest.$ac_ext >&5
1821 ac_retval=$ac_status
1823 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1824 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1825 as_fn_set_status $ac_retval
1829 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1830 # -------------------------------------------------------
1831 # Tests whether HEADER exists and can be compiled using the include files in
1832 # INCLUDES, setting the cache variable VAR accordingly.
1833 ac_fn_c_check_header_compile ()
1835 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1837 $as_echo_n "checking for $2... " >&6; }
1838 if eval \${$3+:} false; then :
1839 $as_echo_n "(cached) " >&6
1841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1842 /* end confdefs.h. */
1846 if ac_fn_c_try_compile "$LINENO"; then :
1851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1855 $as_echo "$ac_res" >&6; }
1856 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1858 } # ac_fn_c_check_header_compile
1860 # ac_fn_c_try_link LINENO
1861 # -----------------------
1862 # Try to link conftest.$ac_ext, and return whether this succeeded.
1865 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1866 rm -f conftest.$ac_objext conftest$ac_exeext
1867 if { { ac_try="$ac_link"
1869 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1870 *) ac_try_echo
=$ac_try;;
1872 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1873 $as_echo "$ac_try_echo"; } >&5
1874 (eval "$ac_link") 2>conftest.err
1876 if test -s conftest.err
; then
1877 grep -v '^ *+' conftest.err
>conftest.er1
1878 cat conftest.er1
>&5
1879 mv -f conftest.er1 conftest.err
1881 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1882 test $ac_status = 0; } && {
1883 test -z "$ac_c_werror_flag" ||
1884 test ! -s conftest.err
1885 } && test -s conftest
$ac_exeext && {
1886 test "$cross_compiling" = yes ||
1887 test -x conftest
$ac_exeext
1891 $as_echo "$as_me: failed program was:" >&5
1892 sed 's/^/| /' conftest.
$ac_ext >&5
1896 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1897 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1898 # interfere with the next link command; also delete a directory that is
1899 # left behind by Apple's compiler. We do this before executing the actions.
1900 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1901 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1902 as_fn_set_status
$ac_retval
1904 } # ac_fn_c_try_link
1906 # ac_fn_c_check_func LINENO FUNC VAR
1907 # ----------------------------------
1908 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1909 ac_fn_c_check_func
()
1911 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1913 $as_echo_n "checking for $2... " >&6; }
1914 if eval \
${$3+:} false
; then :
1915 $as_echo_n "(cached) " >&6
1917 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1918 /* end confdefs.h. */
1919 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1920 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1921 #define $2 innocuous_$2
1923 /* System header to define __stub macros and hopefully few prototypes,
1924 which can conflict with char $2 (); below.
1925 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1926 <limits.h> exists even on freestanding compilers. */
1929 # include <limits.h>
1931 # include <assert.h>
1936 /* Override any GCC internal prototype to avoid an error.
1937 Use char because int might match the return type of a GCC
1938 builtin and then its argument prototype would still apply. */
1943 /* The GNU C library defines this for functions which it implements
1944 to always fail with ENOSYS. Some functions are actually named
1945 something starting with __ and the normal name is an alias. */
1946 #if defined __stub_$2 || defined __stub___$2
1958 if ac_fn_c_try_link
"$LINENO"; then :
1963 rm -f core conftest.err conftest.
$ac_objext \
1964 conftest
$ac_exeext conftest.
$ac_ext
1967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1968 $as_echo "$ac_res" >&6; }
1969 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1971 } # ac_fn_c_check_func
1973 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
1974 # ----------------------------------------------------
1975 # Tries to find if the field MEMBER exists in type AGGR, after including
1976 # INCLUDES, setting cache variable VAR accordingly.
1977 ac_fn_c_check_member
()
1979 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
1981 $as_echo_n "checking for $2.$3... " >&6; }
1982 if eval \
${$4+:} false
; then :
1983 $as_echo_n "(cached) " >&6
1985 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1986 /* end confdefs.h. */
1998 if ac_fn_c_try_compile
"$LINENO"; then :
2001 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2002 /* end confdefs.h. */
2008 if (sizeof ac_aggr.$3)
2014 if ac_fn_c_try_compile
"$LINENO"; then :
2019 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2021 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2025 $as_echo "$ac_res" >&6; }
2026 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2028 } # ac_fn_c_check_member
2030 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2031 # ---------------------------------------------
2032 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2034 ac_fn_c_check_decl
()
2036 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2037 as_decl_name
=`echo $2|sed 's/ *(.*//'`
2038 as_decl_use
=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2040 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2041 if eval \
${$3+:} false
; then :
2042 $as_echo_n "(cached) " >&6
2044 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2045 /* end confdefs.h. */
2050 #ifndef $as_decl_name
2052 (void) $as_decl_use;
2054 (void) $as_decl_name;
2062 if ac_fn_c_try_compile
"$LINENO"; then :
2067 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2071 $as_echo "$ac_res" >&6; }
2072 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2074 } # ac_fn_c_check_decl
2076 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2077 # -------------------------------------------
2078 # Tests whether TYPE exists after having included INCLUDES, setting cache
2079 # variable VAR accordingly.
2080 ac_fn_c_check_type
()
2082 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2084 $as_echo_n "checking for $2... " >&6; }
2085 if eval \
${$3+:} false
; then :
2086 $as_echo_n "(cached) " >&6
2089 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2090 /* end confdefs.h. */
2101 if ac_fn_c_try_compile
"$LINENO"; then :
2102 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2103 /* end confdefs.h. */
2114 if ac_fn_c_try_compile
"$LINENO"; then :
2119 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2121 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2125 $as_echo "$ac_res" >&6; }
2126 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2128 } # ac_fn_c_check_type
2129 cat >config.log
<<_ACEOF
2130 This file contains any messages produced by compilers while
2131 running configure, to aid debugging if configure makes a mistake.
2133 It was created by sim $as_me 0, which was
2134 generated by GNU Autoconf 2.69. Invocation command line was
2146 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2147 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2148 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2149 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2150 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2152 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2153 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2155 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2156 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2157 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2158 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2159 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2160 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2161 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2165 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2169 test -z "$as_dir" && as_dir
=.
2170 $as_echo "PATH: $as_dir"
2186 # Keep a trace of the command line.
2187 # Strip out --no-create and --no-recursion so they do not pile up.
2188 # Strip out --silent because we don't want to record it for future runs.
2189 # Also quote any args containing shell meta-characters.
2190 # Make two passes to allow for proper duplicate-argument suppression.
2194 ac_must_keep_next
=false
2200 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2201 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2202 |
-silent |
--silent |
--silen |
--sile |
--sil)
2205 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2208 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2210 as_fn_append ac_configure_args1
" '$ac_arg'"
2211 if test $ac_must_keep_next = true
; then
2212 ac_must_keep_next
=false
# Got value, back to normal.
2215 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2216 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2217 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2218 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2219 case "$ac_configure_args0 " in
2220 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2223 -* ) ac_must_keep_next
=true
;;
2226 as_fn_append ac_configure_args
" '$ac_arg'"
2231 { ac_configure_args0
=; unset ac_configure_args0
;}
2232 { ac_configure_args1
=; unset ac_configure_args1
;}
2234 # When interrupted or exit'd, cleanup temporary files, and complete
2235 # config.log. We remove comments because anyway the quotes in there
2236 # would cause problems or look ugly.
2237 # WARNING: Use '\'' to represent an apostrophe within the trap.
2238 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2239 trap 'exit_status=$?
2240 # Save into config.log some information that might help in debugging.
2244 $as_echo "## ---------------- ##
2245 ## Cache variables. ##
2246 ## ---------------- ##"
2248 # The following way of writing the cache mishandles newlines in values,
2250 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2251 eval ac_val=\$$ac_var
2255 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2256 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2259 _ | IFS | as_nl) ;; #(
2260 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2261 *) { eval $ac_var=; unset $ac_var;} ;;
2266 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2267 *${as_nl}ac_space=\ *)
2269 "s/'\''/'\''\\\\'\'''\''/g;
2270 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2273 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2280 $as_echo "## ----------------- ##
2281 ## Output variables. ##
2282 ## ----------------- ##"
2284 for ac_var in $ac_subst_vars
2286 eval ac_val=\$$ac_var
2288 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2290 $as_echo "$ac_var='\''$ac_val'\''"
2294 if test -n "$ac_subst_files"; then
2295 $as_echo "## ------------------- ##
2296 ## File substitutions. ##
2297 ## ------------------- ##"
2299 for ac_var
in $ac_subst_files
2301 eval ac_val
=\$
$ac_var
2303 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2305 $as_echo "$ac_var='\''$ac_val'\''"
2310 if test -s confdefs.h; then
2311 $as_echo "## ----------- ##
2318 test "$ac_signal" != 0 &&
2319 $as_echo "$as_me: caught signal $ac_signal"
2320 $as_echo "$as_me: exit $exit_status"
2322 rm -f core *.core core.conftest.* &&
2323 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2326 for ac_signal
in 1 2 13 15; do
2327 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2331 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2332 rm -f -r conftest
* confdefs.h
2334 $as_echo "/* confdefs.h */" > confdefs.h
2336 # Predefined preprocessor variables.
2338 cat >>confdefs.h
<<_ACEOF
2339 #define PACKAGE_NAME "$PACKAGE_NAME"
2342 cat >>confdefs.h
<<_ACEOF
2343 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2346 cat >>confdefs.h
<<_ACEOF
2347 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2350 cat >>confdefs.h
<<_ACEOF
2351 #define PACKAGE_STRING "$PACKAGE_STRING"
2354 cat >>confdefs.h
<<_ACEOF
2355 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2358 cat >>confdefs.h
<<_ACEOF
2359 #define PACKAGE_URL "$PACKAGE_URL"
2363 # Let the site file select an alternate cache file if it wants to.
2364 # Prefer an explicitly selected file to automatically selected ones.
2367 if test -n "$CONFIG_SITE"; then
2368 # We do not want a PATH search for config.site.
2369 case $CONFIG_SITE in #((
2370 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2371 */*) ac_site_file1
=$CONFIG_SITE;;
2372 *) ac_site_file1
=.
/$CONFIG_SITE;;
2374 elif test "x$prefix" != xNONE
; then
2375 ac_site_file1
=$prefix/share
/config.site
2376 ac_site_file2
=$prefix/etc
/config.site
2378 ac_site_file1
=$ac_default_prefix/share
/config.site
2379 ac_site_file2
=$ac_default_prefix/etc
/config.site
2381 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2383 test "x$ac_site_file" = xNONE
&& continue
2384 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2385 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2386 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2387 sed 's/^/| /' "$ac_site_file" >&5
2389 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2390 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2391 as_fn_error $?
"failed to load site script $ac_site_file
2392 See \`config.log' for more details" "$LINENO" 5; }
2396 if test -r "$cache_file"; then
2397 # Some versions of bash will fail to source /dev/null (special files
2398 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2399 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2400 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2401 $as_echo "$as_me: loading cache $cache_file" >&6;}
2403 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2404 *) .
"./$cache_file";;
2408 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2409 $as_echo "$as_me: creating cache $cache_file" >&6;}
2413 as_fn_append ac_header_list
" dlfcn.h"
2414 as_fn_append ac_header_list
" fcntl.h"
2415 as_fn_append ac_header_list
" fpu_control.h"
2416 as_fn_append ac_header_list
" termios.h"
2417 as_fn_append ac_header_list
" unistd.h"
2418 as_fn_append ac_header_list
" utime.h"
2419 as_fn_append ac_header_list
" linux/if_tun.h"
2420 as_fn_append ac_header_list
" linux/mii.h"
2421 as_fn_append ac_header_list
" linux/types.h"
2422 as_fn_append ac_header_list
" net/if.h"
2423 as_fn_append ac_header_list
" netinet/in.h"
2424 as_fn_append ac_header_list
" netinet/tcp.h"
2425 as_fn_append ac_header_list
" sys/ioctl.h"
2426 as_fn_append ac_header_list
" sys/mman.h"
2427 as_fn_append ac_header_list
" sys/mount.h"
2428 as_fn_append ac_header_list
" sys/param.h"
2429 as_fn_append ac_header_list
" sys/resource.h"
2430 as_fn_append ac_header_list
" sys/socket.h"
2431 as_fn_append ac_header_list
" sys/stat.h"
2432 as_fn_append ac_header_list
" sys/statfs.h"
2433 as_fn_append ac_header_list
" sys/termio.h"
2434 as_fn_append ac_header_list
" sys/termios.h"
2435 as_fn_append ac_header_list
" sys/types.h"
2436 as_fn_append ac_header_list
" sys/vfs.h"
2437 as_fn_append ac_func_list
" __setfpucw"
2438 as_fn_append ac_func_list
" access"
2439 as_fn_append ac_func_list
" aint"
2440 as_fn_append ac_func_list
" anint"
2441 as_fn_append ac_func_list
" cfgetispeed"
2442 as_fn_append ac_func_list
" cfgetospeed"
2443 as_fn_append ac_func_list
" cfsetispeed"
2444 as_fn_append ac_func_list
" cfsetospeed"
2445 as_fn_append ac_func_list
" chdir"
2446 as_fn_append ac_func_list
" chmod"
2447 as_fn_append ac_func_list
" dup"
2448 as_fn_append ac_func_list
" dup2"
2449 as_fn_append ac_func_list
" execv"
2450 as_fn_append ac_func_list
" execve"
2451 as_fn_append ac_func_list
" fcntl"
2452 as_fn_append ac_func_list
" fork"
2453 as_fn_append ac_func_list
" fstat"
2454 as_fn_append ac_func_list
" fstatfs"
2455 as_fn_append ac_func_list
" ftruncate"
2456 as_fn_append ac_func_list
" getdirentries"
2457 as_fn_append ac_func_list
" getegid"
2458 as_fn_append ac_func_list
" geteuid"
2459 as_fn_append ac_func_list
" getgid"
2460 as_fn_append ac_func_list
" getpid"
2461 as_fn_append ac_func_list
" getppid"
2462 as_fn_append ac_func_list
" getrusage"
2463 as_fn_append ac_func_list
" gettimeofday"
2464 as_fn_append ac_func_list
" getuid"
2465 as_fn_append ac_func_list
" ioctl"
2466 as_fn_append ac_func_list
" kill"
2467 as_fn_append ac_func_list
" link"
2468 as_fn_append ac_func_list
" lseek"
2469 as_fn_append ac_func_list
" mmap"
2470 as_fn_append ac_func_list
" munmap"
2471 as_fn_append ac_func_list
" pipe"
2472 as_fn_append ac_func_list
" posix_fallocate"
2473 as_fn_append ac_func_list
" pread"
2474 as_fn_append ac_func_list
" rmdir"
2475 as_fn_append ac_func_list
" setregid"
2476 as_fn_append ac_func_list
" setreuid"
2477 as_fn_append ac_func_list
" setgid"
2478 as_fn_append ac_func_list
" setuid"
2479 as_fn_append ac_func_list
" sigaction"
2480 as_fn_append ac_func_list
" sigprocmask"
2481 as_fn_append ac_func_list
" sqrt"
2482 as_fn_append ac_func_list
" stat"
2483 as_fn_append ac_func_list
" strsignal"
2484 as_fn_append ac_func_list
" symlink"
2485 as_fn_append ac_func_list
" tcdrain"
2486 as_fn_append ac_func_list
" tcflow"
2487 as_fn_append ac_func_list
" tcflush"
2488 as_fn_append ac_func_list
" tcgetattr"
2489 as_fn_append ac_func_list
" tcgetpgrp"
2490 as_fn_append ac_func_list
" tcsendbreak"
2491 as_fn_append ac_func_list
" tcsetattr"
2492 as_fn_append ac_func_list
" tcsetpgrp"
2493 as_fn_append ac_func_list
" time"
2494 as_fn_append ac_func_list
" truncate"
2495 as_fn_append ac_func_list
" umask"
2496 as_fn_append ac_func_list
" unlink"
2497 as_fn_append ac_func_list
" utime"
2498 # Check that the precious variables saved in the cache have kept the same
2500 ac_cache_corrupted
=false
2501 for ac_var
in $ac_precious_vars; do
2502 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2503 eval ac_new_set
=\
$ac_env_${ac_var}_set
2504 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2505 eval ac_new_val
=\
$ac_env_${ac_var}_value
2506 case $ac_old_set,$ac_new_set in
2508 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2509 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2510 ac_cache_corrupted
=: ;;
2512 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2513 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2514 ac_cache_corrupted
=: ;;
2517 if test "x$ac_old_val" != "x$ac_new_val"; then
2518 # differences in whitespace do not lead to failure.
2519 ac_old_val_w
=`echo x $ac_old_val`
2520 ac_new_val_w
=`echo x $ac_new_val`
2521 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2522 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2523 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2524 ac_cache_corrupted
=:
2526 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2527 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2528 eval $ac_var=\
$ac_old_val
2530 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2531 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2532 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2533 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2536 # Pass precious variables to config.status.
2537 if test "$ac_new_set" = set; then
2539 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2540 *) ac_arg
=$ac_var=$ac_new_val ;;
2542 case " $ac_configure_args " in
2543 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2544 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2548 if $ac_cache_corrupted; then
2549 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2550 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2551 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2552 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2553 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2555 ## -------------------- ##
2556 ## Main body of script. ##
2557 ## -------------------- ##
2560 ac_cpp
='$CPP $CPPFLAGS'
2561 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2562 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2563 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2572 # Check whether --with-pkgversion was given.
2573 if test "${with_pkgversion+set}" = set; then :
2574 withval
=$with_pkgversion; case "$withval" in
2575 yes) as_fn_error $?
"package version not specified" "$LINENO" 5 ;;
2577 *) PKGVERSION
="($withval) " ;;
2587 cat >>confdefs.h
<<_ACEOF
2588 #define PKGVERSION "$PKGVERSION"
2593 # Check whether --with-bugurl was given.
2594 if test "${with_bugurl+set}" = set; then :
2595 withval
=$with_bugurl; case "$withval" in
2596 yes) as_fn_error $?
"bug URL not specified" "$LINENO" 5 ;;
2599 *) BUGURL
="$withval"
2603 BUGURL
="$PACKAGE_BUGREPORT"
2613 REPORT_BUGS_TO
="<$BUGURL>"
2614 REPORT_BUGS_TEXI
=@uref
{`echo "$BUGURL" | sed 's/@/@@/g'`}
2621 cat >>confdefs.h
<<_ACEOF
2622 #define REPORT_BUGS_TO "$REPORT_BUGS_TO"
2626 ac_config_headers
="$ac_config_headers config.h"
2630 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2631 if test -f "$ac_dir/install-sh"; then
2633 ac_install_sh
="$ac_aux_dir/install-sh -c"
2635 elif test -f "$ac_dir/install.sh"; then
2637 ac_install_sh
="$ac_aux_dir/install.sh -c"
2639 elif test -f "$ac_dir/shtool"; then
2641 ac_install_sh
="$ac_aux_dir/shtool install -c"
2645 if test -z "$ac_aux_dir"; then
2646 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2649 # These three variables are undocumented and unsupported,
2650 # and are intended to be withdrawn in a future Autoconf release.
2651 # They can cause serious problems if a builder's source tree is in a directory
2652 # whose full name contains unusual characters.
2653 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2654 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2655 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2658 # Make sure we can run config.sub.
2659 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2660 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2663 $as_echo_n "checking build system type... " >&6; }
2664 if ${ac_cv_build+:} false
; then :
2665 $as_echo_n "(cached) " >&6
2667 ac_build_alias
=$build_alias
2668 test "x$ac_build_alias" = x
&&
2669 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2670 test "x$ac_build_alias" = x
&&
2671 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2672 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2673 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2677 $as_echo "$ac_cv_build" >&6; }
2678 case $ac_cv_build in
2680 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2683 ac_save_IFS
=$IFS; IFS
='-'
2689 # Remember, the first character of IFS is used to create $*,
2690 # except with old shells:
2693 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2697 $as_echo_n "checking host system type... " >&6; }
2698 if ${ac_cv_host+:} false
; then :
2699 $as_echo_n "(cached) " >&6
2701 if test "x$host_alias" = x
; then
2702 ac_cv_host
=$ac_cv_build
2704 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2705 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2710 $as_echo "$ac_cv_host" >&6; }
2713 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2716 ac_save_IFS
=$IFS; IFS
='-'
2722 # Remember, the first character of IFS is used to create $*,
2723 # except with old shells:
2726 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2730 $as_echo_n "checking target system type... " >&6; }
2731 if ${ac_cv_target+:} false
; then :
2732 $as_echo_n "(cached) " >&6
2734 if test "x$target_alias" = x
; then
2735 ac_cv_target
=$ac_cv_host
2737 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2738 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2743 $as_echo "$ac_cv_target" >&6; }
2744 case $ac_cv_target in
2746 *) as_fn_error $?
"invalid value of canonical target" "$LINENO" 5;;
2748 target
=$ac_cv_target
2749 ac_save_IFS
=$IFS; IFS
='-'
2755 # Remember, the first character of IFS is used to create $*,
2756 # except with old shells:
2759 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2762 # The aliases save the names the user supplied, while $host etc.
2763 # will get canonicalized.
2764 test -n "$target_alias" &&
2765 test "$program_prefix$program_suffix$program_transform_name" = \
2767 program_prefix
=${target_alias}-
2768 # Expand $ac_aux_dir to an absolute path.
2769 am_aux_dir
=`cd "$ac_aux_dir" && pwd`
2772 ac_cpp
='$CPP $CPPFLAGS'
2773 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2774 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2775 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2776 if test -n "$ac_tool_prefix"; then
2777 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2778 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2780 $as_echo_n "checking for $ac_word... " >&6; }
2781 if ${ac_cv_prog_CC+:} false
; then :
2782 $as_echo_n "(cached) " >&6
2784 if test -n "$CC"; then
2785 ac_cv_prog_CC
="$CC" # Let the user override the test.
2787 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2791 test -z "$as_dir" && as_dir
=.
2792 for ac_exec_ext
in '' $ac_executable_extensions; do
2793 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2794 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2795 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2805 if test -n "$CC"; then
2806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2807 $as_echo "$CC" >&6; }
2809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2810 $as_echo "no" >&6; }
2815 if test -z "$ac_cv_prog_CC"; then
2817 # Extract the first word of "gcc", so it can be a program name with args.
2818 set dummy gcc
; ac_word
=$2
2819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2820 $as_echo_n "checking for $ac_word... " >&6; }
2821 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2822 $as_echo_n "(cached) " >&6
2824 if test -n "$ac_ct_CC"; then
2825 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2827 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2831 test -z "$as_dir" && as_dir
=.
2832 for ac_exec_ext
in '' $ac_executable_extensions; do
2833 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2834 ac_cv_prog_ac_ct_CC
="gcc"
2835 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2844 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2845 if test -n "$ac_ct_CC"; then
2846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2847 $as_echo "$ac_ct_CC" >&6; }
2849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2850 $as_echo "no" >&6; }
2853 if test "x$ac_ct_CC" = x
; then
2856 case $cross_compiling:$ac_tool_warned in
2858 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2859 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2860 ac_tool_warned
=yes ;;
2868 if test -z "$CC"; then
2869 if test -n "$ac_tool_prefix"; then
2870 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2871 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2873 $as_echo_n "checking for $ac_word... " >&6; }
2874 if ${ac_cv_prog_CC+:} false
; then :
2875 $as_echo_n "(cached) " >&6
2877 if test -n "$CC"; then
2878 ac_cv_prog_CC
="$CC" # Let the user override the test.
2880 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2884 test -z "$as_dir" && as_dir
=.
2885 for ac_exec_ext
in '' $ac_executable_extensions; do
2886 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2887 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2888 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2898 if test -n "$CC"; then
2899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2900 $as_echo "$CC" >&6; }
2902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2903 $as_echo "no" >&6; }
2909 if test -z "$CC"; then
2910 # Extract the first word of "cc", so it can be a program name with args.
2911 set dummy cc
; ac_word
=$2
2912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2913 $as_echo_n "checking for $ac_word... " >&6; }
2914 if ${ac_cv_prog_CC+:} false
; then :
2915 $as_echo_n "(cached) " >&6
2917 if test -n "$CC"; then
2918 ac_cv_prog_CC
="$CC" # Let the user override the test.
2921 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2925 test -z "$as_dir" && as_dir
=.
2926 for ac_exec_ext
in '' $ac_executable_extensions; do
2927 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2928 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2929 ac_prog_rejected
=yes
2933 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2940 if test $ac_prog_rejected = yes; then
2941 # We found a bogon in the path, so make sure we never use it.
2942 set dummy
$ac_cv_prog_CC
2944 if test $# != 0; then
2945 # We chose a different compiler from the bogus one.
2946 # However, it has the same basename, so the bogon will be chosen
2947 # first if we set CC to just the basename; use the full file name.
2949 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2955 if test -n "$CC"; then
2956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2957 $as_echo "$CC" >&6; }
2959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2960 $as_echo "no" >&6; }
2965 if test -z "$CC"; then
2966 if test -n "$ac_tool_prefix"; then
2967 for ac_prog
in cl.exe
2969 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2970 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2972 $as_echo_n "checking for $ac_word... " >&6; }
2973 if ${ac_cv_prog_CC+:} false
; then :
2974 $as_echo_n "(cached) " >&6
2976 if test -n "$CC"; then
2977 ac_cv_prog_CC
="$CC" # Let the user override the test.
2979 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2983 test -z "$as_dir" && as_dir
=.
2984 for ac_exec_ext
in '' $ac_executable_extensions; do
2985 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2986 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2987 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2997 if test -n "$CC"; then
2998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2999 $as_echo "$CC" >&6; }
3001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3002 $as_echo "no" >&6; }
3006 test -n "$CC" && break
3009 if test -z "$CC"; then
3011 for ac_prog
in cl.exe
3013 # Extract the first word of "$ac_prog", so it can be a program name with args.
3014 set dummy
$ac_prog; ac_word
=$2
3015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3016 $as_echo_n "checking for $ac_word... " >&6; }
3017 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3018 $as_echo_n "(cached) " >&6
3020 if test -n "$ac_ct_CC"; then
3021 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3023 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3027 test -z "$as_dir" && as_dir
=.
3028 for ac_exec_ext
in '' $ac_executable_extensions; do
3029 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3030 ac_cv_prog_ac_ct_CC
="$ac_prog"
3031 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3040 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3041 if test -n "$ac_ct_CC"; then
3042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3043 $as_echo "$ac_ct_CC" >&6; }
3045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3046 $as_echo "no" >&6; }
3050 test -n "$ac_ct_CC" && break
3053 if test "x$ac_ct_CC" = x
; then
3056 case $cross_compiling:$ac_tool_warned in
3058 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3059 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3060 ac_tool_warned
=yes ;;
3069 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3070 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3071 as_fn_error $?
"no acceptable C compiler found in \$PATH
3072 See \`config.log' for more details" "$LINENO" 5; }
3074 # Provide some information about the compiler.
3075 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3078 for ac_option
in --version -v -V -qversion; do
3079 { { ac_try
="$ac_compiler $ac_option >&5"
3081 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3082 *) ac_try_echo=$ac_try;;
3084 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3085 $as_echo "$ac_try_echo"; } >&5
3086 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3088 if test -s conftest.err; then
3090 ... rest of stderr output deleted ...
3091 10q' conftest.err >conftest.er1
3092 cat conftest.er1 >&5
3094 rm -f conftest.er1 conftest.err
3095 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3096 test $ac_status = 0; }
3099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3100 /* end confdefs.h. */
3110 ac_clean_files_save=$ac_clean_files
3111 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3112 # Try to create an executable without -o first, disregard a.out.
3113 # It will help us diagnose broken compilers, and finding out an intuition
3115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3116 $as_echo_n "checking whether the C compiler works... " >&6; }
3117 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3119 # The possible output files:
3120 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3123 for ac_file in $ac_files
3126 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3127 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3132 if { { ac_try="$ac_link_default"
3134 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3135 *) ac_try_echo
=$ac_try;;
3137 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3138 $as_echo "$ac_try_echo"; } >&5
3139 (eval "$ac_link_default") 2>&5
3141 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3142 test $ac_status = 0; }; then :
3143 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3144 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3145 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3146 # so that the user can short-circuit this test for compilers unknown to
3148 for ac_file
in $ac_files ''
3150 test -f "$ac_file" ||
continue
3152 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3155 # We found the default executable, but exeext='' is most
3159 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3161 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3163 # We set ac_cv_exeext here because the later test for it is not
3164 # safe: cross compilers may not add the suffix if given an `-o'
3165 # argument, so we may need to know it at that point already.
3166 # Even if this section looks crufty: it has the advantage of
3173 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3178 if test -z "$ac_file"; then :
3179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3180 $as_echo "no" >&6; }
3181 $as_echo "$as_me: failed program was:" >&5
3182 sed 's/^/| /' conftest.
$ac_ext >&5
3184 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3185 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3186 as_fn_error
77 "C compiler cannot create executables
3187 See \`config.log' for more details" "$LINENO" 5; }
3189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3190 $as_echo "yes" >&6; }
3192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3193 $as_echo_n "checking for C compiler default output file name... " >&6; }
3194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3195 $as_echo "$ac_file" >&6; }
3196 ac_exeext
=$ac_cv_exeext
3198 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3199 ac_clean_files
=$ac_clean_files_save
3200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3201 $as_echo_n "checking for suffix of executables... " >&6; }
3202 if { { ac_try
="$ac_link"
3204 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3205 *) ac_try_echo=$ac_try;;
3207 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3208 $as_echo "$ac_try_echo"; } >&5
3209 (eval "$ac_link") 2>&5
3211 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3212 test $ac_status = 0; }; then :
3213 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3214 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3215 # work properly (i.e., refer to `conftest.exe'), while it won't with
3217 for ac_file
in conftest.exe conftest conftest.
*; do
3218 test -f "$ac_file" ||
continue
3220 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3221 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3227 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3228 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3229 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3230 See \`config.log' for more details" "$LINENO" 5; }
3232 rm -f conftest conftest
$ac_cv_exeext
3233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3234 $as_echo "$ac_cv_exeext" >&6; }
3236 rm -f conftest.
$ac_ext
3237 EXEEXT
=$ac_cv_exeext
3239 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3240 /* end confdefs.h. */
3245 FILE *f = fopen ("conftest.out", "w");
3246 return ferror (f) || fclose (f) != 0;
3252 ac_clean_files
="$ac_clean_files conftest.out"
3253 # Check that the compiler produces executables we can run. If not, either
3254 # the compiler is broken, or we cross compile.
3255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3256 $as_echo_n "checking whether we are cross compiling... " >&6; }
3257 if test "$cross_compiling" != yes; then
3258 { { ac_try
="$ac_link"
3260 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3261 *) ac_try_echo=$ac_try;;
3263 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3264 $as_echo "$ac_try_echo"; } >&5
3265 (eval "$ac_link") 2>&5
3267 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3268 test $ac_status = 0; }
3269 if { ac_try='./conftest$ac_cv_exeext'
3270 { { case "(($ac_try" in
3271 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3272 *) ac_try_echo
=$ac_try;;
3274 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3275 $as_echo "$ac_try_echo"; } >&5
3276 (eval "$ac_try") 2>&5
3278 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3279 test $ac_status = 0; }; }; then
3282 if test "$cross_compiling" = maybe
; then
3285 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3286 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3287 as_fn_error $?
"cannot run C compiled programs.
3288 If you meant to cross compile, use \`--host'.
3289 See \`config.log' for more details" "$LINENO" 5; }
3293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3294 $as_echo "$cross_compiling" >&6; }
3296 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3297 ac_clean_files
=$ac_clean_files_save
3298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3299 $as_echo_n "checking for suffix of object files... " >&6; }
3300 if ${ac_cv_objext+:} false
; then :
3301 $as_echo_n "(cached) " >&6
3303 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3304 /* end confdefs.h. */
3314 rm -f conftest.o conftest.obj
3315 if { { ac_try
="$ac_compile"
3317 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3318 *) ac_try_echo=$ac_try;;
3320 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3321 $as_echo "$ac_try_echo"; } >&5
3322 (eval "$ac_compile") 2>&5
3324 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3325 test $ac_status = 0; }; then :
3326 for ac_file in conftest.o conftest.obj conftest.*; do
3327 test -f "$ac_file" || continue;
3329 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3330 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3335 $as_echo "$as_me: failed program was:" >&5
3336 sed 's/^/| /' conftest.$ac_ext >&5
3338 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3339 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3340 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3341 See \
`config.log' for more details" "$LINENO" 5; }
3343 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3346 $as_echo "$ac_cv_objext" >&6; }
3347 OBJEXT=$ac_cv_objext
3349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3350 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3351 if ${ac_cv_c_compiler_gnu+:} false; then :
3352 $as_echo_n "(cached) " >&6
3354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3355 /* end confdefs.h. */
3368 if ac_fn_c_try_compile "$LINENO"; then :
3373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3374 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3378 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3379 if test $ac_compiler_gnu = yes; then
3384 ac_test_CFLAGS=${CFLAGS+set}
3385 ac_save_CFLAGS=$CFLAGS
3386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3387 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3388 if ${ac_cv_prog_cc_g+:} false; then :
3389 $as_echo_n "(cached) " >&6
3391 ac_save_c_werror_flag=$ac_c_werror_flag
3392 ac_c_werror_flag=yes
3395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3396 /* end confdefs.h. */
3406 if ac_fn_c_try_compile "$LINENO"; then :
3410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3411 /* end confdefs.h. */
3421 if ac_fn_c_try_compile "$LINENO"; then :
3424 ac_c_werror_flag=$ac_save_c_werror_flag
3426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3427 /* end confdefs.h. */
3437 if ac_fn_c_try_compile "$LINENO"; then :
3440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3445 ac_c_werror_flag=$ac_save_c_werror_flag
3447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3448 $as_echo "$ac_cv_prog_cc_g" >&6; }
3449 if test "$ac_test_CFLAGS" = set; then
3450 CFLAGS=$ac_save_CFLAGS
3451 elif test $ac_cv_prog_cc_g = yes; then
3452 if test "$GCC" = yes; then
3458 if test "$GCC" = yes; then
3464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3465 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3466 if ${ac_cv_prog_cc_c89+:} false; then :
3467 $as_echo_n "(cached) " >&6
3469 ac_cv_prog_cc_c89=no
3471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3472 /* end confdefs.h. */
3476 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3477 struct buf { int x; };
3478 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3479 static char *e (p, i)
3485 static char *f (char * (*g) (char **, int), char **p, ...)
3490 s = g (p, va_arg (v,int));
3495 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3496 function prototypes and stuff, but not '\xHH' hex character constants.
3497 These don't provoke an error unfortunately, instead are silently treated
3498 as 'x'. The following induces an error, until -std is added to get
3499 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3500 array size at least. It's necessary to write '\x00'==0 to get something
3501 that's true only with -std. */
3502 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3504 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3505 inside strings and character constants. */
3507 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3509 int test (int i, double x);
3510 struct s1 {int (*f) (int a);};
3511 struct s2 {int (*f) (double a);};
3512 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3518 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3523 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3524 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3526 CC="$ac_save_CC $ac_arg"
3527 if ac_fn_c_try_compile "$LINENO"; then :
3528 ac_cv_prog_cc_c89=$ac_arg
3530 rm -f core conftest.err conftest.$ac_objext
3531 test "x$ac_cv_prog_cc_c89" != "xno" && break
3533 rm -f conftest.$ac_ext
3538 case "x$ac_cv_prog_cc_c89" in
3540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3541 $as_echo "none needed" >&6; } ;;
3543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3544 $as_echo "unsupported" >&6; } ;;
3546 CC="$CC $ac_cv_prog_cc_c89"
3547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3548 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3550 if test "x$ac_cv_prog_cc_c89" != xno; then :
3555 ac_cpp='$CPP $CPPFLAGS'
3556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3561 ac_cpp='$CPP $CPPFLAGS'
3562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3566 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3567 if ${am_cv_prog_cc_c_o+:} false; then :
3568 $as_echo_n "(cached) " >&6
3570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3571 /* end confdefs.h. */
3581 # Make sure it works both with $CC and with simple cc.
3582 # Following AC_PROG_CC_C_O, we do the test twice because some
3583 # compilers refuse to overwrite an existing .o file with -o,
3584 # though they will create one.
3585 am_cv_prog_cc_c_o=yes
3587 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3588 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3591 (exit $ac_status); } \
3592 && test -f conftest2.$ac_objext; then
3595 am_cv_prog_cc_c_o=no
3599 rm -f core conftest*
3602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3603 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3604 if test "$am_cv_prog_cc_c_o" != yes; then
3605 # Losing compiler, so override with the script.
3606 # FIXME: It is wrong to rewrite CC.
3607 # But if we don't then we get into trouble of one sort or another.
3608 # A longer-term fix would be to have automake use am__CC in this case,
3609 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3610 CC="$am_aux_dir/compile $CC"
3613 ac_cpp='$CPP $CPPFLAGS'
3614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3621 ac_cpp='$CPP $CPPFLAGS'
3622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3626 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3627 # On Suns, sometimes $CPP names a directory.
3628 if test -n "$CPP" && test -d "$CPP"; then
3631 if test -z "$CPP"; then
3632 if ${ac_cv_prog_CPP+:} false; then :
3633 $as_echo_n "(cached) " >&6
3635 # Double quotes because CPP needs to be expanded
3636 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3639 for ac_c_preproc_warn_flag in '' yes
3641 # Use a header file that comes with gcc, so configuring glibc
3642 # with a fresh cross-compiler works.
3643 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3644 # <limits.h> exists even on freestanding compilers.
3645 # On the NeXT, cc -E runs the code through the compiler's parser,
3646 # not just through cpp. "Syntax error" is here to catch this case.
3647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3648 /* end confdefs.h. */
3650 # include <limits.h>
3652 # include <assert.h>
3656 if ac_fn_c_try_cpp "$LINENO"; then :
3659 # Broken: fails on valid input.
3662 rm -f conftest.err conftest.i conftest.$ac_ext
3664 # OK, works on sane cases. Now check whether nonexistent headers
3665 # can be detected and how.
3666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3667 /* end confdefs.h. */
3668 #include <ac_nonexistent.h>
3670 if ac_fn_c_try_cpp "$LINENO"; then :
3671 # Broken: success on invalid input.
3674 # Passes both tests.
3678 rm -f conftest.err conftest.i conftest.$ac_ext
3681 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3682 rm -f conftest.i conftest.err conftest.
$ac_ext
3683 if $ac_preproc_ok; then :
3695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3696 $as_echo "$CPP" >&6; }
3698 for ac_c_preproc_warn_flag
in '' yes
3700 # Use a header file that comes with gcc, so configuring glibc
3701 # with a fresh cross-compiler works.
3702 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3703 # <limits.h> exists even on freestanding compilers.
3704 # On the NeXT, cc -E runs the code through the compiler's parser,
3705 # not just through cpp. "Syntax error" is here to catch this case.
3706 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3707 /* end confdefs.h. */
3709 # include <limits.h>
3711 # include <assert.h>
3715 if ac_fn_c_try_cpp
"$LINENO"; then :
3718 # Broken: fails on valid input.
3721 rm -f conftest.err conftest.i conftest.
$ac_ext
3723 # OK, works on sane cases. Now check whether nonexistent headers
3724 # can be detected and how.
3725 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3726 /* end confdefs.h. */
3727 #include <ac_nonexistent.h>
3729 if ac_fn_c_try_cpp
"$LINENO"; then :
3730 # Broken: success on invalid input.
3733 # Passes both tests.
3737 rm -f conftest.err conftest.i conftest.
$ac_ext
3740 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3741 rm -f conftest.i conftest.err conftest.
$ac_ext
3742 if $ac_preproc_ok; then :
3745 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3746 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3747 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
3748 See \`config.log' for more details" "$LINENO" 5; }
3752 ac_cpp
='$CPP $CPPFLAGS'
3753 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3754 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3755 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3759 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3760 if ${ac_cv_path_GREP+:} false
; then :
3761 $as_echo_n "(cached) " >&6
3763 if test -z "$GREP"; then
3764 ac_path_GREP_found
=false
3765 # Loop through the user's path and test for each of PROGNAME-LIST
3766 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3767 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3770 test -z "$as_dir" && as_dir
=.
3771 for ac_prog
in grep ggrep
; do
3772 for ac_exec_ext
in '' $ac_executable_extensions; do
3773 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3774 as_fn_executable_p
"$ac_path_GREP" ||
continue
3775 # Check for GNU ac_path_GREP and select it if it is found.
3776 # Check for GNU $ac_path_GREP
3777 case `"$ac_path_GREP" --version 2>&1` in
3779 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3782 $as_echo_n 0123456789 >"conftest.in"
3785 cat "conftest.in" "conftest.in" >"conftest.tmp"
3786 mv "conftest.tmp" "conftest.in"
3787 cp "conftest.in" "conftest.nl"
3788 $as_echo 'GREP' >> "conftest.nl"
3789 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3790 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3791 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3792 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3793 # Best one so far, save it but keep looking for a better one
3794 ac_cv_path_GREP
="$ac_path_GREP"
3795 ac_path_GREP_max
=$ac_count
3797 # 10*(2^10) chars as input seems more than enough
3798 test $ac_count -gt 10 && break
3800 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3803 $ac_path_GREP_found && break 3
3808 if test -z "$ac_cv_path_GREP"; then
3809 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3812 ac_cv_path_GREP
=$GREP
3816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3817 $as_echo "$ac_cv_path_GREP" >&6; }
3818 GREP
="$ac_cv_path_GREP"
3821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3822 $as_echo_n "checking for egrep... " >&6; }
3823 if ${ac_cv_path_EGREP+:} false
; then :
3824 $as_echo_n "(cached) " >&6
3826 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3827 then ac_cv_path_EGREP
="$GREP -E"
3829 if test -z "$EGREP"; then
3830 ac_path_EGREP_found
=false
3831 # Loop through the user's path and test for each of PROGNAME-LIST
3832 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3833 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3836 test -z "$as_dir" && as_dir
=.
3837 for ac_prog
in egrep; do
3838 for ac_exec_ext
in '' $ac_executable_extensions; do
3839 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3840 as_fn_executable_p
"$ac_path_EGREP" ||
continue
3841 # Check for GNU ac_path_EGREP and select it if it is found.
3842 # Check for GNU $ac_path_EGREP
3843 case `"$ac_path_EGREP" --version 2>&1` in
3845 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3848 $as_echo_n 0123456789 >"conftest.in"
3851 cat "conftest.in" "conftest.in" >"conftest.tmp"
3852 mv "conftest.tmp" "conftest.in"
3853 cp "conftest.in" "conftest.nl"
3854 $as_echo 'EGREP' >> "conftest.nl"
3855 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3856 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3857 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3858 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3859 # Best one so far, save it but keep looking for a better one
3860 ac_cv_path_EGREP
="$ac_path_EGREP"
3861 ac_path_EGREP_max
=$ac_count
3863 # 10*(2^10) chars as input seems more than enough
3864 test $ac_count -gt 10 && break
3866 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3869 $ac_path_EGREP_found && break 3
3874 if test -z "$ac_cv_path_EGREP"; then
3875 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3878 ac_cv_path_EGREP
=$EGREP
3883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3884 $as_echo "$ac_cv_path_EGREP" >&6; }
3885 EGREP
="$ac_cv_path_EGREP"
3888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3889 $as_echo_n "checking for ANSI C header files... " >&6; }
3890 if ${ac_cv_header_stdc+:} false
; then :
3891 $as_echo_n "(cached) " >&6
3893 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3894 /* end confdefs.h. */
3908 if ac_fn_c_try_compile
"$LINENO"; then :
3909 ac_cv_header_stdc
=yes
3911 ac_cv_header_stdc
=no
3913 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3915 if test $ac_cv_header_stdc = yes; then
3916 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3917 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3918 /* end confdefs.h. */
3922 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3923 $EGREP "memchr" >/dev
/null
2>&1; then :
3926 ac_cv_header_stdc
=no
3932 if test $ac_cv_header_stdc = yes; then
3933 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3934 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3935 /* end confdefs.h. */
3939 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3940 $EGREP "free" >/dev
/null
2>&1; then :
3943 ac_cv_header_stdc
=no
3949 if test $ac_cv_header_stdc = yes; then
3950 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3951 if test "$cross_compiling" = yes; then :
3954 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3955 /* end confdefs.h. */
3958 #if ((' ' & 0x0FF) == 0x020)
3959 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3960 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3962 # define ISLOWER(c) \
3963 (('a' <= (c) && (c) <= 'i') \
3964 || ('j' <= (c) && (c) <= 'r') \
3965 || ('s' <= (c) && (c) <= 'z'))
3966 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3969 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3974 for (i = 0; i < 256; i++)
3975 if (XOR (islower (i), ISLOWER (i))
3976 || toupper (i) != TOUPPER (i))
3981 if ac_fn_c_try_run
"$LINENO"; then :
3984 ac_cv_header_stdc
=no
3986 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
3987 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
3992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3993 $as_echo "$ac_cv_header_stdc" >&6; }
3994 if test $ac_cv_header_stdc = yes; then
3996 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4000 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4001 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4002 inttypes.h stdint.h unistd.h
4004 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4005 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4007 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
4008 cat >>confdefs.h
<<_ACEOF
4009 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4018 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4019 if test "x$ac_cv_header_minix_config_h" = xyes
; then :
4026 if test "$MINIX" = yes; then
4028 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4031 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4034 $as_echo "#define _MINIX 1" >>confdefs.h
4039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4040 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4041 if ${ac_cv_safe_to_define___extensions__+:} false
; then :
4042 $as_echo_n "(cached) " >&6
4044 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4045 /* end confdefs.h. */
4047 # define __EXTENSIONS__ 1
4048 $ac_includes_default
4057 if ac_fn_c_try_compile
"$LINENO"; then :
4058 ac_cv_safe_to_define___extensions__
=yes
4060 ac_cv_safe_to_define___extensions__
=no
4062 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4065 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4066 test $ac_cv_safe_to_define___extensions__ = yes &&
4067 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4069 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4071 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4073 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4075 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4078 test "$program_prefix" != NONE
&&
4079 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
4080 # Use a double $ so make ignores it.
4081 test "$program_suffix" != NONE
&&
4082 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
4083 # Double any \ or $.
4084 # By default was `s,x,x', remove it if useless.
4085 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
4086 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
4088 # Find a good install program. We prefer a C program (faster),
4089 # so one script is as good as another. But avoid the broken or
4090 # incompatible versions:
4091 # SysV /etc/install, /usr/sbin/install
4092 # SunOS /usr/etc/install
4093 # IRIX /sbin/install
4095 # AmigaOS /C/install, which installs bootblocks on floppy discs
4096 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4097 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4098 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4099 # OS/2's system install, which has a completely different semantic
4100 # ./install, which can be erroneously created by make from ./install.sh.
4101 # Reject install programs that cannot install multiple files.
4102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
4103 $as_echo_n "checking for a BSD-compatible install... " >&6; }
4104 if test -z "$INSTALL"; then
4105 if ${ac_cv_path_install+:} false
; then :
4106 $as_echo_n "(cached) " >&6
4108 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4112 test -z "$as_dir" && as_dir
=.
4113 # Account for people who put trailing slashes in PATH elements.
4114 case $as_dir/ in #((
4115 .
/ | .
// |
/[cC
]/* | \
4116 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4117 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
4120 # OSF1 and SCO ODT 3.0 have their own names for install.
4121 # Don't use installbsd from OSF since it installs stuff as root
4123 for ac_prog
in ginstall scoinst
install; do
4124 for ac_exec_ext
in '' $ac_executable_extensions; do
4125 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
4126 if test $ac_prog = install &&
4127 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4128 # AIX install. It has an incompatible calling convention.
4130 elif test $ac_prog = install &&
4131 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4132 # program-specific install script used by HP pwplus--don't use.
4135 rm -rf conftest.one conftest.two conftest.dir
4136 echo one
> conftest.one
4137 echo two
> conftest.two
4139 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
4140 test -s conftest.one
&& test -s conftest.two
&&
4141 test -s conftest.dir
/conftest.one
&&
4142 test -s conftest.dir
/conftest.two
4144 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4157 rm -rf conftest.one conftest.two conftest.dir
4160 if test "${ac_cv_path_install+set}" = set; then
4161 INSTALL
=$ac_cv_path_install
4163 # As a last resort, use the slow shell script. Don't cache a
4164 # value for INSTALL within a source directory, because that will
4165 # break other packages using the cache if that directory is
4166 # removed, or if the value is a relative name.
4167 INSTALL
=$ac_install_sh
4170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4171 $as_echo "$INSTALL" >&6; }
4173 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4174 # It thinks the first close brace ends the variable substitution.
4175 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4177 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4179 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
4186 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
4187 if ${ac_cv_c_bigendian+:} false
; then :
4188 $as_echo_n "(cached) " >&6
4190 ac_cv_c_bigendian
=unknown
4191 # See if we're dealing with a universal compiler.
4192 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4193 /* end confdefs.h. */
4194 #ifndef __APPLE_CC__
4195 not a universal capable compiler
4200 if ac_fn_c_try_compile
"$LINENO"; then :
4202 # Check for potential -arch flags. It is not universal unless
4203 # there are at least two -arch flags with different values.
4206 for ac_word
in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
4207 if test -n "$ac_prev"; then
4209 i?
86 | x86_64 | ppc | ppc64
)
4210 if test -z "$ac_arch" ||
test "$ac_arch" = "$ac_word"; then
4213 ac_cv_c_bigendian
=universal
4219 elif test "x$ac_word" = "x-arch"; then
4224 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4225 if test $ac_cv_c_bigendian = unknown
; then
4226 # See if sys/param.h defines the BYTE_ORDER macro.
4227 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4228 /* end confdefs.h. */
4229 #include <sys/types.h>
4230 #include <sys/param.h>
4235 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
4236 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
4245 if ac_fn_c_try_compile
"$LINENO"; then :
4246 # It does; now see whether it defined to BIG_ENDIAN or not.
4247 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4248 /* end confdefs.h. */
4249 #include <sys/types.h>
4250 #include <sys/param.h>
4255 #if BYTE_ORDER != BIG_ENDIAN
4263 if ac_fn_c_try_compile
"$LINENO"; then :
4264 ac_cv_c_bigendian
=yes
4266 ac_cv_c_bigendian
=no
4268 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4270 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4272 if test $ac_cv_c_bigendian = unknown
; then
4273 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
4274 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4275 /* end confdefs.h. */
4281 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
4289 if ac_fn_c_try_compile
"$LINENO"; then :
4290 # It does; now see whether it defined to _BIG_ENDIAN or not.
4291 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4292 /* end confdefs.h. */
4306 if ac_fn_c_try_compile
"$LINENO"; then :
4307 ac_cv_c_bigendian
=yes
4309 ac_cv_c_bigendian
=no
4311 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4313 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4315 if test $ac_cv_c_bigendian = unknown
; then
4316 # Compile a test program.
4317 if test "$cross_compiling" = yes; then :
4318 # Try to guess by grepping values from an object file.
4319 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4320 /* end confdefs.h. */
4321 short int ascii_mm[] =
4322 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
4323 short int ascii_ii[] =
4324 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
4325 int use_ascii (int i) {
4326 return ascii_mm[i] + ascii_ii[i];
4328 short int ebcdic_ii[] =
4329 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
4330 short int ebcdic_mm[] =
4331 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
4332 int use_ebcdic (int i) {
4333 return ebcdic_mm[i] + ebcdic_ii[i];
4340 return use_ascii (foo) == use_ebcdic (foo);
4345 if ac_fn_c_try_compile
"$LINENO"; then :
4346 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
4347 ac_cv_c_bigendian
=yes
4349 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
4350 if test "$ac_cv_c_bigendian" = unknown
; then
4351 ac_cv_c_bigendian
=no
4353 # finding both strings is unlikely to happen, but who knows?
4354 ac_cv_c_bigendian
=unknown
4358 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4360 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4361 /* end confdefs.h. */
4362 $ac_includes_default
4367 /* Are we little or big endian? From Harbison&Steele. */
4371 char c[sizeof (long int)];
4374 return u.c[sizeof (long int) - 1] == 1;
4380 if ac_fn_c_try_run
"$LINENO"; then :
4381 ac_cv_c_bigendian
=no
4383 ac_cv_c_bigendian
=yes
4385 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4386 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
4392 $as_echo "$ac_cv_c_bigendian" >&6; }
4393 case $ac_cv_c_bigendian in #(
4395 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
4401 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
4405 as_fn_error $?
"unknown endianness
4406 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
4412 if test "x$cross_compiling" = "xno"; then
4413 : "${AR_FOR_BUILD:=\$(AR)}"
4414 : "${CC_FOR_BUILD:=\$(CC)}"
4415 : "${RANLIB_FOR_BUILD:=\$(RANLIB)}"
4416 : "${CFLAGS_FOR_BUILD:=\$(CFLAGS)}"
4417 : "${LDFLAGS_FOR_BUILD:=\$(LDFLAGS)}"
4419 : "${AR_FOR_BUILD:=ar}"
4420 : "${CC_FOR_BUILD:=gcc}"
4421 : "${RANLIB_FOR_BUILD:=ranlib}"
4422 : "${CFLAGS_FOR_BUILD:=-g -O}"
4423 : "${LDLFAGS_FOR_BUILD:=}"
4432 if test -n "$ac_tool_prefix"; then
4433 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4434 set dummy
${ac_tool_prefix}ar; ac_word
=$2
4435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4436 $as_echo_n "checking for $ac_word... " >&6; }
4437 if ${ac_cv_prog_AR+:} false
; then :
4438 $as_echo_n "(cached) " >&6
4440 if test -n "$AR"; then
4441 ac_cv_prog_AR
="$AR" # Let the user override the test.
4443 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4447 test -z "$as_dir" && as_dir
=.
4448 for ac_exec_ext
in '' $ac_executable_extensions; do
4449 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4450 ac_cv_prog_AR
="${ac_tool_prefix}ar"
4451 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4461 if test -n "$AR"; then
4462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4463 $as_echo "$AR" >&6; }
4465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4466 $as_echo "no" >&6; }
4471 if test -z "$ac_cv_prog_AR"; then
4473 # Extract the first word of "ar", so it can be a program name with args.
4474 set dummy
ar; ac_word
=$2
4475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4476 $as_echo_n "checking for $ac_word... " >&6; }
4477 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
4478 $as_echo_n "(cached) " >&6
4480 if test -n "$ac_ct_AR"; then
4481 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
4483 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4487 test -z "$as_dir" && as_dir
=.
4488 for ac_exec_ext
in '' $ac_executable_extensions; do
4489 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4490 ac_cv_prog_ac_ct_AR
="ar"
4491 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4500 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
4501 if test -n "$ac_ct_AR"; then
4502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4503 $as_echo "$ac_ct_AR" >&6; }
4505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4506 $as_echo "no" >&6; }
4509 if test "x$ac_ct_AR" = x
; then
4512 case $cross_compiling:$ac_tool_warned in
4514 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4515 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4516 ac_tool_warned
=yes ;;
4524 if test -n "$ac_tool_prefix"; then
4525 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4526 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4528 $as_echo_n "checking for $ac_word... " >&6; }
4529 if ${ac_cv_prog_RANLIB+:} false
; then :
4530 $as_echo_n "(cached) " >&6
4532 if test -n "$RANLIB"; then
4533 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4535 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4539 test -z "$as_dir" && as_dir
=.
4540 for ac_exec_ext
in '' $ac_executable_extensions; do
4541 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4542 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4543 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4552 RANLIB
=$ac_cv_prog_RANLIB
4553 if test -n "$RANLIB"; then
4554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4555 $as_echo "$RANLIB" >&6; }
4557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4558 $as_echo "no" >&6; }
4563 if test -z "$ac_cv_prog_RANLIB"; then
4564 ac_ct_RANLIB
=$RANLIB
4565 # Extract the first word of "ranlib", so it can be a program name with args.
4566 set dummy ranlib
; ac_word
=$2
4567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4568 $as_echo_n "checking for $ac_word... " >&6; }
4569 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
4570 $as_echo_n "(cached) " >&6
4572 if test -n "$ac_ct_RANLIB"; then
4573 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4575 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4579 test -z "$as_dir" && as_dir
=.
4580 for ac_exec_ext
in '' $ac_executable_extensions; do
4581 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4582 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4583 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4592 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4593 if test -n "$ac_ct_RANLIB"; then
4594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4595 $as_echo "$ac_ct_RANLIB" >&6; }
4597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4598 $as_echo "no" >&6; }
4601 if test "x$ac_ct_RANLIB" = x
; then
4604 case $cross_compiling:$ac_tool_warned in
4606 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4607 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4608 ac_tool_warned
=yes ;;
4610 RANLIB
=$ac_ct_RANLIB
4613 RANLIB
="$ac_cv_prog_RANLIB"
4617 # Require C11 or newer. Autoconf-2.70 provides ac_cv_prog_cc_c11 when using
4618 # AC_PROG_CC, but we're still using Autoconf-2.69, and the newest it understands
4619 # is C99. So handle it ourselves.
4622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C11 is supported by default" >&5
4623 $as_echo_n "checking whether C11 is supported by default... " >&6; }
4624 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4625 /* end confdefs.h. */
4627 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
4628 # error "C11 support not found"
4632 if ac_fn_c_try_compile
"$LINENO"; then :
4633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4634 $as_echo "yes" >&6; }
4637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4638 $as_echo "no" >&6; }
4639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -std=c11 support" >&5
4640 $as_echo_n "checking for -std=c11 support... " >&6; }
4643 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4644 /* end confdefs.h. */
4646 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
4647 # error "C11 support not found"
4651 if ac_fn_c_try_compile
"$LINENO"; then :
4653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4654 $as_echo "yes" >&6; }
4656 C_DIALECT
="-std=c11"
4659 as_fn_error $?
"C11 is required" "$LINENO" 5
4661 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4663 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4669 for ac_header
in $ac_header_list
4671 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4672 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4674 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
4675 cat >>confdefs.h
<<_ACEOF
4676 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4734 for ac_func
in $ac_func_list
4736 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4737 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
4738 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
4739 cat >>confdefs.h
<<_ACEOF
4740 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
4868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
4869 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
4870 if ${ac_cv_struct_tm+:} false
; then :
4871 $as_echo_n "(cached) " >&6
4873 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4874 /* end confdefs.h. */
4875 #include <sys/types.h>
4882 int *p = &tm.tm_sec;
4888 if ac_fn_c_try_compile
"$LINENO"; then :
4889 ac_cv_struct_tm
=time.h
4891 ac_cv_struct_tm
=sys
/time.h
4893 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
4896 $as_echo "$ac_cv_struct_tm" >&6; }
4897 if test $ac_cv_struct_tm = sys
/time.h
; then
4899 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
4903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
4904 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
4905 if ${ac_cv_type_uid_t+:} false
; then :
4906 $as_echo_n "(cached) " >&6
4908 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4909 /* end confdefs.h. */
4910 #include <sys/types.h>
4913 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4914 $EGREP "uid_t" >/dev
/null
2>&1; then :
4915 ac_cv_type_uid_t
=yes
4922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
4923 $as_echo "$ac_cv_type_uid_t" >&6; }
4924 if test $ac_cv_type_uid_t = no
; then
4926 $as_echo "#define uid_t int" >>confdefs.h
4929 $as_echo "#define gid_t int" >>confdefs.h
4935 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4936 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4941 macro_version
='2.2.7a'
4942 macro_revision
='1.3134'
4956 ltmain
="$ac_aux_dir/ltmain.sh"
4958 # Backslashify metacharacters that are still active within
4959 # double-quoted strings.
4960 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
4962 # Same as above, but do not quote variable references.
4963 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
4965 # Sed substitution to delay expansion of an escaped shell variable in a
4966 # double_quote_subst'ed string.
4967 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
4969 # Sed substitution to delay expansion of an escaped single quote.
4970 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
4972 # Sed substitution to avoid accidental globbing in evaled expressions
4973 no_glob_subst
='s/\*/\\\*/g'
4975 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4976 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4977 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4980 $as_echo_n "checking how to print strings... " >&6; }
4981 # Test print first, because it will be a builtin if present.
4982 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
4983 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4985 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4988 # Use this function as a fallback that always works.
4989 func_fallback_echo ()
4991 eval 'cat <<_LTECHO_EOF
4995 ECHO='func_fallback_echo
'
4998 # func_echo_all arg...
4999 # Invoke $ECHO with all args, space-separated.
5006 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5007 $as_echo "printf" >&6; } ;;
5008 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5009 $as_echo "print -r" >&6; } ;;
5010 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5011 $as_echo "cat" >&6; } ;;
5027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5028 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5029 if ${ac_cv_path_SED+:} false; then :
5030 $as_echo_n "(cached) " >&6
5032 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5033 for ac_i in 1 2 3 4 5 6 7; do
5034 ac_script="$ac_script$as_nl$ac_script"
5036 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5037 { ac_script=; unset ac_script;}
5038 if test -z "$SED"; then
5039 ac_path_SED_found=false
5040 # Loop through the user's path and
test for each of PROGNAME-LIST
5041 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5045 test -z "$as_dir" && as_dir
=.
5046 for ac_prog
in sed gsed
; do
5047 for ac_exec_ext
in '' $ac_executable_extensions; do
5048 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
5049 as_fn_executable_p
"$ac_path_SED" ||
continue
5050 # Check for GNU ac_path_SED and select it if it is found.
5051 # Check for GNU $ac_path_SED
5052 case `"$ac_path_SED" --version 2>&1` in
5054 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
5057 $as_echo_n 0123456789 >"conftest.in"
5060 cat "conftest.in" "conftest.in" >"conftest.tmp"
5061 mv "conftest.tmp" "conftest.in"
5062 cp "conftest.in" "conftest.nl"
5063 $as_echo '' >> "conftest.nl"
5064 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5065 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5066 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5067 if test $ac_count -gt ${ac_path_SED_max-0}; then
5068 # Best one so far, save it but keep looking for a better one
5069 ac_cv_path_SED
="$ac_path_SED"
5070 ac_path_SED_max
=$ac_count
5072 # 10*(2^10) chars as input seems more than enough
5073 test $ac_count -gt 10 && break
5075 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5078 $ac_path_SED_found && break 3
5083 if test -z "$ac_cv_path_SED"; then
5084 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
5091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5092 $as_echo "$ac_cv_path_SED" >&6; }
5093 SED
="$ac_cv_path_SED"
5096 test -z "$SED" && SED
=sed
5097 Xsed
="$SED -e 1s/^X//"
5109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5110 $as_echo_n "checking for fgrep... " >&6; }
5111 if ${ac_cv_path_FGREP+:} false
; then :
5112 $as_echo_n "(cached) " >&6
5114 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
5115 then ac_cv_path_FGREP
="$GREP -F"
5117 if test -z "$FGREP"; then
5118 ac_path_FGREP_found
=false
5119 # Loop through the user's path and test for each of PROGNAME-LIST
5120 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5121 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5124 test -z "$as_dir" && as_dir
=.
5125 for ac_prog
in fgrep
; do
5126 for ac_exec_ext
in '' $ac_executable_extensions; do
5127 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
5128 as_fn_executable_p
"$ac_path_FGREP" ||
continue
5129 # Check for GNU ac_path_FGREP and select it if it is found.
5130 # Check for GNU $ac_path_FGREP
5131 case `"$ac_path_FGREP" --version 2>&1` in
5133 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
5136 $as_echo_n 0123456789 >"conftest.in"
5139 cat "conftest.in" "conftest.in" >"conftest.tmp"
5140 mv "conftest.tmp" "conftest.in"
5141 cp "conftest.in" "conftest.nl"
5142 $as_echo 'FGREP' >> "conftest.nl"
5143 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5144 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5145 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5146 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5147 # Best one so far, save it but keep looking for a better one
5148 ac_cv_path_FGREP
="$ac_path_FGREP"
5149 ac_path_FGREP_max
=$ac_count
5151 # 10*(2^10) chars as input seems more than enough
5152 test $ac_count -gt 10 && break
5154 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5157 $ac_path_FGREP_found && break 3
5162 if test -z "$ac_cv_path_FGREP"; then
5163 as_fn_error $?
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5166 ac_cv_path_FGREP
=$FGREP
5171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5172 $as_echo "$ac_cv_path_FGREP" >&6; }
5173 FGREP
="$ac_cv_path_FGREP"
5176 test -z "$GREP" && GREP
=grep
5196 # Check whether --with-gnu-ld was given.
5197 if test "${with_gnu_ld+set}" = set; then :
5198 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
5204 if test "$GCC" = yes; then
5205 # Check if gcc -print-prog-name=ld gives a path.
5206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5207 $as_echo_n "checking for ld used by $CC... " >&6; }
5210 # gcc leaves a trailing carriage return which upsets mingw
5211 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5213 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5216 # Accept absolute paths.
5218 re_direlt
='/[^/][^/]*/\.\./'
5219 # Canonicalize the pathname of ld
5220 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5221 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
5222 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5224 test -z "$LD" && LD
="$ac_prog"
5227 # If it fails, then pretend we aren't using GCC.
5231 # If it is relative, then search for the first ld in PATH.
5235 elif test "$with_gnu_ld" = yes; then
5236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5237 $as_echo_n "checking for GNU ld... " >&6; }
5239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5240 $as_echo_n "checking for non-GNU ld... " >&6; }
5242 if ${lt_cv_path_LD+:} false
; then :
5243 $as_echo_n "(cached) " >&6
5245 if test -z "$LD"; then
5246 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5247 for ac_dir
in $PATH; do
5249 test -z "$ac_dir" && ac_dir
=.
5250 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5251 lt_cv_path_LD
="$ac_dir/$ac_prog"
5252 # Check to see if the program is GNU ld. I'd rather use --version,
5253 # but apparently some variants of GNU ld only accept -v.
5254 # Break only if it was the GNU/non-GNU ld that we prefer.
5255 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5256 *GNU
* |
*'with BFD'*)
5257 test "$with_gnu_ld" != no
&& break
5260 test "$with_gnu_ld" != yes && break
5267 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
5272 if test -n "$LD"; then
5273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5274 $as_echo "$LD" >&6; }
5276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5277 $as_echo "no" >&6; }
5279 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
5280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5281 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5282 if ${lt_cv_prog_gnu_ld+:} false
; then :
5283 $as_echo_n "(cached) " >&6
5285 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5286 case `$LD -v 2>&1 </dev/null` in
5287 *GNU
* |
*'with BFD'*)
5288 lt_cv_prog_gnu_ld
=yes
5291 lt_cv_prog_gnu_ld
=no
5295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5296 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5297 with_gnu_ld
=$lt_cv_prog_gnu_ld
5307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5308 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5309 if ${lt_cv_path_NM+:} false
; then :
5310 $as_echo_n "(cached) " >&6
5312 if test -n "$NM"; then
5313 # Let the user override the test.
5316 lt_nm_to_check
="${ac_tool_prefix}nm"
5317 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5318 lt_nm_to_check
="$lt_nm_to_check nm"
5320 for lt_tmp_nm
in $lt_nm_to_check; do
5321 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5322 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
5324 test -z "$ac_dir" && ac_dir
=.
5325 tmp_nm
="$ac_dir/$lt_tmp_nm"
5326 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
5327 # Check to see if the nm accepts a BSD-compat flag.
5328 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5329 # nm: unknown option "B" ignored
5330 # Tru64's nm complains that /dev/null is an invalid object file
5331 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5332 */dev
/null
* |
*'Invalid file or object type'*)
5333 lt_cv_path_NM
="$tmp_nm -B"
5337 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5339 lt_cv_path_NM
="$tmp_nm -p"
5343 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5344 continue # so that we can try to find one that supports BSD flags
5353 : ${lt_cv_path_NM=no}
5356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5357 $as_echo "$lt_cv_path_NM" >&6; }
5358 if test "$lt_cv_path_NM" != "no"; then
5361 # Didn't find any BSD compatible name lister, look for dumpbin.
5362 if test -n "$DUMPBIN"; then :
5363 # Let the user override the test.
5365 if test -n "$ac_tool_prefix"; then
5366 for ac_prog
in dumpbin
"link -dump"
5368 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5369 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5371 $as_echo_n "checking for $ac_word... " >&6; }
5372 if ${ac_cv_prog_DUMPBIN+:} false
; then :
5373 $as_echo_n "(cached) " >&6
5375 if test -n "$DUMPBIN"; then
5376 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
5378 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5382 test -z "$as_dir" && as_dir
=.
5383 for ac_exec_ext
in '' $ac_executable_extensions; do
5384 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5385 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
5386 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5395 DUMPBIN
=$ac_cv_prog_DUMPBIN
5396 if test -n "$DUMPBIN"; then
5397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5398 $as_echo "$DUMPBIN" >&6; }
5400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5401 $as_echo "no" >&6; }
5405 test -n "$DUMPBIN" && break
5408 if test -z "$DUMPBIN"; then
5409 ac_ct_DUMPBIN
=$DUMPBIN
5410 for ac_prog
in dumpbin
"link -dump"
5412 # Extract the first word of "$ac_prog", so it can be a program name with args.
5413 set dummy
$ac_prog; ac_word
=$2
5414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5415 $as_echo_n "checking for $ac_word... " >&6; }
5416 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false
; then :
5417 $as_echo_n "(cached) " >&6
5419 if test -n "$ac_ct_DUMPBIN"; then
5420 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
5422 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5426 test -z "$as_dir" && as_dir
=.
5427 for ac_exec_ext
in '' $ac_executable_extensions; do
5428 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5429 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
5430 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5439 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
5440 if test -n "$ac_ct_DUMPBIN"; then
5441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5442 $as_echo "$ac_ct_DUMPBIN" >&6; }
5444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5445 $as_echo "no" >&6; }
5449 test -n "$ac_ct_DUMPBIN" && break
5452 if test "x$ac_ct_DUMPBIN" = x
; then
5455 case $cross_compiling:$ac_tool_warned in
5457 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5458 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5459 ac_tool_warned
=yes ;;
5461 DUMPBIN
=$ac_ct_DUMPBIN
5465 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5467 DUMPBIN
="$DUMPBIN -symbols"
5475 if test "$DUMPBIN" != ":"; then
5479 test -z "$NM" && NM
=nm
5486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5487 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5488 if ${lt_cv_nm_interface+:} false
; then :
5489 $as_echo_n "(cached) " >&6
5491 lt_cv_nm_interface
="BSD nm"
5492 echo "int some_variable = 0;" > conftest.
$ac_ext
5493 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5494 (eval "$ac_compile" 2>conftest.err
)
5495 cat conftest.err
>&5
5496 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5497 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
5498 cat conftest.err
>&5
5499 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5500 cat conftest.out
>&5
5501 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
5502 lt_cv_nm_interface
="MS dumpbin"
5506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5507 $as_echo "$lt_cv_nm_interface" >&6; }
5509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5510 $as_echo_n "checking whether ln -s works... " >&6; }
5512 if test "$LN_S" = "ln -s"; then
5513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5514 $as_echo "yes" >&6; }
5516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5517 $as_echo "no, using $LN_S" >&6; }
5520 # find the maximum length of command line arguments
5521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5522 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5523 if ${lt_cv_sys_max_cmd_len+:} false
; then :
5524 $as_echo_n "(cached) " >&6
5531 # On DJGPP, this test can blow up pretty badly due to problems in libc
5532 # (any single argument exceeding 2000 bytes causes a buffer overrun
5533 # during glob expansion). Even if it were fixed, the result of this
5534 # check would be larger than it should be.
5535 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5539 # Under GNU Hurd, this test is not required because there is
5540 # no limit to the length of command line arguments.
5541 # Libtool will interpret -1 as no limit whatsoever
5542 lt_cv_sys_max_cmd_len
=-1;
5545 cygwin
* | mingw
* | cegcc
*)
5546 # On Win9x/ME, this test blows up -- it succeeds, but takes
5547 # about 5 minutes as the teststring grows exponentially.
5548 # Worse, since 9x/ME are not pre-emptively multitasking,
5549 # you end up with a "frozen" computer, even though with patience
5550 # the test eventually succeeds (with a max line length of 256k).
5551 # Instead, let's just punt: use the minimum linelength reported by
5552 # all of the supported platforms: 8192 (on NT/2K/XP).
5553 lt_cv_sys_max_cmd_len
=8192;
5557 # On MiNT this can take a long time and run out of memory.
5558 lt_cv_sys_max_cmd_len
=8192;
5562 # On AmigaOS with pdksh, this test takes hours, literally.
5563 # So we just punt and use a minimum line length of 8192.
5564 lt_cv_sys_max_cmd_len
=8192;
5567 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5568 # This has been around since 386BSD, at least. Likely further.
5569 if test -x /sbin
/sysctl
; then
5570 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5571 elif test -x /usr
/sbin
/sysctl
; then
5572 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5574 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
5576 # And add a safety zone
5577 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5578 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5582 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5583 lt_cv_sys_max_cmd_len
=196608
5587 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5588 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5589 # nice to cause kernel panics so lets avoid the loop below.
5590 # First set a reasonable default.
5591 lt_cv_sys_max_cmd_len
=16384
5593 if test -x /sbin
/sysconfig
; then
5594 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5595 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
5600 lt_cv_sys_max_cmd_len
=102400
5602 sysv5
* | sco5v6
* | sysv4.2uw2
*)
5603 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5604 if test -n "$kargmax"; then
5605 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
5607 lt_cv_sys_max_cmd_len
=32768
5611 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
5612 if test -n "$lt_cv_sys_max_cmd_len"; then
5613 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5614 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5616 # Make teststring a little bigger before we do anything with it.
5617 # a 1K string should be a reasonable start.
5618 for i
in 1 2 3 4 5 6 7 8 ; do
5619 teststring
=$teststring$teststring
5621 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
5622 # If test is not a shell built-in, we'll probably end up computing a
5623 # maximum length that is only half of the actual maximum length, but
5625 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5626 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
5627 test $i != 17 # 1/2 MB should be enough
5630 teststring
=$teststring$teststring
5632 # Only check the string length outside the loop.
5633 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
5635 # Add a significant safety factor because C++ compilers can tack on
5636 # massive amounts of additional arguments before passing them to the
5637 # linker. It appears as though 1/2 is a usable value.
5638 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
5645 if test -n $lt_cv_sys_max_cmd_len ; then
5646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5647 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5650 $as_echo "none" >&6; }
5652 max_cmd_len
=$lt_cv_sys_max_cmd_len
5663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5664 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5665 # Try some XSI features
5668 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5670 && eval 'test $(( 1 + 1 )) -eq 2 \
5671 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5673 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
5674 $as_echo "$xsi_shell" >&6; }
5677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
5678 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
5680 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
5682 && lt_shell_append=yes
5683 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
5684 $as_echo "$lt_shell_append" >&6; }
5687 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5697 # test EBCDIC or ASCII
5698 case `echo X|tr X '\101'` in
5699 A) # ASCII based system
5700 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5701 lt_SP2NL='tr \040 \012'
5702 lt_NL2SP='tr \015\012 \040\040'
5704 *) # EBCDIC based system
5705 lt_SP2NL='tr \100 \n'
5706 lt_NL2SP='tr \r\n \100\100'
5718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
5719 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
5720 if ${lt_cv_ld_reload_flag+:} false; then :
5721 $as_echo_n "(cached
) " >&6
5723 lt_cv_ld_reload_flag='-r'
5725 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
5726 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5727 reload_flag=$lt_cv_ld_reload_flag
5728 case $reload_flag in
5730 *) reload_flag=" $reload_flag" ;;
5732 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5735 if test "$GCC" = yes; then
5736 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5738 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5751 if test -n "$ac_tool_prefix"; then
5752 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
5753 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5755 $as_echo_n "checking
for $ac_word...
" >&6; }
5756 if ${ac_cv_prog_OBJDUMP+:} false; then :
5757 $as_echo_n "(cached
) " >&6
5759 if test -n "$OBJDUMP"; then
5760 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5766 test -z "$as_dir" && as_dir=.
5767 for ac_exec_ext in '' $ac_executable_extensions; do
5768 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5769 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
5770 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5779 OBJDUMP=$ac_cv_prog_OBJDUMP
5780 if test -n "$OBJDUMP"; then
5781 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
5782 $as_echo "$OBJDUMP" >&6; }
5784 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5785 $as_echo "no
" >&6; }
5790 if test -z "$ac_cv_prog_OBJDUMP"; then
5791 ac_ct_OBJDUMP=$OBJDUMP
5792 # Extract the first word of "objdump
", so it can be a program name with args.
5793 set dummy objdump; ac_word=$2
5794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5795 $as_echo_n "checking
for $ac_word...
" >&6; }
5796 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5797 $as_echo_n "(cached
) " >&6
5799 if test -n "$ac_ct_OBJDUMP"; then
5800 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5802 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5806 test -z "$as_dir" && as_dir=.
5807 for ac_exec_ext in '' $ac_executable_extensions; do
5808 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5809 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
5810 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5819 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5820 if test -n "$ac_ct_OBJDUMP"; then
5821 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
5822 $as_echo "$ac_ct_OBJDUMP" >&6; }
5824 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5825 $as_echo "no
" >&6; }
5828 if test "x
$ac_ct_OBJDUMP" = x; then
5831 case $cross_compiling:$ac_tool_warned in
5833 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5834 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5835 ac_tool_warned=yes ;;
5837 OBJDUMP=$ac_ct_OBJDUMP
5840 OBJDUMP="$ac_cv_prog_OBJDUMP"
5843 test -z "$OBJDUMP" && OBJDUMP=objdump
5853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
5854 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
5855 if ${lt_cv_deplibs_check_method+:} false; then :
5856 $as_echo_n "(cached
) " >&6
5858 lt_cv_file_magic_cmd='$MAGIC_CMD'
5859 lt_cv_file_magic_test_file=
5860 lt_cv_deplibs_check_method='unknown'
5861 # Need to set the preceding variable on all platforms that support
5862 # interlibrary dependencies.
5863 # 'none' -- dependencies not supported.
5864 # `unknown' -- same as none, but documents that we really don't know.
5865 # 'pass_all' -- all dependencies passed with no checks.
5866 # 'test_compile' -- check by making test program.
5867 # 'file_magic [[regex]]' -- check by looking for files in library path
5868 # which responds to the $file_magic_cmd with a given extended regex.
5869 # If you have `file' or equivalent on your system and you're not sure
5870 # whether `pass_all' will *always* work, you probably want this one.
5874 lt_cv_deplibs_check_method=pass_all
5878 lt_cv_deplibs_check_method=pass_all
5882 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5883 lt_cv_file_magic_cmd='/usr/bin/file -L'
5884 lt_cv_file_magic_test_file=/shlib/libc.so
5888 # func_win32_libid is a shell function defined in ltmain.sh
5889 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5890 lt_cv_file_magic_cmd='func_win32_libid'
5894 # Base MSYS/MinGW do not provide the 'file' command needed by
5895 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5896 # unless we find 'file', for example because we are cross-compiling.
5897 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5898 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
5899 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5900 lt_cv_file_magic_cmd='func_win32_libid'
5902 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5903 lt_cv_file_magic_cmd='$OBJDUMP -f'
5908 # use the weaker test based on 'objdump'. See mingw*.
5909 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5910 lt_cv_file_magic_cmd='$OBJDUMP -f'
5913 darwin* | rhapsody*)
5914 lt_cv_deplibs_check_method=pass_all
5917 freebsd* | dragonfly*)
5918 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5921 # Not sure whether the presence of OpenBSD here was a mistake.
5922 # Let's accept both of them until this is cleared up.
5923 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5924 lt_cv_file_magic_cmd=/usr/bin/file
5925 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5929 lt_cv_deplibs_check_method=pass_all
5934 lt_cv_deplibs_check_method=pass_all
5938 lt_cv_deplibs_check_method=pass_all
5941 hpux10.20* | hpux11*)
5942 lt_cv_file_magic_cmd=/usr/bin/file
5945 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5946 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5949 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]'
5950 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5953 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5954 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5960 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5961 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5964 irix5* | irix6* | nonstopux*)
5966 *-32|*"-32 ") libmagic=32-bit;;
5967 *-n32|*"-n32 ") libmagic=N32;;
5968 *-64|*"-64 ") libmagic=64-bit;;
5969 *) libmagic=never-match;;
5971 lt_cv_deplibs_check_method=pass_all
5974 # This must be Linux ELF.
5975 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5976 lt_cv_deplibs_check_method=pass_all
5980 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5981 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5983 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5988 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5989 lt_cv_file_magic_cmd=/usr/bin/file
5990 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5994 lt_cv_deplibs_check_method=pass_all
5998 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
5999 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6001 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6005 osf3* | osf4* | osf5*)
6006 lt_cv_deplibs_check_method=pass_all
6010 lt_cv_deplibs_check_method=pass_all
6014 lt_cv_deplibs_check_method=pass_all
6017 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6018 lt_cv_deplibs_check_method=pass_all
6022 case $host_vendor in
6024 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]'
6025 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6028 lt_cv_deplibs_check_method=pass_all
6031 lt_cv_file_magic_cmd='/bin/file'
6032 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6035 lt_cv_file_magic_cmd='/bin/file'
6036 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
6037 lt_cv_file_magic_test_file=/lib/libc.so
6040 lt_cv_deplibs_check_method=pass_all
6043 lt_cv_deplibs_check_method=pass_all
6049 lt_cv_deplibs_check_method=pass_all
6054 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
6055 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6056 file_magic_cmd=$lt_cv_file_magic_cmd
6057 deplibs_check_method=$lt_cv_deplibs_check_method
6058 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6072 plugin_names="liblto_plugin.so liblto_plugin-0.dll cyglto_plugin-0.dll
"
6073 for plugin in $plugin_names; do
6074 plugin_so=`${CC} ${CFLAGS} --print-prog-name $plugin`
6075 if test x$plugin_so = x$plugin; then
6076 plugin_so=`${CC} ${CFLAGS} --print-file-name $plugin`
6078 if test x$plugin_so != x$plugin; then
6079 plugin_option="--plugin $plugin_so"
6084 if test -n "$ac_tool_prefix"; then
6085 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6086 set dummy ${ac_tool_prefix}ar; ac_word=$2
6087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6088 $as_echo_n "checking
for $ac_word...
" >&6; }
6089 if ${ac_cv_prog_AR+:} false; then :
6090 $as_echo_n "(cached
) " >&6
6092 if test -n "$AR"; then
6093 ac_cv_prog_AR="$AR" # Let the user override the test.
6095 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6099 test -z "$as_dir" && as_dir=.
6100 for ac_exec_ext in '' $ac_executable_extensions; do
6101 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6102 ac_cv_prog_AR="${ac_tool_prefix}ar"
6103 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6113 if test -n "$AR"; then
6114 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
6115 $as_echo "$AR" >&6; }
6117 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6118 $as_echo "no
" >&6; }
6123 if test -z "$ac_cv_prog_AR"; then
6125 # Extract the first word of "ar", so it can be a program name with args.
6126 set dummy ar; ac_word=$2
6127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6128 $as_echo_n "checking
for $ac_word...
" >&6; }
6129 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6130 $as_echo_n "(cached
) " >&6
6132 if test -n "$ac_ct_AR"; then
6133 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6139 test -z "$as_dir" && as_dir=.
6140 for ac_exec_ext in '' $ac_executable_extensions; do
6141 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6142 ac_cv_prog_ac_ct_AR="ar"
6143 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6152 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6153 if test -n "$ac_ct_AR"; then
6154 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
6155 $as_echo "$ac_ct_AR" >&6; }
6157 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6158 $as_echo "no
" >&6; }
6161 if test "x
$ac_ct_AR" = x; then
6164 case $cross_compiling:$ac_tool_warned in
6166 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6167 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6168 ac_tool_warned=yes ;;
6176 test -z "$AR" && AR=ar
6177 if test -n "$plugin_option"; then
6178 if $AR --help 2>&1 | grep -q "\
--plugin"; then
6180 $AR $plugin_option rc conftest.a conftest.c
6181 if test "$?
" != 0; then
6182 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: Failed
: $AR $plugin_option rc
" >&5
6183 $as_echo "$as_me: WARNING
: Failed
: $AR $plugin_option rc
" >&2;}
6185 AR="$AR $plugin_option"
6190 test -z "$AR_FLAGS" && AR_FLAGS=cru
6202 if test -n "$ac_tool_prefix"; then
6203 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6204 set dummy ${ac_tool_prefix}strip; ac_word=$2
6205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6206 $as_echo_n "checking
for $ac_word...
" >&6; }
6207 if ${ac_cv_prog_STRIP+:} false; then :
6208 $as_echo_n "(cached
) " >&6
6210 if test -n "$STRIP"; then
6211 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6213 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6217 test -z "$as_dir" && as_dir=.
6218 for ac_exec_ext in '' $ac_executable_extensions; do
6219 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6220 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6221 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6230 STRIP=$ac_cv_prog_STRIP
6231 if test -n "$STRIP"; then
6232 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
6233 $as_echo "$STRIP" >&6; }
6235 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6236 $as_echo "no
" >&6; }
6241 if test -z "$ac_cv_prog_STRIP"; then
6243 # Extract the first word of "strip
", so it can be a program name with args.
6244 set dummy strip; ac_word=$2
6245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6246 $as_echo_n "checking
for $ac_word...
" >&6; }
6247 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6248 $as_echo_n "(cached
) " >&6
6250 if test -n "$ac_ct_STRIP"; then
6251 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6253 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6257 test -z "$as_dir" && as_dir=.
6258 for ac_exec_ext in '' $ac_executable_extensions; do
6259 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6260 ac_cv_prog_ac_ct_STRIP="strip
"
6261 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6270 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6271 if test -n "$ac_ct_STRIP"; then
6272 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
6273 $as_echo "$ac_ct_STRIP" >&6; }
6275 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6276 $as_echo "no
" >&6; }
6279 if test "x
$ac_ct_STRIP" = x; then
6282 case $cross_compiling:$ac_tool_warned in
6284 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6285 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6286 ac_tool_warned=yes ;;
6291 STRIP="$ac_cv_prog_STRIP"
6294 test -z "$STRIP" && STRIP=:
6301 if test -n "$ac_tool_prefix"; then
6302 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6303 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6305 $as_echo_n "checking
for $ac_word...
" >&6; }
6306 if ${ac_cv_prog_RANLIB+:} false; then :
6307 $as_echo_n "(cached
) " >&6
6309 if test -n "$RANLIB"; then
6310 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6312 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6316 test -z "$as_dir" && as_dir=.
6317 for ac_exec_ext in '' $ac_executable_extensions; do
6318 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6319 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
6320 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6329 RANLIB=$ac_cv_prog_RANLIB
6330 if test -n "$RANLIB"; then
6331 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
6332 $as_echo "$RANLIB" >&6; }
6334 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6335 $as_echo "no
" >&6; }
6340 if test -z "$ac_cv_prog_RANLIB"; then
6341 ac_ct_RANLIB=$RANLIB
6342 # Extract the first word of "ranlib
", so it can be a program name with args.
6343 set dummy ranlib; ac_word=$2
6344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6345 $as_echo_n "checking
for $ac_word...
" >&6; }
6346 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6347 $as_echo_n "(cached
) " >&6
6349 if test -n "$ac_ct_RANLIB"; then
6350 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6352 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6356 test -z "$as_dir" && as_dir=.
6357 for ac_exec_ext in '' $ac_executable_extensions; do
6358 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6359 ac_cv_prog_ac_ct_RANLIB="ranlib
"
6360 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6369 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6370 if test -n "$ac_ct_RANLIB"; then
6371 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
6372 $as_echo "$ac_ct_RANLIB" >&6; }
6374 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6375 $as_echo "no
" >&6; }
6378 if test "x
$ac_ct_RANLIB" = x; then
6381 case $cross_compiling:$ac_tool_warned in
6383 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6384 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6385 ac_tool_warned=yes ;;
6387 RANLIB=$ac_ct_RANLIB
6390 RANLIB="$ac_cv_prog_RANLIB"
6393 test -z "$RANLIB" && RANLIB=:
6394 if test -n "$plugin_option" && test "$RANLIB" != ":"; then
6395 if $RANLIB --help 2>&1 | grep -q "\
--plugin"; then
6396 RANLIB="$RANLIB $plugin_option"
6405 # Determine commands to create old-style static archives.
6406 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6407 old_postinstall_cmds='chmod 644 $oldlib'
6408 old_postuninstall_cmds=
6410 if test -n "$RANLIB"; then
6413 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
6416 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
6419 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
6424 lock_old_archive_extraction=yes ;;
6426 lock_old_archive_extraction=no ;;
6449 for ac_prog in gawk mawk nawk awk
6451 # Extract the first word of "$ac_prog", so it can be a program name with args.
6452 set dummy $ac_prog; ac_word=$2
6453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6454 $as_echo_n "checking
for $ac_word...
" >&6; }
6455 if ${ac_cv_prog_AWK+:} false; then :
6456 $as_echo_n "(cached
) " >&6
6458 if test -n "$AWK"; then
6459 ac_cv_prog_AWK="$AWK" # Let the user override the test.
6461 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6465 test -z "$as_dir" && as_dir=.
6466 for ac_exec_ext in '' $ac_executable_extensions; do
6467 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6468 ac_cv_prog_AWK="$ac_prog"
6469 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6479 if test -n "$AWK"; then
6480 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AWK" >&5
6481 $as_echo "$AWK" >&6; }
6483 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6484 $as_echo "no
" >&6; }
6488 test -n "$AWK" && break
6509 # If no C compiler was specified, use CC.
6512 # If no C compiler flags were specified, use CFLAGS.
6513 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6515 # Allow CC to be a program name with arguments.
6519 # Check for command to grab the raw symbol name followed by C symbol from nm.
6520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
6521 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
6522 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6523 $as_echo_n "(cached
) " >&6
6526 # These are sane defaults that work on at least a few old systems.
6527 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6529 # Character class describing NM global symbol codes.
6530 symcode='[BCDEGRST]'
6532 # Regexp to match symbols that can be accessed directly from C.
6533 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6535 # Define system-specific variables.
6540 cygwin* | mingw* | pw32* | cegcc*)
6541 symcode='[ABCDGISTW]'
6544 if test "$host_cpu" = ia64; then
6545 symcode='[ABCDEGRST]'
6549 symcode='[BCDEGRST]'
6552 symcode='[BCDEGQRST]'
6563 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6571 # If we're using GNU nm, then use its standard symbol codes.
6572 case `$NM -V 2>&1` in
6573 *GNU* | *'with BFD'*)
6574 symcode='[ABCDGIRSTW]' ;;
6577 # Transform an extracted symbol line into a proper C declaration.
6578 # Some systems (esp. on ia64) link data and code symbols differently,
6579 # so use this general approach.
6580 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6582 # Transform an extracted symbol line into symbol name and symbol address
6583 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6584 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'"
6586 # Handle CRLF in mingw tool chain
6590 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6594 # Try without a prefix underscore, then with it.
6595 for ac_symprfx in "" "_
"; do
6597 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6598 symxfrm="\\1 $ac_symprfx\\2 \\2"
6600 # Write the raw and C identifiers.
6601 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6602 # Fake it for dumpbin and say T for any non-static function
6603 # and D for any global variable.
6604 # Also find C++ and __fastcall symbols from MSVC++,
6605 # which start with @ or ?.
6606 lt_cv_sys_global_symbol_pipe="$AWK '"\
6607 " {last_section=section; section=\$ 3};"\
6608 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6609 " \$ 0!~/External *\|/{next};"\
6610 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6611 " {if(hide[section]) next};"\
6612 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6613 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6614 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6615 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6616 " ' prfx
=^
$ac_symprfx"
6618 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6621 # Check to see that the pipe works correctly.
6625 cat > conftest.$ac_ext <<_LT_EOF
6630 void nm_test_func(void);
6631 void nm_test_func(void){}
6635 int main(){nm_test_var='a';nm_test_func();return(0);}
6638 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6639 (eval $ac_compile) 2>&5
6641 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6642 test $ac_status = 0; }; then
6643 # Now try to grab the symbols.
6645 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
6646 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6648 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6649 test $ac_status = 0; } && test -s "$nlist"; then
6650 # Try sorting and uniquifying the output.
6651 if sort "$nlist" | uniq > "$nlist"T; then
6652 mv -f "$nlist"T "$nlist"
6657 # Make sure that we snagged all the symbols we need.
6658 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6659 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6660 cat <<_LT_EOF > conftest.$ac_ext
6666 # Now generate the symbol file.
6667 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6669 cat <<_LT_EOF >> conftest.$ac_ext
6671 /* The mapping between symbol names and symbols. */
6676 lt__PROGRAM__LTX_preloaded_symbols[] =
6678 { "@PROGRAM@
", (void *) 0 },
6680 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6681 cat <<\_LT_EOF >> conftest.$ac_ext
6685 /* This works around a problem in FreeBSD linker */
6686 #ifdef FREEBSD_WORKAROUND
6687 static const void *lt_preloaded_setup() {
6688 return lt__PROGRAM__LTX_preloaded_symbols;
6696 # Now try linking the two files.
6697 mv conftest.$ac_objext conftstm.$ac_objext
6698 lt_save_LIBS="$LIBS"
6699 lt_save_CFLAGS="$CFLAGS"
6700 LIBS="conftstm.
$ac_objext"
6701 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6702 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6703 (eval $ac_link) 2>&5
6705 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6706 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6709 LIBS="$lt_save_LIBS"
6710 CFLAGS="$lt_save_CFLAGS"
6712 echo "cannot
find nm_test_func
in $nlist" >&5
6715 echo "cannot
find nm_test_var
in $nlist" >&5
6718 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
6721 echo "$progname: failed program was
:" >&5
6722 cat conftest.$ac_ext >&5
6724 rm -rf conftest* conftst*
6726 # Do not use the global_symbol_pipe unless it works.
6727 if test "$pipe_works" = yes; then
6730 lt_cv_sys_global_symbol_pipe=
6736 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6737 lt_cv_sys_global_symbol_to_cdecl=
6739 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6740 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
6741 $as_echo "failed
" >&6; }
6743 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
6744 $as_echo "ok
" >&6; }
6768 # Check whether --enable-libtool-lock was given.
6769 if test "${enable_libtool_lock+set}" = set; then :
6770 enableval=$enable_libtool_lock;
6773 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
6775 # Some flags need to be propagated to the compiler or linker for good
6779 # Find out which ABI we are using.
6780 echo 'int i;' > conftest.$ac_ext
6781 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6782 (eval $ac_compile) 2>&5
6784 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6785 test $ac_status = 0; }; then
6786 case `/usr/bin/file conftest.$ac_objext` in
6798 # Find out which ABI we are using.
6799 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
6800 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6801 (eval $ac_compile) 2>&5
6803 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6804 test $ac_status = 0; }; then
6805 if test "$lt_cv_prog_gnu_ld" = yes; then
6806 case `/usr/bin/file conftest.$ac_objext` in
6808 LD="${LD-ld} -melf32bsmip"
6811 LD="${LD-ld} -melf32bmipn32"
6814 LD="${LD-ld} -melf64bmip"
6818 case `/usr/bin/file conftest.$ac_objext` in
6834 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
6835 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6836 # Find out which ABI we are using.
6837 echo 'int i;' > conftest.$ac_ext
6838 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6839 (eval $ac_compile) 2>&5
6841 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6842 test $ac_status = 0; }; then
6843 case `/usr/bin/file conftest.o` in
6846 x86_64-*kfreebsd*-gnu)
6847 LD="${LD-ld} -m elf_i386_fbsd
"
6850 case `/usr/bin/file conftest.o` in
6852 LD="${LD-ld} -m elf32_x86_64
"
6855 LD="${LD-ld} -m elf_i386
"
6859 powerpc64le-*linux*)
6860 LD="${LD-ld} -m elf32lppclinux
"
6863 LD="${LD-ld} -m elf32ppclinux
"
6866 LD="${LD-ld} -m elf_s390
"
6869 LD="${LD-ld} -m elf32_sparc
"
6875 x86_64-*kfreebsd*-gnu)
6876 LD="${LD-ld} -m elf_x86_64_fbsd
"
6879 LD="${LD-ld} -m elf_x86_64
"
6882 LD="${LD-ld} -m elf64lppc
"
6885 LD="${LD-ld} -m elf64ppc
"
6887 s390*-*linux*|s390*-*tpf*)
6888 LD="${LD-ld} -m elf64_s390
"
6891 LD="${LD-ld} -m elf64_sparc
"
6901 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6902 SAVE_CFLAGS="$CFLAGS"
6903 CFLAGS="$CFLAGS -belf"
6904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
6905 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
6906 if ${lt_cv_cc_needs_belf+:} false; then :
6907 $as_echo_n "(cached
) " >&6
6910 ac_cpp='$CPP $CPPFLAGS'
6911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6916 /* end confdefs.h. */
6926 if ac_fn_c_try_link "$LINENO"; then :
6927 lt_cv_cc_needs_belf=yes
6929 lt_cv_cc_needs_belf=no
6931 rm -f core conftest.err conftest.$ac_objext \
6932 conftest$ac_exeext conftest.$ac_ext
6934 ac_cpp='$CPP $CPPFLAGS'
6935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6940 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
6941 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6942 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6943 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6944 CFLAGS="$SAVE_CFLAGS"
6948 # Find out which ABI we are using.
6949 echo 'int i;' > conftest.$ac_ext
6950 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6951 (eval $ac_compile) 2>&5
6953 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6954 test $ac_status = 0; }; then
6955 case `/usr/bin/file conftest.o` in
6957 case $lt_cv_prog_gnu_ld in
6958 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
6960 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6972 need_locks="$enable_libtool_lock"
6976 rhapsody* | darwin*)
6977 if test -n "$ac_tool_prefix"; then
6978 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
6979 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6981 $as_echo_n "checking
for $ac_word...
" >&6; }
6982 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6983 $as_echo_n "(cached
) " >&6
6985 if test -n "$DSYMUTIL"; then
6986 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6988 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6992 test -z "$as_dir" && as_dir=.
6993 for ac_exec_ext in '' $ac_executable_extensions; do
6994 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6995 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
6996 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7005 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7006 if test -n "$DSYMUTIL"; then
7007 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
7008 $as_echo "$DSYMUTIL" >&6; }
7010 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7011 $as_echo "no
" >&6; }
7016 if test -z "$ac_cv_prog_DSYMUTIL"; then
7017 ac_ct_DSYMUTIL=$DSYMUTIL
7018 # Extract the first word of "dsymutil
", so it can be a program name with args.
7019 set dummy dsymutil; ac_word=$2
7020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7021 $as_echo_n "checking
for $ac_word...
" >&6; }
7022 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7023 $as_echo_n "(cached
) " >&6
7025 if test -n "$ac_ct_DSYMUTIL"; then
7026 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7032 test -z "$as_dir" && as_dir=.
7033 for ac_exec_ext in '' $ac_executable_extensions; do
7034 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7035 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
7036 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7045 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7046 if test -n "$ac_ct_DSYMUTIL"; then
7047 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
7048 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7050 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7051 $as_echo "no
" >&6; }
7054 if test "x
$ac_ct_DSYMUTIL" = x; then
7057 case $cross_compiling:$ac_tool_warned in
7059 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7060 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7061 ac_tool_warned=yes ;;
7063 DSYMUTIL=$ac_ct_DSYMUTIL
7066 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7069 if test -n "$ac_tool_prefix"; then
7070 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
7071 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7073 $as_echo_n "checking
for $ac_word...
" >&6; }
7074 if ${ac_cv_prog_NMEDIT+:} false; then :
7075 $as_echo_n "(cached
) " >&6
7077 if test -n "$NMEDIT"; then
7078 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7080 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7084 test -z "$as_dir" && as_dir=.
7085 for ac_exec_ext in '' $ac_executable_extensions; do
7086 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7087 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
7088 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7097 NMEDIT=$ac_cv_prog_NMEDIT
7098 if test -n "$NMEDIT"; then
7099 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
7100 $as_echo "$NMEDIT" >&6; }
7102 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7103 $as_echo "no
" >&6; }
7108 if test -z "$ac_cv_prog_NMEDIT"; then
7109 ac_ct_NMEDIT=$NMEDIT
7110 # Extract the first word of "nmedit
", so it can be a program name with args.
7111 set dummy nmedit; ac_word=$2
7112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7113 $as_echo_n "checking
for $ac_word...
" >&6; }
7114 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7115 $as_echo_n "(cached
) " >&6
7117 if test -n "$ac_ct_NMEDIT"; then
7118 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7120 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7124 test -z "$as_dir" && as_dir=.
7125 for ac_exec_ext in '' $ac_executable_extensions; do
7126 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7127 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
7128 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7137 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7138 if test -n "$ac_ct_NMEDIT"; then
7139 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
7140 $as_echo "$ac_ct_NMEDIT" >&6; }
7142 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7143 $as_echo "no
" >&6; }
7146 if test "x
$ac_ct_NMEDIT" = x; then
7149 case $cross_compiling:$ac_tool_warned in
7151 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7152 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7153 ac_tool_warned=yes ;;
7155 NMEDIT=$ac_ct_NMEDIT
7158 NMEDIT="$ac_cv_prog_NMEDIT"
7161 if test -n "$ac_tool_prefix"; then
7162 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
7163 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7165 $as_echo_n "checking
for $ac_word...
" >&6; }
7166 if ${ac_cv_prog_LIPO+:} false; then :
7167 $as_echo_n "(cached
) " >&6
7169 if test -n "$LIPO"; then
7170 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7172 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7176 test -z "$as_dir" && as_dir=.
7177 for ac_exec_ext in '' $ac_executable_extensions; do
7178 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7179 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
7180 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7189 LIPO=$ac_cv_prog_LIPO
7190 if test -n "$LIPO"; then
7191 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
7192 $as_echo "$LIPO" >&6; }
7194 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7195 $as_echo "no
" >&6; }
7200 if test -z "$ac_cv_prog_LIPO"; then
7202 # Extract the first word of "lipo
", so it can be a program name with args.
7203 set dummy lipo; ac_word=$2
7204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7205 $as_echo_n "checking
for $ac_word...
" >&6; }
7206 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7207 $as_echo_n "(cached
) " >&6
7209 if test -n "$ac_ct_LIPO"; then
7210 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7212 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7216 test -z "$as_dir" && as_dir=.
7217 for ac_exec_ext in '' $ac_executable_extensions; do
7218 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7219 ac_cv_prog_ac_ct_LIPO="lipo
"
7220 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7229 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7230 if test -n "$ac_ct_LIPO"; then
7231 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
7232 $as_echo "$ac_ct_LIPO" >&6; }
7234 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7235 $as_echo "no
" >&6; }
7238 if test "x
$ac_ct_LIPO" = x; then
7241 case $cross_compiling:$ac_tool_warned in
7243 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7244 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7245 ac_tool_warned=yes ;;
7250 LIPO="$ac_cv_prog_LIPO"
7253 if test -n "$ac_tool_prefix"; then
7254 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
7255 set dummy ${ac_tool_prefix}otool; ac_word=$2
7256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7257 $as_echo_n "checking
for $ac_word...
" >&6; }
7258 if ${ac_cv_prog_OTOOL+:} false; then :
7259 $as_echo_n "(cached
) " >&6
7261 if test -n "$OTOOL"; then
7262 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7264 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7268 test -z "$as_dir" && as_dir=.
7269 for ac_exec_ext in '' $ac_executable_extensions; do
7270 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7271 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
7272 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7281 OTOOL=$ac_cv_prog_OTOOL
7282 if test -n "$OTOOL"; then
7283 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
7284 $as_echo "$OTOOL" >&6; }
7286 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7287 $as_echo "no
" >&6; }
7292 if test -z "$ac_cv_prog_OTOOL"; then
7294 # Extract the first word of "otool
", so it can be a program name with args.
7295 set dummy otool; ac_word=$2
7296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7297 $as_echo_n "checking
for $ac_word...
" >&6; }
7298 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7299 $as_echo_n "(cached
) " >&6
7301 if test -n "$ac_ct_OTOOL"; then
7302 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7304 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7308 test -z "$as_dir" && as_dir=.
7309 for ac_exec_ext in '' $ac_executable_extensions; do
7310 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7311 ac_cv_prog_ac_ct_OTOOL="otool
"
7312 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7321 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7322 if test -n "$ac_ct_OTOOL"; then
7323 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
7324 $as_echo "$ac_ct_OTOOL" >&6; }
7326 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7327 $as_echo "no
" >&6; }
7330 if test "x
$ac_ct_OTOOL" = x; then
7333 case $cross_compiling:$ac_tool_warned in
7335 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7336 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7337 ac_tool_warned=yes ;;
7342 OTOOL="$ac_cv_prog_OTOOL"
7345 if test -n "$ac_tool_prefix"; then
7346 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
7347 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7349 $as_echo_n "checking
for $ac_word...
" >&6; }
7350 if ${ac_cv_prog_OTOOL64+:} false; then :
7351 $as_echo_n "(cached
) " >&6
7353 if test -n "$OTOOL64"; then
7354 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7360 test -z "$as_dir" && as_dir=.
7361 for ac_exec_ext in '' $ac_executable_extensions; do
7362 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7363 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
7364 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7373 OTOOL64=$ac_cv_prog_OTOOL64
7374 if test -n "$OTOOL64"; then
7375 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
7376 $as_echo "$OTOOL64" >&6; }
7378 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7379 $as_echo "no
" >&6; }
7384 if test -z "$ac_cv_prog_OTOOL64"; then
7385 ac_ct_OTOOL64=$OTOOL64
7386 # Extract the first word of "otool64
", so it can be a program name with args.
7387 set dummy otool64; ac_word=$2
7388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7389 $as_echo_n "checking
for $ac_word...
" >&6; }
7390 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7391 $as_echo_n "(cached
) " >&6
7393 if test -n "$ac_ct_OTOOL64"; then
7394 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7396 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7400 test -z "$as_dir" && as_dir=.
7401 for ac_exec_ext in '' $ac_executable_extensions; do
7402 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7403 ac_cv_prog_ac_ct_OTOOL64="otool64
"
7404 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7413 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7414 if test -n "$ac_ct_OTOOL64"; then
7415 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
7416 $as_echo "$ac_ct_OTOOL64" >&6; }
7418 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7419 $as_echo "no
" >&6; }
7422 if test "x
$ac_ct_OTOOL64" = x; then
7425 case $cross_compiling:$ac_tool_warned in
7427 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7428 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7429 ac_tool_warned=yes ;;
7431 OTOOL64=$ac_ct_OTOOL64
7434 OTOOL64="$ac_cv_prog_OTOOL64"
7463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
7464 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
7465 if ${lt_cv_apple_cc_single_mod+:} false; then :
7466 $as_echo_n "(cached
) " >&6
7468 lt_cv_apple_cc_single_mod=no
7469 if test -z "${LT_MULTI_MODULE}"; then
7470 # By default we will add the -single_module flag. You can override
7471 # by either setting the environment variable LT_MULTI_MODULE
7472 # non-empty at configure time, or by adding -multi_module to the
7474 rm -rf libconftest.dylib*
7475 echo "int foo
(void
){return 1;}" > conftest.c
7476 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7477 -dynamiclib -Wl,-single_module conftest.c
" >&5
7478 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7479 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7481 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7482 lt_cv_apple_cc_single_mod=yes
7484 cat conftest.err >&5
7486 rm -rf libconftest.dylib*
7490 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
7491 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
7493 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
7494 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7495 $as_echo_n "(cached
) " >&6
7497 lt_cv_ld_exported_symbols_list=no
7498 save_LDFLAGS=$LDFLAGS
7499 echo "_main
" > conftest.sym
7500 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
7501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7502 /* end confdefs.h. */
7512 if ac_fn_c_try_link "$LINENO"; then :
7513 lt_cv_ld_exported_symbols_list=yes
7515 lt_cv_ld_exported_symbols_list=no
7517 rm -f core conftest.err conftest.$ac_objext \
7518 conftest$ac_exeext conftest.$ac_ext
7519 LDFLAGS="$save_LDFLAGS"
7522 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
7523 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
7525 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
7526 if ${lt_cv_ld_force_load+:} false; then :
7527 $as_echo_n "(cached
) " >&6
7529 lt_cv_ld_force_load=no
7530 cat > conftest.c << _LT_EOF
7531 int forced_loaded() { return 2;}
7533 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
7534 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7535 echo "$AR cru libconftest.a conftest.o
" >&5
7536 $AR cru libconftest.a conftest.o 2>&5
7537 cat > conftest.c << _LT_EOF
7538 int main() { return 0;}
7540 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
7541 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7543 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7544 lt_cv_ld_force_load=yes
7546 cat conftest.err >&5
7548 rm -f conftest.err libconftest.a conftest conftest.c
7549 rm -rf conftest.dSYM
7552 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
7553 $as_echo "$lt_cv_ld_force_load" >&6; }
7555 rhapsody* | darwin1.[012])
7556 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7558 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7559 darwin*) # darwin 5.x on
7560 # if running on 10.5 or later, the deployment target defaults
7561 # to the OS version, if on x86, and 10.4, the deployment
7562 # target defaults to 10.4. Don't you love it?
7563 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7564 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7565 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7567 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7569 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7573 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7574 _lt_dar_single_mod='$single_module'
7576 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7577 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7579 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7581 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
7582 _lt_dsymutil='~$DSYMUTIL $lib || :'
7589 for ac_header in dlfcn.h
7591 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h
" "ac_cv_header_dlfcn_h
" "$ac_includes_default
7593 if test "x
$ac_cv_header_dlfcn_h" = xyes; then :
7594 cat >>confdefs.h <<_ACEOF
7595 #define HAVE_DLFCN_H 1
7604 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
7605 as_ac_Header=`$as_echo "ac_cv_header_dirent_
$ac_hdr" | $as_tr_sh`
7606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_hdr that defines DIR
" >&5
7607 $as_echo_n "checking
for $ac_hdr that defines DIR...
" >&6; }
7608 if eval \${$as_ac_Header+:} false; then :
7609 $as_echo_n "(cached
) " >&6
7611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7612 /* end confdefs.h. */
7613 #include <sys/types.h>
7625 if ac_fn_c_try_compile "$LINENO"; then :
7626 eval "$as_ac_Header=yes"
7628 eval "$as_ac_Header=no
"
7630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7632 eval ac_res=\$$as_ac_Header
7633 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_res" >&5
7634 $as_echo "$ac_res" >&6; }
7635 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7636 cat >>confdefs.h <<_ACEOF
7637 #define `$as_echo "HAVE_
$ac_hdr" | $as_tr_cpp` 1
7640 ac_header_dirent=$ac_hdr; break
7644 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
7645 if test $ac_header_dirent = dirent.h; then
7646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for library containing opendir
" >&5
7647 $as_echo_n "checking
for library containing opendir...
" >&6; }
7648 if ${ac_cv_search_opendir+:} false; then :
7649 $as_echo_n "(cached
) " >&6
7651 ac_func_search_save_LIBS=$LIBS
7652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7653 /* end confdefs.h. */
7655 /* Override any GCC internal prototype to avoid an error.
7656 Use char because int might match the return type of a GCC
7657 builtin and then its argument prototype would still apply. */
7670 for ac_lib in '' dir; do
7671 if test -z "$ac_lib"; then
7672 ac_res="none required
"
7675 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
7677 if ac_fn_c_try_link "$LINENO"; then :
7678 ac_cv_search_opendir=$ac_res
7680 rm -f core conftest.err conftest.$ac_objext \
7682 if ${ac_cv_search_opendir+:} false; then :
7686 if ${ac_cv_search_opendir+:} false; then :
7689 ac_cv_search_opendir=no
7692 LIBS=$ac_func_search_save_LIBS
7694 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_search_opendir" >&5
7695 $as_echo "$ac_cv_search_opendir" >&6; }
7696 ac_res=$ac_cv_search_opendir
7697 if test "$ac_res" != no; then :
7698 test "$ac_res" = "none required
" || LIBS="$ac_res $LIBS"
7703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for library containing opendir
" >&5
7704 $as_echo_n "checking
for library containing opendir...
" >&6; }
7705 if ${ac_cv_search_opendir+:} false; then :
7706 $as_echo_n "(cached
) " >&6
7708 ac_func_search_save_LIBS=$LIBS
7709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7710 /* end confdefs.h. */
7712 /* Override any GCC internal prototype to avoid an error.
7713 Use char because int might match the return type of a GCC
7714 builtin and then its argument prototype would still apply. */
7727 for ac_lib in '' x; do
7728 if test -z "$ac_lib"; then
7729 ac_res="none required
"
7732 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
7734 if ac_fn_c_try_link "$LINENO"; then :
7735 ac_cv_search_opendir=$ac_res
7737 rm -f core conftest.err conftest.$ac_objext \
7739 if ${ac_cv_search_opendir+:} false; then :
7743 if ${ac_cv_search_opendir+:} false; then :
7746 ac_cv_search_opendir=no
7749 LIBS=$ac_func_search_save_LIBS
7751 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_search_opendir" >&5
7752 $as_echo "$ac_cv_search_opendir" >&6; }
7753 ac_res=$ac_cv_search_opendir
7754 if test "$ac_res" != no; then :
7755 test "$ac_res" = "none required
" || LIBS="$ac_res $LIBS"
7764 ac_fn_c_check_member "$LINENO" "struct stat
" "st_blksize
" "ac_cv_member_struct_stat_st_blksize
" "$ac_includes_default"
7765 if test "x
$ac_cv_member_struct_stat_st_blksize" = xyes; then :
7767 cat >>confdefs.h <<_ACEOF
7768 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
7772 $as_echo "#define HAVE_ST_BLKSIZE 1" >>confdefs.h
7777 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
7778 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
7780 cat >>confdefs.h
<<_ACEOF
7781 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
7785 $as_echo "#define HAVE_ST_BLOCKS 1" >>confdefs.h
7788 case " $LIBOBJS " in
7789 *" fileblocks.$ac_objext "* ) ;;
7790 *) LIBOBJS
="$LIBOBJS fileblocks.$ac_objext"
7797 ac_fn_c_check_member
"$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
7798 if test "x$ac_cv_member_struct_stat_st_rdev" = xyes
; then :
7800 cat >>confdefs.h
<<_ACEOF
7801 #define HAVE_STRUCT_STAT_ST_RDEV 1
7805 $as_echo "#define HAVE_ST_RDEV 1" >>confdefs.h
7810 ac_fn_c_check_member
"$LINENO" "struct tm" "tm_zone" "ac_cv_member_struct_tm_tm_zone" "#include <sys/types.h>
7811 #include <$ac_cv_struct_tm>
7814 if test "x$ac_cv_member_struct_tm_tm_zone" = xyes
; then :
7816 cat >>confdefs.h
<<_ACEOF
7817 #define HAVE_STRUCT_TM_TM_ZONE 1
7823 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
7825 $as_echo "#define HAVE_TM_ZONE 1" >>confdefs.h
7828 ac_fn_c_check_decl
"$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include <time.h>
7830 if test "x$ac_cv_have_decl_tzname" = xyes
; then :
7836 cat >>confdefs.h
<<_ACEOF
7837 #define HAVE_DECL_TZNAME $ac_have_decl
7840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5
7841 $as_echo_n "checking for tzname... " >&6; }
7842 if ${ac_cv_var_tzname+:} false
; then :
7843 $as_echo_n "(cached) " >&6
7845 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7846 /* end confdefs.h. */
7848 #if !HAVE_DECL_TZNAME
7849 extern char *tzname[];
7855 return tzname[0][0];
7860 if ac_fn_c_try_link
"$LINENO"; then :
7861 ac_cv_var_tzname
=yes
7865 rm -f core conftest.err conftest.
$ac_objext \
7866 conftest
$ac_exeext conftest.
$ac_ext
7868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_tzname" >&5
7869 $as_echo "$ac_cv_var_tzname" >&6; }
7870 if test $ac_cv_var_tzname = yes; then
7872 $as_echo "#define HAVE_TZNAME 1" >>confdefs.h
7878 ac_fn_c_check_member
"$LINENO" "struct stat" "st_dev" "ac_cv_member_struct_stat_st_dev" "#ifdef HAVE_SYS_TYPES_H
7879 #include <sys/types.h>
7881 #ifdef HAVE_SYS_STAT_H
7882 #include <sys/stat.h>
7885 if test "x$ac_cv_member_struct_stat_st_dev" = xyes
; then :
7887 cat >>confdefs.h
<<_ACEOF
7888 #define HAVE_STRUCT_STAT_ST_DEV 1
7893 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ino" "ac_cv_member_struct_stat_st_ino" "#ifdef HAVE_SYS_TYPES_H
7894 #include <sys/types.h>
7896 #ifdef HAVE_SYS_STAT_H
7897 #include <sys/stat.h>
7900 if test "x$ac_cv_member_struct_stat_st_ino" = xyes
; then :
7902 cat >>confdefs.h
<<_ACEOF
7903 #define HAVE_STRUCT_STAT_ST_INO 1
7908 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mode" "ac_cv_member_struct_stat_st_mode" "#ifdef HAVE_SYS_TYPES_H
7909 #include <sys/types.h>
7911 #ifdef HAVE_SYS_STAT_H
7912 #include <sys/stat.h>
7915 if test "x$ac_cv_member_struct_stat_st_mode" = xyes
; then :
7917 cat >>confdefs.h
<<_ACEOF
7918 #define HAVE_STRUCT_STAT_ST_MODE 1
7923 ac_fn_c_check_member
"$LINENO" "struct stat" "st_nlink" "ac_cv_member_struct_stat_st_nlink" "#ifdef HAVE_SYS_TYPES_H
7924 #include <sys/types.h>
7926 #ifdef HAVE_SYS_STAT_H
7927 #include <sys/stat.h>
7930 if test "x$ac_cv_member_struct_stat_st_nlink" = xyes
; then :
7932 cat >>confdefs.h
<<_ACEOF
7933 #define HAVE_STRUCT_STAT_ST_NLINK 1
7938 ac_fn_c_check_member
"$LINENO" "struct stat" "st_uid" "ac_cv_member_struct_stat_st_uid" "#ifdef HAVE_SYS_TYPES_H
7939 #include <sys/types.h>
7941 #ifdef HAVE_SYS_STAT_H
7942 #include <sys/stat.h>
7945 if test "x$ac_cv_member_struct_stat_st_uid" = xyes
; then :
7947 cat >>confdefs.h
<<_ACEOF
7948 #define HAVE_STRUCT_STAT_ST_UID 1
7953 ac_fn_c_check_member
"$LINENO" "struct stat" "st_gid" "ac_cv_member_struct_stat_st_gid" "#ifdef HAVE_SYS_TYPES_H
7954 #include <sys/types.h>
7956 #ifdef HAVE_SYS_STAT_H
7957 #include <sys/stat.h>
7960 if test "x$ac_cv_member_struct_stat_st_gid" = xyes
; then :
7962 cat >>confdefs.h
<<_ACEOF
7963 #define HAVE_STRUCT_STAT_ST_GID 1
7968 ac_fn_c_check_member
"$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "#ifdef HAVE_SYS_TYPES_H
7969 #include <sys/types.h>
7971 #ifdef HAVE_SYS_STAT_H
7972 #include <sys/stat.h>
7975 if test "x$ac_cv_member_struct_stat_st_rdev" = xyes
; then :
7977 cat >>confdefs.h
<<_ACEOF
7978 #define HAVE_STRUCT_STAT_ST_RDEV 1
7983 ac_fn_c_check_member
"$LINENO" "struct stat" "st_size" "ac_cv_member_struct_stat_st_size" "#ifdef HAVE_SYS_TYPES_H
7984 #include <sys/types.h>
7986 #ifdef HAVE_SYS_STAT_H
7987 #include <sys/stat.h>
7990 if test "x$ac_cv_member_struct_stat_st_size" = xyes
; then :
7992 cat >>confdefs.h
<<_ACEOF
7993 #define HAVE_STRUCT_STAT_ST_SIZE 1
7998 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "#ifdef HAVE_SYS_TYPES_H
7999 #include <sys/types.h>
8001 #ifdef HAVE_SYS_STAT_H
8002 #include <sys/stat.h>
8005 if test "x$ac_cv_member_struct_stat_st_blksize" = xyes
; then :
8007 cat >>confdefs.h
<<_ACEOF
8008 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
8013 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "#ifdef HAVE_SYS_TYPES_H
8014 #include <sys/types.h>
8016 #ifdef HAVE_SYS_STAT_H
8017 #include <sys/stat.h>
8020 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
8022 cat >>confdefs.h
<<_ACEOF
8023 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
8028 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atime" "ac_cv_member_struct_stat_st_atime" "#ifdef HAVE_SYS_TYPES_H
8029 #include <sys/types.h>
8031 #ifdef HAVE_SYS_STAT_H
8032 #include <sys/stat.h>
8035 if test "x$ac_cv_member_struct_stat_st_atime" = xyes
; then :
8037 cat >>confdefs.h
<<_ACEOF
8038 #define HAVE_STRUCT_STAT_ST_ATIME 1
8043 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtime" "ac_cv_member_struct_stat_st_mtime" "#ifdef HAVE_SYS_TYPES_H
8044 #include <sys/types.h>
8046 #ifdef HAVE_SYS_STAT_H
8047 #include <sys/stat.h>
8050 if test "x$ac_cv_member_struct_stat_st_mtime" = xyes
; then :
8052 cat >>confdefs.h
<<_ACEOF
8053 #define HAVE_STRUCT_STAT_ST_MTIME 1
8058 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctime" "ac_cv_member_struct_stat_st_ctime" "#ifdef HAVE_SYS_TYPES_H
8059 #include <sys/types.h>
8061 #ifdef HAVE_SYS_STAT_H
8062 #include <sys/stat.h>
8065 if test "x$ac_cv_member_struct_stat_st_ctime" = xyes
; then :
8067 cat >>confdefs.h
<<_ACEOF
8068 #define HAVE_STRUCT_STAT_ST_CTIME 1
8075 ac_fn_c_check_type
"$LINENO" "__int128" "ac_cv_type___int128" "$ac_includes_default"
8076 if test "x$ac_cv_type___int128" = xyes
; then :
8078 cat >>confdefs.h
<<_ACEOF
8079 #define HAVE___INT128 1
8085 ac_fn_c_check_type
"$LINENO" "socklen_t" "ac_cv_type_socklen_t" "#include <sys/types.h>
8086 #include <sys/socket.h>
8089 if test "x$ac_cv_type_socklen_t" = xyes
; then :
8091 cat >>confdefs.h
<<_ACEOF
8092 #define HAVE_SOCKLEN_T 1
8099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking type of array argument to getgroups" >&5
8100 $as_echo_n "checking type of array argument to getgroups... " >&6; }
8101 if ${ac_cv_type_getgroups+:} false
; then :
8102 $as_echo_n "(cached) " >&6
8104 if test "$cross_compiling" = yes; then :
8105 ac_cv_type_getgroups
=cross
8107 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8108 /* end confdefs.h. */
8109 /* Thanks to Mike Rendell for this test. */
8110 $ac_includes_default
8113 #define MAX(x, y) ((x) > (y) ? (x) : (y))
8120 union { gid_t gval; long int lval; } val;
8123 for (i = 0; i < NGID; i++)
8124 gidset[i] = val.gval;
8125 n = getgroups (sizeof (gidset) / MAX (sizeof (int), sizeof (gid_t)) - 1,
8127 /* Exit non-zero if getgroups seems to require an array of ints. This
8128 happens when gid_t is short int but getgroups modifies an array
8130 return n > 0 && gidset[n] != val.gval;
8133 if ac_fn_c_try_run
"$LINENO"; then :
8134 ac_cv_type_getgroups
=gid_t
8136 ac_cv_type_getgroups
=int
8138 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
8139 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
8142 if test $ac_cv_type_getgroups = cross
; then
8143 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8144 /* end confdefs.h. */
8148 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8149 $EGREP "getgroups.*int.*gid_t" >/dev
/null
2>&1; then :
8150 ac_cv_type_getgroups
=gid_t
8152 ac_cv_type_getgroups
=int
8158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_getgroups" >&5
8159 $as_echo "$ac_cv_type_getgroups" >&6; }
8161 cat >>confdefs.h
<<_ACEOF
8162 #define GETGROUPS_T $ac_cv_type_getgroups
8166 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
8167 if test "x$ac_cv_type_mode_t" = xyes
; then :
8171 cat >>confdefs.h
<<_ACEOF
8177 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
8178 if test "x$ac_cv_type_off_t" = xyes
; then :
8182 cat >>confdefs.h
<<_ACEOF
8183 #define off_t long int
8188 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
8189 if test "x$ac_cv_type_pid_t" = xyes
; then :
8193 cat >>confdefs.h
<<_ACEOF
8199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
8200 $as_echo_n "checking return type of signal handlers... " >&6; }
8201 if ${ac_cv_type_signal+:} false
; then :
8202 $as_echo_n "(cached) " >&6
8204 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8205 /* end confdefs.h. */
8206 #include <sys/types.h>
8212 return *(signal (0, 0)) (0) == 1;
8217 if ac_fn_c_try_compile
"$LINENO"; then :
8218 ac_cv_type_signal
=int
8220 ac_cv_type_signal
=void
8222 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
8225 $as_echo "$ac_cv_type_signal" >&6; }
8227 cat >>confdefs.h
<<_ACEOF
8228 #define RETSIGTYPE $ac_cv_type_signal
8232 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
8233 if test "x$ac_cv_type_size_t" = xyes
; then :
8237 cat >>confdefs.h
<<_ACEOF
8238 #define size_t unsigned int
8243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
8244 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
8245 if ${ac_cv_type_uid_t+:} false
; then :
8246 $as_echo_n "(cached) " >&6
8248 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8249 /* end confdefs.h. */
8250 #include <sys/types.h>
8253 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8254 $EGREP "uid_t" >/dev
/null
2>&1; then :
8255 ac_cv_type_uid_t
=yes
8262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
8263 $as_echo "$ac_cv_type_uid_t" >&6; }
8264 if test $ac_cv_type_uid_t = no
; then
8266 $as_echo "#define uid_t int" >>confdefs.h
8269 $as_echo "#define gid_t int" >>confdefs.h
8275 # If we haven't got the data from the intl directory,
8276 # assume NLS is disabled.
8285 if test -f ..
/intl
/config.intl
; then
8286 . ..
/intl
/config.intl
8288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
8289 $as_echo_n "checking whether NLS is requested... " >&6; }
8290 if test x
"$USE_NLS" != xyes
; then
8291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8292 $as_echo "no" >&6; }
8294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8295 $as_echo "yes" >&6; }
8297 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
8300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
8301 $as_echo_n "checking for catalogs to be installed... " >&6; }
8302 # Look for .po and .gmo files in the source directory.
8305 for cat in $srcdir/po
/*.gmo
$srcdir/po
/*.po
; do
8306 # If there aren't any .gmo files the shell will give us the
8307 # literal string "../path/to/srcdir/po/*.gmo" which has to be
8309 case "$cat" in *\
**)
8312 # The quadruple backslash is collapsed to a double backslash
8313 # by the backticks, then collapsed again by the double quotes,
8314 # leaving us with one backslash in the sed expression (right
8315 # before the dot that mustn't act as a wildcard).
8316 cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
8317 lang
=`echo $cat | sed -e "s!\\\\.gmo!!"`
8318 # The user is allowed to set LINGUAS to a list of languages to
8319 # install catalogs for. If it's empty that means "all of them."
8320 if test "x$LINGUAS" = x
; then
8321 CATALOGS
="$CATALOGS $cat"
8322 XLINGUAS
="$XLINGUAS $lang"
8324 case "$LINGUAS" in *$lang*)
8325 CATALOGS
="$CATALOGS $cat"
8326 XLINGUAS
="$XLINGUAS $lang"
8332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
8333 $as_echo "$LINGUAS" >&6; }
8347 # Use the system's zlib library.
8348 zlibdir
="-L\$(top_builddir)/../zlib"
8349 zlibinc
="-I\$(top_srcdir)/../zlib"
8351 # Check whether --with-system-zlib was given.
8352 if test "${with_system_zlib+set}" = set; then :
8353 withval
=$with_system_zlib; if test x
$with_system_zlib = xyes
; then
8366 for ac_header
in dlfcn.h
8368 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8370 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
8371 cat >>confdefs.h
<<_ACEOF
8372 #define HAVE_DLFCN_H 1
8379 for ac_header
in windows.h
8381 ac_fn_c_check_header_compile
"$LINENO" "windows.h" "ac_cv_header_windows_h" "$ac_includes_default
8383 if test "x$ac_cv_header_windows_h" = xyes
; then :
8384 cat >>confdefs.h
<<_ACEOF
8385 #define HAVE_WINDOWS_H 1
8393 # Check whether --enable-plugins was given.
8394 if test "${enable_plugins+set}" = set; then :
8395 enableval
=$enable_plugins; case "${enableval}" in
8398 if test "$maybe_plugins" != "yes" ; then
8399 as_fn_error $?
"Building with plugin support requires a host that supports dlopen." "$LINENO" 5
8403 plugins
=$maybe_plugins
8407 if test "$plugins" = "yes"; then
8408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlsym" >&5
8409 $as_echo_n "checking for library containing dlsym... " >&6; }
8410 if ${ac_cv_search_dlsym+:} false
; then :
8411 $as_echo_n "(cached) " >&6
8413 ac_func_search_save_LIBS
=$LIBS
8414 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8415 /* end confdefs.h. */
8417 /* Override any GCC internal prototype to avoid an error.
8418 Use char because int might match the return type of a GCC
8419 builtin and then its argument prototype would still apply. */
8432 for ac_lib
in '' dl
; do
8433 if test -z "$ac_lib"; then
8434 ac_res
="none required"
8437 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
8439 if ac_fn_c_try_link
"$LINENO"; then :
8440 ac_cv_search_dlsym
=$ac_res
8442 rm -f core conftest.err conftest.
$ac_objext \
8444 if ${ac_cv_search_dlsym+:} false
; then :
8448 if ${ac_cv_search_dlsym+:} false
; then :
8451 ac_cv_search_dlsym
=no
8454 LIBS
=$ac_func_search_save_LIBS
8456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlsym" >&5
8457 $as_echo "$ac_cv_search_dlsym" >&6; }
8458 ac_res
=$ac_cv_search_dlsym
8459 if test "$ac_res" != no
; then :
8460 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
8466 if test "$plugins" = yes; then
8487 # Check whether --enable-shared was given.
8488 if test "${enable_shared+set}" = set; then :
8489 enableval
=$enable_shared; p
=${PACKAGE-default}
8491 yes) enable_shared
=yes ;;
8492 no
) enable_shared
=no
;;
8495 # Look at the argument we got. We use all the common list separators.
8496 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8497 for pkg
in $enableval; do
8499 if test "X$pkg" = "X$p"; then
8518 # Check whether --enable-static was given.
8519 if test "${enable_static+set}" = set; then :
8520 enableval
=$enable_static; p
=${PACKAGE-default}
8522 yes) enable_static
=yes ;;
8523 no
) enable_static
=no
;;
8526 # Look at the argument we got. We use all the common list separators.
8527 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8528 for pkg
in $enableval; do
8530 if test "X$pkg" = "X$p"; then
8550 # Check whether --with-pic was given.
8551 if test "${with_pic+set}" = set; then :
8552 withval
=$with_pic; pic_mode
="$withval"
8558 test -z "$pic_mode" && pic_mode
=default
8566 # Check whether --enable-fast-install was given.
8567 if test "${enable_fast_install+set}" = set; then :
8568 enableval
=$enable_fast_install; p
=${PACKAGE-default}
8570 yes) enable_fast_install
=yes ;;
8571 no
) enable_fast_install
=no
;;
8573 enable_fast_install
=no
8574 # Look at the argument we got. We use all the common list separators.
8575 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8576 for pkg
in $enableval; do
8578 if test "X$pkg" = "X$p"; then
8579 enable_fast_install
=yes
8586 enable_fast_install
=yes
8599 # This can be used to rebuild libtool when needed
8600 LIBTOOL_DEPS
="$ltmain"
8602 # Always use our own libtool.
8603 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
8630 test -z "$LN_S" && LN_S
="ln -s"
8645 if test -n "${ZSH_VERSION+set}" ; then
8646 setopt NO_GLOB_SUBST
8649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8650 $as_echo_n "checking for objdir... " >&6; }
8651 if ${lt_cv_objdir+:} false
; then :
8652 $as_echo_n "(cached) " >&6
8654 rm -f .libs
2>/dev
/null
8655 mkdir .libs
2>/dev
/null
8656 if test -d .libs
; then
8659 # MS-DOS does not allow filenames that begin with a dot.
8662 rmdir .libs
2>/dev
/null
8664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8665 $as_echo "$lt_cv_objdir" >&6; }
8666 objdir
=$lt_cv_objdir
8672 cat >>confdefs.h
<<_ACEOF
8673 #define LT_OBJDIR "$lt_cv_objdir/"
8681 # AIX sometimes has problems with the GCC collect2 program. For some
8682 # reason, if we set the COLLECT_NAMES environment variable, the problems
8683 # vanish in a puff of smoke.
8684 if test "X${COLLECT_NAMES+set}" != Xset
; then
8686 export COLLECT_NAMES
8693 can_build_shared
=yes
8695 # All known linkers require a `.a' archive for static linking (except MSVC,
8696 # which needs '.lib').
8699 with_gnu_ld
="$lt_cv_prog_gnu_ld"
8702 old_CFLAGS
="$CFLAGS"
8704 # Set sane defaults for various variables
8705 test -z "$CC" && CC
=cc
8706 test -z "$LTCC" && LTCC
=$CC
8707 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
8708 test -z "$LD" && LD
=ld
8709 test -z "$ac_objext" && ac_objext
=o
8711 for cc_temp
in $compiler""; do
8713 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
8714 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
8719 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8722 # Only perform the check for file, if the check method requires it
8723 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
8724 case $deplibs_check_method in
8726 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8728 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8729 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
8730 $as_echo_n "(cached) " >&6
8734 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8737 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8738 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8739 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8740 for ac_dir
in $ac_dummy; do
8742 test -z "$ac_dir" && ac_dir
=.
8743 if test -f $ac_dir/${ac_tool_prefix}file; then
8744 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
8745 if test -n "$file_magic_test_file"; then
8746 case $deplibs_check_method in
8748 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8749 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8750 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8751 $EGREP "$file_magic_regex" > /dev
/null
; then
8756 *** Warning: the command libtool uses to detect shared libraries,
8757 *** $file_magic_cmd, produces output that libtool cannot recognize.
8758 *** The result is that libtool may fail to recognize shared libraries
8759 *** as such. This will affect the creation of libtool libraries that
8760 *** depend on shared libraries, but programs linked with such libtool
8761 *** libraries will work regardless of this problem. Nevertheless, you
8762 *** may want to report the problem to your system manager and/or to
8763 *** bug-libtool@gnu.org
8773 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8778 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8779 if test -n "$MAGIC_CMD"; then
8780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8781 $as_echo "$MAGIC_CMD" >&6; }
8783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8784 $as_echo "no" >&6; }
8791 if test -z "$lt_cv_path_MAGIC_CMD"; then
8792 if test -n "$ac_tool_prefix"; then
8793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8794 $as_echo_n "checking for file... " >&6; }
8795 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
8796 $as_echo_n "(cached) " >&6
8800 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8803 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8804 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8805 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8806 for ac_dir
in $ac_dummy; do
8808 test -z "$ac_dir" && ac_dir
=.
8809 if test -f $ac_dir/file; then
8810 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
8811 if test -n "$file_magic_test_file"; then
8812 case $deplibs_check_method in
8814 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8815 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8816 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8817 $EGREP "$file_magic_regex" > /dev
/null
; then
8822 *** Warning: the command libtool uses to detect shared libraries,
8823 *** $file_magic_cmd, produces output that libtool cannot recognize.
8824 *** The result is that libtool may fail to recognize shared libraries
8825 *** as such. This will affect the creation of libtool libraries that
8826 *** depend on shared libraries, but programs linked with such libtool
8827 *** libraries will work regardless of this problem. Nevertheless, you
8828 *** may want to report the problem to your system manager and/or to
8829 *** bug-libtool@gnu.org
8839 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8844 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8845 if test -n "$MAGIC_CMD"; then
8846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8847 $as_echo "$MAGIC_CMD" >&6; }
8849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8850 $as_echo "no" >&6; }
8863 # Use C for the default configuration in the libtool script
8867 ac_cpp
='$CPP $CPPFLAGS'
8868 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8869 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8870 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8873 # Source file extension for C test sources.
8876 # Object file extension for compiled C test sources.
8880 # Code to be used in simple compile tests
8881 lt_simple_compile_test_code
="int some_variable = 0;"
8883 # Code to be used in simple link tests
8884 lt_simple_link_test_code
='int main(){return(0);}'
8892 # If no C compiler was specified, use CC.
8895 # If no C compiler flags were specified, use CFLAGS.
8896 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8898 # Allow CC to be a program name with arguments.
8901 # Save the default compiler, since it gets overwritten when the other
8902 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8903 compiler_DEFAULT
=$CC
8905 # save warnings/boilerplate of simple test code
8906 ac_outfile
=conftest.
$ac_objext
8907 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
8908 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8909 _lt_compiler_boilerplate
=`cat conftest.err`
8912 ac_outfile
=conftest.
$ac_objext
8913 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
8914 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8915 _lt_linker_boilerplate
=`cat conftest.err`
8920 ## There is no encapsulation within the following macros, do not change
8921 ## the running order or otherwise move them around unless you know exactly
8922 ## what you are doing...
8923 if test -n "$compiler"; then
8925 lt_prog_compiler_no_builtin_flag
=
8927 if test "$GCC" = yes; then
8928 case $cc_basename in
8930 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
8932 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
8935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8936 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8937 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
8938 $as_echo_n "(cached) " >&6
8940 lt_cv_prog_compiler_rtti_exceptions
=no
8941 ac_outfile
=conftest.
$ac_objext
8942 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8943 lt_compiler_flag
="-fno-rtti -fno-exceptions"
8944 # Insert the option either (1) after the last *FLAGS variable, or
8945 # (2) before a word containing "conftest.", or (3) at the end.
8946 # Note that $ac_compile itself does not contain backslashes and begins
8947 # with a dollar sign (not a hyphen), so the echo should work correctly.
8948 # The option is referenced via a variable to avoid confusing sed.
8949 lt_compile
=`echo "$ac_compile" | $SED \
8950 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8951 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8952 -e 's:$: $lt_compiler_flag:'`
8953 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8954 (eval "$lt_compile" 2>conftest.err
)
8956 cat conftest.err
>&5
8957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8958 if (exit $ac_status) && test -s "$ac_outfile"; then
8959 # The compiler can only warn and ignore the option if not recognized
8960 # So say no if there are warnings other than the usual output.
8961 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8962 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8963 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8964 lt_cv_prog_compiler_rtti_exceptions
=yes
8970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8971 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8973 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
8974 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8986 lt_prog_compiler_wl
=
8987 lt_prog_compiler_pic
=
8988 lt_prog_compiler_static
=
8990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8991 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8993 if test "$GCC" = yes; then
8994 lt_prog_compiler_wl
='-Wl,'
8995 lt_prog_compiler_static
='-static'
8999 # All AIX code is PIC.
9000 if test "$host_cpu" = ia64
; then
9001 # AIX 5 now supports IA64 processor
9002 lt_prog_compiler_static
='-Bstatic'
9004 lt_prog_compiler_pic
='-fPIC'
9010 # see comment about AmigaOS4 .so support
9011 lt_prog_compiler_pic
='-fPIC'
9014 # FIXME: we need at least 68020 code to build shared libraries, but
9015 # adding the `-m68020' flag to GCC prevents building anything better,
9017 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
9022 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
9023 # PIC is the default for these OSes.
9026 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9027 # This hack is so that the source file can tell whether it is being
9028 # built for inclusion in a dll (and should export symbols for example).
9029 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9030 # (--disable-auto-import) libraries
9031 lt_prog_compiler_pic
='-DDLL_EXPORT'
9034 darwin
* | rhapsody
*)
9035 # PIC is the default on this platform
9036 # Common symbols not allowed in MH_DYLIB files
9037 lt_prog_compiler_pic
='-fno-common'
9041 # PIC is the default for Haiku.
9042 # The "-static" flag exists, but is broken.
9043 lt_prog_compiler_static
=
9047 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9048 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9049 # sets the default TLS model and affects inlining.
9055 lt_prog_compiler_pic
='-fPIC'
9061 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9062 # Instead, we relocate shared libraries at runtime.
9066 # Just because we use GCC doesn't mean we suddenly get shared libraries
9067 # on systems that don't support them.
9068 lt_prog_compiler_can_build_shared
=no
9073 # QNX uses GNU C++, but need to define -shared option too, otherwise
9075 lt_prog_compiler_pic
='-fPIC -shared'
9079 if test -d /usr
/nec
; then
9080 lt_prog_compiler_pic
=-Kconform_pic
9085 lt_prog_compiler_pic
='-fPIC'
9089 case $cc_basename in
9090 nvcc
*) # Cuda Compiler Driver 2.2
9091 lt_prog_compiler_wl
='-Xlinker '
9092 lt_prog_compiler_pic
='-Xcompiler -fPIC'
9096 # PORTME Check for flag to pass linker flags through the system compiler.
9099 lt_prog_compiler_wl
='-Wl,'
9100 if test "$host_cpu" = ia64
; then
9101 # AIX 5 now supports IA64 processor
9102 lt_prog_compiler_static
='-Bstatic'
9104 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
9108 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9109 # This hack is so that the source file can tell whether it is being
9110 # built for inclusion in a dll (and should export symbols for example).
9111 lt_prog_compiler_pic
='-DDLL_EXPORT'
9114 hpux9
* | hpux10
* | hpux11
*)
9115 lt_prog_compiler_wl
='-Wl,'
9116 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9123 lt_prog_compiler_pic
='+Z'
9126 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9127 lt_prog_compiler_static
='${wl}-a ${wl}archive'
9130 irix5
* | irix6
* | nonstopux
*)
9131 lt_prog_compiler_wl
='-Wl,'
9132 # PIC (with -KPIC) is the default.
9133 lt_prog_compiler_static
='-non_shared'
9136 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9137 case $cc_basename in
9138 # old Intel for x86_64 which still supported -KPIC.
9140 lt_prog_compiler_wl
='-Wl,'
9141 lt_prog_compiler_pic
='-KPIC'
9142 lt_prog_compiler_static
='-static'
9144 # icc used to be incompatible with GCC.
9145 # ICC 10 doesn't accept -KPIC any more.
9147 lt_prog_compiler_wl
='-Wl,'
9148 lt_prog_compiler_pic
='-fPIC'
9149 lt_prog_compiler_static
='-static'
9151 # Lahey Fortran 8.1.
9153 lt_prog_compiler_wl
='-Wl,'
9154 lt_prog_compiler_pic
='--shared'
9155 lt_prog_compiler_static
='--static'
9157 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9158 # Portland Group compilers (*not* the Pentium gcc compiler,
9159 # which looks to be a dead project)
9160 lt_prog_compiler_wl
='-Wl,'
9161 lt_prog_compiler_pic
='-fpic'
9162 lt_prog_compiler_static
='-Bstatic'
9165 lt_prog_compiler_wl
='-Wl,'
9166 # All Alpha code is PIC.
9167 lt_prog_compiler_static
='-non_shared'
9169 xl
* | bgxl
* | bgf
* | mpixl
*)
9170 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9171 lt_prog_compiler_wl
='-Wl,'
9172 lt_prog_compiler_pic
='-qpic'
9173 lt_prog_compiler_static
='-qstaticlink'
9176 case `$CC -V 2>&1 | sed 5q` in
9177 *Sun\ F
* |
*Sun
*Fortran
*)
9178 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9179 lt_prog_compiler_pic
='-KPIC'
9180 lt_prog_compiler_static
='-Bstatic'
9181 lt_prog_compiler_wl
=''
9185 lt_prog_compiler_pic
='-KPIC'
9186 lt_prog_compiler_static
='-Bstatic'
9187 lt_prog_compiler_wl
='-Wl,'
9195 lt_prog_compiler_pic
='-KPIC'
9196 lt_prog_compiler_static
='-Bstatic'
9200 # QNX uses GNU C++, but need to define -shared option too, otherwise
9202 lt_prog_compiler_pic
='-fPIC -shared'
9205 osf3
* | osf4
* | osf5
*)
9206 lt_prog_compiler_wl
='-Wl,'
9207 # All OSF/1 code is PIC.
9208 lt_prog_compiler_static
='-non_shared'
9212 lt_prog_compiler_static
='-non_shared'
9216 lt_prog_compiler_pic
='-KPIC'
9217 lt_prog_compiler_static
='-Bstatic'
9218 case $cc_basename in
9220 lt_prog_compiler_wl
='-Qoption ld ';;
9222 lt_prog_compiler_wl
='-Wl,';;
9227 lt_prog_compiler_wl
='-Qoption ld '
9228 lt_prog_compiler_pic
='-PIC'
9229 lt_prog_compiler_static
='-Bstatic'
9232 sysv4 | sysv4.2uw2
* | sysv4.3
*)
9233 lt_prog_compiler_wl
='-Wl,'
9234 lt_prog_compiler_pic
='-KPIC'
9235 lt_prog_compiler_static
='-Bstatic'
9239 if test -d /usr
/nec
;then
9240 lt_prog_compiler_pic
='-Kconform_pic'
9241 lt_prog_compiler_static
='-Bstatic'
9245 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
9246 lt_prog_compiler_wl
='-Wl,'
9247 lt_prog_compiler_pic
='-KPIC'
9248 lt_prog_compiler_static
='-Bstatic'
9252 lt_prog_compiler_wl
='-Wl,'
9253 lt_prog_compiler_can_build_shared
=no
9257 lt_prog_compiler_pic
='-pic'
9258 lt_prog_compiler_static
='-Bstatic'
9262 lt_prog_compiler_can_build_shared
=no
9268 # For platforms which do not support PIC, -DPIC is meaningless:
9270 lt_prog_compiler_pic
=
9273 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
9276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9277 $as_echo "$lt_prog_compiler_pic" >&6; }
9285 # Check to make sure the PIC flag actually works.
9287 if test -n "$lt_prog_compiler_pic"; then
9288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9289 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9290 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
9291 $as_echo_n "(cached) " >&6
9293 lt_cv_prog_compiler_pic_works
=no
9294 ac_outfile
=conftest.
$ac_objext
9295 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9296 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
9297 # Insert the option either (1) after the last *FLAGS variable, or
9298 # (2) before a word containing "conftest.", or (3) at the end.
9299 # Note that $ac_compile itself does not contain backslashes and begins
9300 # with a dollar sign (not a hyphen), so the echo should work correctly.
9301 # The option is referenced via a variable to avoid confusing sed.
9302 lt_compile
=`echo "$ac_compile" | $SED \
9303 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9304 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9305 -e 's:$: $lt_compiler_flag:'`
9306 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9307 (eval "$lt_compile" 2>conftest.err
)
9309 cat conftest.err
>&5
9310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9311 if (exit $ac_status) && test -s "$ac_outfile"; then
9312 # The compiler can only warn and ignore the option if not recognized
9313 # So say no if there are warnings other than the usual output.
9314 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
9315 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9316 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9317 lt_cv_prog_compiler_pic_works
=yes
9323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9324 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9326 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
9327 case $lt_prog_compiler_pic in
9329 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
9332 lt_prog_compiler_pic
=
9333 lt_prog_compiler_can_build_shared
=no
9344 # Check to make sure the static flag actually works.
9346 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
9347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9348 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9349 if ${lt_cv_prog_compiler_static_works+:} false
; then :
9350 $as_echo_n "(cached) " >&6
9352 lt_cv_prog_compiler_static_works
=no
9353 save_LDFLAGS
="$LDFLAGS"
9354 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
9355 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9356 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9357 # The linker can only warn and ignore the option if not recognized
9358 # So say no if there are warnings
9359 if test -s conftest.err
; then
9360 # Append any errors to the config.log.
9361 cat conftest.err
1>&5
9362 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9363 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9364 if diff conftest.exp conftest.er2
>/dev
/null
; then
9365 lt_cv_prog_compiler_static_works
=yes
9368 lt_cv_prog_compiler_static_works
=yes
9372 LDFLAGS
="$save_LDFLAGS"
9375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9376 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9378 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
9381 lt_prog_compiler_static
=
9390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9391 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9392 if ${lt_cv_prog_compiler_c_o+:} false
; then :
9393 $as_echo_n "(cached) " >&6
9395 lt_cv_prog_compiler_c_o
=no
9396 $RM -r conftest
2>/dev
/null
9400 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9402 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9403 # Insert the option either (1) after the last *FLAGS variable, or
9404 # (2) before a word containing "conftest.", or (3) at the end.
9405 # Note that $ac_compile itself does not contain backslashes and begins
9406 # with a dollar sign (not a hyphen), so the echo should work correctly.
9407 lt_compile
=`echo "$ac_compile" | $SED \
9408 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9409 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9410 -e 's:$: $lt_compiler_flag:'`
9411 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9412 (eval "$lt_compile" 2>out
/conftest.err
)
9414 cat out
/conftest.err
>&5
9415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9416 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9418 # The compiler can only warn and ignore the option if not recognized
9419 # So say no if there are warnings
9420 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9421 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9422 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9423 lt_cv_prog_compiler_c_o
=yes
9428 # SGI C++ compiler will create directory out/ii_files/ for
9429 # template instantiation
9430 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9431 $RM out
/* && rmdir out
9437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9438 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9446 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9447 if ${lt_cv_prog_compiler_c_o+:} false
; then :
9448 $as_echo_n "(cached) " >&6
9450 lt_cv_prog_compiler_c_o
=no
9451 $RM -r conftest
2>/dev
/null
9455 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9457 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9458 # Insert the option either (1) after the last *FLAGS variable, or
9459 # (2) before a word containing "conftest.", or (3) at the end.
9460 # Note that $ac_compile itself does not contain backslashes and begins
9461 # with a dollar sign (not a hyphen), so the echo should work correctly.
9462 lt_compile
=`echo "$ac_compile" | $SED \
9463 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9464 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9465 -e 's:$: $lt_compiler_flag:'`
9466 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9467 (eval "$lt_compile" 2>out
/conftest.err
)
9469 cat out
/conftest.err
>&5
9470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9471 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9473 # The compiler can only warn and ignore the option if not recognized
9474 # So say no if there are warnings
9475 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9476 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9477 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9478 lt_cv_prog_compiler_c_o
=yes
9483 # SGI C++ compiler will create directory out/ii_files/ for
9484 # template instantiation
9485 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9486 $RM out
/* && rmdir out
9492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9493 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9498 hard_links
="nottested"
9499 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
9500 # do not overwrite the value of need_locks provided by the user
9501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9502 $as_echo_n "checking if we can lock with hard links... " >&6; }
9505 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9507 ln conftest.a conftest.b
2>&5 || hard_links
=no
9508 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9510 $as_echo "$hard_links" >&6; }
9511 if test "$hard_links" = no
; then
9512 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9513 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9526 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9529 allow_undefined_flag
=
9530 always_export_symbols
=no
9532 archive_expsym_cmds
=
9533 compiler_needs_object
=no
9534 enable_shared_with_static_runtimes
=no
9535 export_dynamic_flag_spec
=
9536 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9537 hardcode_automatic
=no
9539 hardcode_direct_absolute
=no
9540 hardcode_libdir_flag_spec
=
9541 hardcode_libdir_flag_spec_ld
=
9542 hardcode_libdir_separator
=
9544 hardcode_shlibpath_var
=unsupported
9546 link_all_deplibs
=unknown
9549 old_archive_from_new_cmds
=
9550 old_archive_from_expsyms_cmds
=
9551 thread_safe_flag_spec
=
9552 whole_archive_flag_spec
=
9553 # include_expsyms should be a list of space-separated symbols to be *always*
9554 # included in the symbol list
9556 # exclude_expsyms can be an extended regexp of symbols to exclude
9557 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9558 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9559 # as well as any symbol that contains `d'.
9560 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9561 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9562 # platforms (ab)use it in PIC code, but their linkers get confused if
9563 # the symbol is explicitly referenced. Since portable code cannot
9564 # rely on this symbol name, it's probably fine to never include it in
9565 # preloaded symbol tables.
9566 # Exclude shared library initialization/finalization symbols.
9567 extract_expsyms_cmds
=
9570 cygwin
* | mingw
* | pw32
* | cegcc
*)
9571 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9572 # When not using gcc, we currently assume that we are using
9573 # Microsoft Visual C++.
9574 if test "$GCC" != yes; then
9579 # we just hope/assume this is gcc and not c89 (= MSVC++)
9589 # On some targets, GNU ld is compatible enough with the native linker
9590 # that we're better off using the native interface for both.
9591 lt_use_gnu_ld_interface
=no
9592 if test "$with_gnu_ld" = yes; then
9595 # The AIX port of GNU ld has always aspired to compatibility
9596 # with the native linker. However, as the warning in the GNU ld
9597 # block says, versions before 2.19.5* couldn't really create working
9598 # shared libraries, regardless of the interface used.
9599 case `$LD -v 2>&1` in
9600 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
9601 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
9602 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
9604 lt_use_gnu_ld_interface
=yes
9609 lt_use_gnu_ld_interface
=yes
9614 if test "$lt_use_gnu_ld_interface" = yes; then
9615 # If archive_cmds runs LD, not CC, wlarc should be empty
9618 # Set some defaults for GNU ld with shared library support. These
9619 # are reset later if shared libraries are not supported. Putting them
9620 # here allows them to be overridden if necessary.
9621 runpath_var
=LD_RUN_PATH
9622 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9623 export_dynamic_flag_spec
='${wl}--export-dynamic'
9624 # ancient GNU ld didn't support --whole-archive et. al.
9625 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
9626 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9628 whole_archive_flag_spec
=
9630 supports_anon_versioning
=no
9631 case `$LD -v 2>&1` in
9632 *GNU\ gold
*) supports_anon_versioning
=yes ;;
9633 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
9634 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
9635 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
9636 *\
2.11.
*) ;; # other 2.11 versions
9637 *) supports_anon_versioning
=yes ;;
9640 # See if GNU ld supports shared libraries.
9643 # On AIX/PPC, the GNU linker is very broken
9644 if test "$host_cpu" != ia64
; then
9648 *** Warning: the GNU linker, at least up to release 2.19, is reported
9649 *** to be unable to reliably create shared libraries on AIX.
9650 *** Therefore, libtool is disabling shared libraries support. If you
9651 *** really care for shared libraries, you may want to install binutils
9652 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9653 *** You will then need to restart the configuration process.
9662 # see comment about AmigaOS4 .so support
9663 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9664 archive_expsym_cmds
=''
9667 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)'
9668 hardcode_libdir_flag_spec
='-L$libdir'
9669 hardcode_minus_L
=yes
9675 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9676 allow_undefined_flag
=unsupported
9677 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9678 # support --undefined. This deserves some investigation. FIXME
9679 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9685 cygwin
* | mingw
* | pw32
* | cegcc
*)
9686 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9687 # as there is no search path for DLLs.
9688 hardcode_libdir_flag_spec
='-L$libdir'
9689 export_dynamic_flag_spec
='${wl}--export-all-symbols'
9690 allow_undefined_flag
=unsupported
9691 always_export_symbols
=no
9692 enable_shared_with_static_runtimes
=yes
9693 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9695 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
9696 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9697 # If the export-symbols file already is a .def file (1st line
9698 # is EXPORTS), use it as is; otherwise, prepend...
9699 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9700 cp $export_symbols $output_objdir/$soname.def;
9702 echo EXPORTS > $output_objdir/$soname.def;
9703 cat $export_symbols >> $output_objdir/$soname.def;
9705 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9712 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9713 link_all_deplibs
=yes
9718 hardcode_shlibpath_var
=no
9719 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9720 export_dynamic_flag_spec
='${wl}-E'
9721 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9722 # Instead, shared libraries are loaded at an image base (0x10000000 by
9723 # default) and relocated if they conflict, which is a slow very memory
9724 # consuming and fragmenting process. To avoid this, we pick a random,
9725 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9726 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9727 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9728 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'
9731 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9733 if test "$host_os" = linux-dietlibc
; then
9734 case $cc_basename in
9735 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9738 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
9739 && test "$tmp_diet" = no
9741 tmp_addflag
=' $pic_flag'
9742 tmp_sharedflag
='-shared'
9743 case $cc_basename,$host_cpu in
9744 pgcc
*) # Portland Group C compiler
9745 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'
9746 tmp_addflag
=' $pic_flag'
9748 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9749 # Portland Group f77 and f90 compilers
9750 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'
9751 tmp_addflag
=' $pic_flag -Mnomain' ;;
9752 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9753 tmp_addflag
=' -i_dynamic' ;;
9754 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9755 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9756 ifc
* | ifort
*) # Intel Fortran compiler
9757 tmp_addflag
=' -nofor_main' ;;
9758 lf95
*) # Lahey Fortran 8.1
9759 whole_archive_flag_spec
=
9760 tmp_sharedflag
='--shared' ;;
9761 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9762 tmp_sharedflag
='-qmkshrobj'
9764 nvcc
*) # Cuda Compiler Driver 2.2
9765 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'
9766 compiler_needs_object
=yes
9769 case `$CC -V 2>&1 | sed 5q` in
9770 *Sun\ C
*) # Sun C 5.9
9771 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'
9772 compiler_needs_object
=yes
9773 tmp_sharedflag
='-G' ;;
9774 *Sun\ F
*) # Sun Fortran 8.3
9775 tmp_sharedflag
='-G' ;;
9777 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9779 if test "x$supports_anon_versioning" = xyes
; then
9780 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9781 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9782 echo "local: *; };" >> $output_objdir/$libname.ver~
9783 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9786 case $cc_basename in
9787 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
9788 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9789 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9790 hardcode_libdir_flag_spec
=
9791 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
9792 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9793 if test "x$supports_anon_versioning" = xyes
; then
9794 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9795 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9796 echo "local: *; };" >> $output_objdir/$libname.ver~
9797 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9807 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9808 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9811 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9812 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9817 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
9821 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9822 *** create shared libraries on Solaris systems. Therefore, libtool
9823 *** is disabling shared libraries support. We urge you to upgrade GNU
9824 *** binutils to release 2.9.1 or newer. Another option is to modify
9825 *** your PATH or compiler configuration so that the native linker is
9826 *** used, and then restart.
9829 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9830 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9831 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9837 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9838 case `$LD -v 2>&1` in
9839 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9843 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9844 *** reliably create shared libraries on SCO systems. Therefore, libtool
9845 *** is disabling shared libraries support. We urge you to upgrade GNU
9846 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9847 *** your PATH or compiler configuration so that the native linker is
9848 *** used, and then restart.
9853 # For security reasons, it is highly recommended that you always
9854 # use absolute paths for naming shared libraries, and exclude the
9855 # DT_RUNPATH tag from executables and libraries. But doing so
9856 # requires that you compile everything twice, which is a pain.
9857 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9858 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9859 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9860 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9869 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9872 hardcode_shlibpath_var
=no
9876 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9877 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9878 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9885 if test "$ld_shlibs" = no
; then
9887 hardcode_libdir_flag_spec
=
9888 export_dynamic_flag_spec
=
9889 whole_archive_flag_spec
=
9892 # PORTME fill in a description of your system's linker (not GNU ld)
9895 allow_undefined_flag
=unsupported
9896 always_export_symbols
=yes
9897 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'
9898 # Note: this linker hardcodes the directories in LIBPATH if there
9899 # are no directories specified by -L.
9900 hardcode_minus_L
=yes
9901 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9902 # Neither direct hardcoding nor static linking is supported with a
9904 hardcode_direct
=unsupported
9909 if test "$host_cpu" = ia64
; then
9910 # On IA64, the linker does run time linking by default, so we don't
9911 # have to do anything special.
9912 aix_use_runtimelinking
=no
9913 exp_sym_flag
='-Bexport'
9916 # If we're using GNU nm, then we don't want the "-C" option.
9917 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9918 # Also, AIX nm treats weak defined symbols like other global
9919 # defined symbols, whereas GNU nm marks them as "W".
9920 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9921 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'
9923 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'
9925 aix_use_runtimelinking
=no
9927 # Test if we are trying to use run time linking or normal
9928 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9929 # need to do runtime linking.
9930 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9931 for ld_flag
in $LDFLAGS; do
9932 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9933 aix_use_runtimelinking
=yes
9940 exp_sym_flag
='-bexport'
9941 no_entry_flag
='-bnoentry'
9944 # When large executables or shared objects are built, AIX ld can
9945 # have problems creating the table of contents. If linking a library
9946 # or program results in "error TOC overflow" add -mminimal-toc to
9947 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9948 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9952 hardcode_direct_absolute
=yes
9953 hardcode_libdir_separator
=':'
9954 link_all_deplibs
=yes
9955 file_list_spec
='${wl}-f,'
9957 if test "$GCC" = yes; then
9958 case $host_os in aix4.
[012]|aix4.
[012].
*)
9959 # We only want to do this on AIX 4.2 and lower, the check
9960 # below for broken collect2 doesn't work under 4.3+
9961 collect2name
=`${CC} -print-prog-name=collect2`
9962 if test -f "$collect2name" &&
9963 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9965 # We have reworked collect2
9968 # We have old collect2
9969 hardcode_direct
=unsupported
9970 # It fails to find uninstalled libraries when the uninstalled
9971 # path is not listed in the libpath. Setting hardcode_minus_L
9972 # to unsupported forces relinking
9973 hardcode_minus_L
=yes
9974 hardcode_libdir_flag_spec
='-L$libdir'
9975 hardcode_libdir_separator
=
9979 shared_flag
='-shared'
9980 if test "$aix_use_runtimelinking" = yes; then
9981 shared_flag
="$shared_flag "'${wl}-G'
9985 if test "$host_cpu" = ia64
; then
9986 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9987 # chokes on -Wl,-G. The following line is correct:
9990 if test "$aix_use_runtimelinking" = yes; then
9991 shared_flag
='${wl}-G'
9993 shared_flag
='${wl}-bM:SRE'
9998 export_dynamic_flag_spec
='${wl}-bexpall'
9999 # It seems that -bexpall does not export symbols beginning with
10000 # underscore (_), so it is better to generate a list of symbols to export.
10001 always_export_symbols
=yes
10002 if test "$aix_use_runtimelinking" = yes; then
10003 # Warning - without using the other runtime loading flags (-brtl),
10004 # -berok will link without error, but may produce a broken library.
10005 allow_undefined_flag
='-berok'
10006 # Determine the default libpath from the value encoded in an
10007 # empty executable.
10008 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10009 /* end confdefs.h. */
10019 if ac_fn_c_try_link
"$LINENO"; then :
10021 lt_aix_libpath_sed
='
10022 /Import File Strings/,/^$/ {
10028 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10029 # Check for a 64-bit object if we didn't find anything.
10030 if test -z "$aix_libpath"; then
10031 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10034 rm -f core conftest.err conftest.
$ac_objext \
10035 conftest
$ac_exeext conftest.
$ac_ext
10036 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10038 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10039 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"
10041 if test "$host_cpu" = ia64
; then
10042 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
10043 allow_undefined_flag
="-z nodefs"
10044 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"
10046 # Determine the default libpath from the value encoded in an
10047 # empty executable.
10048 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10049 /* end confdefs.h. */
10059 if ac_fn_c_try_link
"$LINENO"; then :
10061 lt_aix_libpath_sed
='
10062 /Import File Strings/,/^$/ {
10068 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10069 # Check for a 64-bit object if we didn't find anything.
10070 if test -z "$aix_libpath"; then
10071 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10074 rm -f core conftest.err conftest.
$ac_objext \
10075 conftest
$ac_exeext conftest.
$ac_ext
10076 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10078 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10079 # Warning - without using the other run time loading flags,
10080 # -berok will link without error, but may produce a broken library.
10081 no_undefined_flag
=' ${wl}-bernotok'
10082 allow_undefined_flag
=' ${wl}-berok'
10083 if test "$with_gnu_ld" = yes; then
10084 # We only use this code for GNU lds that support --whole-archive.
10085 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10087 # Exported symbols can be pulled into shared objects from archives
10088 whole_archive_flag_spec
='$convenience'
10090 archive_cmds_need_lc
=yes
10091 # This is similar to how AIX traditionally builds its shared libraries.
10092 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'
10100 # see comment about AmigaOS4 .so support
10101 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10102 archive_expsym_cmds
=''
10105 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)'
10106 hardcode_libdir_flag_spec
='-L$libdir'
10107 hardcode_minus_L
=yes
10113 export_dynamic_flag_spec
=-rdynamic
10116 cygwin
* | mingw
* | pw32
* | cegcc
*)
10117 # When not using gcc, we currently assume that we are using
10118 # Microsoft Visual C++.
10119 # hardcode_libdir_flag_spec is actually meaningless, as there is
10120 # no search path for DLLs.
10121 hardcode_libdir_flag_spec
=' '
10122 allow_undefined_flag
=unsupported
10123 # Tell ltmain to make .lib files, not .a files.
10125 # Tell ltmain to make .dll files, not .so files.
10127 # FIXME: Setting linknames here is a bad hack.
10128 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10129 # The linker will automatically build a .lib file if we build a DLL.
10130 old_archive_from_new_cmds
='true'
10131 # FIXME: Should let the user specify the lib program.
10132 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
10133 fix_srcfile_path
='`cygpath -w "$srcfile"`'
10134 enable_shared_with_static_runtimes
=yes
10137 darwin
* | rhapsody
*)
10140 archive_cmds_need_lc
=no
10142 hardcode_automatic
=yes
10143 hardcode_shlibpath_var
=unsupported
10144 if test "$lt_cv_ld_force_load" = "yes"; then
10145 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\"`'
10147 whole_archive_flag_spec
=''
10149 link_all_deplibs
=yes
10150 allow_undefined_flag
="$_lt_dar_allow_undefined"
10151 case $cc_basename in
10152 ifort
*) _lt_dar_can_shared
=yes ;;
10153 *) _lt_dar_can_shared
=$GCC ;;
10155 if test "$_lt_dar_can_shared" = "yes"; then
10156 output_verbose_link_cmd
=func_echo_all
10157 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10158 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10159 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}"
10160 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}"
10169 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10170 hardcode_libdir_flag_spec
='-L$libdir'
10171 hardcode_shlibpath_var
=no
10174 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10175 # support. Future versions do this automatically, but an explicit c++rt0.o
10176 # does not break anything, and helps significantly (at the cost of a little
10179 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10180 hardcode_libdir_flag_spec
='-R$libdir'
10181 hardcode_direct
=yes
10182 hardcode_shlibpath_var
=no
10185 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10187 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10188 hardcode_direct
=yes
10189 hardcode_minus_L
=yes
10190 hardcode_shlibpath_var
=no
10193 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10194 freebsd
* | dragonfly
*)
10195 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10196 hardcode_libdir_flag_spec
='-R$libdir'
10197 hardcode_direct
=yes
10198 hardcode_shlibpath_var
=no
10202 if test "$GCC" = yes; then
10203 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'
10205 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'
10207 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10208 hardcode_libdir_separator
=:
10209 hardcode_direct
=yes
10211 # hardcode_minus_L: Not really in the search PATH,
10212 # but as the default location of the library.
10213 hardcode_minus_L
=yes
10214 export_dynamic_flag_spec
='${wl}-E'
10218 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10219 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10221 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10223 if test "$with_gnu_ld" = no
; then
10224 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10225 hardcode_libdir_flag_spec_ld
='+b $libdir'
10226 hardcode_libdir_separator
=:
10227 hardcode_direct
=yes
10228 hardcode_direct_absolute
=yes
10229 export_dynamic_flag_spec
='${wl}-E'
10230 # hardcode_minus_L: Not really in the search PATH,
10231 # but as the default location of the library.
10232 hardcode_minus_L
=yes
10237 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10240 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10243 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10246 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10252 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10255 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10259 # Older versions of the 11.00 compiler do not understand -b yet
10260 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10262 $as_echo_n "checking if $CC understands -b... " >&6; }
10263 if ${lt_cv_prog_compiler__b+:} false
; then :
10264 $as_echo_n "(cached) " >&6
10266 lt_cv_prog_compiler__b
=no
10267 save_LDFLAGS
="$LDFLAGS"
10268 LDFLAGS
="$LDFLAGS -b"
10269 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10270 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10271 # The linker can only warn and ignore the option if not recognized
10272 # So say no if there are warnings
10273 if test -s conftest.err
; then
10274 # Append any errors to the config.log.
10275 cat conftest.err
1>&5
10276 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
10277 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10278 if diff conftest.exp conftest.er2
>/dev
/null
; then
10279 lt_cv_prog_compiler__b
=yes
10282 lt_cv_prog_compiler__b
=yes
10286 LDFLAGS
="$save_LDFLAGS"
10289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10290 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10292 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
10293 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10295 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10301 if test "$with_gnu_ld" = no
; then
10302 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10303 hardcode_libdir_separator
=:
10308 hardcode_shlibpath_var
=no
10311 hardcode_direct
=yes
10312 hardcode_direct_absolute
=yes
10313 export_dynamic_flag_spec
='${wl}-E'
10315 # hardcode_minus_L: Not really in the search PATH,
10316 # but as the default location of the library.
10317 hardcode_minus_L
=yes
10323 irix5
* | irix6
* | nonstopux
*)
10324 if test "$GCC" = yes; then
10325 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'
10326 # Try to use the -exported_symbol ld option, if it does not
10327 # work, assume that -exports_file does not work either and
10328 # implicitly export all symbols.
10329 save_LDFLAGS
="$LDFLAGS"
10330 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10331 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10332 /* end confdefs.h. */
10335 if ac_fn_c_try_link
"$LINENO"; then :
10336 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'
10339 rm -f core conftest.err conftest.
$ac_objext \
10340 conftest
$ac_exeext conftest.
$ac_ext
10341 LDFLAGS
="$save_LDFLAGS"
10343 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'
10344 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'
10346 archive_cmds_need_lc
='no'
10347 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10348 hardcode_libdir_separator
=:
10350 link_all_deplibs
=yes
10354 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10355 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10357 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10359 hardcode_libdir_flag_spec
='-R$libdir'
10360 hardcode_direct
=yes
10361 hardcode_shlibpath_var
=no
10365 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10366 hardcode_direct
=yes
10367 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10368 hardcode_libdir_separator
=:
10369 hardcode_shlibpath_var
=no
10376 if test -f /usr
/libexec
/ld.so
; then
10377 hardcode_direct
=yes
10378 hardcode_shlibpath_var
=no
10379 hardcode_direct_absolute
=yes
10380 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10381 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10382 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10383 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10384 export_dynamic_flag_spec
='${wl}-E'
10387 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
10388 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10389 hardcode_libdir_flag_spec
='-R$libdir'
10392 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10393 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10403 hardcode_libdir_flag_spec
='-L$libdir'
10404 hardcode_minus_L
=yes
10405 allow_undefined_flag
=unsupported
10406 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'
10407 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10411 if test "$GCC" = yes; then
10412 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10413 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'
10415 allow_undefined_flag
=' -expect_unresolved \*'
10416 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'
10418 archive_cmds_need_lc
='no'
10419 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10420 hardcode_libdir_separator
=:
10423 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10424 if test "$GCC" = yes; then
10425 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10426 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'
10427 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10429 allow_undefined_flag
=' -expect_unresolved \*'
10430 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'
10431 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~
10432 $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'
10434 # Both c and cxx compiler support -rpath directly
10435 hardcode_libdir_flag_spec
='-rpath $libdir'
10437 archive_cmds_need_lc
='no'
10438 hardcode_libdir_separator
=:
10442 no_undefined_flag
=' -z defs'
10443 if test "$GCC" = yes; then
10445 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10446 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10447 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10449 case `$CC -V 2>&1` in
10452 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10453 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10454 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10458 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10459 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10460 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10464 hardcode_libdir_flag_spec
='-R$libdir'
10465 hardcode_shlibpath_var
=no
10467 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10469 # The compiler driver will combine and reorder linker options,
10470 # but understands `-z linker_flag'. GCC discards it without `$wl',
10471 # but is careful enough not to reorder.
10472 # Supported since Solaris 2.6 (maybe 2.5.1?)
10473 if test "$GCC" = yes; then
10474 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10476 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10480 link_all_deplibs
=yes
10484 if test "x$host_vendor" = xsequent
; then
10485 # Use $CC to link under sequent, because it throws in some extra .o
10486 # files that make .init and .fini sections work.
10487 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10489 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10491 hardcode_libdir_flag_spec
='-L$libdir'
10492 hardcode_direct
=yes
10493 hardcode_minus_L
=yes
10494 hardcode_shlibpath_var
=no
10498 case $host_vendor in
10500 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10501 hardcode_direct
=yes # is this really true???
10504 ## LD is ld it makes a PLAMLIB
10505 ## CC just makes a GrossModule.
10506 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10507 reload_cmds
='$CC -r -o $output$reload_objs'
10511 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10512 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10515 runpath_var
='LD_RUN_PATH'
10516 hardcode_shlibpath_var
=no
10520 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10521 hardcode_shlibpath_var
=no
10522 export_dynamic_flag_spec
='-Bexport'
10526 if test -d /usr
/nec
; then
10527 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10528 hardcode_shlibpath_var
=no
10529 runpath_var
=LD_RUN_PATH
10530 hardcode_runpath_var
=yes
10535 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10536 no_undefined_flag
='${wl}-z,text'
10537 archive_cmds_need_lc
=no
10538 hardcode_shlibpath_var
=no
10539 runpath_var
='LD_RUN_PATH'
10541 if test "$GCC" = yes; then
10542 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10543 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10545 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10546 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10550 sysv5
* | sco3.2v5
* | sco5v6
*)
10551 # Note: We can NOT use -z defs as we might desire, because we do not
10552 # link with -lc, and that would cause any symbols used from libc to
10553 # always be unresolved, which means just about no library would
10554 # ever link correctly. If we're not using GNU ld we use -z text
10555 # though, which does catch some bad symbols but isn't as heavy-handed
10557 no_undefined_flag
='${wl}-z,text'
10558 allow_undefined_flag
='${wl}-z,nodefs'
10559 archive_cmds_need_lc
=no
10560 hardcode_shlibpath_var
=no
10561 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10562 hardcode_libdir_separator
=':'
10563 link_all_deplibs
=yes
10564 export_dynamic_flag_spec
='${wl}-Bexport'
10565 runpath_var
='LD_RUN_PATH'
10567 if test "$GCC" = yes; then
10568 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10569 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10571 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10572 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10577 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10578 hardcode_libdir_flag_spec
='-L$libdir'
10579 hardcode_shlibpath_var
=no
10587 if test x
$host_vendor = xsni
; then
10589 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10590 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10597 $as_echo "$ld_shlibs" >&6; }
10598 test "$ld_shlibs" = no
&& can_build_shared
=no
10600 with_gnu_ld
=$with_gnu_ld
10617 # Do we need to explicitly link libc?
10619 case "x$archive_cmds_need_lc" in
10621 # Assume -lc should be added
10622 archive_cmds_need_lc
=yes
10624 if test "$enable_shared" = yes && test "$GCC" = yes; then
10625 case $archive_cmds in
10627 # FIXME: we may have to deal with multi-command sequences.
10630 # Test whether the compiler implicitly links with -lc since on some
10631 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10632 # to ld, don't add -lc before -lgcc.
10633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10634 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10635 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
10636 $as_echo_n "(cached) " >&6
10639 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10641 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10642 (eval $ac_compile) 2>&5
10644 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10645 test $ac_status = 0; } 2>conftest.err
; then
10648 libobjs
=conftest.
$ac_objext
10650 wl
=$lt_prog_compiler_wl
10651 pic_flag
=$lt_prog_compiler_pic
10657 lt_save_allow_undefined_flag
=$allow_undefined_flag
10658 allow_undefined_flag
=
10659 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10660 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10662 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10663 test $ac_status = 0; }
10665 lt_cv_archive_cmds_need_lc
=no
10667 lt_cv_archive_cmds_need_lc
=yes
10669 allow_undefined_flag
=$lt_save_allow_undefined_flag
10671 cat conftest.err
1>&5
10676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10677 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10678 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
10841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10842 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10844 if test "$GCC" = yes; then
10846 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10847 *) lt_awk_arg
="/^libraries:/" ;;
10850 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
10851 *) lt_sed_strip_eq
="s,=/,/,g" ;;
10853 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10854 case $lt_search_path_spec in
10856 # if the path contains ";" then we assume it to be the separator
10857 # otherwise default to the standard path separator (i.e. ":") - it is
10858 # assumed that no part of a normal pathname contains ";" but that should
10859 # okay in the real world where ";" in dirpaths is itself problematic.
10860 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10863 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10866 # Ok, now we have the path, separated by spaces, we can step through it
10867 # and add multilib dir if necessary.
10868 lt_tmp_lt_search_path_spec
=
10869 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10870 for lt_sys_path
in $lt_search_path_spec; do
10871 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10872 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10874 test -d "$lt_sys_path" && \
10875 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10878 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10879 BEGIN {RS=" "; FS="/|\n";} {
10882 for (lt_i = NF; lt_i > 0; lt_i--) {
10883 if ($lt_i != "" && $lt_i != ".") {
10884 if ($lt_i == "..") {
10887 if (lt_count == 0) {
10888 lt_foo="/" $lt_i lt_foo;
10895 if (lt_foo != "") { lt_freq[lt_foo]++; }
10896 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10898 # AWK program above erroneously prepends '/' to C:/dos/paths
10901 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
10902 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10904 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10906 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10908 library_names_spec
=
10909 libname_spec
='lib$name'
10913 postuninstall_cmds
=
10917 shlibpath_overrides_runpath
=unknown
10919 dynamic_linker
="$host_os ld.so"
10920 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10921 need_lib_prefix
=unknown
10922 hardcode_into_libs
=no
10924 # when you set need_version to no, make sure it does not cause -set_version
10925 # flags to be left without arguments
10926 need_version
=unknown
10931 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10932 shlibpath_var
=LIBPATH
10934 # AIX 3 has no versioning support, so we append a major version to the name.
10935 soname_spec
='${libname}${release}${shared_ext}$major'
10942 hardcode_into_libs
=yes
10943 if test "$host_cpu" = ia64
; then
10944 # AIX 5 supports IA64
10945 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10946 shlibpath_var
=LD_LIBRARY_PATH
10948 # With GCC up to 2.95.x, collect2 would create an import file
10949 # for dependence libraries. The import file would start with
10950 # the line `#! .'. This would cause the generated library to
10951 # depend on `.', always an invalid library. This was fixed in
10952 # development snapshots of GCC prior to 3.0.
10954 aix4 | aix4.
[01] | aix4.
[01].
*)
10955 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10957 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10960 can_build_shared
=no
10964 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10965 # soname into executable. Probably we can add versioning support to
10966 # collect2, so additional links can be useful in future.
10967 if test "$aix_use_runtimelinking" = yes; then
10968 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10969 # instead of lib<name>.a to let people know that these are not
10970 # typical AIX shared libraries.
10971 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10973 # We preserve .a as extension for shared libraries through AIX4.2
10974 # and later when we are not doing run time linking.
10975 library_names_spec
='${libname}${release}.a $libname.a'
10976 soname_spec
='${libname}${release}${shared_ext}$major'
10978 shlibpath_var
=LIBPATH
10985 # Since July 2007 AmigaOS4 officially supports .so libraries.
10986 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10987 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10990 library_names_spec
='$libname.ixlibrary $libname.a'
10991 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10992 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'
10998 library_names_spec
='${libname}${shared_ext}'
10999 dynamic_linker
="$host_os ld.so"
11000 shlibpath_var
=LIBRARY_PATH
11006 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11007 soname_spec
='${libname}${release}${shared_ext}$major'
11008 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11009 shlibpath_var
=LD_LIBRARY_PATH
11010 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11011 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11012 # the default ld.so.conf also contains /usr/contrib/lib and
11013 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11014 # libtool to hard-code these into programs
11017 cygwin
* | mingw
* | pw32
* | cegcc
*)
11018 version_type
=windows
11023 case $GCC,$host_os in
11024 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
11025 library_names_spec
='$libname.dll.a'
11026 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11027 postinstall_cmds
='base_file=`basename \${file}`~
11028 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11029 dldir=$destdir/`dirname \$dlpath`~
11030 test -d \$dldir || mkdir -p \$dldir~
11031 $install_prog $dir/$dlname \$dldir/$dlname~
11032 chmod a+x \$dldir/$dlname~
11033 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11034 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11036 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11037 dlpath=$dir/\$dldll~
11039 shlibpath_overrides_runpath
=yes
11043 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11044 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11046 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
11049 # MinGW DLLs use traditional 'lib' prefix
11050 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11053 # pw32 DLLs use 'pw' prefix rather than 'lib'
11054 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11060 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11063 dynamic_linker
='Win32 ld.exe'
11064 # FIXME: first we should search . and the directory the executable is in
11068 darwin
* | rhapsody
*)
11069 dynamic_linker
="$host_os dyld"
11070 version_type
=darwin
11073 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11074 soname_spec
='${libname}${release}${major}$shared_ext'
11075 shlibpath_overrides_runpath
=yes
11076 shlibpath_var
=DYLD_LIBRARY_PATH
11077 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
11079 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
11080 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11087 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11088 soname_spec
='${libname}${release}${shared_ext}$major'
11089 shlibpath_var
=LD_LIBRARY_PATH
11092 freebsd
* | dragonfly
*)
11093 # DragonFly does not have aout. When/if they implement a new
11094 # versioning mechanism, adjust this.
11095 if test -x /usr
/bin
/objformat
; then
11096 objformat
=`/usr/bin/objformat`
11099 freebsd
[23].
*) objformat
=aout
;;
11100 *) objformat
=elf
;;
11103 version_type
=freebsd-
$objformat
11104 case $version_type in
11106 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11111 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11115 shlibpath_var
=LD_LIBRARY_PATH
11118 shlibpath_overrides_runpath
=yes
11120 freebsd3.
[01]* | freebsdelf3.
[01]*)
11121 shlibpath_overrides_runpath
=yes
11122 hardcode_into_libs
=yes
11124 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
11125 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
11126 shlibpath_overrides_runpath
=no
11127 hardcode_into_libs
=yes
11129 *) # from 4.6 on, and DragonFly
11130 shlibpath_overrides_runpath
=yes
11131 hardcode_into_libs
=yes
11140 dynamic_linker
="$host_os runtime_loader"
11141 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11142 soname_spec
='${libname}${release}${shared_ext}$major'
11143 shlibpath_var
=LIBRARY_PATH
11144 shlibpath_overrides_runpath
=yes
11145 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
11146 hardcode_into_libs
=yes
11149 hpux9
* | hpux10
* | hpux11
*)
11150 # Give a soname corresponding to the major version so that dld.sl refuses to
11151 # link against other versions.
11158 hardcode_into_libs
=yes
11159 dynamic_linker
="$host_os dld.so"
11160 shlibpath_var
=LD_LIBRARY_PATH
11161 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11162 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11163 soname_spec
='${libname}${release}${shared_ext}$major'
11164 if test "X$HPUX_IA64_MODE" = X32
; then
11165 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11167 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11169 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11173 hardcode_into_libs
=yes
11174 dynamic_linker
="$host_os dld.sl"
11175 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
11176 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11177 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11178 soname_spec
='${libname}${release}${shared_ext}$major'
11179 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11180 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11184 dynamic_linker
="$host_os dld.sl"
11185 shlibpath_var
=SHLIB_PATH
11186 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
11187 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11188 soname_spec
='${libname}${release}${shared_ext}$major'
11191 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11192 postinstall_cmds
='chmod 555 $lib'
11193 # or fails outright, so override atomically:
11194 install_override_mode
=555
11201 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11202 soname_spec
='${libname}${release}${shared_ext}$major'
11203 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
11204 shlibpath_var
=LD_LIBRARY_PATH
11205 shlibpath_overrides_runpath
=no
11206 hardcode_into_libs
=yes
11209 irix5
* | irix6
* | nonstopux
*)
11211 nonstopux
*) version_type
=nonstopux
;;
11213 if test "$lt_cv_prog_gnu_ld" = yes; then
11221 soname_spec
='${libname}${release}${shared_ext}$major'
11222 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11224 irix5
* | nonstopux
*)
11225 libsuff
= shlibsuff
=
11228 case $LD in # libtool.m4 will add one of these switches to LD
11229 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
11230 libsuff
= shlibsuff
= libmagic
=32-bit;;
11231 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
11232 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11233 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
11234 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11235 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
11239 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11240 shlibpath_overrides_runpath
=no
11241 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11242 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
11243 hardcode_into_libs
=yes
11246 # No shared lib support for Linux oldld, aout, or coff.
11247 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11251 # This must be Linux ELF.
11252 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
11256 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11257 soname_spec
='${libname}${release}${shared_ext}$major'
11258 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11259 shlibpath_var
=LD_LIBRARY_PATH
11260 shlibpath_overrides_runpath
=no
11262 # Some binutils ld are patched to set DT_RUNPATH
11263 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
11264 $as_echo_n "(cached) " >&6
11266 lt_cv_shlibpath_overrides_runpath
=no
11267 save_LDFLAGS
=$LDFLAGS
11268 save_libdir
=$libdir
11269 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11270 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11271 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11272 /* end confdefs.h. */
11282 if ac_fn_c_try_link
"$LINENO"; then :
11283 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
11284 lt_cv_shlibpath_overrides_runpath
=yes
11287 rm -f core conftest.err conftest.
$ac_objext \
11288 conftest
$ac_exeext conftest.
$ac_ext
11289 LDFLAGS
=$save_LDFLAGS
11290 libdir
=$save_libdir
11294 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
11296 # This implies no fast_install, which is unacceptable.
11297 # Some rework will be needed to allow for fast_install
11298 # before this can be enabled.
11299 hardcode_into_libs
=yes
11301 # Append ld.so.conf contents to the search path
11302 if test -f /etc
/ld.so.conf
; then
11303 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' ' '`
11304 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
11307 # We used to test for /lib/ld.so.1 and disable shared libraries on
11308 # powerpc, because MkLinux only supported shared libraries with the
11309 # GNU dynamic linker. Since this was broken with cross compilers,
11310 # most powerpc-linux boxes support dynamic linking these days and
11311 # people can always --disable-shared, the test was removed, and we
11312 # assume the GNU/Linux dynamic linker is in use.
11313 dynamic_linker
='GNU/Linux ld.so'
11320 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11321 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11322 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11323 dynamic_linker
='NetBSD (a.out) ld.so'
11325 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11326 soname_spec
='${libname}${release}${shared_ext}$major'
11327 dynamic_linker
='NetBSD ld.elf_so'
11329 shlibpath_var
=LD_LIBRARY_PATH
11330 shlibpath_overrides_runpath
=yes
11331 hardcode_into_libs
=yes
11336 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11337 shlibpath_var
=LD_LIBRARY_PATH
11338 shlibpath_overrides_runpath
=yes
11345 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11346 soname_spec
='${libname}${release}${shared_ext}$major'
11347 shlibpath_var
=LD_LIBRARY_PATH
11348 shlibpath_overrides_runpath
=no
11349 hardcode_into_libs
=yes
11350 dynamic_linker
='ldqnx.so'
11355 sys_lib_dlsearch_path_spec
="/usr/lib"
11357 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11359 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
11360 *) need_version
=no
;;
11362 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11363 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11364 shlibpath_var
=LD_LIBRARY_PATH
11365 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11367 openbsd2.
[89] | openbsd2.
[89].
*)
11368 shlibpath_overrides_runpath
=no
11371 shlibpath_overrides_runpath
=yes
11375 shlibpath_overrides_runpath
=yes
11380 libname_spec
='$name'
11383 library_names_spec
='$libname${shared_ext} $libname.a'
11384 dynamic_linker
='OS/2 ld.exe'
11385 shlibpath_var
=LIBPATH
11388 osf3
* | osf4
* | osf5
*)
11392 soname_spec
='${libname}${release}${shared_ext}$major'
11393 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11394 shlibpath_var
=LD_LIBRARY_PATH
11395 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11396 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11407 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11408 soname_spec
='${libname}${release}${shared_ext}$major'
11409 shlibpath_var
=LD_LIBRARY_PATH
11410 shlibpath_overrides_runpath
=yes
11411 hardcode_into_libs
=yes
11412 # ldd complains unless libraries are executable
11413 postinstall_cmds
='chmod +x $lib'
11418 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11419 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11420 shlibpath_var
=LD_LIBRARY_PATH
11421 shlibpath_overrides_runpath
=yes
11422 if test "$with_gnu_ld" = yes; then
11430 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11431 soname_spec
='${libname}${release}${shared_ext}$major'
11432 shlibpath_var
=LD_LIBRARY_PATH
11433 case $host_vendor in
11435 shlibpath_overrides_runpath
=no
11437 runpath_var
=LD_RUN_PATH
11445 shlibpath_overrides_runpath
=no
11446 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11452 if test -d /usr
/nec
;then
11454 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11455 soname_spec
='$libname${shared_ext}.$major'
11456 shlibpath_var
=LD_LIBRARY_PATH
11460 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11461 version_type
=freebsd-elf
11464 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11465 soname_spec
='${libname}${release}${shared_ext}$major'
11466 shlibpath_var
=LD_LIBRARY_PATH
11467 shlibpath_overrides_runpath
=yes
11468 hardcode_into_libs
=yes
11469 if test "$with_gnu_ld" = yes; then
11470 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11472 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11475 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11479 sys_lib_dlsearch_path_spec
='/usr/lib'
11483 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11487 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11488 shlibpath_var
=LD_LIBRARY_PATH
11489 shlibpath_overrides_runpath
=no
11490 hardcode_into_libs
=yes
11495 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11496 soname_spec
='${libname}${release}${shared_ext}$major'
11497 shlibpath_var
=LD_LIBRARY_PATH
11504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11505 $as_echo "$dynamic_linker" >&6; }
11506 test "$dynamic_linker" = no
&& can_build_shared
=no
11508 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11509 if test "$GCC" = yes; then
11510 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11513 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11514 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
11516 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11517 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
11611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11612 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11614 if test -n "$hardcode_libdir_flag_spec" ||
11615 test -n "$runpath_var" ||
11616 test "X$hardcode_automatic" = "Xyes" ; then
11618 # We can hardcode non-existent directories.
11619 if test "$hardcode_direct" != no
&&
11620 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11621 # have to relink, otherwise we might link with an installed library
11622 # when we should be linking with a yet-to-be-installed one
11623 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11624 test "$hardcode_minus_L" != no
; then
11625 # Linking always hardcodes the temporary library directory.
11626 hardcode_action
=relink
11628 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11629 hardcode_action
=immediate
11632 # We cannot hardcode anything, or else we can only hardcode existing
11634 hardcode_action
=unsupported
11636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11637 $as_echo "$hardcode_action" >&6; }
11639 if test "$hardcode_action" = relink ||
11640 test "$inherit_rpath" = yes; then
11641 # Fast installation is not supported
11642 enable_fast_install
=no
11643 elif test "$shlibpath_overrides_runpath" = yes ||
11644 test "$enable_shared" = no
; then
11645 # Fast installation is not necessary
11646 enable_fast_install
=needless
11654 if test "x$enable_dlopen" != xyes
; then
11655 enable_dlopen
=unknown
11656 enable_dlopen_self
=unknown
11657 enable_dlopen_self_static
=unknown
11664 lt_cv_dlopen
="load_add_on"
11666 lt_cv_dlopen_self
=yes
11669 mingw
* | pw32
* | cegcc
*)
11670 lt_cv_dlopen
="LoadLibrary"
11675 lt_cv_dlopen
="dlopen"
11680 # if libdl is installed we need to link against it
11681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11682 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11683 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11684 $as_echo_n "(cached) " >&6
11686 ac_check_lib_save_LIBS
=$LIBS
11688 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11689 /* end confdefs.h. */
11691 /* Override any GCC internal prototype to avoid an error.
11692 Use char because int might match the return type of a GCC
11693 builtin and then its argument prototype would still apply. */
11706 if ac_fn_c_try_link
"$LINENO"; then :
11707 ac_cv_lib_dl_dlopen
=yes
11709 ac_cv_lib_dl_dlopen
=no
11711 rm -f core conftest.err conftest.
$ac_objext \
11712 conftest
$ac_exeext conftest.
$ac_ext
11713 LIBS
=$ac_check_lib_save_LIBS
11715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11716 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11717 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11718 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11721 lt_cv_dlopen
="dyld"
11723 lt_cv_dlopen_self
=yes
11730 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
11731 if test "x$ac_cv_func_shl_load" = xyes
; then :
11732 lt_cv_dlopen
="shl_load"
11734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11735 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11736 if ${ac_cv_lib_dld_shl_load+:} false
; then :
11737 $as_echo_n "(cached) " >&6
11739 ac_check_lib_save_LIBS
=$LIBS
11741 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11742 /* end confdefs.h. */
11744 /* Override any GCC internal prototype to avoid an error.
11745 Use char because int might match the return type of a GCC
11746 builtin and then its argument prototype would still apply. */
11754 return shl_load ();
11759 if ac_fn_c_try_link
"$LINENO"; then :
11760 ac_cv_lib_dld_shl_load
=yes
11762 ac_cv_lib_dld_shl_load
=no
11764 rm -f core conftest.err conftest.
$ac_objext \
11765 conftest
$ac_exeext conftest.
$ac_ext
11766 LIBS
=$ac_check_lib_save_LIBS
11768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11769 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11770 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
11771 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
11773 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
11774 if test "x$ac_cv_func_dlopen" = xyes
; then :
11775 lt_cv_dlopen
="dlopen"
11777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11778 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11779 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11780 $as_echo_n "(cached) " >&6
11782 ac_check_lib_save_LIBS
=$LIBS
11784 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11785 /* end confdefs.h. */
11787 /* Override any GCC internal prototype to avoid an error.
11788 Use char because int might match the return type of a GCC
11789 builtin and then its argument prototype would still apply. */
11802 if ac_fn_c_try_link
"$LINENO"; then :
11803 ac_cv_lib_dl_dlopen
=yes
11805 ac_cv_lib_dl_dlopen
=no
11807 rm -f core conftest.err conftest.
$ac_objext \
11808 conftest
$ac_exeext conftest.
$ac_ext
11809 LIBS
=$ac_check_lib_save_LIBS
11811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11812 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11813 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11814 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11817 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11818 if ${ac_cv_lib_svld_dlopen+:} false
; then :
11819 $as_echo_n "(cached) " >&6
11821 ac_check_lib_save_LIBS
=$LIBS
11822 LIBS
="-lsvld $LIBS"
11823 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11824 /* end confdefs.h. */
11826 /* Override any GCC internal prototype to avoid an error.
11827 Use char because int might match the return type of a GCC
11828 builtin and then its argument prototype would still apply. */
11841 if ac_fn_c_try_link
"$LINENO"; then :
11842 ac_cv_lib_svld_dlopen
=yes
11844 ac_cv_lib_svld_dlopen
=no
11846 rm -f core conftest.err conftest.
$ac_objext \
11847 conftest
$ac_exeext conftest.
$ac_ext
11848 LIBS
=$ac_check_lib_save_LIBS
11850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11851 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11852 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
11853 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11856 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11857 if ${ac_cv_lib_dld_dld_link+:} false
; then :
11858 $as_echo_n "(cached) " >&6
11860 ac_check_lib_save_LIBS
=$LIBS
11862 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11863 /* end confdefs.h. */
11865 /* Override any GCC internal prototype to avoid an error.
11866 Use char because int might match the return type of a GCC
11867 builtin and then its argument prototype would still apply. */
11875 return dld_link ();
11880 if ac_fn_c_try_link
"$LINENO"; then :
11881 ac_cv_lib_dld_dld_link
=yes
11883 ac_cv_lib_dld_dld_link
=no
11885 rm -f core conftest.err conftest.
$ac_objext \
11886 conftest
$ac_exeext conftest.
$ac_ext
11887 LIBS
=$ac_check_lib_save_LIBS
11889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11890 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11891 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
11892 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11913 if test "x$lt_cv_dlopen" != xno
; then
11919 case $lt_cv_dlopen in
11921 save_CPPFLAGS
="$CPPFLAGS"
11922 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11924 save_LDFLAGS
="$LDFLAGS"
11925 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11928 LIBS
="$lt_cv_dlopen_libs $LIBS"
11930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11931 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11932 if ${lt_cv_dlopen_self+:} false
; then :
11933 $as_echo_n "(cached) " >&6
11935 if test "$cross_compiling" = yes; then :
11936 lt_cv_dlopen_self
=cross
11938 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11939 lt_status
=$lt_dlunknown
11940 cat > conftest.
$ac_ext <<_LT_EOF
11941 #line 11941 "configure"
11942 #include "confdefs.h"
11951 # define LT_DLGLOBAL RTLD_GLOBAL
11954 # define LT_DLGLOBAL DL_GLOBAL
11956 # define LT_DLGLOBAL 0
11960 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11961 find out it does not work in some platform. */
11962 #ifndef LT_DLLAZY_OR_NOW
11964 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11967 # define LT_DLLAZY_OR_NOW DL_LAZY
11970 # define LT_DLLAZY_OR_NOW RTLD_NOW
11973 # define LT_DLLAZY_OR_NOW DL_NOW
11975 # define LT_DLLAZY_OR_NOW 0
11982 /* When -fvisbility=hidden is used, assume the code has been annotated
11983 correspondingly for the symbols needed. */
11984 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11985 void fnord () __attribute__((visibility("default")));
11988 void fnord () { int i=42; }
11991 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11992 int status = $lt_dlunknown;
11996 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11999 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12000 else puts (dlerror ());
12002 /* dlclose (self); */
12010 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12011 (eval $ac_link) 2>&5
12013 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12014 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12015 (.
/conftest
; exit; ) >&5 2>/dev
/null
12017 case x
$lt_status in
12018 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12019 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12020 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
12023 # compilation failed
12024 lt_cv_dlopen_self
=no
12031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12032 $as_echo "$lt_cv_dlopen_self" >&6; }
12034 if test "x$lt_cv_dlopen_self" = xyes
; then
12035 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
12036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12037 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12038 if ${lt_cv_dlopen_self_static+:} false
; then :
12039 $as_echo_n "(cached) " >&6
12041 if test "$cross_compiling" = yes; then :
12042 lt_cv_dlopen_self_static
=cross
12044 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12045 lt_status
=$lt_dlunknown
12046 cat > conftest.
$ac_ext <<_LT_EOF
12047 #line 12047 "configure"
12048 #include "confdefs.h"
12057 # define LT_DLGLOBAL RTLD_GLOBAL
12060 # define LT_DLGLOBAL DL_GLOBAL
12062 # define LT_DLGLOBAL 0
12066 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12067 find out it does not work in some platform. */
12068 #ifndef LT_DLLAZY_OR_NOW
12070 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12073 # define LT_DLLAZY_OR_NOW DL_LAZY
12076 # define LT_DLLAZY_OR_NOW RTLD_NOW
12079 # define LT_DLLAZY_OR_NOW DL_NOW
12081 # define LT_DLLAZY_OR_NOW 0
12088 /* When -fvisbility=hidden is used, assume the code has been annotated
12089 correspondingly for the symbols needed. */
12090 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12091 void fnord () __attribute__((visibility("default")));
12094 void fnord () { int i=42; }
12097 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12098 int status = $lt_dlunknown;
12102 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12105 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12106 else puts (dlerror ());
12108 /* dlclose (self); */
12116 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12117 (eval $ac_link) 2>&5
12119 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12120 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12121 (.
/conftest
; exit; ) >&5 2>/dev
/null
12123 case x
$lt_status in
12124 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
12125 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
12126 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
12129 # compilation failed
12130 lt_cv_dlopen_self_static
=no
12137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12138 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12141 CPPFLAGS
="$save_CPPFLAGS"
12142 LDFLAGS
="$save_LDFLAGS"
12147 case $lt_cv_dlopen_self in
12148 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12149 *) enable_dlopen_self
=unknown
;;
12152 case $lt_cv_dlopen_self_static in
12153 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
12154 *) enable_dlopen_self_static
=unknown
;;
12176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12177 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12178 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
12179 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12180 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12182 $as_echo "yes" >&6; }
12184 # FIXME - insert some real tests, host_os isn't really good enough
12187 if test -n "$STRIP" ; then
12188 striplib
="$STRIP -x"
12189 old_striplib
="$STRIP -S"
12190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12191 $as_echo "yes" >&6; }
12193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12194 $as_echo "no" >&6; }
12198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12199 $as_echo "no" >&6; }
12215 # Report which library types will actually be built
12216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12217 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12219 $as_echo "$can_build_shared" >&6; }
12221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12222 $as_echo_n "checking whether to build shared libraries... " >&6; }
12223 test "$can_build_shared" = "no" && enable_shared
=no
12225 # On AIX, shared libraries and static libraries use the same namespace, and
12226 # are all built from PIC.
12229 test "$enable_shared" = yes && enable_static
=no
12230 if test -n "$RANLIB"; then
12231 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12232 postinstall_cmds
='$RANLIB $lib'
12237 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
12238 test "$enable_shared" = yes && enable_static
=no
12242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12243 $as_echo "$enable_shared" >&6; }
12245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12246 $as_echo_n "checking whether to build static libraries... " >&6; }
12247 # Make sure either enable_shared or enable_static is yes.
12248 test "$enable_shared" = yes || enable_static
=yes
12249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12250 $as_echo "$enable_static" >&6; }
12257 ac_cpp
='$CPP $CPPFLAGS'
12258 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12259 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12260 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12276 ac_config_commands
="$ac_config_commands libtool"
12281 # Only expand once:
12286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bind in -lsocket" >&5
12287 $as_echo_n "checking for bind in -lsocket... " >&6; }
12288 if ${ac_cv_lib_socket_bind+:} false
; then :
12289 $as_echo_n "(cached) " >&6
12291 ac_check_lib_save_LIBS
=$LIBS
12292 LIBS
="-lsocket $LIBS"
12293 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12294 /* end confdefs.h. */
12296 /* Override any GCC internal prototype to avoid an error.
12297 Use char because int might match the return type of a GCC
12298 builtin and then its argument prototype would still apply. */
12311 if ac_fn_c_try_link
"$LINENO"; then :
12312 ac_cv_lib_socket_bind
=yes
12314 ac_cv_lib_socket_bind
=no
12316 rm -f core conftest.err conftest.
$ac_objext \
12317 conftest
$ac_exeext conftest.
$ac_ext
12318 LIBS
=$ac_check_lib_save_LIBS
12320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_bind" >&5
12321 $as_echo "$ac_cv_lib_socket_bind" >&6; }
12322 if test "x$ac_cv_lib_socket_bind" = xyes
; then :
12323 cat >>confdefs.h
<<_ACEOF
12324 #define HAVE_LIBSOCKET 1
12327 LIBS
="-lsocket $LIBS"
12331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
12332 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
12333 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
12334 $as_echo_n "(cached) " >&6
12336 ac_check_lib_save_LIBS
=$LIBS
12338 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12339 /* end confdefs.h. */
12341 /* Override any GCC internal prototype to avoid an error.
12342 Use char because int might match the return type of a GCC
12343 builtin and then its argument prototype would still apply. */
12347 char gethostbyname ();
12351 return gethostbyname ();
12356 if ac_fn_c_try_link
"$LINENO"; then :
12357 ac_cv_lib_nsl_gethostbyname
=yes
12359 ac_cv_lib_nsl_gethostbyname
=no
12361 rm -f core conftest.err conftest.
$ac_objext \
12362 conftest
$ac_exeext conftest.
$ac_ext
12363 LIBS
=$ac_check_lib_save_LIBS
12365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
12366 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
12367 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
12368 cat >>confdefs.h
<<_ACEOF
12369 #define HAVE_LIBNSL 1
12376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabs in -lm" >&5
12377 $as_echo_n "checking for fabs in -lm... " >&6; }
12378 if ${ac_cv_lib_m_fabs+:} false
; then :
12379 $as_echo_n "(cached) " >&6
12381 ac_check_lib_save_LIBS
=$LIBS
12383 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12384 /* end confdefs.h. */
12386 /* Override any GCC internal prototype to avoid an error.
12387 Use char because int might match the return type of a GCC
12388 builtin and then its argument prototype would still apply. */
12401 if ac_fn_c_try_link
"$LINENO"; then :
12402 ac_cv_lib_m_fabs
=yes
12404 ac_cv_lib_m_fabs
=no
12406 rm -f core conftest.err conftest.
$ac_objext \
12407 conftest
$ac_exeext conftest.
$ac_ext
12408 LIBS
=$ac_check_lib_save_LIBS
12410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fabs" >&5
12411 $as_echo "$ac_cv_lib_m_fabs" >&6; }
12412 if test "x$ac_cv_lib_m_fabs" = xyes
; then :
12413 cat >>confdefs.h
<<_ACEOF
12414 #define HAVE_LIBM 1
12421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log2 in -lm" >&5
12422 $as_echo_n "checking for log2 in -lm... " >&6; }
12423 if ${ac_cv_lib_m_log2+:} false
; then :
12424 $as_echo_n "(cached) " >&6
12426 ac_check_lib_save_LIBS
=$LIBS
12428 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12429 /* end confdefs.h. */
12431 /* Override any GCC internal prototype to avoid an error.
12432 Use char because int might match the return type of a GCC
12433 builtin and then its argument prototype would still apply. */
12446 if ac_fn_c_try_link
"$LINENO"; then :
12447 ac_cv_lib_m_log2
=yes
12449 ac_cv_lib_m_log2
=no
12451 rm -f core conftest.err conftest.
$ac_objext \
12452 conftest
$ac_exeext conftest.
$ac_ext
12453 LIBS
=$ac_check_lib_save_LIBS
12455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_log2" >&5
12456 $as_echo "$ac_cv_lib_m_log2" >&6; }
12457 if test "x$ac_cv_lib_m_log2" = xyes
; then :
12458 cat >>confdefs.h
<<_ACEOF
12459 #define HAVE_LIBM 1
12469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
12470 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
12471 # Check whether --enable-maintainer-mode was given.
12472 if test "${enable_maintainer_mode+set}" = set; then :
12473 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
12475 USE_MAINTAINER_MODE
=no
12478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
12479 $as_echo "$USE_MAINTAINER_MODE" >&6; }
12480 if test $USE_MAINTAINER_MODE = yes; then
12481 MAINTAINER_MODE_TRUE
=
12482 MAINTAINER_MODE_FALSE
='#'
12484 MAINTAINER_MODE_TRUE
='#'
12485 MAINTAINER_MODE_FALSE
=
12488 MAINT
=$MAINTAINER_MODE_TRUE
12491 am__api_version
='1.15'
12493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
12494 $as_echo_n "checking whether build environment is sane... " >&6; }
12495 # Reject unsafe characters in $srcdir or the absolute working directory
12496 # name. Accept space and tab only in the latter.
12500 *[\\\"\
#\$\&\'\`$am_lf]*)
12501 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
12504 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
12505 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
12508 # Do 'set' in a subshell so we don't clobber the current shell's
12509 # arguments. Must try -L first in case configure is actually a
12510 # symlink; some systems play weird games with the mod time of symlinks
12511 # (eg FreeBSD returns the mod time of the symlink's containing
12515 for am_try
in 1 2; do
12516 echo "timestamp, slept: $am_has_slept" > conftest.
file
12517 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
12518 if test "$*" = "X"; then
12520 set X
`ls -t "$srcdir/configure" conftest.file`
12522 if test "$*" != "X $srcdir/configure conftest.file" \
12523 && test "$*" != "X conftest.file $srcdir/configure"; then
12525 # If neither matched, then we have a broken ls. This can happen
12526 # if, for instance, CONFIG_SHELL is bash and it inherits a
12527 # broken ls alias from the environment. This has actually
12528 # happened. Such a system could not be considered "sane".
12529 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
12530 alias in your environment" "$LINENO" 5
12532 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
12539 test "$2" = conftest.
file
12545 as_fn_error $?
"newly created file is older than distributed files!
12546 Check your system clock" "$LINENO" 5
12548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12549 $as_echo "yes" >&6; }
12550 # If we didn't sleep, we still need to ensure time stamps of config.status and
12551 # generated files are strictly newer.
12553 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
12558 rm -f conftest.
file
12560 if test x
"${MISSING+set}" != xset
; then
12561 case $am_aux_dir in
12563 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
12565 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
12568 # Use eval to expand $SHELL
12569 if eval "$MISSING --is-lightweight"; then
12570 am_missing_run
="$MISSING "
12573 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
12574 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
12577 if test x
"${install_sh+set}" != xset
; then
12578 case $am_aux_dir in
12580 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
12582 install_sh
="\${SHELL} $am_aux_dir/install-sh"
12586 # Installed binaries are usually stripped using 'strip' when the user
12587 # run "make install-strip". However 'strip' might not be the right
12588 # tool to use in cross-compilation environments, therefore Automake
12589 # will honor the 'STRIP' environment variable to overrule this program.
12590 if test "$cross_compiling" != no
; then
12591 if test -n "$ac_tool_prefix"; then
12592 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
12593 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
12594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12595 $as_echo_n "checking for $ac_word... " >&6; }
12596 if ${ac_cv_prog_STRIP+:} false
; then :
12597 $as_echo_n "(cached) " >&6
12599 if test -n "$STRIP"; then
12600 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
12602 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12603 for as_dir
in $PATH
12606 test -z "$as_dir" && as_dir
=.
12607 for ac_exec_ext
in '' $ac_executable_extensions; do
12608 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12609 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
12610 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12619 STRIP
=$ac_cv_prog_STRIP
12620 if test -n "$STRIP"; then
12621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
12622 $as_echo "$STRIP" >&6; }
12624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12625 $as_echo "no" >&6; }
12630 if test -z "$ac_cv_prog_STRIP"; then
12632 # Extract the first word of "strip", so it can be a program name with args.
12633 set dummy strip
; ac_word
=$2
12634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12635 $as_echo_n "checking for $ac_word... " >&6; }
12636 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
12637 $as_echo_n "(cached) " >&6
12639 if test -n "$ac_ct_STRIP"; then
12640 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
12642 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12643 for as_dir
in $PATH
12646 test -z "$as_dir" && as_dir
=.
12647 for ac_exec_ext
in '' $ac_executable_extensions; do
12648 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12649 ac_cv_prog_ac_ct_STRIP
="strip"
12650 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12659 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
12660 if test -n "$ac_ct_STRIP"; then
12661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
12662 $as_echo "$ac_ct_STRIP" >&6; }
12664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12665 $as_echo "no" >&6; }
12668 if test "x$ac_ct_STRIP" = x
; then
12671 case $cross_compiling:$ac_tool_warned in
12673 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12674 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12675 ac_tool_warned
=yes ;;
12680 STRIP
="$ac_cv_prog_STRIP"
12684 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
12686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
12687 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
12688 if test -z "$MKDIR_P"; then
12689 if ${ac_cv_path_mkdir+:} false
; then :
12690 $as_echo_n "(cached) " >&6
12692 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12693 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
12696 test -z "$as_dir" && as_dir
=.
12697 for ac_prog
in mkdir gmkdir
; do
12698 for ac_exec_ext
in '' $ac_executable_extensions; do
12699 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
12700 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
12701 'mkdir (GNU coreutils) '* | \
12702 'mkdir (coreutils) '* | \
12703 'mkdir (fileutils) '4.1*)
12704 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
12714 test -d .
/--version && rmdir .
/--version
12715 if test "${ac_cv_path_mkdir+set}" = set; then
12716 MKDIR_P
="$ac_cv_path_mkdir -p"
12718 # As a last resort, use the slow shell script. Don't cache a
12719 # value for MKDIR_P within a source directory, because that will
12720 # break other packages using the cache if that directory is
12721 # removed, or if the value is a relative name.
12722 MKDIR_P
="$ac_install_sh -d"
12725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
12726 $as_echo "$MKDIR_P" >&6; }
12728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
12729 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
12731 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
12732 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
12733 $as_echo_n "(cached) " >&6
12735 cat >conftest.
make <<\_ACEOF
12738 @
echo '@@@%%%=$(MAKE)=@@@%%%'
12740 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
12741 case `${MAKE-make} -f conftest.make 2>/dev/null` in
12742 *@@@
%%%=?
*=@@@
%%%*)
12743 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
12745 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
12747 rm -f conftest.
make
12749 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
12750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12751 $as_echo "yes" >&6; }
12754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12755 $as_echo "no" >&6; }
12756 SET_MAKE
="MAKE=${MAKE-make}"
12759 rm -rf .tst
2>/dev
/null
12760 mkdir .tst
2>/dev
/null
12761 if test -d .tst
; then
12766 rmdir .tst
2>/dev
/null
12768 DEPDIR
="${am__leading_dot}deps"
12770 ac_config_commands
="$ac_config_commands depfiles"
12773 am_make
=${MAKE-make}
12774 cat > confinc
<< 'END'
12776 @
echo this is the am__doit target
12779 # If we don't find an include directive, just comment out the code.
12780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
12781 $as_echo_n "checking for style of include used by $am_make... " >&6; }
12785 # First try GNU make style include.
12786 echo "include confinc" > confmf
12787 # Ignore all kinds of additional output from 'make'.
12788 case `$am_make -s -f confmf 2> /dev/null` in #(
12789 *the\ am__doit\ target
*)
12790 am__include
=include
12795 # Now try BSD make style include.
12796 if test "$am__include" = "#"; then
12797 echo '.include "confinc"' > confmf
12798 case `$am_make -s -f confmf 2> /dev/null` in #(
12799 *the\ am__doit\ target
*)
12800 am__include
=.include
12808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
12809 $as_echo "$_am_result" >&6; }
12810 rm -f confinc confmf
12812 # Check whether --enable-dependency-tracking was given.
12813 if test "${enable_dependency_tracking+set}" = set; then :
12814 enableval
=$enable_dependency_tracking;
12817 if test "x$enable_dependency_tracking" != xno
; then
12818 am_depcomp
="$ac_aux_dir/depcomp"
12822 if test "x$enable_dependency_tracking" != xno; then
12831 # Check whether --enable-silent-rules was given.
12832 if test "${enable_silent_rules+set}" = set; then :
12833 enableval
=$enable_silent_rules;
12836 case $enable_silent_rules in # (((
12837 yes) AM_DEFAULT_VERBOSITY
=0;;
12838 no
) AM_DEFAULT_VERBOSITY
=1;;
12839 *) AM_DEFAULT_VERBOSITY
=1;;
12841 am_make
=${MAKE-make}
12842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
12843 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
12844 if ${am_cv_make_support_nested_variables+:} false
; then :
12845 $as_echo_n "(cached) " >&6
12847 if $as_echo 'TRUE=$(BAR$(V))
12853 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
12854 am_cv_make_support_nested_variables
=yes
12856 am_cv_make_support_nested_variables
=no
12859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
12860 $as_echo "$am_cv_make_support_nested_variables" >&6; }
12861 if test $am_cv_make_support_nested_variables = yes; then
12863 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
12865 AM_V
=$AM_DEFAULT_VERBOSITY
12866 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
12870 if test "`cd $srcdir && pwd`" != "`pwd`"; then
12871 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
12872 # is not polluted with repeated "-I."
12873 am__isrc
=' -I$(srcdir)'
12874 # test to see if srcdir already configured
12875 if test -f $srcdir/config.status
; then
12876 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
12880 # test whether we have cygpath
12881 if test -z "$CYGPATH_W"; then
12882 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
12883 CYGPATH_W
='cygpath -w'
12890 # Define the identity of the package.
12895 cat >>confdefs.h
<<_ACEOF
12896 #define PACKAGE "$PACKAGE"
12900 cat >>confdefs.h
<<_ACEOF
12901 #define VERSION "$VERSION"
12904 # Some tools Automake needs.
12906 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
12909 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
12912 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
12915 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
12918 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
12920 # For better backward compatibility. To be removed once Automake 1.9.x
12921 # dies out for good. For more background, see:
12922 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
12923 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
12924 mkdir_p
='$(MKDIR_P)'
12926 # We need awk for the "check" target (and possibly the TAP driver). The
12927 # system "awk" is bad on some platforms.
12928 # Always define AMTAR for backward compatibility. Yes, it's still used
12929 # in the wild :-( We should find a proper way to deprecate it ...
12930 AMTAR
='$${TAR-tar}'
12933 # We'll loop over all known methods to create a tar archive until one works.
12934 _am_tools
='gnutar pax cpio none'
12936 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
12942 depcc
="$CC" am_compiler_list
=
12944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
12945 $as_echo_n "checking dependency style of $depcc... " >&6; }
12946 if ${am_cv_CC_dependencies_compiler_type+:} false
; then :
12947 $as_echo_n "(cached) " >&6
12949 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12950 # We make a subdir and do the tests there. Otherwise we can end up
12951 # making bogus files that we don't know about and never remove. For
12952 # instance it was reported that on HP-UX the gcc test will end up
12953 # making a dummy file named 'D' -- because '-MD' means "put the output
12955 rm -rf conftest.dir
12957 # Copy depcomp to subdir because otherwise we won't find it if we're
12958 # using a relative directory.
12959 cp "$am_depcomp" conftest.dir
12961 # We will build objects and dependencies in a subdirectory because
12962 # it helps to detect inapplicable dependency modes. For instance
12963 # both Tru64's cc and ICC support -MD to output dependencies as a
12964 # side effect of compilation, but ICC will put the dependencies in
12965 # the current directory while Tru64 will put them in the object
12969 am_cv_CC_dependencies_compiler_type
=none
12970 if test "$am_compiler_list" = ""; then
12971 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
12973 am__universal
=false
12974 case " $depcc " in #(
12975 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
12978 for depmode
in $am_compiler_list; do
12979 # Setup a source with many dependencies, because some compilers
12980 # like to wrap large dependency lists on column 80 (with \), and
12981 # we should not choose a depcomp mode which is confused by this.
12983 # We need to recreate these files for each test, as the compiler may
12984 # overwrite some of them when testing with obscure command lines.
12985 # This happens at least with the AIX C compiler.
12987 for i
in 1 2 3 4 5 6; do
12988 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
12989 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
12990 # Solaris 10 /bin/sh.
12991 echo '/* dummy */' > sub
/conftst
$i.h
12993 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12995 # We check with '-c' and '-o' for the sake of the "dashmstdout"
12996 # mode. It turns out that the SunPro C++ compiler does not properly
12997 # handle '-M -o', and we need to detect this. Also, some Intel
12998 # versions had trouble with output in subdirs.
12999 am__obj
=sub
/conftest.
${OBJEXT-o}
13000 am__minus_obj
="-o $am__obj"
13003 # This depmode causes a compiler race in universal mode.
13004 test "$am__universal" = false ||
continue
13007 # After this tag, mechanisms are not by side-effect, so they'll
13008 # only be used when explicitly requested.
13009 if test "x$enable_dependency_tracking" = xyes
; then
13015 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
13016 # This compiler won't grok '-c -o', but also, the minuso test has
13017 # not run yet. These depmodes are late enough in the game, and
13018 # so weak that their functioning should not be impacted.
13019 am__obj
=conftest.
${OBJEXT-o}
13024 if depmode
=$depmode \
13025 source=sub
/conftest.c object
=$am__obj \
13026 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
13027 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
13028 >/dev
/null
2>conftest.err
&&
13029 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
13030 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
13031 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
13032 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
13033 # icc doesn't choke on unknown options, it will just issue warnings
13034 # or remarks (even with -Werror). So we grep stderr for any message
13035 # that says an option was ignored or not supported.
13036 # When given -MP, icc 7.0 and 7.1 complain thusly:
13037 # icc: Command line warning: ignoring option '-M'; no argument required
13038 # The diagnosis changed in icc 8.0:
13039 # icc: Command line remark: option '-MP' not supported
13040 if (grep 'ignoring option' conftest.err ||
13041 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
13042 am_cv_CC_dependencies_compiler_type
=$depmode
13049 rm -rf conftest.dir
13051 am_cv_CC_dependencies_compiler_type
=none
13055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
13056 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
13057 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
13060 test "x$enable_dependency_tracking" != xno \
13061 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
13062 am__fastdepCC_TRUE
=
13063 am__fastdepCC_FALSE
='#'
13065 am__fastdepCC_TRUE
='#'
13066 am__fastdepCC_FALSE
=
13071 # POSIX will say in a future version that running "rm -f" with no argument
13072 # is OK; and we want to be able to make that assumption in our Makefile
13073 # recipes. So use an aggressive probe to check that the usage we want is
13074 # actually supported "in the wild" to an acceptable degree.
13075 # See automake bug#10828.
13076 # To make any issue more visible, cause the running configure to be aborted
13077 # by default if the 'rm' program in use doesn't match our expectations; the
13078 # user can still override this though.
13079 if rm -f && rm -fr && rm -rf; then : OK
; else
13083 Your 'rm' program seems unable to run without file operands specified
13084 on the command line, even when the '-f' option is present. This is contrary
13085 to the behaviour of most rm programs out there, and not conforming with
13086 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
13088 Please tell bug-automake@gnu.org about your system, including the value
13089 of your $PATH and any error possibly output before this message. This
13090 can help us improve future automake versions.
13093 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
13094 echo 'Configuration will proceed anyway, since you have set the' >&2
13095 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
13099 Aborting the configuration process, to ensure you take notice of the issue.
13101 You can download and install GNU coreutils to get an 'rm' implementation
13102 that behaves properly: <http://www.gnu.org/software/coreutils/>.
13104 If you want to complete the configuration process using your problematic
13105 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
13106 to "yes", and re-run configure.
13109 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
13113 # Check whether --enable-silent-rules was given.
13114 if test "${enable_silent_rules+set}" = set; then :
13115 enableval
=$enable_silent_rules;
13118 case $enable_silent_rules in # (((
13119 yes) AM_DEFAULT_VERBOSITY
=0;;
13120 no
) AM_DEFAULT_VERBOSITY
=1;;
13121 *) AM_DEFAULT_VERBOSITY
=0;;
13123 am_make
=${MAKE-make}
13124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
13125 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
13126 if ${am_cv_make_support_nested_variables+:} false
; then :
13127 $as_echo_n "(cached) " >&6
13129 if $as_echo 'TRUE=$(BAR$(V))
13135 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
13136 am_cv_make_support_nested_variables
=yes
13138 am_cv_make_support_nested_variables
=no
13141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
13142 $as_echo "$am_cv_make_support_nested_variables" >&6; }
13143 if test $am_cv_make_support_nested_variables = yes; then
13145 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
13147 AM_V
=$AM_DEFAULT_VERBOSITY
13148 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
13153 # If a cpu ever has more than one simulator to choose from, use
13154 # --enable-sim=... to choose.
13155 # Check whether --enable-sim was given.
13156 if test "${enable_sim+set}" = set; then :
13157 enableval=$enable_sim; case "${enableval}" in
13159 *) as_fn_error $? "bad value ${enableval} given for --enable-sim option" "$LINENO" 5 ;;
13164 # Check whether --enable-example-sims was given.
13165 if test "${enable_example_sims+set}" = set; then :
13166 enableval=$enable_example_sims;
13170 # Check whether --enable-targets was given.
13171 if test "${enable_targets+set}" = set; then :
13172 enableval=$enable_targets; case "${enableval}" in
13173 yes | "") as_fn_error $? "enable-targets option must specify target names or 'all
'" "$LINENO" 5
13175 no) enable_targets= ;;
13176 *) enable_targets=$enableval ;;
13181 SIM_PRIMARY_TARGET=
13187 if test "${enable_sim}" != no; then
13189 for targ in `echo $target $enable_targets | sed 's
/,/ /g
'`
13193 if test "${targ}" = "${target}"; then
13194 SIM_PRIMARY_TARGET=aarch64
13198 subdirs="$subdirs aarch64"
13200 ac_config_commands="$ac_config_commands depdir-aarch64"
13209 if test "${targ}" = "${target}"; then
13210 SIM_PRIMARY_TARGET=arm
13212 subdirs="$subdirs arm"
13214 ac_config_commands="$ac_config_commands depdir-arm"
13223 if test "${targ}" = "${target}"; then
13224 SIM_PRIMARY_TARGET=avr
13226 subdirs="$subdirs avr"
13228 ac_config_commands="$ac_config_commands depdir-avr"
13237 if test "${targ}" = "${target}"; then
13238 SIM_PRIMARY_TARGET=bfin
13240 subdirs="$subdirs bfin"
13242 ac_config_commands="$ac_config_commands depdir-bfin"
13251 if test "${targ}" = "${target}"; then
13252 SIM_PRIMARY_TARGET=bpf
13254 subdirs="$subdirs bpf"
13256 ac_config_commands="$ac_config_commands depdir-bpf"
13265 if test "${targ}" = "${target}"; then
13266 SIM_PRIMARY_TARGET=cr16
13268 subdirs="$subdirs cr16"
13270 ac_config_commands="$ac_config_commands depdir-cr16"
13278 all|cris-*-* | crisv32-*-*)
13279 if test "${targ}" = "${target}"; then
13280 SIM_PRIMARY_TARGET=cris
13282 subdirs="$subdirs cris"
13284 ac_config_commands="$ac_config_commands depdir-cris"
13293 if test "${targ}" = "${target}"; then
13294 SIM_PRIMARY_TARGET=d10v
13296 subdirs="$subdirs d10v"
13298 ac_config_commands="$ac_config_commands depdir-d10v"
13307 if test "${targ}" = "${target}"; then
13308 SIM_PRIMARY_TARGET=frv
13310 subdirs="$subdirs frv"
13312 ac_config_commands="$ac_config_commands depdir-frv"
13321 if test "${targ}" = "${target}"; then
13322 SIM_PRIMARY_TARGET=h8300
13324 subdirs="$subdirs h8300"
13326 ac_config_commands="$ac_config_commands depdir-h8300"
13335 if test "${targ}" = "${target}"; then
13336 SIM_PRIMARY_TARGET=iq2000
13338 subdirs="$subdirs iq2000"
13340 ac_config_commands="$ac_config_commands depdir-iq2000"
13349 if test "${targ}" = "${target}"; then
13350 SIM_PRIMARY_TARGET=lm32
13352 subdirs="$subdirs lm32"
13354 ac_config_commands="$ac_config_commands depdir-lm32"
13363 if test "${targ}" = "${target}"; then
13364 SIM_PRIMARY_TARGET=m32c
13366 subdirs="$subdirs m32c"
13368 ac_config_commands="$ac_config_commands depdir-m32c"
13377 if test "${targ}" = "${target}"; then
13378 SIM_PRIMARY_TARGET=m32r
13380 subdirs="$subdirs m32r"
13382 ac_config_commands="$ac_config_commands depdir-m32r"
13390 all|m68hc11-*-*|m6811-*-*)
13391 if test "${targ}" = "${target}"; then
13392 SIM_PRIMARY_TARGET=m68hc11
13394 subdirs="$subdirs m68hc11"
13396 ac_config_commands="$ac_config_commands depdir-m68hc11"
13405 if test "${targ}" = "${target}"; then
13406 SIM_PRIMARY_TARGET=mcore
13408 subdirs="$subdirs mcore"
13410 ac_config_commands="$ac_config_commands depdir-mcore"
13418 all|microblaze-*-*)
13419 if test "${targ}" = "${target}"; then
13420 SIM_PRIMARY_TARGET=microblaze
13422 subdirs="$subdirs microblaze"
13424 ac_config_commands="$ac_config_commands depdir-microblaze"
13433 if test "${targ}" = "${target}"; then
13434 SIM_PRIMARY_TARGET=mips
13436 subdirs="$subdirs mips"
13438 ac_config_commands="$ac_config_commands depdir-mips"
13447 if test "${targ}" = "${target}"; then
13448 SIM_PRIMARY_TARGET=mn10300
13450 subdirs="$subdirs mn10300"
13452 ac_config_commands="$ac_config_commands depdir-mn10300"
13461 if test "${targ}" = "${target}"; then
13462 SIM_PRIMARY_TARGET=moxie
13464 subdirs="$subdirs moxie"
13466 ac_config_commands="$ac_config_commands depdir-moxie"
13475 if test "${targ}" = "${target}"; then
13476 SIM_PRIMARY_TARGET=msp430
13478 subdirs="$subdirs msp430"
13480 ac_config_commands="$ac_config_commands depdir-msp430"
13488 all|or1k-*-* | or1knd-*-*)
13489 if test "${targ}" = "${target}"; then
13490 SIM_PRIMARY_TARGET=or1k
13492 subdirs="$subdirs or1k"
13494 ac_config_commands="$ac_config_commands depdir-or1k"
13503 if test "${targ}" = "${target}"; then
13504 SIM_PRIMARY_TARGET=pru
13506 subdirs="$subdirs pru"
13508 ac_config_commands="$ac_config_commands depdir-pru"
13517 if test "${targ}" = "${target}"; then
13518 SIM_PRIMARY_TARGET=riscv
13520 subdirs="$subdirs riscv"
13522 ac_config_commands="$ac_config_commands depdir-riscv"
13531 if test "${targ}" = "${target}"; then
13532 SIM_PRIMARY_TARGET=rl78
13534 subdirs="$subdirs rl78"
13536 ac_config_commands="$ac_config_commands depdir-rl78"
13545 if test "${targ}" = "${target}"; then
13546 SIM_PRIMARY_TARGET=rx
13548 subdirs="$subdirs rx"
13550 ac_config_commands="$ac_config_commands depdir-rx"
13559 if test "${targ}" = "${target}"; then
13560 SIM_PRIMARY_TARGET=sh
13562 subdirs="$subdirs sh"
13564 ac_config_commands="$ac_config_commands depdir-sh"
13572 all|sparc-*-rtems*|sparc-*-elf*)
13573 if test "${targ}" = "${target}"; then
13574 SIM_PRIMARY_TARGET=erc32
13576 subdirs="$subdirs erc32"
13578 ac_config_commands="$ac_config_commands depdir-erc32"
13587 if test "${targ}" = "${target}"; then
13588 SIM_PRIMARY_TARGET=ppc
13590 subdirs="$subdirs ppc"
13592 ac_config_commands="$ac_config_commands depdir-ppc"
13601 if test "${targ}" = "${target}"; then
13602 SIM_PRIMARY_TARGET=ft32
13604 subdirs="$subdirs ft32"
13606 ac_config_commands="$ac_config_commands depdir-ft32"
13615 if test "${targ}" = "${target}"; then
13616 SIM_PRIMARY_TARGET=v850
13618 subdirs="$subdirs v850"
13620 ac_config_commands="$ac_config_commands depdir-v850"
13629 if test "x${enable_example_sims}" = xyes; then
13630 subdirs="$subdirs example-synacor"
13632 ac_config_commands="$ac_config_commands depdir-example-synacor"
13637 if test "$sim_igen" = "yes"; then
13638 SIM_ENABLE_IGEN_TRUE=
13639 SIM_ENABLE_IGEN_FALSE='#'
13641 SIM_ENABLE_IGEN_TRUE
='#'
13642 SIM_ENABLE_IGEN_FALSE
=
13646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to force sim alignment" >&5
13647 $as_echo_n "checking whether to force sim alignment... " >&6; }
13649 # Check whether --enable-sim-alignment was given.
13650 if test "${enable_sim_alignment+set}" = set; then :
13651 enableval
=$enable_sim_alignment; case "${enableval}" in
13652 yes | strict | STRICT
) sim_alignment
="STRICT_ALIGNMENT";;
13653 no | nonstrict | NONSTRICT
) sim_alignment
="NONSTRICT_ALIGNMENT";;
13654 forced | FORCED
) sim_alignment
="FORCED_ALIGNMENT";;
13655 *) as_fn_error $?
"\"Unknown value $enableval passed to --enable-sim-alignment\"" "$LINENO" 5;;
13659 cat >>confdefs.h
<<_ACEOF
13660 #define WITH_ALIGNMENT ${sim_alignment:-0}
13663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${sim_alignment:-no}" >&5
13664 $as_echo "${sim_alignment:-no}" >&6; }
13667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable sim asserts" >&5
13668 $as_echo_n "checking whether to enable sim asserts... " >&6; }
13670 # Check whether --enable-sim-assert was given.
13671 if test "${enable_sim_assert+set}" = set; then :
13672 enableval
=$enable_sim_assert; case "${enableval}" in
13673 yes) sim_assert
="1";;
13674 no
) sim_assert
="0";;
13675 *) as_fn_error $?
"--enable-sim-assert does not take a value" "$LINENO" 5;;
13679 cat >>confdefs.h
<<_ACEOF
13680 #define WITH_ASSERT $sim_assert
13683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_assert" >&5
13684 $as_echo "$sim_assert" >&6; }
13686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sim debug setting" >&5
13687 $as_echo_n "checking for sim debug setting... " >&6; }
13689 # Check whether --enable-sim-debug was given.
13690 if test "${enable_sim_debug+set}" = set; then :
13691 enableval
=$enable_sim_debug; case "${enableval}" in
13692 yes) sim_debug
="7";;
13693 no
) sim_debug
="0";;
13694 *) sim_debug
="($enableval)";;
13697 if test "$sim_debug" != "0"; then
13699 cat >>confdefs.h
<<_ACEOF
13700 #define DEBUG $sim_debug
13705 cat >>confdefs.h
<<_ACEOF
13706 #define WITH_DEBUG $sim_debug
13709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_debug" >&5
13710 $as_echo "$sim_debug" >&6; }
13712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to force sim endianness" >&5
13713 $as_echo_n "checking whether to force sim endianness... " >&6; }
13715 # Check whether --enable-sim-endian was given.
13716 if test "${enable_sim_endian+set}" = set; then :
13717 enableval
=$enable_sim_endian; case "${enableval}" in
13718 b
*|B
*) sim_endian
="BFD_ENDIAN_BIG";;
13719 l
*|L
*) sim_endian
="BFD_ENDIAN_LITTLE";;
13721 *) as_fn_error $?
"\"Unknown value $enableval for --enable-sim-endian\"" "$LINENO" 5;;
13725 cat >>confdefs.h
<<_ACEOF
13726 #define WITH_TARGET_BYTE_ORDER ${sim_endian:-BFD_ENDIAN_UNKNOWN}
13729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${sim_alignment:-no}" >&5
13730 $as_echo "${sim_alignment:-no}" >&6; }
13733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking default sim environment setting" >&5
13734 $as_echo_n "checking default sim environment setting... " >&6; }
13735 sim_environment
="ALL_ENVIRONMENT"
13736 # Check whether --enable-sim-environment was given.
13737 if test "${enable_sim_environment+set}" = set; then :
13738 enableval
=$enable_sim_environment; case "${enableval}" in
13739 all | ALL
) sim_environment
="ALL_ENVIRONMENT";;
13740 user | USER
) sim_environment
="USER_ENVIRONMENT";;
13741 virtual | VIRTUAL
) sim_environment
="VIRTUAL_ENVIRONMENT";;
13742 operating | OPERATING
) sim_environment
="OPERATING_ENVIRONMENT";;
13743 *) as_fn_error $?
"Unknown value $enableval passed to --enable-sim-environment" "$LINENO" 5;;
13747 cat >>confdefs.h
<<_ACEOF
13748 #define WITH_ENVIRONMENT $sim_environment
13751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_environment" >&5
13752 $as_echo "$sim_environment" >&6; }
13754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sim profile settings" >&5
13755 $as_echo_n "checking for sim profile settings... " >&6; }
13758 # Check whether --enable-sim-profile was given.
13759 if test "${enable_sim_profile+set}" = set; then :
13760 enableval
=$enable_sim_profile; case "${enableval}" in
13761 yes) profile
="1" sim_profile
="-1";;
13762 no
) profile
="0" sim_profile
="0";;
13764 profile
="(${enableval})" sim_profile
="(${enableval})";;
13768 for x
in `echo "$enableval" | sed -e "s/,/ /g"`; do
13769 if test x
"$sim_profile" = x
; then
13770 sim_profile
="(PROFILE_$x"
13772 sim_profile
="${sim_profile}|PROFILE_$x"
13775 sim_profile
="$sim_profile)" ;;
13779 cat >>confdefs.h
<<_ACEOF
13780 #define PROFILE $profile
13784 cat >>confdefs.h
<<_ACEOF
13785 #define WITH_PROFILE $sim_profile
13788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_profile" >&5
13789 $as_echo "$sim_profile" >&6; }
13791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sim stdio debug behavior" >&5
13792 $as_echo_n "checking for sim stdio debug behavior... " >&6; }
13794 # Check whether --enable-sim-stdio was given.
13795 if test "${enable_sim_stdio+set}" = set; then :
13796 enableval
=$enable_sim_stdio; case "${enableval}" in
13797 yes) sim_stdio
="DO_USE_STDIO";;
13798 no
) sim_stdio
="DONT_USE_STDIO";;
13799 *) as_fn_error $?
"Unknown value $enableval passed to --enable-sim-stdio" "$LINENO" 5;;
13803 cat >>confdefs.h
<<_ACEOF
13804 #define WITH_STDIO $sim_stdio
13807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_stdio" >&5
13808 $as_echo "$sim_stdio" >&6; }
13810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sim trace settings" >&5
13811 $as_echo_n "checking for sim trace settings... " >&6; }
13812 sim_trace
="~TRACE_debug"
13813 # Check whether --enable-sim-trace was given.
13814 if test "${enable_sim_trace+set}" = set; then :
13815 enableval
=$enable_sim_trace; case "${enableval}" in
13816 yes) sim_trace
="-1";;
13817 no
) sim_trace
="0";;
13819 sim_trace
="'(${enableval})'";;
13822 for x
in `echo "$enableval" | sed -e "s/,/ /g"`; do
13823 if test x
"$sim_trace" = x
; then
13824 sim_trace
="(TRACE_$x"
13826 sim_trace
="${sim_trace}|TRACE_$x"
13829 sim_trace
="$sim_trace)" ;;
13833 cat >>confdefs.h
<<_ACEOF
13834 #define WITH_TRACE $sim_trace
13837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_trace" >&5
13838 $as_echo "$sim_trace" >&6; }
13841 # Check whether --enable-werror was given.
13842 if test "${enable_werror+set}" = set; then :
13843 enableval
=$enable_werror; case "${enableval}" in
13844 yes | y
) ERROR_ON_WARNING
="yes" ;;
13845 no | n
) ERROR_ON_WARNING
="no" ;;
13846 *) as_fn_error $?
"bad value ${enableval} for --enable-werror" "$LINENO" 5 ;;
13851 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
13852 ERROR_ON_WARNING
=yes
13856 if test "${ERROR_ON_WARNING}" = yes ; then
13857 WERROR_CFLAGS
="-Werror"
13860 build_warnings
="-Wall -Wdeclaration-after-statement -Wpointer-arith \
13862 -Wno-unused -Wunused-value -Wunused-function \
13863 -Wno-switch -Wno-char-subscripts -Wmissing-prototypes
13864 -Wdeclaration-after-statement -Wempty-body -Wmissing-parameter-type \
13865 -Wold-style-declaration -Wold-style-definition"
13867 # Enable -Wno-format by default when using gcc on mingw since many
13868 # GCC versions complain about %I64.
13870 *-*-mingw32*) build_warnings
="$build_warnings -Wno-format" ;;
13871 *) build_warnings
="$build_warnings -Wformat-nonliteral" ;;
13874 # Check whether --enable-build-warnings was given.
13875 if test "${enable_build_warnings+set}" = set; then :
13876 enableval
=$enable_build_warnings; case "${enableval}" in
13878 no
) build_warnings
="-w";;
13879 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
13880 build_warnings
="${build_warnings} ${t}";;
13881 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
13882 build_warnings
="${t} ${build_warnings}";;
13883 *) build_warnings
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
13885 if test x
"$silent" != x
"yes" && test x
"$build_warnings" != x
""; then
13886 echo "Setting compiler warning flags = $build_warnings" 6>&1
13889 # Check whether --enable-sim-build-warnings was given.
13890 if test "${enable_sim_build_warnings+set}" = set; then :
13891 enableval
=$enable_sim_build_warnings; case "${enableval}" in
13893 no
) build_warnings
="-w";;
13894 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
13895 build_warnings
="${build_warnings} ${t}";;
13896 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
13897 build_warnings
="${t} ${build_warnings}";;
13898 *) build_warnings
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
13900 if test x
"$silent" != x
"yes" && test x
"$build_warnings" != x
""; then
13901 echo "Setting GDB specific compiler warning flags = $build_warnings" 6>&1
13905 if test "x${build_warnings}" != x
-a "x$GCC" = xyes
13907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking compiler warning flags" >&5
13908 $as_echo_n "checking compiler warning flags... " >&6; }
13909 # Separate out the -Werror flag as some files just cannot be
13910 # compiled with it enabled.
13911 for w
in ${build_warnings}; do
13913 -Werr*) WERROR_CFLAGS
=-Werror ;;
13914 *) # Check that GCC accepts it
13915 saved_CFLAGS
="$CFLAGS"
13916 CFLAGS
="$CFLAGS -Werror $w"
13917 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13918 /* end confdefs.h. */
13928 if ac_fn_c_try_compile
"$LINENO"; then :
13929 WARN_CFLAGS
="${WARN_CFLAGS} $w"
13931 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13932 CFLAGS
="$saved_CFLAGS"
13935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${WARN_CFLAGS} ${WERROR_CFLAGS}" >&5
13936 $as_echo "${WARN_CFLAGS} ${WERROR_CFLAGS}" >&6; }
13940 ac_config_files="$ac_config_files arch-subdir.mk Makefile
"
13942 cat >confcache <<\_ACEOF
13943 # This file is a shell script that caches the results of configure
13944 # tests run on this system so they can be shared between configure
13945 # scripts and configure runs, see configure's option --config-cache.
13946 # It is not useful on other systems. If it contains results you don't
13947 # want to keep, you may remove or edit it.
13949 # config.status only pays attention to the cache file if you give it
13950 # the --recheck option to rerun configure.
13952 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13953 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13954 # following values.
13958 # The following way of writing the cache mishandles newlines in values,
13959 # but we know of no workaround that is simple, portable, and efficient.
13960 # So, we kill variables containing newlines.
13961 # Ultrix sh set writes to stderr and can't be redirected directly,
13962 # and sets the high bit in the cache file unless we assign to the vars.
13964 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13965 eval ac_val=\$$ac_var
13969 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: cache variable
$ac_var contains a newline
" >&5
13970 $as_echo "$as_me: WARNING
: cache variable
$ac_var contains a newline
" >&2;} ;;
13973 _ | IFS | as_nl) ;; #(
13974 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
13975 *) { eval $ac_var=; unset $ac_var;} ;;
13981 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13982 *${as_nl}ac_space=\ *)
13983 # `set' does not quote correctly, so add quotes: double-quote
13984 # substitution turns \\\\ into \\, and sed turns \\ into \.
13987 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
13990 # `set' quotes correctly as required by POSIX, so do not add quotes.
13991 sed -n "/^
[_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*=/p
"
14000 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14002 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14004 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14005 if test -w "$cache_file"; then
14006 if test "x
$cache_file" != "x
/dev
/null
"; then
14007 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache
$cache_file" >&5
14008 $as_echo "$as_me: updating cache
$cache_file" >&6;}
14009 if test ! -f "$cache_file" || test -h "$cache_file"; then
14010 cat confcache >"$cache_file"
14012 case $cache_file in #(
14014 mv -f confcache "$cache_file"$$ &&
14015 mv -f "$cache_file"$$ "$cache_file" ;; #(
14017 mv -f confcache "$cache_file" ;;
14022 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache
$cache_file" >&5
14023 $as_echo "$as_me: not updating unwritable cache
$cache_file" >&6;}
14028 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
14029 # Let make expand exec_prefix.
14030 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
14032 DEFS=-DHAVE_CONFIG_H
14037 for ac_i in : $LIBOBJS; do test "x
$ac_i" = x: && continue
14038 # 1. Remove the extension, and $U if already installed.
14039 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
14040 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14041 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14042 # will be set to the directory where LIBOBJS objects are built.
14043 as_fn_append ac_libobjs " \
${LIBOBJDIR}$ac_i\
$U.
$ac_objext"
14044 as_fn_append ac_ltlibobjs " \
${LIBOBJDIR}$ac_i"'$U.lo'
14046 LIBOBJS=$ac_libobjs
14048 LTLIBOBJS=$ac_ltlibobjs
14052 if test -z "${PLUGINS_TRUE}" && test -z "${PLUGINS_FALSE}"; then
14053 as_fn_error $? "conditional
\"PLUGINS
\" was never defined.
14054 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
14056 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
14057 as_fn_error $? "conditional
\"MAINTAINER_MODE
\" was never defined.
14058 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
14060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure
" >&5
14061 $as_echo_n "checking that generated files are newer than configure...
" >&6; }
14062 if test -n "$am_sleep_pid"; then
14063 # Hide warnings about reused PIDs.
14064 wait $am_sleep_pid 2>/dev/null
14066 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: done" >&5
14067 $as_echo "done" >&6; }
14068 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14069 as_fn_error $? "conditional
\"AMDEP
\" was never defined.
14070 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
14072 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14073 as_fn_error $? "conditional
\"am__fastdepCC
\" was never defined.
14074 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
14076 if test -n "$EXEEXT"; then
14078 am__EXEEXT_FALSE='#'
14080 am__EXEEXT_TRUE='#'
14084 if test -z "${SIM_ENABLE_IGEN_TRUE}" && test -z "${SIM_ENABLE_IGEN_FALSE}"; then
14085 as_fn_error $? "conditional
\"SIM_ENABLE_IGEN
\" was never defined.
14086 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
14089 : "${CONFIG_STATUS=./config.status}"
14091 ac_clean_files_save=$ac_clean_files
14092 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14093 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$CONFIG_STATUS" >&5
14094 $as_echo "$as_me: creating
$CONFIG_STATUS" >&6;}
14096 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14098 # Generated by $as_me.
14099 # Run this file to recreate the current configuration.
14100 # Compiler output produced by configure, useful for debugging
14101 # configure, is in config.log if it exists.
14104 ac_cs_recheck=false
14107 SHELL=\${CONFIG_SHELL-$SHELL}
14110 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
14111 ## -------------------- ##
14112 ## M4sh Initialization. ##
14113 ## -------------------- ##
14115 # Be more Bourne compatible
14116 DUALCASE=1; export DUALCASE # for MKS sh
14117 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
14120 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14121 # is contrary to our usage. Disable this feature.
14122 alias -g '${1+"$@"}'='"$@
"'
14123 setopt NO_GLOB_SUBST
14125 case `(set -o) 2>/dev/null` in #(
14137 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14138 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14139 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14140 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14141 # Prefer a ksh shell builtin over an external printf program on Solaris,
14142 # but without wasting forks for bash or zsh.
14143 if test -z "$BASH_VERSION$ZSH_VERSION" \
14144 && (test "X
`print -r -- $as_echo`" = "X
$as_echo") 2>/dev/null; then
14145 as_echo='print -r --'
14146 as_echo_n='print -rn --'
14147 elif (test "X
`printf %s $as_echo`" = "X
$as_echo") 2>/dev/null; then
14148 as_echo='printf %s\n'
14149 as_echo_n='printf %s'
14151 if test "X
`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n
$as_echo"; then
14152 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
14153 as_echo_n='/usr/ucb/echo -n'
14155 as_echo_body='eval expr "X
$1" : "X
\\(.
*\\)"'
14156 as_echo_n_body='eval
14160 expr "X
$arg" : "X
\\(.
*\\)$as_nl";
14161 arg=`expr "X
$arg" : ".
*$as_nl\\(.
*\\)"`;;
14163 expr "X
$arg" : "X
\\(.
*\\)" | tr -d "$as_nl"
14165 export as_echo_n_body
14166 as_echo_n='sh -c $as_echo_n_body as_echo'
14168 export as_echo_body
14169 as_echo='sh -c $as_echo_body as_echo'
14172 # The user is always right.
14173 if test "${PATH_SEPARATOR+set}" != set; then
14175 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14176 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14183 # We need space, tab and new line, in precisely that order. Quoting is
14184 # there to prevent editors from complaining about space-tab.
14185 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14186 # splitting by setting IFS to empty value.)
14189 # Find who we are. Look in the path if we contain no directory separator.
14192 *[\\/]* ) as_myself=$0 ;;
14193 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14194 for as_dir in $PATH
14197 test -z "$as_dir" && as_dir=.
14198 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14204 # We did not find ourselves, most probably we were run as `sh COMMAND'
14205 # in which case we are not to be found in the path.
14206 if test "x
$as_myself" = x; then
14209 if test ! -f "$as_myself"; then
14210 $as_echo "$as_myself: error
: cannot
find myself
; rerun with an absolute
file name
" >&2
14214 # Unset variables that we do not need and which cause bugs (e.g. in
14215 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "||
exit 1"
14216 # suppresses any "Segmentation fault
" message there. '((' could
14217 # trigger a bug in pdksh 5.2.14.
14218 for as_var in BASH_ENV ENV MAIL MAILPATH
14219 do eval test x\${$as_var+set} = xset \
14220 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
14233 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14236 # as_fn_error STATUS ERROR [LINENO LOG_FD]
14237 # ----------------------------------------
14238 # Output "`basename $0`: error
: ERROR
" to stderr. If LINENO and LOG_FD are
14239 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14240 # script with STATUS, using 1 if that was 0.
14243 as_status=$1; test $as_status -eq 0 && as_status=1
14245 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
14246 $as_echo "$as_me:${as_lineno-$LINENO}: error
: $2" >&$4
14248 $as_echo "$as_me: error
: $2" >&2
14249 as_fn_exit $as_status
14253 # as_fn_set_status STATUS
14254 # -----------------------
14255 # Set $? to STATUS, without forking.
14256 as_fn_set_status ()
14259 } # as_fn_set_status
14261 # as_fn_exit STATUS
14262 # -----------------
14263 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14267 as_fn_set_status $1
14273 # Portably unset VAR.
14276 { eval $1=; unset $1;}
14278 as_unset=as_fn_unset
14279 # as_fn_append VAR VALUE
14280 # ----------------------
14281 # Append the text in VALUE to the end of the definition contained in VAR. Take
14282 # advantage of any shell optimizations that allow amortized linear growth over
14283 # repeated appends, instead of the typical quadratic growth present in naive
14285 if (eval "as_var
=1; as_var
+=2; test x\
$as_var = x12
") 2>/dev/null; then :
14286 eval 'as_fn_append ()
14297 # as_fn_arith ARG...
14298 # ------------------
14299 # Perform arithmetic evaluation on the ARGs, and store the result in the
14300 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14301 # must be portable across $(()) and expr.
14302 if (eval "test \$
(( 1 + 1 )) = 2") 2>/dev/null; then :
14303 eval 'as_fn_arith ()
14310 as_val=`expr "$@
" || test $? -eq 1`
14315 if expr a : '\(a\)' >/dev/null 2>&1 &&
14316 test "X
`expr 00001 : '.*\(...\)'`" = X001; then
14322 if (basename -- /) >/dev/null 2>&1 && test "X
`basename -- / 2>&1`" = "X
/"; then
14323 as_basename=basename
14328 if (as_dir=`dirname -- /` && test "X
$as_dir" = X/) >/dev/null 2>&1; then
14334 as_me=`$as_basename -- "$0" ||
14335 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14336 X"$0" : 'X\(//\)$' \| \
14337 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14339 sed '/^.*\/\([^/][^/]*\)\/*$/{
14353 # Avoid depending upon Character Ranges.
14354 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
14355 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14356 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
14357 as_cr_digits='0123456789'
14358 as_cr_alnum=$as_cr_Letters$as_cr_digits
14360 ECHO_C= ECHO_N= ECHO_T=
14361 case `echo -n x` in #(((((
14363 case `echo 'xy\c'` in
14364 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
14366 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
14373 rm -f conf$$ conf$$.exe conf$$.file
14374 if test -d conf$$.dir; then
14375 rm -f conf$$.dir/conf$$.file
14378 mkdir conf$$.dir 2>/dev/null
14380 if (echo >conf$$.file) 2>/dev/null; then
14381 if ln -s conf$$.file conf$$ 2>/dev/null; then
14383 # ... but there are two gotchas:
14384 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14385 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14386 # In both cases, we have to default to `cp -pR'.
14387 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
14389 elif ln conf$$.file conf$$ 2>/dev/null; then
14397 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
14398 rmdir conf$$.dir 2>/dev/null
14403 # Create "$as_dir" as a directory, including parents if necessary.
14408 -*) as_dir=./$as_dir;;
14410 test -d "$as_dir" || eval $as_mkdir_p || {
14414 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s
/'/'\\\\\\\\''/g
"`;; #'(
14415 *) as_qdir=$as_dir;;
14417 as_dirs="'$as_qdir' $as_dirs"
14418 as_dir=`$as_dirname -- "$as_dir" ||
14419 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14420 X"$as_dir" : 'X\(//\)[^/]' \| \
14421 X"$as_dir" : 'X\(//\)$' \| \
14422 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14423 $as_echo X"$as_dir" |
14424 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14428 /^X\(\/\/\)[^/].*/{
14441 test -d "$as_dir" && break
14443 test -z "$as_dirs" || eval "mkdir
$as_dirs"
14444 } || test -d "$as_dir" || as_fn_error $? "cannot create directory
$as_dir"
14448 if mkdir -p . 2>/dev/null; then
14449 as_mkdir_p='mkdir -p "$as_dir"'
14451 test -d ./-p && rmdir ./-p
14456 # as_fn_executable_p FILE
14457 # -----------------------
14458 # Test if FILE is an executable regular file.
14459 as_fn_executable_p ()
14461 test -f "$1" && test -x "$1"
14462 } # as_fn_executable_p
14463 as_test_x='test -x'
14464 as_executable_p=as_fn_executable_p
14466 # Sed expression to map a string onto a valid CPP name.
14467 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14469 # Sed expression to map a string onto a valid variable name.
14470 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14474 ## ----------------------------------- ##
14475 ## Main body of $CONFIG_STATUS script. ##
14476 ## ----------------------------------- ##
14478 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
14480 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14481 # Save the log message, to keep $0 and so on meaningful, and to
14482 # report actual input values of CONFIG_FILES etc. instead of their
14483 # values after options handling.
14485 This
file was extended by sim
$as_me 0, which was
14486 generated by GNU Autoconf
2.69. Invocation
command line was
14488 CONFIG_FILES
= $CONFIG_FILES
14489 CONFIG_HEADERS
= $CONFIG_HEADERS
14490 CONFIG_LINKS
= $CONFIG_LINKS
14491 CONFIG_COMMANDS
= $CONFIG_COMMANDS
14494 on
`(hostname || uname -n) 2>/dev/null | sed 1q`
14499 case $ac_config_files in *"
14500 "*) set x $ac_config_files; shift; ac_config_files=$*;;
14503 case $ac_config_headers in *"
14504 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
14508 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14509 # Files that config.status was made for.
14510 config_files="$ac_config_files"
14511 config_headers="$ac_config_headers"
14512 config_commands="$ac_config_commands"
14516 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14518 \
`$as_me' instantiates files and other configuration actions
14519 from templates according to the current configuration. Unless the files
14520 and actions are specified as TAGs, all are instantiated by default.
14522 Usage: $0 [OPTION]... [TAG]...
14524 -h, --help print this help, then exit
14525 -V, --version print version number and configuration settings, then exit
14526 --config print configuration, then exit
14527 -q, --quiet, --silent
14528 do not print progress messages
14529 -d, --debug don't remove temporary files
14530 --recheck update $as_me by reconfiguring in the same conditions
14531 --file=FILE[:TEMPLATE]
14532 instantiate the configuration file FILE
14533 --header=FILE[:TEMPLATE]
14534 instantiate the configuration header FILE
14536 Configuration files:
14539 Configuration headers:
14542 Configuration commands:
14545 Report bugs to <https://sourceware.org/bugzilla/enter_bug.cgi?product=gdb&component=sim>.
14546 sim home page: <https://sourceware.org/gdb/wiki/Sim/>."
14549 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14550 ac_cs_config="`$as_echo "$ac_configure_args" |
sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
14552 sim config.status 0
14553 configured by $0, generated by GNU Autoconf 2.69,
14554 with options \\"\$ac_cs_config\\"
14556 Copyright (C) 2012 Free Software Foundation, Inc.
14557 This config.status script is free software; the Free Software Foundation
14558 gives unlimited permission to copy, distribute and modify it."
14565 test -n "\$AWK" || AWK=awk
14568 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14569 # The default lists apply if the user does not specify any file.
14575 ac_option=`expr "X$1" : 'X\([^=]*\)='`
14576 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
14580 ac_option=`expr "X$1" : 'X\([^=]*\)='`
14592 # Handling of the options.
14593 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
14595 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
14596 $as_echo "$ac_cs_version"; exit ;;
14597 --config | --confi | --conf | --con | --co | --c )
14598 $as_echo "$ac_cs_config"; exit ;;
14599 --debug | --debu | --deb | --de | --d | -d )
14601 --file | --fil | --fi | --f )
14604 *\'*) ac_optarg=`$as_echo "$ac_optarg" |
sed "s/'/'\\\\\\\\''/g"` ;;
14605 '') as_fn_error $? "missing file argument" ;;
14607 as_fn_append CONFIG_FILES " '$ac_optarg'"
14608 ac_need_defaults=false;;
14609 --header | --heade | --head | --hea )
14612 *\'*) ac_optarg=`$as_echo "$ac_optarg" |
sed "s/'/'\\\\\\\\''/g"` ;;
14614 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
14615 ac_need_defaults=false;;
14617 # Conflict between --help and --header
14618 as_fn_error $? "ambiguous option: \`$1'
14619 Try \`$0 --help' for more information.
";;
14620 --help | --hel | -h )
14621 $as_echo "$ac_cs_usage"; exit ;;
14622 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
14623 | -silent | --silent | --silen | --sile | --sil | --si | --s)
14626 # This is an error.
14627 -*) as_fn_error $? "unrecognized option
: \
`$1'
14628 Try \`$0 --help' for more information." ;;
14630 *) as_fn_append ac_config_targets " $1"
14631 ac_need_defaults=false ;;
14637 ac_configure_extra_args=
14639 if $ac_cs_silent; then
14641 ac_configure_extra_args="$ac_configure_extra_args --silent"
14645 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14646 if \$ac_cs_recheck; then
14647 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14649 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
14650 CONFIG_SHELL='$SHELL'
14651 export CONFIG_SHELL
14656 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14660 sed 'h
;s
/.
/-/g
;s
/^...
/## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14661 ## Running $as_me. ##
14667 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14673 # The HP-UX ksh and POSIX shell print the target directory to stdout
14674 # if CDPATH is set.
14675 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14677 sed_quote_subst='$sed_quote_subst'
14678 double_quote_subst='$double_quote_subst'
14679 delay_variable_subst='$delay_variable_subst'
14680 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
14681 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
14682 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
14683 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
14684 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
14685 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
14686 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
14687 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
14688 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
14689 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
14690 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
14691 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
14692 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
14693 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
14694 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
14695 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
14696 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
14697 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
14698 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
14699 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
14700 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
14701 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
14702 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
14703 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
14704 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
14705 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
14706 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
14707 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
14708 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
14709 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
14710 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
14711 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
14712 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
14713 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
14714 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
14715 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
14716 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
14717 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14718 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14719 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
14720 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
14721 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
14722 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
14723 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
14724 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
14725 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
14726 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
14727 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
14728 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"`'
14729 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
14730 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
14731 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
14732 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
14733 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
14734 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
14735 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
14736 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
14737 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
14738 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
14739 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
14740 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
14741 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
14742 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
14743 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
14744 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14745 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
14746 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
14747 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
14748 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
14749 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
14750 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
14751 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14752 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
14753 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14754 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
14755 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14756 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
14757 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
14758 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
14759 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
14760 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
14761 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
14762 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
14763 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
14764 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
14765 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
14766 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
14767 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
14768 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
14769 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
14770 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
14771 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
14772 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
14773 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
14774 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
14775 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
14776 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
14777 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
14778 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
14779 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
14780 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
14781 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
14782 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
14783 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
14784 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
14785 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
14786 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
14787 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14788 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14789 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
14790 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
14791 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
14792 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
14793 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
14794 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
14795 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
14796 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
14797 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
14798 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
14799 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
14802 LTCFLAGS='$LTCFLAGS'
14803 compiler='$compiler_DEFAULT'
14805 # A function that is used when there is no print builtin or printf.
14806 func_fallback_echo ()
14808 eval 'cat <<_LTECHO_EOF
14813 # Quote evaled strings.
14827 deplibs_check_method \
14836 lt_cv_sys_global_symbol_pipe \
14837 lt_cv_sys_global_symbol_to_cdecl \
14838 lt_cv_sys_global_symbol_to_c_name_address \
14839 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14840 lt_prog_compiler_no_builtin_flag \
14841 lt_prog_compiler_wl \
14842 lt_prog_compiler_pic \
14843 lt_prog_compiler_static \
14844 lt_cv_prog_compiler_c_o \
14852 export_dynamic_flag_spec \
14853 whole_archive_flag_spec \
14854 compiler_needs_object \
14856 allow_undefined_flag \
14857 no_undefined_flag \
14858 hardcode_libdir_flag_spec \
14859 hardcode_libdir_flag_spec_ld \
14860 hardcode_libdir_separator \
14865 variables_saved_for_relink \
14867 library_names_spec \
14869 install_override_mode \
14873 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14874 *[\\\\\\\`\\"\\\$]*)
14875 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
14878 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14883 # Double-quote double-evaled strings.
14884 for var in reload_cmds \
14885 old_postinstall_cmds \
14886 old_postuninstall_cmds \
14888 extract_expsyms_cmds \
14889 old_archive_from_new_cmds \
14890 old_archive_from_expsyms_cmds \
14892 archive_expsym_cmds \
14894 module_expsym_cmds \
14895 export_symbols_cmds \
14898 postuninstall_cmds \
14900 sys_lib_search_path_spec \
14901 sys_lib_dlsearch_path_spec; do
14902 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14903 *[\\\\\\\`\\"\\\$]*)
14904 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
14907 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14912 ac_aux_dir='$ac_aux_dir'
14913 xsi_shell='$xsi_shell'
14914 lt_shell_append='$lt_shell_append'
14916 # See if we are running on zsh, and set the options which allow our
14917 # commands through without removal of \ escapes INIT.
14918 if test -n "\${ZSH_VERSION+set}" ; then
14919 setopt NO_GLOB_SUBST
14925 TIMESTAMP='$TIMESTAMP'
14931 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
14932 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
14933 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
14934 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
14935 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
14936 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
14937 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
14938 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
14939 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
14940 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
14941 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
14942 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
14943 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
14944 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
14945 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
14946 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
14947 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
14948 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
14949 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
14950 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
14951 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
14952 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
14953 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
14954 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
14955 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
14956 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
14957 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
14958 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
14959 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
14960 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
14961 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
14962 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
14963 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
14967 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14969 # Handling of arguments.
14970 for ac_config_target
in $ac_config_targets
14972 case $ac_config_target in
14973 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
14974 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
14975 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
14976 "depdir-aarch64") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-aarch64" ;;
14977 "depdir-arm") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-arm" ;;
14978 "depdir-avr") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-avr" ;;
14979 "depdir-bfin") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-bfin" ;;
14980 "depdir-bpf") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-bpf" ;;
14981 "depdir-cr16") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-cr16" ;;
14982 "depdir-cris") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-cris" ;;
14983 "depdir-d10v") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-d10v" ;;
14984 "depdir-frv") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-frv" ;;
14985 "depdir-h8300") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-h8300" ;;
14986 "depdir-iq2000") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-iq2000" ;;
14987 "depdir-lm32") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-lm32" ;;
14988 "depdir-m32c") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-m32c" ;;
14989 "depdir-m32r") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-m32r" ;;
14990 "depdir-m68hc11") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-m68hc11" ;;
14991 "depdir-mcore") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-mcore" ;;
14992 "depdir-microblaze") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-microblaze" ;;
14993 "depdir-mips") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-mips" ;;
14994 "depdir-mn10300") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-mn10300" ;;
14995 "depdir-moxie") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-moxie" ;;
14996 "depdir-msp430") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-msp430" ;;
14997 "depdir-or1k") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-or1k" ;;
14998 "depdir-pru") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-pru" ;;
14999 "depdir-riscv") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-riscv" ;;
15000 "depdir-rl78") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-rl78" ;;
15001 "depdir-rx") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-rx" ;;
15002 "depdir-sh") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-sh" ;;
15003 "depdir-erc32") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-erc32" ;;
15004 "depdir-ppc") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-ppc" ;;
15005 "depdir-ft32") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-ft32" ;;
15006 "depdir-v850") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-v850" ;;
15007 "depdir-example-synacor") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-example-synacor" ;;
15008 "arch-subdir.mk") CONFIG_FILES
="$CONFIG_FILES arch-subdir.mk" ;;
15009 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
15011 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15016 # If the user did not use the arguments to specify the items to instantiate,
15017 # then the envvar interface is used. Set only those that are not.
15018 # We use the long form for the default assignment because of an extremely
15019 # bizarre bug on SunOS 4.1.3.
15020 if $ac_need_defaults; then
15021 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15022 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
15023 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
15026 # Have a temporary directory for convenience. Make it in the build tree
15027 # simply because there is no reason against having it here, and in addition,
15028 # creating and moving files from /tmp can sometimes cause problems.
15029 # Hook for its removal unless debugging.
15030 # Note that there is a small window in which the directory will not be cleaned:
15031 # after its creation but before its name has been assigned to `$tmp'.
15035 trap 'exit_status=$?
15036 : "${ac_tmp:=$tmp}"
15037 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15039 trap 'as_fn_exit 1' 1 2 13 15
15041 # Create a (secure) tmp directory for tmp files.
15044 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15048 tmp
=.
/conf$$
-$RANDOM
15049 (umask 077 && mkdir
"$tmp")
15050 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
15053 # Set up the scripts for CONFIG_FILES section.
15054 # No need to generate them if there are no CONFIG_FILES.
15055 # This happens for instance with `./config.status config.h'.
15056 if test -n "$CONFIG_FILES"; then
15059 ac_cr
=`echo X | tr X '\015'`
15060 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15061 # But we know of no other shell where ac_cr would be empty at this
15062 # point, so we can use a bashism as a fallback.
15063 if test "x$ac_cr" = x
; then
15064 eval ac_cr
=\$
\'\\r
\'
15066 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15067 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15070 ac_cs_awk_cr
=$ac_cr
15073 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15078 echo "cat >conf$$subs.awk <<_ACEOF" &&
15079 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15081 } >conf$$subs.sh ||
15082 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15083 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15085 for ac_last_try in false false false false false :; do
15086 . ./conf$$subs.sh ||
15087 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15089 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
15090 if test $ac_delim_n = $ac_delim_num; then
15092 elif $ac_last_try; then
15093 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15095 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15098 rm -f conf$$subs.sh
15100 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15101 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
15105 s/^/S["/; s
/!.
*/"]=/
15115 s/\(.\{148\}\)..*/\1/
15117 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
15122 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15129 s/\(.\{148\}\)..*/\1/
15131 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
15135 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15140 ' <conf$$subs.awk | sed '
15145 ' >>$CONFIG_STATUS || ac_write_fail=1
15146 rm -f conf$$subs.awk
15147 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15149 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
15150 for (key in S) S_is_set[key] = 1
15156 nfields = split(line, field, "@
")
15158 len = length(field[1])
15159 for (i = 2; i < nfields; i++) {
15161 keylen = length(key)
15162 if (S_is_set[key]) {
15164 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15165 len += length(value) + length(field[++i])
15176 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15177 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15178 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
15181 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
15182 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
15185 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15186 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
15187 # trailing colons and then remove the whole line if VPATH becomes empty
15188 # (actually we leave an empty line to preserve line numbers).
15189 if test "x
$srcdir" = x.; then
15190 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
15208 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15209 fi # test -n "$CONFIG_FILES"
15211 # Set up the scripts for CONFIG_HEADERS section.
15212 # No need to generate them if there are no CONFIG_HEADERS.
15213 # This happens for instance with `./config.status Makefile'.
15214 if test -n "$CONFIG_HEADERS"; then
15215 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
15219 # Transform confdefs.h into an awk script `defines.awk', embedded as
15220 # here-document in config.status, that substitutes the proper values into
15221 # config.h.in to produce config.h.
15223 # Create a delimiter string that does not exist in confdefs.h, to ease
15224 # handling of long lines.
15226 for ac_last_try in false false :; do
15227 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
15228 if test -z "$ac_tt"; then
15230 elif $ac_last_try; then
15231 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
15233 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15237 # For the awk script, D is an array of macro values keyed by name,
15238 # likewise P contains macro parameters if any. Preserve backslash
15239 # newline sequences.
15241 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15243 s/.\{148\}/&'"$ac_delim"'/g
15246 s/^[ ]*#[ ]*define[ ][ ]*/ /
15253 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
15255 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
15259 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
15260 D["\
1"]=" \
3\\\\\\n
"\\/p
15262 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
15267 s/.\{148\}/&'"$ac_delim"'/g
15272 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
15275 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
15277 ' <confdefs.h | sed '
15278 s/'"$ac_delim"'/"\\\
15279 "/g' >>$CONFIG_STATUS || ac_write_fail=1
15281 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15282 for (key in D) D_is_set[key] = 1
15285 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
15287 split(line, arg, " ")
15288 if (arg[1] == "#") {
15292 defundef
= substr
(arg
[1], 2)
15295 split(mac1
, mac2
, "(") #)
15297 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
15298 if (D_is_set
[macro
]) {
15299 # Preserve the white space surrounding the "#".
15300 print prefix
"define", macro P
[macro
] D
[macro
]
15303 # Replace #undef with comments. This is necessary, for example,
15304 # in the case of _POSIX_SOURCE, which is predefined and required
15305 # on some systems where configure will not decide to define it.
15306 if (defundef
== "undef") {
15307 print
"/*", prefix defundef
, macro
, "*/"
15315 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15316 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
15317 fi # test -n "$CONFIG_HEADERS"
15320 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
15325 :[FHLC
]) ac_mode
=$ac_tag; continue;;
15327 case $ac_mode$ac_tag in
15329 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
15330 :[FH
]-) ac_tag
=-:-;;
15331 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
15348 -) ac_f
="$ac_tmp/stdin";;
15349 *) # Look for the file first in the build tree, then in the source tree
15350 # (if the path is not absolute). The absolute path cannot be DOS-style,
15351 # because $ac_f cannot contain `:'.
15355 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
15357 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15359 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15360 as_fn_append ac_file_inputs
" '$ac_f'"
15363 # Let's still pretend it is `configure' which instantiates (i.e., don't
15364 # use $as_me), people would be surprised to read:
15365 # /* config.h. Generated by config.status. */
15366 configure_input
='Generated from '`
15367 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15369 if test x
"$ac_file" != x-
; then
15370 configure_input
="$ac_file. $configure_input"
15371 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15372 $as_echo "$as_me: creating $ac_file" >&6;}
15374 # Neutralize special characters interpreted by sed in replacement strings.
15375 case $configure_input in #(
15376 *\
&* |
*\|
* |
*\\* )
15377 ac_sed_conf_input
=`$as_echo "$configure_input" |
15378 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15379 *) ac_sed_conf_input
=$configure_input;;
15383 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
15384 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
15389 ac_dir
=`$as_dirname -- "$ac_file" ||
15390 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15391 X"$ac_file" : 'X\(//\)[^/]' \| \
15392 X"$ac_file" : 'X\(//\)$' \| \
15393 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15394 $as_echo X"$ac_file" |
15395 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15399 /^X\(\/\/\)[^/].*/{
15412 as_dir
="$ac_dir"; as_fn_mkdir_p
15416 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
15418 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15419 # A ".." for each directory in $ac_dir_suffix.
15420 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15421 case $ac_top_builddir_sub in
15422 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
15423 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
15426 ac_abs_top_builddir
=$ac_pwd
15427 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
15428 # for backward compatibility:
15429 ac_top_builddir
=$ac_top_build_prefix
15432 .
) # We are building in place.
15434 ac_top_srcdir
=$ac_top_builddir_sub
15435 ac_abs_top_srcdir
=$ac_pwd ;;
15436 [\\/]* | ?
:[\\/]* ) # Absolute name.
15437 ac_srcdir
=$srcdir$ac_dir_suffix;
15438 ac_top_srcdir
=$srcdir
15439 ac_abs_top_srcdir
=$srcdir ;;
15440 *) # Relative name.
15441 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
15442 ac_top_srcdir
=$ac_top_build_prefix$srcdir
15443 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
15445 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
15455 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
15456 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
15458 ac_MKDIR_P
=$MKDIR_P
15460 [\\/$
]* | ?
:[\\/]* ) ;;
15461 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
15465 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15466 # If the template does not know about datarootdir, expand it.
15467 # FIXME: This hack should be removed a few years after 2.60.
15468 ac_datarootdir_hack
=; ac_datarootdir_seen
=
15479 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15480 *datarootdir
*) ac_datarootdir_seen
=yes;;
15481 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
15482 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15483 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15485 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15486 ac_datarootdir_hack='
15487 s&@datadir@&$datadir&g
15488 s&@docdir@&$docdir&g
15489 s&@infodir@&$infodir&g
15490 s&@localedir@&$localedir&g
15491 s&@mandir@&$mandir&g
15492 s&\\\${datarootdir}&$datarootdir&g' ;;
15496 # Neutralize VPATH when `$srcdir' = `.'.
15497 # Shell code in configure.ac might set extrasub.
15498 # FIXME: do we really want to maintain this feature?
15499 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15500 ac_sed_extra="$ac_vpsub
15503 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15505 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
15506 s|@configure_input@|
$ac_sed_conf_input|
;t t
15507 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
15508 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
15509 s
&@srcdir@
&$ac_srcdir&;t t
15510 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
15511 s
&@top_srcdir@
&$ac_top_srcdir&;t t
15512 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
15513 s
&@builddir@
&$ac_builddir&;t t
15514 s
&@abs_builddir@
&$ac_abs_builddir&;t t
15515 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
15516 s
&@INSTALL@
&$ac_INSTALL&;t t
15517 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
15518 $ac_datarootdir_hack
15520 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
15521 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
15523 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15524 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
15525 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
15526 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
15527 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
15528 which seems to be undefined. Please make sure it is defined" >&5
15529 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
15530 which seems to be undefined. Please make sure it is defined" >&2;}
15532 rm -f "$ac_tmp/stdin"
15534 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
15535 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
15537 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15543 if test x"$ac_file" != x-; then
15545 $as_echo "/* $configure_input */" \
15546 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
15547 } >"$ac_tmp/config.h" \
15548 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15549 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
15550 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
15551 $as_echo "$as_me: $ac_file is unchanged" >&6;}
15554 mv "$ac_tmp/config.h" "$ac_file" \
15555 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15558 $as_echo "/* $configure_input */" \
15559 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
15560 || as_fn_error $? "could not create -" "$LINENO" 5
15562 # Compute "$ac_file"'s index
in $config_headers.
15565 for _am_header
in $config_headers :; do
15566 case $_am_header in
15567 $_am_arg |
$_am_arg:* )
15570 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
15573 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
15574 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15575 X"$_am_arg" : 'X\(//\)[^/]' \| \
15576 X"$_am_arg" : 'X\(//\)$' \| \
15577 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
15578 $as_echo X"$_am_arg" |
15579 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15583 /^X\(\/\/\)[^/].*/{
15595 s/.*/./; q'`/stamp-h
$_am_stamp_count
15598 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
15599 $as_echo "$as_me: executing $ac_file commands" >&6;}
15604 case $ac_file$ac_mode in
15607 # See if we are running on zsh, and set the options which allow our
15608 # commands through without removal of \ escapes.
15609 if test -n "${ZSH_VERSION+set}" ; then
15610 setopt NO_GLOB_SUBST
15613 cfgfile
="${ofile}T"
15614 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
15617 cat <<_LT_EOF >> "$cfgfile"
15620 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
15621 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
15622 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15623 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
15625 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
15626 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
15627 # Written by Gordon Matzigkeit, 1996
15629 # This file is part of GNU Libtool.
15631 # GNU Libtool is free software; you can redistribute it and/or
15632 # modify it under the terms of the GNU General Public License as
15633 # published by the Free Software Foundation; either version 2 of
15634 # the License, or (at your option) any later version.
15636 # As a special exception to the GNU General Public License,
15637 # if you distribute this file as part of a program or library that
15638 # is built using GNU Libtool, you may include this file under the
15639 # same distribution terms that you use for the rest of that program.
15641 # GNU Libtool is distributed in the hope that it will be useful,
15642 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15643 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15644 # GNU General Public License for more details.
15646 # You should have received a copy of the GNU General Public License
15647 # along with GNU Libtool; see the file COPYING. If not, a copy
15648 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
15649 # obtained by writing to the Free Software Foundation, Inc.,
15650 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15653 # The names of the tagged configurations supported by this script.
15656 # ### BEGIN LIBTOOL CONFIG
15658 # Which release of libtool.m4 was used?
15659 macro_version=$macro_version
15660 macro_revision=$macro_revision
15662 # Whether or not to build shared libraries.
15663 build_libtool_libs=$enable_shared
15665 # Whether or not to build static libraries.
15666 build_old_libs=$enable_static
15668 # What type of objects to build.
15671 # Whether or not to optimize for fast installation.
15672 fast_install=$enable_fast_install
15674 # Shell to use when invoking shell scripts.
15677 # An echo program that protects backslashes.
15681 host_alias=$host_alias
15685 # The build system.
15686 build_alias=$build_alias
15690 # A sed program that does not truncate output.
15693 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
15694 Xsed="\$SED -e 1s/^X//"
15696 # A grep program that handles long lines.
15702 # A literal string matcher.
15705 # A BSD- or MS-compatible name lister.
15708 # Whether we need soft or hard links.
15711 # What is the maximum length of a command?
15712 max_cmd_len=$max_cmd_len
15714 # Object file suffix (normally "o").
15717 # Executable file suffix (normally "").
15720 # whether the shell understands "unset".
15723 # turn spaces into newlines.
15726 # turn newlines into spaces.
15729 # An object symbol dumper.
15730 OBJDUMP=$lt_OBJDUMP
15732 # Method to check whether dependent libraries are shared objects.
15733 deplibs_check_method=$lt_deplibs_check_method
15735 # Command to use when deplibs_check_method == "file_magic".
15736 file_magic_cmd=$lt_file_magic_cmd
15740 AR_FLAGS=$lt_AR_FLAGS
15742 # A symbol stripping program.
15745 # Commands used to install an old-style archive.
15747 old_postinstall_cmds=$lt_old_postinstall_cmds
15748 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15750 # Whether to use a lock for old archive extraction.
15751 lock_old_archive_extraction=$lock_old_archive_extraction
15756 # LTCC compiler flags.
15757 LTCFLAGS=$lt_CFLAGS
15759 # Take the output of nm and produce a listing of raw symbols and C names.
15760 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15762 # Transform the output of nm in a proper C declaration.
15763 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15765 # Transform the output of nm in a C name address pair.
15766 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15768 # Transform the output of nm in a C name address pair when lib prefix is needed.
15769 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15771 # The name of the directory that contains temporary libtool files.
15774 # Used to examine libraries when file_magic_cmd begins with "file".
15775 MAGIC_CMD=$MAGIC_CMD
15777 # Must we lock files when doing compilation?
15778 need_locks=$lt_need_locks
15780 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15781 DSYMUTIL=$lt_DSYMUTIL
15783 # Tool to change global to local symbols on Mac OS X.
15786 # Tool to manipulate fat objects and archives on Mac OS X.
15789 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
15792 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15793 OTOOL64=$lt_OTOOL64
15795 # Old archive suffix (normally "a").
15798 # Shared library suffix (normally ".so").
15799 shrext_cmds=$lt_shrext_cmds
15801 # The commands to extract the exported symbol list from a shared archive.
15802 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15804 # Variables whose values should be saved in libtool wrapper scripts and
15805 # restored at link time.
15806 variables_saved_for_relink=$lt_variables_saved_for_relink
15808 # Do we need the "lib" prefix for modules?
15809 need_lib_prefix=$need_lib_prefix
15811 # Do we need a version for libraries?
15812 need_version=$need_version
15814 # Library versioning type.
15815 version_type=$version_type
15817 # Shared library runtime path variable.
15818 runpath_var=$runpath_var
15820 # Shared library path variable.
15821 shlibpath_var=$shlibpath_var
15823 # Is shlibpath searched before the hard-coded library search path?
15824 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15826 # Format of library name prefix.
15827 libname_spec=$lt_libname_spec
15829 # List of archive names. First name is the real one, the rest are links.
15830 # The last name is the one that the linker finds with -lNAME
15831 library_names_spec=$lt_library_names_spec
15833 # The coded name of the library, if different from the real name.
15834 soname_spec=$lt_soname_spec
15836 # Permission mode override for installation of shared libraries.
15837 install_override_mode=$lt_install_override_mode
15839 # Command to use after installation of a shared archive.
15840 postinstall_cmds=$lt_postinstall_cmds
15842 # Command to use after uninstallation of a shared archive.
15843 postuninstall_cmds=$lt_postuninstall_cmds
15845 # Commands used to finish a libtool library installation in a directory.
15846 finish_cmds=$lt_finish_cmds
15848 # As "finish_cmds", except a single script fragment to be evaled but
15850 finish_eval=$lt_finish_eval
15852 # Whether we should hardcode library paths into libraries.
15853 hardcode_into_libs=$hardcode_into_libs
15855 # Compile-time system search path for libraries.
15856 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15858 # Run-time system search path for libraries.
15859 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15861 # Whether dlopen is supported.
15862 dlopen_support=$enable_dlopen
15864 # Whether dlopen of programs is supported.
15865 dlopen_self=$enable_dlopen_self
15867 # Whether dlopen of statically linked programs is supported.
15868 dlopen_self_static=$enable_dlopen_self_static
15870 # Commands to strip libraries.
15871 old_striplib=$lt_old_striplib
15872 striplib=$lt_striplib
15875 # The linker used to build libraries.
15878 # How to create reloadable object files.
15879 reload_flag=$lt_reload_flag
15880 reload_cmds=$lt_reload_cmds
15882 # Commands used to build an old-style archive.
15883 old_archive_cmds=$lt_old_archive_cmds
15885 # A language specific compiler.
15888 # Is the compiler the GNU compiler?
15891 # Compiler flag to turn off builtin functions.
15892 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15894 # How to pass a linker flag through the compiler.
15895 wl=$lt_lt_prog_compiler_wl
15897 # Additional compiler flags for building library objects.
15898 pic_flag=$lt_lt_prog_compiler_pic
15900 # Compiler flag to prevent dynamic linking.
15901 link_static_flag=$lt_lt_prog_compiler_static
15903 # Does compiler simultaneously support -c and -o options?
15904 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
15906 # Whether or not to add -lc for building shared libraries.
15907 build_libtool_need_lc=$archive_cmds_need_lc
15909 # Whether or not to disallow shared libs when runtime libs are static.
15910 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15912 # Compiler flag to allow reflexive dlopens.
15913 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15915 # Compiler flag to generate shared objects directly from archives.
15916 whole_archive_flag_spec=$lt_whole_archive_flag_spec
15918 # Whether the compiler copes with passing no objects directly.
15919 compiler_needs_object=$lt_compiler_needs_object
15921 # Create an old-style archive from a shared archive.
15922 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15924 # Create a temporary old-style archive to link instead of a shared archive.
15925 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15927 # Commands used to build a shared archive.
15928 archive_cmds=$lt_archive_cmds
15929 archive_expsym_cmds=$lt_archive_expsym_cmds
15931 # Commands used to build a loadable module if different from building
15932 # a shared archive.
15933 module_cmds=$lt_module_cmds
15934 module_expsym_cmds=$lt_module_expsym_cmds
15936 # Whether we are building with GNU ld or not.
15937 with_gnu_ld=$lt_with_gnu_ld
15939 # Flag that allows shared libraries with undefined symbols to be built.
15940 allow_undefined_flag=$lt_allow_undefined_flag
15942 # Flag that enforces no undefined symbols.
15943 no_undefined_flag=$lt_no_undefined_flag
15945 # Flag to hardcode \$libdir into a binary during linking.
15946 # This must work even if \$libdir does not exist
15947 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15949 # If ld is used when linking, flag to hardcode \$libdir into a binary
15950 # during linking. This must work even if \$libdir does not exist.
15951 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
15953 # Whether we need a single "-rpath" flag with a separated argument.
15954 hardcode_libdir_separator=$lt_hardcode_libdir_separator
15956 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15957 # DIR into the resulting binary.
15958 hardcode_direct=$hardcode_direct
15960 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15961 # DIR into the resulting binary and the resulting library dependency is
15962 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
15963 # library is relocated.
15964 hardcode_direct_absolute=$hardcode_direct_absolute
15966 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
15967 # into the resulting binary.
15968 hardcode_minus_L=$hardcode_minus_L
15970 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
15971 # into the resulting binary.
15972 hardcode_shlibpath_var=$hardcode_shlibpath_var
15974 # Set to "yes" if building a shared library automatically hardcodes DIR
15975 # into the library and all subsequent libraries and executables linked
15977 hardcode_automatic=$hardcode_automatic
15979 # Set to yes if linker adds runtime paths of dependent libraries
15980 # to runtime path list.
15981 inherit_rpath=$inherit_rpath
15983 # Whether libtool must link a program against all its dependency libraries.
15984 link_all_deplibs=$link_all_deplibs
15986 # Fix the shell variable \$srcfile for the compiler.
15987 fix_srcfile_path=$lt_fix_srcfile_path
15989 # Set to "yes" if exported symbols are required.
15990 always_export_symbols=$always_export_symbols
15992 # The commands to list exported symbols.
15993 export_symbols_cmds=$lt_export_symbols_cmds
15995 # Symbols that should not be listed in the preloaded symbols.
15996 exclude_expsyms=$lt_exclude_expsyms
15998 # Symbols that must always be exported.
15999 include_expsyms=$lt_include_expsyms
16001 # Commands necessary for linking programs (against libraries) with templates.
16002 prelink_cmds=$lt_prelink_cmds
16004 # Specify filename containing input files.
16005 file_list_spec=$lt_file_list_spec
16007 # How to hardcode a shared library path into an executable.
16008 hardcode_action=$hardcode_action
16010 # ### END LIBTOOL CONFIG
16016 cat <<\_LT_EOF
>> "$cfgfile"
16017 # AIX sometimes has problems with the GCC collect2 program. For some
16018 # reason, if we set the COLLECT_NAMES environment variable, the problems
16019 # vanish in a puff of smoke.
16020 if test "X${COLLECT_NAMES+set}" != Xset
; then
16022 export COLLECT_NAMES
16029 ltmain
="$ac_aux_dir/ltmain.sh"
16032 # We use sed instead of cat because bash on DJGPP gets confused if
16033 # if finds mixed CR/LF and LF-only lines. Since sed operates in
16034 # text mode, it properly converts lines to CR/LF. This bash problem
16035 # is reportedly fixed, but why not run on old versions too?
16036 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
16037 ||
(rm -f "$cfgfile"; exit 1)
16041 cat << \_LT_EOF
>> "$cfgfile"
16043 # func_dirname file append nondir_replacement
16044 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
16045 # otherwise set result to NONDIR_REPLACEMENT.
16049 */*) func_dirname_result
="${1%/*}${2}" ;;
16050 * ) func_dirname_result
="${3}" ;;
16054 # func_basename file
16057 func_basename_result
="${1##*/}"
16060 # func_dirname_and_basename file append nondir_replacement
16061 # perform func_basename and func_dirname in a single function
16063 # dirname: Compute the dirname of FILE. If nonempty,
16064 # add APPEND to the result, otherwise set result
16065 # to NONDIR_REPLACEMENT.
16066 # value returned in "$func_dirname_result"
16067 # basename: Compute filename of FILE.
16068 # value retuned in "$func_basename_result"
16069 # Implementation must be kept synchronized with func_dirname
16070 # and func_basename. For efficiency, we do not delegate to
16071 # those functions but instead duplicate the functionality here.
16072 func_dirname_and_basename
()
16075 */*) func_dirname_result
="${1%/*}${2}" ;;
16076 * ) func_dirname_result
="${3}" ;;
16078 func_basename_result
="${1##*/}"
16081 # func_stripname prefix suffix name
16082 # strip PREFIX and SUFFIX off of NAME.
16083 # PREFIX and SUFFIX must not contain globbing or regex special
16084 # characters, hashes, percent signs, but SUFFIX may contain a leading
16085 # dot (in which case that matches only a dot).
16088 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
16089 # positional parameters, so assign one to ordinary parameter first.
16090 func_stripname_result
=${3}
16091 func_stripname_result
=${func_stripname_result#"${1}"}
16092 func_stripname_result
=${func_stripname_result%"${2}"}
16098 func_opt_split_opt
=${1%%=*}
16099 func_opt_split_arg
=${1#*=}
16106 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
16107 *) func_lo2o_result
=${1} ;;
16111 # func_xform libobj-or-source
16114 func_xform_result
=${1%.*}.lo
16117 # func_arith arithmetic-term...
16120 func_arith_result
=$
(( $
* ))
16124 # STRING may not start with a hyphen.
16127 func_len_result
=${#1}
16132 *) # Bourne compatible functions.
16133 cat << \_LT_EOF
>> "$cfgfile"
16135 # func_dirname file append nondir_replacement
16136 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
16137 # otherwise set result to NONDIR_REPLACEMENT.
16140 # Extract subdirectory from the argument.
16141 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
16142 if test "X$func_dirname_result" = "X${1}"; then
16143 func_dirname_result
="${3}"
16145 func_dirname_result
="$func_dirname_result${2}"
16149 # func_basename file
16152 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
16156 # func_stripname prefix suffix name
16157 # strip PREFIX and SUFFIX off of NAME.
16158 # PREFIX and SUFFIX must not contain globbing or regex special
16159 # characters, hashes, percent signs, but SUFFIX may contain a leading
16160 # dot (in which case that matches only a dot).
16161 # func_strip_suffix prefix name
16165 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
16166 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
16171 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
16172 my_sed_long_arg
='1s/^-[^=]*=//'
16177 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
16178 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
16184 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
16187 # func_xform libobj-or-source
16190 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
16193 # func_arith arithmetic-term...
16196 func_arith_result
=`expr "$@"`
16200 # STRING may not start with a hyphen.
16203 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
16209 case $lt_shell_append in
16211 cat << \_LT_EOF
>> "$cfgfile"
16213 # func_append var value
16214 # Append VALUE to the end of shell variable VAR.
16222 cat << \_LT_EOF
>> "$cfgfile"
16224 # func_append var value
16225 # Append VALUE to the end of shell variable VAR.
16236 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
16237 ||
(rm -f "$cfgfile"; exit 1)
16239 mv -f "$cfgfile" "$ofile" ||
16240 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16244 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
16245 # Older Autoconf quotes --file arguments for eval, but not when files
16246 # are listed without --file. Let's play safe and only enable the eval
16247 # if we detect the quoting.
16248 case $CONFIG_FILES in
16249 *\'*) eval set x
"$CONFIG_FILES" ;;
16250 *) set x
$CONFIG_FILES ;;
16255 # Strip MF so we end up with the name of the file.
16256 mf
=`echo "$mf" | sed -e 's/:.*$//'`
16257 # Check whether this is an Automake generated Makefile or not.
16258 # We used to match only the files named 'Makefile.in', but
16259 # some people rename them; so instead we look at the file content.
16260 # Grep'ing the first line is not enough: some people post-process
16261 # each Makefile.in and add a new line on top of each file to say so.
16262 # Grep'ing the whole file is not good either: AIX grep has a line
16263 # limit of 2048, but all sed's we know have understand at least 4000.
16264 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
16265 dirpart
=`$as_dirname -- "$mf" ||
16266 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16267 X"$mf" : 'X\(//\)[^/]' \| \
16268 X"$mf" : 'X\(//\)$' \| \
16269 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
16271 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16275 /^X\(\/\/\)[^/].*/{
16291 # Extract the definition of DEPDIR, am__include, and am__quote
16292 # from the Makefile without running 'make'.
16293 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
16294 test -z "$DEPDIR" && continue
16295 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
16296 test -z "$am__include" && continue
16297 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
16298 # Find all dependency output files, they are included files with
16299 # $(DEPDIR) in their names. We invoke sed twice because it is the
16300 # simplest approach to changing $(DEPDIR) to its actual value in the
16302 for file in `sed -n "
16303 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16304 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
16305 # Make sure the directory exists.
16306 test -f "$dirpart/$file" && continue
16307 fdir
=`$as_dirname -- "$file" ||
16308 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16309 X"$file" : 'X\(//\)[^/]' \| \
16310 X"$file" : 'X\(//\)$' \| \
16311 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
16312 $as_echo X"$file" |
16313 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16317 /^X\(\/\/\)[^/].*/{
16330 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
16331 # echo "creating $dirpart/$file"
16332 echo '# dummy' > "$dirpart/$file"
16337 "depdir-aarch64":C
) $SHELL $ac_aux_dir/mkinstalldirs aarch64
/$DEPDIR ;;
16338 "depdir-arm":C
) $SHELL $ac_aux_dir/mkinstalldirs
arm
/$DEPDIR ;;
16339 "depdir-avr":C
) $SHELL $ac_aux_dir/mkinstalldirs avr
/$DEPDIR ;;
16340 "depdir-bfin":C
) $SHELL $ac_aux_dir/mkinstalldirs bfin
/$DEPDIR ;;
16341 "depdir-bpf":C
) $SHELL $ac_aux_dir/mkinstalldirs bpf
/$DEPDIR ;;
16342 "depdir-cr16":C
) $SHELL $ac_aux_dir/mkinstalldirs cr16
/$DEPDIR ;;
16343 "depdir-cris":C
) $SHELL $ac_aux_dir/mkinstalldirs cris
/$DEPDIR ;;
16344 "depdir-d10v":C
) $SHELL $ac_aux_dir/mkinstalldirs d10v
/$DEPDIR ;;
16345 "depdir-frv":C
) $SHELL $ac_aux_dir/mkinstalldirs frv
/$DEPDIR ;;
16346 "depdir-h8300":C
) $SHELL $ac_aux_dir/mkinstalldirs h8300
/$DEPDIR ;;
16347 "depdir-iq2000":C
) $SHELL $ac_aux_dir/mkinstalldirs iq2000
/$DEPDIR ;;
16348 "depdir-lm32":C
) $SHELL $ac_aux_dir/mkinstalldirs lm32
/$DEPDIR ;;
16349 "depdir-m32c":C
) $SHELL $ac_aux_dir/mkinstalldirs m32c
/$DEPDIR ;;
16350 "depdir-m32r":C
) $SHELL $ac_aux_dir/mkinstalldirs m32r
/$DEPDIR ;;
16351 "depdir-m68hc11":C
) $SHELL $ac_aux_dir/mkinstalldirs m68hc11
/$DEPDIR ;;
16352 "depdir-mcore":C
) $SHELL $ac_aux_dir/mkinstalldirs mcore
/$DEPDIR ;;
16353 "depdir-microblaze":C
) $SHELL $ac_aux_dir/mkinstalldirs microblaze
/$DEPDIR ;;
16354 "depdir-mips":C
) $SHELL $ac_aux_dir/mkinstalldirs mips
/$DEPDIR ;;
16355 "depdir-mn10300":C
) $SHELL $ac_aux_dir/mkinstalldirs mn10300
/$DEPDIR ;;
16356 "depdir-moxie":C
) $SHELL $ac_aux_dir/mkinstalldirs moxie
/$DEPDIR ;;
16357 "depdir-msp430":C
) $SHELL $ac_aux_dir/mkinstalldirs msp430
/$DEPDIR ;;
16358 "depdir-or1k":C
) $SHELL $ac_aux_dir/mkinstalldirs or1k
/$DEPDIR ;;
16359 "depdir-pru":C
) $SHELL $ac_aux_dir/mkinstalldirs
pru
/$DEPDIR ;;
16360 "depdir-riscv":C
) $SHELL $ac_aux_dir/mkinstalldirs riscv
/$DEPDIR ;;
16361 "depdir-rl78":C
) $SHELL $ac_aux_dir/mkinstalldirs rl78
/$DEPDIR ;;
16362 "depdir-rx":C
) $SHELL $ac_aux_dir/mkinstalldirs rx
/$DEPDIR ;;
16363 "depdir-sh":C
) $SHELL $ac_aux_dir/mkinstalldirs sh
/$DEPDIR ;;
16364 "depdir-erc32":C
) $SHELL $ac_aux_dir/mkinstalldirs erc32
/$DEPDIR ;;
16365 "depdir-ppc":C
) $SHELL $ac_aux_dir/mkinstalldirs ppc
/$DEPDIR ;;
16366 "depdir-ft32":C
) $SHELL $ac_aux_dir/mkinstalldirs ft32
/$DEPDIR ;;
16367 "depdir-v850":C
) $SHELL $ac_aux_dir/mkinstalldirs v850
/$DEPDIR ;;
16368 "depdir-example-synacor":C
) $SHELL $ac_aux_dir/mkinstalldirs example-synacor
/$DEPDIR ;;
16376 ac_clean_files
=$ac_clean_files_save
16378 test $ac_write_fail = 0 ||
16379 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
16382 # configure is writing to config.log, and then calls config.status.
16383 # config.status does its own redirection, appending to config.log.
16384 # Unfortunately, on DOS this fails, as config.log is still kept open
16385 # by configure, so config.status won't be able to write to it; its
16386 # output is simply discarded. So we exec the FD to /dev/null,
16387 # effectively closing config.log, so it can be properly (re)opened and
16388 # appended to by config.status. When coming back to configure, we
16389 # need to make the FD available again.
16390 if test "$no_create" != yes; then
16392 ac_config_status_args
=
16393 test "$silent" = yes &&
16394 ac_config_status_args
="$ac_config_status_args --quiet"
16396 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
16398 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16399 # would make configure fail if this is the last instruction.
16400 $ac_cs_success || as_fn_exit
1
16404 # CONFIG_SUBDIRS section.
16406 if test "$no_recursion" != yes; then
16408 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
16409 # so they do not pile up.
16410 ac_sub_configure_args
=
16412 eval "set x $ac_configure_args"
16416 if test -n "$ac_prev"; then
16421 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
16422 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
16423 ac_prev
=cache_file
;;
16424 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
16425 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
16428 --config-cache |
-C)
16430 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
16432 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
16434 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
16436 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
16438 --disable-option-checking)
16442 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
16444 as_fn_append ac_sub_configure_args
" '$ac_arg'" ;;
16448 # Always prepend --prefix to ensure using the same prefix
16449 # in subdir configurations.
16450 ac_arg
="--prefix=$prefix"
16452 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
16454 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
16457 if test "$silent" = yes; then
16458 ac_sub_configure_args
="--silent $ac_sub_configure_args"
16461 # Always prepend --disable-option-checking to silence warnings, since
16462 # different subdirs can have different --enable and --with options.
16463 ac_sub_configure_args
="--disable-option-checking $ac_sub_configure_args"
16466 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
16468 # Do not complain, so a configure script can configure whichever
16469 # parts of a large source tree are present.
16470 test -d "$srcdir/$ac_dir" ||
continue
16472 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
16473 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
16474 $as_echo "$ac_msg" >&6
16475 as_dir
="$ac_dir"; as_fn_mkdir_p
16479 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16481 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16482 # A ".." for each directory in $ac_dir_suffix.
16483 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16484 case $ac_top_builddir_sub in
16485 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16486 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
16489 ac_abs_top_builddir
=$ac_pwd
16490 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
16491 # for backward compatibility:
16492 ac_top_builddir
=$ac_top_build_prefix
16495 .
) # We are building in place.
16497 ac_top_srcdir
=$ac_top_builddir_sub
16498 ac_abs_top_srcdir
=$ac_pwd ;;
16499 [\\/]* | ?
:[\\/]* ) # Absolute name.
16500 ac_srcdir
=$srcdir$ac_dir_suffix;
16501 ac_top_srcdir
=$srcdir
16502 ac_abs_top_srcdir
=$srcdir ;;
16503 *) # Relative name.
16504 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
16505 ac_top_srcdir
=$ac_top_build_prefix$srcdir
16506 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
16508 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
16513 # Check for guested configure; otherwise get Cygnus style configure.
16514 if test -f "$ac_srcdir/configure.gnu"; then
16515 ac_sub_configure
=$ac_srcdir/configure.gnu
16516 elif test -f "$ac_srcdir/configure"; then
16517 ac_sub_configure
=$ac_srcdir/configure
16518 elif test -f "$ac_srcdir/configure.in"; then
16519 # This should be Cygnus configure.
16520 ac_sub_configure
=$ac_aux_dir/configure
16522 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
16523 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
16527 # The recursion is here.
16528 if test -n "$ac_sub_configure"; then
16529 # Make the cache file name correct relative to the subdirectory.
16530 case $cache_file in
16531 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
16532 *) # Relative name.
16533 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
16536 { $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
16537 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
16538 # The eval makes quoting arguments work.
16539 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
16540 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
16541 as_fn_error $?
"$ac_sub_configure failed for $ac_dir" "$LINENO" 5
16547 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
16548 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16549 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}