2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for package-unused version-unused.
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print
-rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
53 as_echo_n='/usr
/ucb
/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
66 as_echo_n='sh
-c $as_echo_n_body as_echo
'
69 as_echo='sh
-c $as_echo_body as_echo
'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x
; then
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var
in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\
${$as_var+set} = xset \
120 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
133 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
138 _as_can_reexec
=no
; export _as_can_reexec
;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
145 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
147 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec
=; unset _as_can_reexec
;}
160 if test "x$CONFIG_SHELL" = x
; then
161 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 case \`(set -o) 2>/dev/null\` in #(
177 as_required
="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191 exitcode=1; echo positional parameters were not saved.
193 test x\$exitcode = x0 || exit 1
195 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199 test \$(( 1 + 1 )) = 2 || exit 1
201 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
202 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
203 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
204 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205 PATH=/empty FPATH=/empty; export PATH FPATH
206 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
207 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
208 if (eval "$as_required") 2>/dev
/null
; then :
213 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
216 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
218 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
221 test -z "$as_dir" && as_dir
=.
225 for as_base
in sh bash ksh sh5
; do
226 # Try only shells that exist, to save several forks.
227 as_shell
=$as_dir/$as_base
228 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
229 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
230 CONFIG_SHELL
=$as_shell as_have_required
=yes
231 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
239 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
240 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
241 CONFIG_SHELL
=$SHELL as_have_required
=yes
246 if test "x$CONFIG_SHELL" != x
; then :
248 # We cannot yet assume a decent shell, so we have to provide a
249 # neutralization value for shells without unset; and this also
250 # works around shells that cannot unset nonexistent variables.
251 # Preserve -v and -x to the replacement shell.
254 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
256 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
261 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
262 # Admittedly, this is quite paranoid, since all the known shells bail
263 # out after a failed `exec'.
264 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
268 if test x
$as_have_required = xno
; then :
269 $as_echo "$0: This script requires a shell more modern than all"
270 $as_echo "$0: the shells that I found on your system."
271 if test x
${ZSH_VERSION+set} = xset
; then
272 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
273 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
275 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
276 $0: including any error possibly output before this
277 $0: message. Then install a modern shell, or manually run
278 $0: the script under such a shell if you do have one."
284 SHELL
=${CONFIG_SHELL-/bin/sh}
286 # Unset more variables known to interfere with behavior of common tools.
287 CLICOLOR_FORCE
= GREP_OPTIONS
=
288 unset CLICOLOR_FORCE GREP_OPTIONS
290 ## --------------------- ##
291 ## M4sh Shell Functions. ##
292 ## --------------------- ##
295 # Portably unset VAR.
298 { eval $1=; unset $1;}
302 # as_fn_set_status STATUS
303 # -----------------------
304 # Set $? to STATUS, without forking.
312 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
322 # Create "$as_dir" as a directory, including parents if necessary.
327 -*) as_dir
=.
/$as_dir;;
329 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
333 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
336 as_dirs
="'$as_qdir' $as_dirs"
337 as_dir
=`$as_dirname -- "$as_dir" ||
338 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
339 X"$as_dir" : 'X\(//\)[^/]' \| \
340 X"$as_dir" : 'X\(//\)$' \| \
341 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
342 $as_echo X"$as_dir" |
343 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
360 test -d "$as_dir" && break
362 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
363 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
368 # as_fn_executable_p FILE
369 # -----------------------
370 # Test if FILE is an executable regular file.
371 as_fn_executable_p
()
373 test -f "$1" && test -x "$1"
374 } # as_fn_executable_p
375 # as_fn_append VAR VALUE
376 # ----------------------
377 # Append the text in VALUE to the end of the definition contained in VAR. Take
378 # advantage of any shell optimizations that allow amortized linear growth over
379 # repeated appends, instead of the typical quadratic growth present in naive
381 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
382 eval 'as_fn_append ()
395 # Perform arithmetic evaluation on the ARGs, and store the result in the
396 # global $as_val. Take advantage of shells that can avoid forks. The arguments
397 # must be portable across $(()) and expr.
398 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
406 as_val
=`expr "$@" || test $? -eq 1`
411 # as_fn_error STATUS ERROR [LINENO LOG_FD]
412 # ----------------------------------------
413 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
414 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
415 # script with STATUS, using 1 if that was 0.
418 as_status
=$1; test $as_status -eq 0 && as_status
=1
420 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
421 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
423 $as_echo "$as_me: error: $2" >&2
424 as_fn_exit
$as_status
427 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
428 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
434 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
440 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
446 as_me
=`$as_basename -- "$0" ||
447 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
448 X"$0" : 'X\(//\)$' \| \
449 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
451 sed '/^.*\/\([^/][^/]*\)\/*$/{
465 # Avoid depending upon Character Ranges.
466 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
467 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
468 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
469 as_cr_digits
='0123456789'
470 as_cr_alnum
=$as_cr_Letters$as_cr_digits
473 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
474 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
475 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
476 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
477 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
489 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
493 chmod +x
"$as_me.lineno" ||
494 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
496 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
497 # already done that, so ensure we don't try to do so again and fall
498 # in an infinite loop. This has already happened in practice.
499 _as_can_reexec
=no
; export _as_can_reexec
500 # Don't try to exec as it changes $[0], causing all sort of problems
501 # (the dirname of $[0] is not the place where we might find the
502 # original and so on. Autoconf is especially sensitive to this).
504 # Exit status is that of the last command.
508 ECHO_C
= ECHO_N
= ECHO_T
=
509 case `echo -n x` in #(((((
511 case `echo 'xy\c'` in
512 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
514 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
521 rm -f conf$$ conf$$.exe conf$$.
file
522 if test -d conf$$.dir
; then
523 rm -f conf$$.dir
/conf$$.
file
526 mkdir conf$$.dir
2>/dev
/null
528 if (echo >conf$$.
file) 2>/dev
/null
; then
529 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
531 # ... but there are two gotchas:
532 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
533 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
534 # In both cases, we have to default to `cp -pR'.
535 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
537 elif ln conf$$.
file conf$$
2>/dev
/null
; then
545 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
546 rmdir conf$$.dir
2>/dev
/null
548 if mkdir
-p .
2>/dev
/null
; then
549 as_mkdir_p
='mkdir -p "$as_dir"'
551 test -d .
/-p && rmdir .
/-p
556 as_executable_p
=as_fn_executable_p
558 # Sed expression to map a string onto a valid CPP name.
559 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
561 # Sed expression to map a string onto a valid variable name.
562 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
564 SHELL
=${CONFIG_SHELL-/bin/sh}
567 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
571 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
572 # so uname gets run too.
573 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
578 ac_default_prefix
=/usr
/local
580 ac_config_libobj_dir
=.
587 # Identity of this package.
588 PACKAGE_NAME
='package-unused'
589 PACKAGE_TARNAME
='libbacktrace'
590 PACKAGE_VERSION
='version-unused'
591 PACKAGE_STRING
='package-unused version-unused'
595 ac_unique_file
="backtrace.h"
596 # Factoring default headers for most tests.
597 ac_includes_default
="\
599 #ifdef HAVE_SYS_TYPES_H
600 # include <sys/types.h>
602 #ifdef HAVE_SYS_STAT_H
603 # include <sys/stat.h>
609 # ifdef HAVE_STDLIB_H
614 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
619 #ifdef HAVE_STRINGS_H
620 # include <strings.h>
622 #ifdef HAVE_INTTYPES_H
623 # include <inttypes.h>
632 ac_subst_vars
='am__EXEEXT_FALSE
650 HAVE_OBJCOPY_DEBUGLINK_FALSE
651 HAVE_OBJCOPY_DEBUGLINK_TRUE
654 HAVE_COMPRESSED_DEBUG_ZSTD_FALSE
655 HAVE_COMPRESSED_DEBUG_ZSTD_TRUE
658 HAVE_COMPRESSED_DEBUG_FALSE
659 HAVE_COMPRESSED_DEBUG_TRUE
670 BACKTRACE_USES_MALLOC
673 BACKTRACE_SUPPORTS_DATA
678 BACKTRACE_SUPPORTS_THREADS
684 ENABLE_DARWIN_AT_RPATH_FALSE
685 ENABLE_DARWIN_AT_RPATH_TRUE
706 MAINTAINER_MODE_FALSE
720 INSTALL_STRIP_PROGRAM
786 program_transform_name
799 enable_option_checking
802 enable_maintainer_mode
810 enable_darwin_at_rpath
814 with_system_libunwind
817 ac_precious_vars
='build_alias
831 # Initialize some variables set by options.
833 ac_init_version
=false
834 ac_unrecognized_opts
=
836 # The variables have the same names as the options, with
837 # dashes changed to underlines.
845 program_transform_name
=s
,x
,x
,
853 # Installation directory options.
854 # These are left unexpanded so users can "make install exec_prefix=/foo"
855 # and all the variables that are supposed to be based on exec_prefix
856 # by default will actually change.
857 # Use braces instead of parens because sh, perl, etc. also accept them.
858 # (The list follows the same order as the GNU Coding Standards.)
859 bindir
='${exec_prefix}/bin'
860 sbindir
='${exec_prefix}/sbin'
861 libexecdir
='${exec_prefix}/libexec'
862 datarootdir
='${prefix}/share'
863 datadir
='${datarootdir}'
864 sysconfdir
='${prefix}/etc'
865 sharedstatedir
='${prefix}/com'
866 localstatedir
='${prefix}/var'
867 includedir
='${prefix}/include'
868 oldincludedir
='/usr/include'
869 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
870 infodir
='${datarootdir}/info'
875 libdir
='${exec_prefix}/lib'
876 localedir
='${datarootdir}/locale'
877 mandir
='${datarootdir}/man'
883 # If the previous option needs an argument, assign it.
884 if test -n "$ac_prev"; then
885 eval $ac_prev=\
$ac_option
891 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
896 # Accept the important Cygnus configure options, so we can diagnose typos.
898 case $ac_dashdash$ac_option in
902 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
904 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
907 -build |
--build |
--buil |
--bui |
--bu)
908 ac_prev
=build_alias
;;
909 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
910 build_alias
=$ac_optarg ;;
912 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
913 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
914 ac_prev
=cache_file
;;
915 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
916 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
917 cache_file
=$ac_optarg ;;
920 cache_file
=config.cache
;;
922 -datadir |
--datadir |
--datadi |
--datad)
924 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
925 datadir
=$ac_optarg ;;
927 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
928 |
--dataroo |
--dataro |
--datar)
929 ac_prev
=datarootdir
;;
930 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
931 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
932 datarootdir
=$ac_optarg ;;
934 -disable-* |
--disable-*)
935 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
936 # Reject names that are not valid shell variable names.
937 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
938 as_fn_error $?
"invalid feature name: $ac_useropt"
939 ac_useropt_orig
=$ac_useropt
940 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
941 case $ac_user_opts in
945 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
946 ac_unrecognized_sep
=', ';;
948 eval enable_
$ac_useropt=no
;;
950 -docdir |
--docdir |
--docdi |
--doc |
--do)
952 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
955 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
957 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
960 -enable-* |
--enable-*)
961 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
962 # Reject names that are not valid shell variable names.
963 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
964 as_fn_error $?
"invalid feature name: $ac_useropt"
965 ac_useropt_orig
=$ac_useropt
966 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
967 case $ac_user_opts in
971 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
972 ac_unrecognized_sep
=', ';;
974 eval enable_
$ac_useropt=\
$ac_optarg ;;
976 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
977 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
978 |
--exec |
--exe |
--ex)
979 ac_prev
=exec_prefix
;;
980 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
981 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
982 |
--exec=* |
--exe=* |
--ex=*)
983 exec_prefix
=$ac_optarg ;;
985 -gas |
--gas |
--ga |
--g)
986 # Obsolete; use --with-gas.
989 -help |
--help |
--hel |
--he |
-h)
991 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
992 ac_init_help
=recursive
;;
993 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
994 ac_init_help
=short
;;
996 -host |
--host |
--hos |
--ho)
997 ac_prev
=host_alias
;;
998 -host=* |
--host=* |
--hos=* |
--ho=*)
999 host_alias
=$ac_optarg ;;
1001 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1003 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1005 htmldir
=$ac_optarg ;;
1007 -includedir |
--includedir |
--includedi |
--included |
--include \
1008 |
--includ |
--inclu |
--incl |
--inc)
1009 ac_prev
=includedir
;;
1010 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1011 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1012 includedir
=$ac_optarg ;;
1014 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1016 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1017 infodir
=$ac_optarg ;;
1019 -libdir |
--libdir |
--libdi |
--libd)
1021 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1022 libdir
=$ac_optarg ;;
1024 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1025 |
--libexe |
--libex |
--libe)
1026 ac_prev
=libexecdir
;;
1027 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1028 |
--libexe=* |
--libex=* |
--libe=*)
1029 libexecdir
=$ac_optarg ;;
1031 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1032 ac_prev
=localedir
;;
1033 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1034 localedir
=$ac_optarg ;;
1036 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1037 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1038 ac_prev
=localstatedir
;;
1039 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1040 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1041 localstatedir
=$ac_optarg ;;
1043 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1045 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1046 mandir
=$ac_optarg ;;
1048 -nfp |
--nfp |
--nf)
1049 # Obsolete; use --without-fp.
1052 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1053 |
--no-cr |
--no-c |
-n)
1056 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1057 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1060 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1061 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1062 |
--oldin |
--oldi |
--old |
--ol |
--o)
1063 ac_prev
=oldincludedir
;;
1064 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1065 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1066 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1067 oldincludedir
=$ac_optarg ;;
1069 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1071 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1072 prefix
=$ac_optarg ;;
1074 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1075 |
--program-pre |
--program-pr |
--program-p)
1076 ac_prev
=program_prefix
;;
1077 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1078 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1079 program_prefix
=$ac_optarg ;;
1081 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1082 |
--program-suf |
--program-su |
--program-s)
1083 ac_prev
=program_suffix
;;
1084 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1085 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1086 program_suffix
=$ac_optarg ;;
1088 -program-transform-name |
--program-transform-name \
1089 |
--program-transform-nam |
--program-transform-na \
1090 |
--program-transform-n |
--program-transform- \
1091 |
--program-transform |
--program-transfor \
1092 |
--program-transfo |
--program-transf \
1093 |
--program-trans |
--program-tran \
1094 |
--progr-tra |
--program-tr |
--program-t)
1095 ac_prev
=program_transform_name
;;
1096 -program-transform-name=* |
--program-transform-name=* \
1097 |
--program-transform-nam=* |
--program-transform-na=* \
1098 |
--program-transform-n=* |
--program-transform-=* \
1099 |
--program-transform=* |
--program-transfor=* \
1100 |
--program-transfo=* |
--program-transf=* \
1101 |
--program-trans=* |
--program-tran=* \
1102 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1103 program_transform_name
=$ac_optarg ;;
1105 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1107 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1108 pdfdir
=$ac_optarg ;;
1110 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1112 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1115 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1116 |
-silent |
--silent |
--silen |
--sile |
--sil)
1119 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1121 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1123 sbindir
=$ac_optarg ;;
1125 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1126 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1127 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1129 ac_prev
=sharedstatedir
;;
1130 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1131 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1132 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1134 sharedstatedir
=$ac_optarg ;;
1136 -site |
--site |
--sit)
1138 -site=* |
--site=* |
--sit=*)
1141 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1143 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1144 srcdir
=$ac_optarg ;;
1146 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1147 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1148 ac_prev
=sysconfdir
;;
1149 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1150 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1151 sysconfdir
=$ac_optarg ;;
1153 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1154 ac_prev
=target_alias
;;
1155 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1156 target_alias
=$ac_optarg ;;
1158 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1161 -version |
--version |
--versio |
--versi |
--vers |
-V)
1162 ac_init_version
=: ;;
1165 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1166 # Reject names that are not valid shell variable names.
1167 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1168 as_fn_error $?
"invalid package name: $ac_useropt"
1169 ac_useropt_orig
=$ac_useropt
1170 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1171 case $ac_user_opts in
1175 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1176 ac_unrecognized_sep
=', ';;
1178 eval with_
$ac_useropt=\
$ac_optarg ;;
1180 -without-* |
--without-*)
1181 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1182 # Reject names that are not valid shell variable names.
1183 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1184 as_fn_error $?
"invalid package name: $ac_useropt"
1185 ac_useropt_orig
=$ac_useropt
1186 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1187 case $ac_user_opts in
1191 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1192 ac_unrecognized_sep
=', ';;
1194 eval with_
$ac_useropt=no
;;
1197 # Obsolete; use --with-x.
1200 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1201 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1202 ac_prev
=x_includes
;;
1203 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1204 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1205 x_includes
=$ac_optarg ;;
1207 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1208 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1209 ac_prev
=x_libraries
;;
1210 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1211 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1212 x_libraries
=$ac_optarg ;;
1214 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1215 Try \`$0 --help' for more information"
1219 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1220 # Reject names that are not valid shell variable names.
1221 case $ac_envvar in #(
1222 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1223 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1225 eval $ac_envvar=\
$ac_optarg
1226 export $ac_envvar ;;
1229 # FIXME: should be removed in autoconf 3.0.
1230 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1231 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1232 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1233 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1239 if test -n "$ac_prev"; then
1240 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1241 as_fn_error $?
"missing argument to $ac_option"
1244 if test -n "$ac_unrecognized_opts"; then
1245 case $enable_option_checking in
1247 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1248 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1252 # Check all directory arguments for consistency.
1253 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1254 datadir sysconfdir sharedstatedir localstatedir includedir \
1255 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1256 libdir localedir mandir
1258 eval ac_val
=\$
$ac_var
1259 # Remove trailing slashes.
1262 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1263 eval $ac_var=\
$ac_val;;
1265 # Be sure to have absolute directory names.
1267 [\\/$
]* | ?
:[\\/]* ) continue;;
1268 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1270 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1273 # There might be people who depend on the old broken behavior: `$host'
1274 # used to hold the argument of --host etc.
1275 # FIXME: To remove some day.
1278 target
=$target_alias
1280 # FIXME: To remove some day.
1281 if test "x$host_alias" != x
; then
1282 if test "x$build_alias" = x
; then
1283 cross_compiling
=maybe
1284 elif test "x$build_alias" != "x$host_alias"; then
1290 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1292 test "$silent" = yes && exec 6>/dev
/null
1295 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1296 ac_ls_di
=`ls -di .` &&
1297 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1298 as_fn_error $?
"working directory cannot be determined"
1299 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1300 as_fn_error $?
"pwd does not report name of working directory"
1303 # Find the source files, if location was not specified.
1304 if test -z "$srcdir"; then
1305 ac_srcdir_defaulted
=yes
1306 # Try the directory containing this script, then the parent directory.
1307 ac_confdir
=`$as_dirname -- "$as_myself" ||
1308 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1309 X"$as_myself" : 'X\(//\)[^/]' \| \
1310 X"$as_myself" : 'X\(//\)$' \| \
1311 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1312 $as_echo X"$as_myself" |
1313 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1331 if test ! -r "$srcdir/$ac_unique_file"; then
1335 ac_srcdir_defaulted
=no
1337 if test ! -r "$srcdir/$ac_unique_file"; then
1338 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1339 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1341 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1343 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1345 # When building in place, set srcdir=.
1346 if test "$ac_abs_confdir" = "$ac_pwd"; then
1349 # Remove unnecessary trailing slashes from srcdir.
1350 # Double slashes in file names in object file debugging info
1351 # mess up M-x gdb in Emacs.
1353 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1355 for ac_var
in $ac_precious_vars; do
1356 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1357 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1358 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1359 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1363 # Report the --help message.
1365 if test "$ac_init_help" = "long"; then
1366 # Omit some internal or obsolete options to make the list less imposing.
1367 # This message is too long to be a string in the A/UX 3.1 sh.
1369 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1371 Usage: $0 [OPTION]... [VAR=VALUE]...
1373 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1374 VAR=VALUE. See below for descriptions of some of the useful variables.
1376 Defaults for the options are specified in brackets.
1379 -h, --help display this help and exit
1380 --help=short display options specific to this package
1381 --help=recursive display the short help of all the included packages
1382 -V, --version display version information and exit
1383 -q, --quiet, --silent do not print \`checking ...' messages
1384 --cache-file=FILE cache test results in FILE [disabled]
1385 -C, --config-cache alias for \`--cache-file=config.cache'
1386 -n, --no-create do not create output files
1387 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1389 Installation directories:
1390 --prefix=PREFIX install architecture-independent files in PREFIX
1391 [$ac_default_prefix]
1392 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1395 By default, \`make install' will install all the files in
1396 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1397 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1398 for instance \`--prefix=\$HOME'.
1400 For better control, use the options below.
1402 Fine tuning of the installation directories:
1403 --bindir=DIR user executables [EPREFIX/bin]
1404 --sbindir=DIR system admin executables [EPREFIX/sbin]
1405 --libexecdir=DIR program executables [EPREFIX/libexec]
1406 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1407 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1408 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1409 --libdir=DIR object code libraries [EPREFIX/lib]
1410 --includedir=DIR C header files [PREFIX/include]
1411 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1412 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1413 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1414 --infodir=DIR info documentation [DATAROOTDIR/info]
1415 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1416 --mandir=DIR man documentation [DATAROOTDIR/man]
1417 --docdir=DIR documentation root [DATAROOTDIR/doc/libbacktrace]
1418 --htmldir=DIR html documentation [DOCDIR]
1419 --dvidir=DIR dvi documentation [DOCDIR]
1420 --pdfdir=DIR pdf documentation [DOCDIR]
1421 --psdir=DIR ps documentation [DOCDIR]
1427 --program-prefix=PREFIX prepend PREFIX to installed program names
1428 --program-suffix=SUFFIX append SUFFIX to installed program names
1429 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1432 --build=BUILD configure
for building on BUILD
[guessed
]
1433 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1434 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1438 if test -n "$ac_init_help"; then
1439 case $ac_init_help in
1440 short | recursive
) echo "Configuration of package-unused version-unused:";;
1445 --disable-option-checking ignore unrecognized
--enable/--with options
1446 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1447 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1448 --enable-multilib build many library versions
(default
)
1449 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1450 --disable-silent-rules verbose build output
(undo
: "make V=0")
1451 --enable-maintainer-mode
1452 enable make rules and dependencies not useful
(and
1453 sometimes confusing
) to the casual installer
1454 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1455 --enable-static[=PKGS
] build static libraries
[default
=yes]
1456 --enable-fast-install[=PKGS
]
1457 optimize
for fast installation
[default
=yes]
1458 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1459 --enable-darwin-at-rpath
1460 install libraries with @rpath
/library-name
, requires
1461 rpaths to be added to executables
1462 --disable-largefile omit support
for large files
1463 --enable-cet enable Intel CET
in target libraries
[default
=auto
]
1464 --disable-werror disable building with
-Werror
1465 --enable-host-shared build
host code as shared libraries
1466 --enable-cet enable Intel CET
in host libraries
[default
=auto
]
1469 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1470 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1471 --with-target-subdir=SUBDIR Configuring
in a subdirectory
for target
1472 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1474 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1475 --with-system-libunwind use installed libunwind
1477 Some influential environment variables
:
1478 CC C compiler
command
1479 CFLAGS C compiler flags
1480 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1481 nonstandard directory
<lib dir
>
1482 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1483 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1484 you have headers
in a nonstandard directory
<include dir
>
1486 OBJCOPY location of objcopy
1487 DSYMUTIL location of dsymutil
1490 Use these variables to override the choices made by
`configure' or to help
1491 it to find libraries and programs with nonstandard names/locations.
1493 Report bugs to the package provider.
1498 if test "$ac_init_help" = "recursive"; then
1499 # If there are subdirs, report their specific --help.
1500 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1501 test -d "$ac_dir" ||
1502 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1507 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1509 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1510 # A ".." for each directory in $ac_dir_suffix.
1511 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1512 case $ac_top_builddir_sub in
1513 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1514 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1517 ac_abs_top_builddir=$ac_pwd
1518 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1519 # for backward compatibility:
1520 ac_top_builddir=$ac_top_build_prefix
1523 .) # We are building in place.
1525 ac_top_srcdir=$ac_top_builddir_sub
1526 ac_abs_top_srcdir=$ac_pwd ;;
1527 [\\/]* | ?:[\\/]* ) # Absolute name.
1528 ac_srcdir=$srcdir$ac_dir_suffix;
1529 ac_top_srcdir=$srcdir
1530 ac_abs_top_srcdir=$srcdir ;;
1532 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1533 ac_top_srcdir=$ac_top_build_prefix$srcdir
1534 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1536 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1538 cd "$ac_dir" || { ac_status=$?; continue; }
1539 # Check for guested configure.
1540 if test -f "$ac_srcdir/configure.gnu"; then
1542 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1543 elif test -f "$ac_srcdir/configure"; then
1545 $SHELL "$ac_srcdir/configure" --help=recursive
1547 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1549 cd "$ac_pwd" || { ac_status=$?; break; }
1553 test -n "$ac_init_help" && exit $ac_status
1554 if $ac_init_version; then
1556 package-unused configure version-unused
1557 generated by GNU Autoconf 2.69
1559 Copyright (C) 2012 Free Software Foundation, Inc.
1560 This configure script is free software; the Free Software Foundation
1561 gives unlimited permission to copy, distribute and modify it.
1566 ## ------------------------ ##
1567 ## Autoconf initialization. ##
1568 ## ------------------------ ##
1570 # ac_fn_c_try_compile LINENO
1571 # --------------------------
1572 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1573 ac_fn_c_try_compile ()
1575 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1576 rm -f conftest.$ac_objext
1577 if { { ac_try="$ac_compile"
1579 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1580 *) ac_try_echo
=$ac_try;;
1582 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1583 $as_echo "$ac_try_echo"; } >&5
1584 (eval "$ac_compile") 2>conftest.err
1586 if test -s conftest.err
; then
1587 grep -v '^ *+' conftest.err
>conftest.er1
1588 cat conftest.er1
>&5
1589 mv -f conftest.er1 conftest.err
1591 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1592 test $ac_status = 0; } && {
1593 test -z "$ac_c_werror_flag" ||
1594 test ! -s conftest.err
1595 } && test -s conftest.
$ac_objext; then :
1598 $as_echo "$as_me: failed program was:" >&5
1599 sed 's/^/| /' conftest.
$ac_ext >&5
1603 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1604 as_fn_set_status
$ac_retval
1606 } # ac_fn_c_try_compile
1608 # ac_fn_c_try_cpp LINENO
1609 # ----------------------
1610 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1613 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1614 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1616 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1617 *) ac_try_echo=$ac_try;;
1619 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1620 $as_echo "$ac_try_echo"; } >&5
1621 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1623 if test -s conftest.err; then
1624 grep -v '^ *+' conftest.err >conftest.er1
1625 cat conftest.er1 >&5
1626 mv -f conftest.er1 conftest.err
1628 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1629 test $ac_status = 0; } > conftest.i && {
1630 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1631 test ! -s conftest.err
1635 $as_echo "$as_me: failed program was:" >&5
1636 sed 's/^/| /' conftest.$ac_ext >&5
1640 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1641 as_fn_set_status $ac_retval
1645 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1646 # -------------------------------------------------------
1647 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1648 # the include files in INCLUDES and setting the cache variable VAR
1650 ac_fn_c_check_header_mongrel ()
1652 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1653 if eval \${$3+:} false; then :
1654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1655 $as_echo_n "checking for $2... " >&6; }
1656 if eval \${$3+:} false; then :
1657 $as_echo_n "(cached) " >&6
1660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1661 $as_echo "$ac_res" >&6; }
1663 # Is the header compilable?
1664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1665 $as_echo_n "checking $2 usability... " >&6; }
1666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1667 /* end confdefs.h. */
1671 if ac_fn_c_try_compile "$LINENO"; then :
1672 ac_header_compiler=yes
1674 ac_header_compiler=no
1676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1678 $as_echo "$ac_header_compiler" >&6; }
1680 # Is the header present?
1681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1682 $as_echo_n "checking $2 presence... " >&6; }
1683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1684 /* end confdefs.h. */
1687 if ac_fn_c_try_cpp "$LINENO"; then :
1688 ac_header_preproc=yes
1690 ac_header_preproc=no
1692 rm -f conftest.err conftest.i conftest.$ac_ext
1693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1694 $as_echo "$ac_header_preproc" >&6; }
1696 # So? What about this header?
1697 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1699 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1700 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1701 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1702 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1705 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1706 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1707 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1708 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1709 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1710 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1711 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1712 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1713 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1714 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1718 $as_echo_n "checking for $2... " >&6; }
1719 if eval \${$3+:} false; then :
1720 $as_echo_n "(cached) " >&6
1722 eval "$3=\$ac_header_compiler"
1725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1726 $as_echo "$ac_res" >&6; }
1728 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1730 } # ac_fn_c_check_header_mongrel
1732 # ac_fn_c_try_run LINENO
1733 # ----------------------
1734 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1735 # that executables *can* be run.
1738 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1739 if { { ac_try="$ac_link"
1741 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1742 *) ac_try_echo
=$ac_try;;
1744 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1745 $as_echo "$ac_try_echo"; } >&5
1746 (eval "$ac_link") 2>&5
1748 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1749 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1750 { { case "(($ac_try" in
1751 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1752 *) ac_try_echo=$ac_try;;
1754 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1755 $as_echo "$ac_try_echo"; } >&5
1756 (eval "$ac_try") 2>&5
1758 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1759 test $ac_status = 0; }; }; then :
1762 $as_echo "$as_me: program exited with status $ac_status" >&5
1763 $as_echo "$as_me: failed program was:" >&5
1764 sed 's/^/| /' conftest.$ac_ext >&5
1766 ac_retval=$ac_status
1768 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1769 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1770 as_fn_set_status $ac_retval
1774 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1775 # -------------------------------------------------------
1776 # Tests whether HEADER exists and can be compiled using the include files in
1777 # INCLUDES, setting the cache variable VAR accordingly.
1778 ac_fn_c_check_header_compile ()
1780 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1782 $as_echo_n "checking for $2... " >&6; }
1783 if eval \${$3+:} false; then :
1784 $as_echo_n "(cached) " >&6
1786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1787 /* end confdefs.h. */
1791 if ac_fn_c_try_compile "$LINENO"; then :
1796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1800 $as_echo "$ac_res" >&6; }
1801 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1803 } # ac_fn_c_check_header_compile
1805 # ac_fn_c_try_link LINENO
1806 # -----------------------
1807 # Try to link conftest.$ac_ext, and return whether this succeeded.
1810 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1811 rm -f conftest.$ac_objext conftest$ac_exeext
1812 if { { ac_try="$ac_link"
1814 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1815 *) ac_try_echo
=$ac_try;;
1817 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1818 $as_echo "$ac_try_echo"; } >&5
1819 (eval "$ac_link") 2>conftest.err
1821 if test -s conftest.err
; then
1822 grep -v '^ *+' conftest.err
>conftest.er1
1823 cat conftest.er1
>&5
1824 mv -f conftest.er1 conftest.err
1826 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1827 test $ac_status = 0; } && {
1828 test -z "$ac_c_werror_flag" ||
1829 test ! -s conftest.err
1830 } && test -s conftest
$ac_exeext && {
1831 test "$cross_compiling" = yes ||
1832 test -x conftest
$ac_exeext
1836 $as_echo "$as_me: failed program was:" >&5
1837 sed 's/^/| /' conftest.
$ac_ext >&5
1841 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1842 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1843 # interfere with the next link command; also delete a directory that is
1844 # left behind by Apple's compiler. We do this before executing the actions.
1845 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1846 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1847 as_fn_set_status
$ac_retval
1849 } # ac_fn_c_try_link
1851 # ac_fn_c_check_func LINENO FUNC VAR
1852 # ----------------------------------
1853 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1854 ac_fn_c_check_func
()
1856 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1858 $as_echo_n "checking for $2... " >&6; }
1859 if eval \
${$3+:} false
; then :
1860 $as_echo_n "(cached) " >&6
1862 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1863 /* end confdefs.h. */
1864 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1865 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1866 #define $2 innocuous_$2
1868 /* System header to define __stub macros and hopefully few prototypes,
1869 which can conflict with char $2 (); below.
1870 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1871 <limits.h> exists even on freestanding compilers. */
1874 # include <limits.h>
1876 # include <assert.h>
1881 /* Override any GCC internal prototype to avoid an error.
1882 Use char because int might match the return type of a GCC
1883 builtin and then its argument prototype would still apply. */
1888 /* The GNU C library defines this for functions which it implements
1889 to always fail with ENOSYS. Some functions are actually named
1890 something starting with __ and the normal name is an alias. */
1891 #if defined __stub_$2 || defined __stub___$2
1903 if ac_fn_c_try_link
"$LINENO"; then :
1908 rm -f core conftest.err conftest.
$ac_objext \
1909 conftest
$ac_exeext conftest.
$ac_ext
1912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1913 $as_echo "$ac_res" >&6; }
1914 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1916 } # ac_fn_c_check_func
1918 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1919 # -------------------------------------------
1920 # Tests whether TYPE exists after having included INCLUDES, setting cache
1921 # variable VAR accordingly.
1922 ac_fn_c_check_type
()
1924 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1926 $as_echo_n "checking for $2... " >&6; }
1927 if eval \
${$3+:} false
; then :
1928 $as_echo_n "(cached) " >&6
1931 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1932 /* end confdefs.h. */
1943 if ac_fn_c_try_compile
"$LINENO"; then :
1944 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1945 /* end confdefs.h. */
1956 if ac_fn_c_try_compile
"$LINENO"; then :
1961 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1963 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1967 $as_echo "$ac_res" >&6; }
1968 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1970 } # ac_fn_c_check_type
1972 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1973 # --------------------------------------------
1974 # Tries to find the compile-time value of EXPR in a program that includes
1975 # INCLUDES, setting VAR accordingly. Returns whether the value could be
1977 ac_fn_c_compute_int
()
1979 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1980 if test "$cross_compiling" = yes; then
1981 # Depending upon the size, compute the lo and hi bounds.
1982 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1983 /* end confdefs.h. */
1988 static int test_array [1 - 2 * !(($2) >= 0)];
1990 return test_array [0];
1996 if ac_fn_c_try_compile
"$LINENO"; then :
1999 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2000 /* end confdefs.h. */
2005 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2007 return test_array [0];
2013 if ac_fn_c_try_compile
"$LINENO"; then :
2014 ac_hi
=$ac_mid; break
2016 as_fn_arith
$ac_mid + 1 && ac_lo
=$as_val
2017 if test $ac_lo -le $ac_mid; then
2021 as_fn_arith
2 '*' $ac_mid + 1 && ac_mid
=$as_val
2023 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2026 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2027 /* end confdefs.h. */
2032 static int test_array [1 - 2 * !(($2) < 0)];
2034 return test_array [0];
2040 if ac_fn_c_try_compile
"$LINENO"; then :
2043 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2044 /* end confdefs.h. */
2049 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2051 return test_array [0];
2057 if ac_fn_c_try_compile
"$LINENO"; then :
2058 ac_lo
=$ac_mid; break
2060 as_fn_arith
'(' $ac_mid ')' - 1 && ac_hi
=$as_val
2061 if test $ac_mid -le $ac_hi; then
2065 as_fn_arith
2 '*' $ac_mid && ac_mid
=$as_val
2067 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2072 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2074 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2075 # Binary search between lo and hi bounds.
2076 while test "x$ac_lo" != "x$ac_hi"; do
2077 as_fn_arith
'(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid
=$as_val
2078 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2079 /* end confdefs.h. */
2084 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2086 return test_array [0];
2092 if ac_fn_c_try_compile
"$LINENO"; then :
2095 as_fn_arith
'(' $ac_mid ')' + 1 && ac_lo
=$as_val
2097 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2100 ?
*) eval "$3=\$ac_lo"; ac_retval
=0 ;;
2104 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2105 /* end confdefs.h. */
2107 static long int longval () { return $2; }
2108 static unsigned long int ulongval () { return $2; }
2115 FILE *f = fopen ("conftest.val", "w");
2120 long int i = longval ();
2123 fprintf (f, "%ld", i);
2127 unsigned long int i = ulongval ();
2130 fprintf (f, "%lu", i);
2132 /* Do not output a trailing newline, as this causes \r\n confusion
2133 on some platforms. */
2134 return ferror (f) || fclose (f) != 0;
2140 if ac_fn_c_try_run
"$LINENO"; then :
2141 echo >>conftest.val
; read $3 <conftest.val
; ac_retval
=0
2145 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
2146 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
2150 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2151 as_fn_set_status
$ac_retval
2153 } # ac_fn_c_compute_int
2155 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2156 # ---------------------------------------------
2157 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2159 ac_fn_c_check_decl
()
2161 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2162 as_decl_name
=`echo $2|sed 's/ *(.*//'`
2163 as_decl_use
=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2165 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2166 if eval \
${$3+:} false
; then :
2167 $as_echo_n "(cached) " >&6
2169 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2170 /* end confdefs.h. */
2175 #ifndef $as_decl_name
2177 (void) $as_decl_use;
2179 (void) $as_decl_name;
2187 if ac_fn_c_try_compile
"$LINENO"; then :
2192 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2196 $as_echo "$ac_res" >&6; }
2197 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2199 } # ac_fn_c_check_decl
2200 cat >config.log
<<_ACEOF
2201 This file contains any messages produced by compilers while
2202 running configure, to aid debugging if configure makes a mistake.
2204 It was created by package-unused $as_me version-unused, which was
2205 generated by GNU Autoconf 2.69. Invocation command line was
2217 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2218 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2219 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2220 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2221 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2223 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2224 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2226 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2227 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2228 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2229 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2230 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2231 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2232 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2236 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2240 test -z "$as_dir" && as_dir
=.
2241 $as_echo "PATH: $as_dir"
2257 # Keep a trace of the command line.
2258 # Strip out --no-create and --no-recursion so they do not pile up.
2259 # Strip out --silent because we don't want to record it for future runs.
2260 # Also quote any args containing shell meta-characters.
2261 # Make two passes to allow for proper duplicate-argument suppression.
2265 ac_must_keep_next
=false
2271 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2272 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2273 |
-silent |
--silent |
--silen |
--sile |
--sil)
2276 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2279 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2281 as_fn_append ac_configure_args1
" '$ac_arg'"
2282 if test $ac_must_keep_next = true
; then
2283 ac_must_keep_next
=false
# Got value, back to normal.
2286 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2287 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2288 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2289 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2290 case "$ac_configure_args0 " in
2291 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2294 -* ) ac_must_keep_next
=true
;;
2297 as_fn_append ac_configure_args
" '$ac_arg'"
2302 { ac_configure_args0
=; unset ac_configure_args0
;}
2303 { ac_configure_args1
=; unset ac_configure_args1
;}
2305 # When interrupted or exit'd, cleanup temporary files, and complete
2306 # config.log. We remove comments because anyway the quotes in there
2307 # would cause problems or look ugly.
2308 # WARNING: Use '\'' to represent an apostrophe within the trap.
2309 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2310 trap 'exit_status=$?
2311 # Save into config.log some information that might help in debugging.
2315 $as_echo "## ---------------- ##
2316 ## Cache variables. ##
2317 ## ---------------- ##"
2319 # The following way of writing the cache mishandles newlines in values,
2321 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2322 eval ac_val=\$$ac_var
2326 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2327 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2330 _ | IFS | as_nl) ;; #(
2331 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2332 *) { eval $ac_var=; unset $ac_var;} ;;
2337 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2338 *${as_nl}ac_space=\ *)
2340 "s/'\''/'\''\\\\'\'''\''/g;
2341 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2344 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2351 $as_echo "## ----------------- ##
2352 ## Output variables. ##
2353 ## ----------------- ##"
2355 for ac_var in $ac_subst_vars
2357 eval ac_val=\$$ac_var
2359 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2361 $as_echo "$ac_var='\''$ac_val'\''"
2365 if test -n "$ac_subst_files"; then
2366 $as_echo "## ------------------- ##
2367 ## File substitutions. ##
2368 ## ------------------- ##"
2370 for ac_var
in $ac_subst_files
2372 eval ac_val
=\$
$ac_var
2374 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2376 $as_echo "$ac_var='\''$ac_val'\''"
2381 if test -s confdefs.h; then
2382 $as_echo "## ----------- ##
2389 test "$ac_signal" != 0 &&
2390 $as_echo "$as_me: caught signal $ac_signal"
2391 $as_echo "$as_me: exit $exit_status"
2393 rm -f core *.core core.conftest.* &&
2394 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2397 for ac_signal
in 1 2 13 15; do
2398 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2402 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2403 rm -f -r conftest
* confdefs.h
2405 $as_echo "/* confdefs.h */" > confdefs.h
2407 # Predefined preprocessor variables.
2409 cat >>confdefs.h
<<_ACEOF
2410 #define PACKAGE_NAME "$PACKAGE_NAME"
2413 cat >>confdefs.h
<<_ACEOF
2414 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2417 cat >>confdefs.h
<<_ACEOF
2418 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2421 cat >>confdefs.h
<<_ACEOF
2422 #define PACKAGE_STRING "$PACKAGE_STRING"
2425 cat >>confdefs.h
<<_ACEOF
2426 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2429 cat >>confdefs.h
<<_ACEOF
2430 #define PACKAGE_URL "$PACKAGE_URL"
2434 # Let the site file select an alternate cache file if it wants to.
2435 # Prefer an explicitly selected file to automatically selected ones.
2438 if test -n "$CONFIG_SITE"; then
2439 # We do not want a PATH search for config.site.
2440 case $CONFIG_SITE in #((
2441 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2442 */*) ac_site_file1
=$CONFIG_SITE;;
2443 *) ac_site_file1
=.
/$CONFIG_SITE;;
2445 elif test "x$prefix" != xNONE
; then
2446 ac_site_file1
=$prefix/share
/config.site
2447 ac_site_file2
=$prefix/etc
/config.site
2449 ac_site_file1
=$ac_default_prefix/share
/config.site
2450 ac_site_file2
=$ac_default_prefix/etc
/config.site
2452 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2454 test "x$ac_site_file" = xNONE
&& continue
2455 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2456 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2457 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2458 sed 's/^/| /' "$ac_site_file" >&5
2460 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2461 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2462 as_fn_error $?
"failed to load site script $ac_site_file
2463 See \`config.log' for more details" "$LINENO" 5; }
2467 if test -r "$cache_file"; then
2468 # Some versions of bash will fail to source /dev/null (special files
2469 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2470 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2471 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2472 $as_echo "$as_me: loading cache $cache_file" >&6;}
2474 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2475 *) .
"./$cache_file";;
2479 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2480 $as_echo "$as_me: creating cache $cache_file" >&6;}
2484 # Check that the precious variables saved in the cache have kept the same
2486 ac_cache_corrupted
=false
2487 for ac_var
in $ac_precious_vars; do
2488 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2489 eval ac_new_set
=\
$ac_env_${ac_var}_set
2490 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2491 eval ac_new_val
=\
$ac_env_${ac_var}_value
2492 case $ac_old_set,$ac_new_set in
2494 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2495 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2496 ac_cache_corrupted
=: ;;
2498 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2499 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2500 ac_cache_corrupted
=: ;;
2503 if test "x$ac_old_val" != "x$ac_new_val"; then
2504 # differences in whitespace do not lead to failure.
2505 ac_old_val_w
=`echo x $ac_old_val`
2506 ac_new_val_w
=`echo x $ac_new_val`
2507 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2508 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2509 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2510 ac_cache_corrupted
=:
2512 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2513 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2514 eval $ac_var=\
$ac_old_val
2516 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2517 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2518 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2519 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2522 # Pass precious variables to config.status.
2523 if test "$ac_new_set" = set; then
2525 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2526 *) ac_arg
=$ac_var=$ac_new_val ;;
2528 case " $ac_configure_args " in
2529 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2530 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2534 if $ac_cache_corrupted; then
2535 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2536 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2537 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2538 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2539 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2541 ## -------------------- ##
2542 ## Main body of script. ##
2543 ## -------------------- ##
2546 ac_cpp
='$CPP $CPPFLAGS'
2547 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2548 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2549 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2556 ac_config_headers
="$ac_config_headers config.h"
2559 if test -n "${with_target_subdir}"; then
2560 # Default to --enable-multilib
2561 # Check whether --enable-multilib was given.
2562 if test "${enable_multilib+set}" = set; then :
2563 enableval
=$enable_multilib; case "$enableval" in
2564 yes) multilib
=yes ;;
2566 *) as_fn_error $?
"bad value $enableval for multilib option" "$LINENO" 5 ;;
2573 # We may get other options which we leave undocumented:
2574 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2575 # See config-ml.in if you want the gory details.
2577 if test "$srcdir" = "."; then
2578 if test "$with_target_subdir" != "."; then
2579 multi_basedir
="$srcdir/$with_multisrctop../.."
2581 multi_basedir
="$srcdir/$with_multisrctop.."
2584 multi_basedir
="$srcdir/.."
2588 # Even if the default multilib is not a cross compilation,
2589 # it may be that some of the other multilibs are.
2590 if test $cross_compiling = no
&& test $multilib = yes \
2591 && test "x${with_multisubdir}" != x
; then
2592 cross_compiling
=maybe
2595 ac_config_commands
="$ac_config_commands default-1"
2600 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2601 if test -f "$ac_dir/install-sh"; then
2603 ac_install_sh
="$ac_aux_dir/install-sh -c"
2605 elif test -f "$ac_dir/install.sh"; then
2607 ac_install_sh
="$ac_aux_dir/install.sh -c"
2609 elif test -f "$ac_dir/shtool"; then
2611 ac_install_sh
="$ac_aux_dir/shtool install -c"
2615 if test -z "$ac_aux_dir"; then
2616 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2619 # These three variables are undocumented and unsupported,
2620 # and are intended to be withdrawn in a future Autoconf release.
2621 # They can cause serious problems if a builder's source tree is in a directory
2622 # whose full name contains unusual characters.
2623 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2624 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2625 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2628 # Make sure we can run config.sub.
2629 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2630 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2633 $as_echo_n "checking build system type... " >&6; }
2634 if ${ac_cv_build+:} false
; then :
2635 $as_echo_n "(cached) " >&6
2637 ac_build_alias
=$build_alias
2638 test "x$ac_build_alias" = x
&&
2639 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2640 test "x$ac_build_alias" = x
&&
2641 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2642 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2643 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2647 $as_echo "$ac_cv_build" >&6; }
2648 case $ac_cv_build in
2650 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2653 ac_save_IFS
=$IFS; IFS
='-'
2659 # Remember, the first character of IFS is used to create $*,
2660 # except with old shells:
2663 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2667 $as_echo_n "checking host system type... " >&6; }
2668 if ${ac_cv_host+:} false
; then :
2669 $as_echo_n "(cached) " >&6
2671 if test "x$host_alias" = x
; then
2672 ac_cv_host
=$ac_cv_build
2674 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2675 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2680 $as_echo "$ac_cv_host" >&6; }
2683 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2686 ac_save_IFS
=$IFS; IFS
='-'
2692 # Remember, the first character of IFS is used to create $*,
2693 # except with old shells:
2696 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2700 $as_echo_n "checking target system type... " >&6; }
2701 if ${ac_cv_target+:} false
; then :
2702 $as_echo_n "(cached) " >&6
2704 if test "x$target_alias" = x
; then
2705 ac_cv_target
=$ac_cv_host
2707 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2708 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2713 $as_echo "$ac_cv_target" >&6; }
2714 case $ac_cv_target in
2716 *) as_fn_error $?
"invalid value of canonical target" "$LINENO" 5;;
2718 target
=$ac_cv_target
2719 ac_save_IFS
=$IFS; IFS
='-'
2725 # Remember, the first character of IFS is used to create $*,
2726 # except with old shells:
2729 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2732 # The aliases save the names the user supplied, while $host etc.
2733 # will get canonicalized.
2734 test -n "$target_alias" &&
2735 test "$program_prefix$program_suffix$program_transform_name" = \
2737 program_prefix
=${target_alias}-
2739 target_alias
=${target_alias-$host_alias}
2741 # Expand $ac_aux_dir to an absolute path.
2742 am_aux_dir
=`cd "$ac_aux_dir" && pwd`
2745 ac_cpp
='$CPP $CPPFLAGS'
2746 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2747 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2748 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2749 if test -n "$ac_tool_prefix"; then
2750 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2751 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2753 $as_echo_n "checking for $ac_word... " >&6; }
2754 if ${ac_cv_prog_CC+:} false
; then :
2755 $as_echo_n "(cached) " >&6
2757 if test -n "$CC"; then
2758 ac_cv_prog_CC
="$CC" # Let the user override the test.
2760 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2764 test -z "$as_dir" && as_dir
=.
2765 for ac_exec_ext
in '' $ac_executable_extensions; do
2766 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2767 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2768 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2778 if test -n "$CC"; then
2779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2780 $as_echo "$CC" >&6; }
2782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2783 $as_echo "no" >&6; }
2788 if test -z "$ac_cv_prog_CC"; then
2790 # Extract the first word of "gcc", so it can be a program name with args.
2791 set dummy gcc
; ac_word
=$2
2792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2793 $as_echo_n "checking for $ac_word... " >&6; }
2794 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2795 $as_echo_n "(cached) " >&6
2797 if test -n "$ac_ct_CC"; then
2798 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2800 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2804 test -z "$as_dir" && as_dir
=.
2805 for ac_exec_ext
in '' $ac_executable_extensions; do
2806 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2807 ac_cv_prog_ac_ct_CC
="gcc"
2808 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2817 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2818 if test -n "$ac_ct_CC"; then
2819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2820 $as_echo "$ac_ct_CC" >&6; }
2822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2823 $as_echo "no" >&6; }
2826 if test "x$ac_ct_CC" = x
; then
2829 case $cross_compiling:$ac_tool_warned in
2831 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2832 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2833 ac_tool_warned
=yes ;;
2841 if test -z "$CC"; then
2842 if test -n "$ac_tool_prefix"; then
2843 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2844 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2846 $as_echo_n "checking for $ac_word... " >&6; }
2847 if ${ac_cv_prog_CC+:} false
; then :
2848 $as_echo_n "(cached) " >&6
2850 if test -n "$CC"; then
2851 ac_cv_prog_CC
="$CC" # Let the user override the test.
2853 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2857 test -z "$as_dir" && as_dir
=.
2858 for ac_exec_ext
in '' $ac_executable_extensions; do
2859 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2860 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2861 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2871 if test -n "$CC"; then
2872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2873 $as_echo "$CC" >&6; }
2875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2876 $as_echo "no" >&6; }
2882 if test -z "$CC"; then
2883 # Extract the first word of "cc", so it can be a program name with args.
2884 set dummy cc
; ac_word
=$2
2885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2886 $as_echo_n "checking for $ac_word... " >&6; }
2887 if ${ac_cv_prog_CC+:} false
; then :
2888 $as_echo_n "(cached) " >&6
2890 if test -n "$CC"; then
2891 ac_cv_prog_CC
="$CC" # Let the user override the test.
2894 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2898 test -z "$as_dir" && as_dir
=.
2899 for ac_exec_ext
in '' $ac_executable_extensions; do
2900 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2901 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2902 ac_prog_rejected
=yes
2906 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2913 if test $ac_prog_rejected = yes; then
2914 # We found a bogon in the path, so make sure we never use it.
2915 set dummy
$ac_cv_prog_CC
2917 if test $# != 0; then
2918 # We chose a different compiler from the bogus one.
2919 # However, it has the same basename, so the bogon will be chosen
2920 # first if we set CC to just the basename; use the full file name.
2922 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2928 if test -n "$CC"; then
2929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2930 $as_echo "$CC" >&6; }
2932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2933 $as_echo "no" >&6; }
2938 if test -z "$CC"; then
2939 if test -n "$ac_tool_prefix"; then
2940 for ac_prog
in cl.exe
2942 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2943 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2945 $as_echo_n "checking for $ac_word... " >&6; }
2946 if ${ac_cv_prog_CC+:} false
; then :
2947 $as_echo_n "(cached) " >&6
2949 if test -n "$CC"; then
2950 ac_cv_prog_CC
="$CC" # Let the user override the test.
2952 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2956 test -z "$as_dir" && as_dir
=.
2957 for ac_exec_ext
in '' $ac_executable_extensions; do
2958 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2959 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2960 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2970 if test -n "$CC"; then
2971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2972 $as_echo "$CC" >&6; }
2974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2975 $as_echo "no" >&6; }
2979 test -n "$CC" && break
2982 if test -z "$CC"; then
2984 for ac_prog
in cl.exe
2986 # Extract the first word of "$ac_prog", so it can be a program name with args.
2987 set dummy
$ac_prog; ac_word
=$2
2988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2989 $as_echo_n "checking for $ac_word... " >&6; }
2990 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2991 $as_echo_n "(cached) " >&6
2993 if test -n "$ac_ct_CC"; then
2994 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2996 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3000 test -z "$as_dir" && as_dir
=.
3001 for ac_exec_ext
in '' $ac_executable_extensions; do
3002 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3003 ac_cv_prog_ac_ct_CC
="$ac_prog"
3004 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3013 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3014 if test -n "$ac_ct_CC"; then
3015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3016 $as_echo "$ac_ct_CC" >&6; }
3018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3019 $as_echo "no" >&6; }
3023 test -n "$ac_ct_CC" && break
3026 if test "x$ac_ct_CC" = x
; then
3029 case $cross_compiling:$ac_tool_warned in
3031 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3032 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3033 ac_tool_warned
=yes ;;
3042 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3043 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3044 as_fn_error $?
"no acceptable C compiler found in \$PATH
3045 See \`config.log' for more details" "$LINENO" 5; }
3047 # Provide some information about the compiler.
3048 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3051 for ac_option
in --version -v -V -qversion; do
3052 { { ac_try
="$ac_compiler $ac_option >&5"
3054 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3055 *) ac_try_echo=$ac_try;;
3057 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3058 $as_echo "$ac_try_echo"; } >&5
3059 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3061 if test -s conftest.err; then
3063 ... rest of stderr output deleted ...
3064 10q' conftest.err >conftest.er1
3065 cat conftest.er1 >&5
3067 rm -f conftest.er1 conftest.err
3068 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3069 test $ac_status = 0; }
3072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3073 /* end confdefs.h. */
3083 ac_clean_files_save=$ac_clean_files
3084 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3085 # Try to create an executable without -o first, disregard a.out.
3086 # It will help us diagnose broken compilers, and finding out an intuition
3088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3089 $as_echo_n "checking whether the C compiler works... " >&6; }
3090 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3092 # The possible output files:
3093 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3096 for ac_file in $ac_files
3099 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3100 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3105 if { { ac_try="$ac_link_default"
3107 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3108 *) ac_try_echo
=$ac_try;;
3110 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3111 $as_echo "$ac_try_echo"; } >&5
3112 (eval "$ac_link_default") 2>&5
3114 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3115 test $ac_status = 0; }; then :
3116 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3117 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3118 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3119 # so that the user can short-circuit this test for compilers unknown to
3121 for ac_file
in $ac_files ''
3123 test -f "$ac_file" ||
continue
3125 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3128 # We found the default executable, but exeext='' is most
3132 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3134 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3136 # We set ac_cv_exeext here because the later test for it is not
3137 # safe: cross compilers may not add the suffix if given an `-o'
3138 # argument, so we may need to know it at that point already.
3139 # Even if this section looks crufty: it has the advantage of
3146 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3151 if test -z "$ac_file"; then :
3152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3153 $as_echo "no" >&6; }
3154 $as_echo "$as_me: failed program was:" >&5
3155 sed 's/^/| /' conftest.
$ac_ext >&5
3157 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3158 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3159 as_fn_error
77 "C compiler cannot create executables
3160 See \`config.log' for more details" "$LINENO" 5; }
3162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3163 $as_echo "yes" >&6; }
3165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3166 $as_echo_n "checking for C compiler default output file name... " >&6; }
3167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3168 $as_echo "$ac_file" >&6; }
3169 ac_exeext
=$ac_cv_exeext
3171 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3172 ac_clean_files
=$ac_clean_files_save
3173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3174 $as_echo_n "checking for suffix of executables... " >&6; }
3175 if { { ac_try
="$ac_link"
3177 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3178 *) ac_try_echo=$ac_try;;
3180 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3181 $as_echo "$ac_try_echo"; } >&5
3182 (eval "$ac_link") 2>&5
3184 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3185 test $ac_status = 0; }; then :
3186 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3187 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3188 # work properly (i.e., refer to `conftest.exe'), while it won't with
3190 for ac_file
in conftest.exe conftest conftest.
*; do
3191 test -f "$ac_file" ||
continue
3193 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3194 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3200 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3201 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3202 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3203 See \`config.log' for more details" "$LINENO" 5; }
3205 rm -f conftest conftest
$ac_cv_exeext
3206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3207 $as_echo "$ac_cv_exeext" >&6; }
3209 rm -f conftest.
$ac_ext
3210 EXEEXT
=$ac_cv_exeext
3212 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3213 /* end confdefs.h. */
3218 FILE *f = fopen ("conftest.out", "w");
3219 return ferror (f) || fclose (f) != 0;
3225 ac_clean_files
="$ac_clean_files conftest.out"
3226 # Check that the compiler produces executables we can run. If not, either
3227 # the compiler is broken, or we cross compile.
3228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3229 $as_echo_n "checking whether we are cross compiling... " >&6; }
3230 if test "$cross_compiling" != yes; then
3231 { { ac_try
="$ac_link"
3233 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3234 *) ac_try_echo=$ac_try;;
3236 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3237 $as_echo "$ac_try_echo"; } >&5
3238 (eval "$ac_link") 2>&5
3240 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3241 test $ac_status = 0; }
3242 if { ac_try='./conftest$ac_cv_exeext'
3243 { { case "(($ac_try" in
3244 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3245 *) ac_try_echo
=$ac_try;;
3247 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3248 $as_echo "$ac_try_echo"; } >&5
3249 (eval "$ac_try") 2>&5
3251 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3252 test $ac_status = 0; }; }; then
3255 if test "$cross_compiling" = maybe
; then
3258 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3259 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3260 as_fn_error $?
"cannot run C compiled programs.
3261 If you meant to cross compile, use \`--host'.
3262 See \`config.log' for more details" "$LINENO" 5; }
3266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3267 $as_echo "$cross_compiling" >&6; }
3269 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3270 ac_clean_files
=$ac_clean_files_save
3271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3272 $as_echo_n "checking for suffix of object files... " >&6; }
3273 if ${ac_cv_objext+:} false
; then :
3274 $as_echo_n "(cached) " >&6
3276 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3277 /* end confdefs.h. */
3287 rm -f conftest.o conftest.obj
3288 if { { ac_try
="$ac_compile"
3290 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3291 *) ac_try_echo=$ac_try;;
3293 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3294 $as_echo "$ac_try_echo"; } >&5
3295 (eval "$ac_compile") 2>&5
3297 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3298 test $ac_status = 0; }; then :
3299 for ac_file in conftest.o conftest.obj conftest.*; do
3300 test -f "$ac_file" || continue;
3302 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3303 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3308 $as_echo "$as_me: failed program was:" >&5
3309 sed 's/^/| /' conftest.$ac_ext >&5
3311 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3312 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3313 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3314 See \
`config.log' for more details" "$LINENO" 5; }
3316 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3319 $as_echo "$ac_cv_objext" >&6; }
3320 OBJEXT=$ac_cv_objext
3322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3323 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3324 if ${ac_cv_c_compiler_gnu+:} false; then :
3325 $as_echo_n "(cached) " >&6
3327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3328 /* end confdefs.h. */
3341 if ac_fn_c_try_compile "$LINENO"; then :
3346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3347 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3351 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3352 if test $ac_compiler_gnu = yes; then
3357 ac_test_CFLAGS=${CFLAGS+set}
3358 ac_save_CFLAGS=$CFLAGS
3359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3360 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3361 if ${ac_cv_prog_cc_g+:} false; then :
3362 $as_echo_n "(cached) " >&6
3364 ac_save_c_werror_flag=$ac_c_werror_flag
3365 ac_c_werror_flag=yes
3368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3369 /* end confdefs.h. */
3379 if ac_fn_c_try_compile "$LINENO"; then :
3383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3384 /* end confdefs.h. */
3394 if ac_fn_c_try_compile "$LINENO"; then :
3397 ac_c_werror_flag=$ac_save_c_werror_flag
3399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3400 /* end confdefs.h. */
3410 if ac_fn_c_try_compile "$LINENO"; then :
3413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3418 ac_c_werror_flag=$ac_save_c_werror_flag
3420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3421 $as_echo "$ac_cv_prog_cc_g" >&6; }
3422 if test "$ac_test_CFLAGS" = set; then
3423 CFLAGS=$ac_save_CFLAGS
3424 elif test $ac_cv_prog_cc_g = yes; then
3425 if test "$GCC" = yes; then
3431 if test "$GCC" = yes; then
3437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3438 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3439 if ${ac_cv_prog_cc_c89+:} false; then :
3440 $as_echo_n "(cached) " >&6
3442 ac_cv_prog_cc_c89=no
3444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3445 /* end confdefs.h. */
3449 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3450 struct buf { int x; };
3451 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3452 static char *e (p, i)
3458 static char *f (char * (*g) (char **, int), char **p, ...)
3463 s = g (p, va_arg (v,int));
3468 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3469 function prototypes and stuff, but not '\xHH' hex character constants.
3470 These don't provoke an error unfortunately, instead are silently treated
3471 as 'x'. The following induces an error, until -std is added to get
3472 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3473 array size at least. It's necessary to write '\x00'==0 to get something
3474 that's true only with -std. */
3475 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3477 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3478 inside strings and character constants. */
3480 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3482 int test (int i, double x);
3483 struct s1 {int (*f) (int a);};
3484 struct s2 {int (*f) (double a);};
3485 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3491 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3496 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3497 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3499 CC="$ac_save_CC $ac_arg"
3500 if ac_fn_c_try_compile "$LINENO"; then :
3501 ac_cv_prog_cc_c89=$ac_arg
3503 rm -f core conftest.err conftest.$ac_objext
3504 test "x$ac_cv_prog_cc_c89" != "xno" && break
3506 rm -f conftest.$ac_ext
3511 case "x$ac_cv_prog_cc_c89" in
3513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3514 $as_echo "none needed" >&6; } ;;
3516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3517 $as_echo "unsupported" >&6; } ;;
3519 CC="$CC $ac_cv_prog_cc_c89"
3520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3521 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3523 if test "x$ac_cv_prog_cc_c89" != xno; then :
3528 ac_cpp='$CPP $CPPFLAGS'
3529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3534 ac_cpp='$CPP $CPPFLAGS'
3535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3539 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3540 if ${am_cv_prog_cc_c_o+:} false; then :
3541 $as_echo_n "(cached) " >&6
3543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3544 /* end confdefs.h. */
3554 # Make sure it works both with $CC and with simple cc.
3555 # Following AC_PROG_CC_C_O, we do the test twice because some
3556 # compilers refuse to overwrite an existing .o file with -o,
3557 # though they will create one.
3558 am_cv_prog_cc_c_o=yes
3560 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3561 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3564 (exit $ac_status); } \
3565 && test -f conftest2.$ac_objext; then
3568 am_cv_prog_cc_c_o=no
3572 rm -f core conftest*
3575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3576 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3577 if test "$am_cv_prog_cc_c_o" != yes; then
3578 # Losing compiler, so override with the script.
3579 # FIXME: It is wrong to rewrite CC.
3580 # But if we don't then we get into trouble of one sort or another.
3581 # A longer-term fix would be to have automake use am__CC in this case,
3582 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3583 CC="$am_aux_dir/compile $CC"
3586 ac_cpp='$CPP $CPPFLAGS'
3587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3594 ac_cpp='$CPP $CPPFLAGS'
3595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3599 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3600 # On Suns, sometimes $CPP names a directory.
3601 if test -n "$CPP" && test -d "$CPP"; then
3604 if test -z "$CPP"; then
3605 if ${ac_cv_prog_CPP+:} false; then :
3606 $as_echo_n "(cached) " >&6
3608 # Double quotes because CPP needs to be expanded
3609 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3612 for ac_c_preproc_warn_flag in '' yes
3614 # Use a header file that comes with gcc, so configuring glibc
3615 # with a fresh cross-compiler works.
3616 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3617 # <limits.h> exists even on freestanding compilers.
3618 # On the NeXT, cc -E runs the code through the compiler's parser,
3619 # not just through cpp. "Syntax error" is here to catch this case.
3620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3621 /* end confdefs.h. */
3623 # include <limits.h>
3625 # include <assert.h>
3629 if ac_fn_c_try_cpp "$LINENO"; then :
3632 # Broken: fails on valid input.
3635 rm -f conftest.err conftest.i conftest.$ac_ext
3637 # OK, works on sane cases. Now check whether nonexistent headers
3638 # can be detected and how.
3639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3640 /* end confdefs.h. */
3641 #include <ac_nonexistent.h>
3643 if ac_fn_c_try_cpp "$LINENO"; then :
3644 # Broken: success on invalid input.
3647 # Passes both tests.
3651 rm -f conftest.err conftest.i conftest.$ac_ext
3654 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3655 rm -f conftest.i conftest.err conftest.
$ac_ext
3656 if $ac_preproc_ok; then :
3668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3669 $as_echo "$CPP" >&6; }
3671 for ac_c_preproc_warn_flag
in '' yes
3673 # Use a header file that comes with gcc, so configuring glibc
3674 # with a fresh cross-compiler works.
3675 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3676 # <limits.h> exists even on freestanding compilers.
3677 # On the NeXT, cc -E runs the code through the compiler's parser,
3678 # not just through cpp. "Syntax error" is here to catch this case.
3679 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3680 /* end confdefs.h. */
3682 # include <limits.h>
3684 # include <assert.h>
3688 if ac_fn_c_try_cpp
"$LINENO"; then :
3691 # Broken: fails on valid input.
3694 rm -f conftest.err conftest.i conftest.
$ac_ext
3696 # OK, works on sane cases. Now check whether nonexistent headers
3697 # can be detected and how.
3698 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3699 /* end confdefs.h. */
3700 #include <ac_nonexistent.h>
3702 if ac_fn_c_try_cpp
"$LINENO"; then :
3703 # Broken: success on invalid input.
3706 # Passes both tests.
3710 rm -f conftest.err conftest.i conftest.
$ac_ext
3713 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3714 rm -f conftest.i conftest.err conftest.
$ac_ext
3715 if $ac_preproc_ok; then :
3718 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3719 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3720 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
3721 See \`config.log' for more details" "$LINENO" 5; }
3725 ac_cpp
='$CPP $CPPFLAGS'
3726 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3727 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3728 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3732 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3733 if ${ac_cv_path_GREP+:} false
; then :
3734 $as_echo_n "(cached) " >&6
3736 if test -z "$GREP"; then
3737 ac_path_GREP_found
=false
3738 # Loop through the user's path and test for each of PROGNAME-LIST
3739 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3740 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3743 test -z "$as_dir" && as_dir
=.
3744 for ac_prog
in grep ggrep
; do
3745 for ac_exec_ext
in '' $ac_executable_extensions; do
3746 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3747 as_fn_executable_p
"$ac_path_GREP" ||
continue
3748 # Check for GNU ac_path_GREP and select it if it is found.
3749 # Check for GNU $ac_path_GREP
3750 case `"$ac_path_GREP" --version 2>&1` in
3752 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3755 $as_echo_n 0123456789 >"conftest.in"
3758 cat "conftest.in" "conftest.in" >"conftest.tmp"
3759 mv "conftest.tmp" "conftest.in"
3760 cp "conftest.in" "conftest.nl"
3761 $as_echo 'GREP' >> "conftest.nl"
3762 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3763 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3764 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3765 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3766 # Best one so far, save it but keep looking for a better one
3767 ac_cv_path_GREP
="$ac_path_GREP"
3768 ac_path_GREP_max
=$ac_count
3770 # 10*(2^10) chars as input seems more than enough
3771 test $ac_count -gt 10 && break
3773 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3776 $ac_path_GREP_found && break 3
3781 if test -z "$ac_cv_path_GREP"; then
3782 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3785 ac_cv_path_GREP
=$GREP
3789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3790 $as_echo "$ac_cv_path_GREP" >&6; }
3791 GREP
="$ac_cv_path_GREP"
3794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3795 $as_echo_n "checking for egrep... " >&6; }
3796 if ${ac_cv_path_EGREP+:} false
; then :
3797 $as_echo_n "(cached) " >&6
3799 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3800 then ac_cv_path_EGREP
="$GREP -E"
3802 if test -z "$EGREP"; then
3803 ac_path_EGREP_found
=false
3804 # Loop through the user's path and test for each of PROGNAME-LIST
3805 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3806 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3809 test -z "$as_dir" && as_dir
=.
3810 for ac_prog
in egrep; do
3811 for ac_exec_ext
in '' $ac_executable_extensions; do
3812 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3813 as_fn_executable_p
"$ac_path_EGREP" ||
continue
3814 # Check for GNU ac_path_EGREP and select it if it is found.
3815 # Check for GNU $ac_path_EGREP
3816 case `"$ac_path_EGREP" --version 2>&1` in
3818 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3821 $as_echo_n 0123456789 >"conftest.in"
3824 cat "conftest.in" "conftest.in" >"conftest.tmp"
3825 mv "conftest.tmp" "conftest.in"
3826 cp "conftest.in" "conftest.nl"
3827 $as_echo 'EGREP' >> "conftest.nl"
3828 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3829 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3830 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3831 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3832 # Best one so far, save it but keep looking for a better one
3833 ac_cv_path_EGREP
="$ac_path_EGREP"
3834 ac_path_EGREP_max
=$ac_count
3836 # 10*(2^10) chars as input seems more than enough
3837 test $ac_count -gt 10 && break
3839 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3842 $ac_path_EGREP_found && break 3
3847 if test -z "$ac_cv_path_EGREP"; then
3848 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3851 ac_cv_path_EGREP
=$EGREP
3856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3857 $as_echo "$ac_cv_path_EGREP" >&6; }
3858 EGREP
="$ac_cv_path_EGREP"
3861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3862 $as_echo_n "checking for ANSI C header files... " >&6; }
3863 if ${ac_cv_header_stdc+:} false
; then :
3864 $as_echo_n "(cached) " >&6
3866 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3867 /* end confdefs.h. */
3881 if ac_fn_c_try_compile
"$LINENO"; then :
3882 ac_cv_header_stdc
=yes
3884 ac_cv_header_stdc
=no
3886 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3888 if test $ac_cv_header_stdc = yes; then
3889 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3890 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3891 /* end confdefs.h. */
3895 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3896 $EGREP "memchr" >/dev
/null
2>&1; then :
3899 ac_cv_header_stdc
=no
3905 if test $ac_cv_header_stdc = yes; then
3906 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3907 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3908 /* end confdefs.h. */
3912 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3913 $EGREP "free" >/dev
/null
2>&1; then :
3916 ac_cv_header_stdc
=no
3922 if test $ac_cv_header_stdc = yes; then
3923 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3924 if test "$cross_compiling" = yes; then :
3927 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3928 /* end confdefs.h. */
3931 #if ((' ' & 0x0FF) == 0x020)
3932 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3933 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3935 # define ISLOWER(c) \
3936 (('a' <= (c) && (c) <= 'i') \
3937 || ('j' <= (c) && (c) <= 'r') \
3938 || ('s' <= (c) && (c) <= 'z'))
3939 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3942 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3947 for (i = 0; i < 256; i++)
3948 if (XOR (islower (i), ISLOWER (i))
3949 || toupper (i) != TOUPPER (i))
3954 if ac_fn_c_try_run
"$LINENO"; then :
3957 ac_cv_header_stdc
=no
3959 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
3960 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
3965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3966 $as_echo "$ac_cv_header_stdc" >&6; }
3967 if test $ac_cv_header_stdc = yes; then
3969 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3973 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3974 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3975 inttypes.h stdint.h unistd.h
3977 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3978 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3980 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
3981 cat >>confdefs.h
<<_ACEOF
3982 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3991 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
3992 if test "x$ac_cv_header_minix_config_h" = xyes
; then :
3999 if test "$MINIX" = yes; then
4001 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4004 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4007 $as_echo "#define _MINIX 1" >>confdefs.h
4012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4013 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4014 if ${ac_cv_safe_to_define___extensions__+:} false
; then :
4015 $as_echo_n "(cached) " >&6
4017 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4018 /* end confdefs.h. */
4020 # define __EXTENSIONS__ 1
4021 $ac_includes_default
4030 if ac_fn_c_try_compile
"$LINENO"; then :
4031 ac_cv_safe_to_define___extensions__
=yes
4033 ac_cv_safe_to_define___extensions__
=no
4035 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4038 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4039 test $ac_cv_safe_to_define___extensions__ = yes &&
4040 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4042 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4044 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4046 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4048 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4052 libtool_VERSION
=1:0:0
4055 # 1.11.1: Require that version of automake.
4056 # foreign: Don't require README, INSTALL, NEWS, etc.
4057 # no-define: Don't define PACKAGE and VERSION.
4058 # no-dependencies: Don't generate automatic dependencies.
4059 # (because it breaks when using bootstrap-lean, since some of the
4060 # headers are gone at "make install" time).
4061 # -Wall: Issue all automake warnings.
4062 # -Wno-portability: Don't warn about constructs supported by GNU make.
4063 # (because GCC requires GNU make anyhow).
4064 am__api_version
='1.15'
4066 # Find a good install program. We prefer a C program (faster),
4067 # so one script is as good as another. But avoid the broken or
4068 # incompatible versions:
4069 # SysV /etc/install, /usr/sbin/install
4070 # SunOS /usr/etc/install
4071 # IRIX /sbin/install
4073 # AmigaOS /C/install, which installs bootblocks on floppy discs
4074 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4075 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4076 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4077 # OS/2's system install, which has a completely different semantic
4078 # ./install, which can be erroneously created by make from ./install.sh.
4079 # Reject install programs that cannot install multiple files.
4080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
4081 $as_echo_n "checking for a BSD-compatible install... " >&6; }
4082 if test -z "$INSTALL"; then
4083 if ${ac_cv_path_install+:} false
; then :
4084 $as_echo_n "(cached) " >&6
4086 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4090 test -z "$as_dir" && as_dir
=.
4091 # Account for people who put trailing slashes in PATH elements.
4092 case $as_dir/ in #((
4093 .
/ | .
// |
/[cC
]/* | \
4094 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4095 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
4098 # OSF1 and SCO ODT 3.0 have their own names for install.
4099 # Don't use installbsd from OSF since it installs stuff as root
4101 for ac_prog
in ginstall scoinst
install; do
4102 for ac_exec_ext
in '' $ac_executable_extensions; do
4103 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
4104 if test $ac_prog = install &&
4105 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4106 # AIX install. It has an incompatible calling convention.
4108 elif test $ac_prog = install &&
4109 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4110 # program-specific install script used by HP pwplus--don't use.
4113 rm -rf conftest.one conftest.two conftest.dir
4114 echo one
> conftest.one
4115 echo two
> conftest.two
4117 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
4118 test -s conftest.one
&& test -s conftest.two
&&
4119 test -s conftest.dir
/conftest.one
&&
4120 test -s conftest.dir
/conftest.two
4122 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4135 rm -rf conftest.one conftest.two conftest.dir
4138 if test "${ac_cv_path_install+set}" = set; then
4139 INSTALL
=$ac_cv_path_install
4141 # As a last resort, use the slow shell script. Don't cache a
4142 # value for INSTALL within a source directory, because that will
4143 # break other packages using the cache if that directory is
4144 # removed, or if the value is a relative name.
4145 INSTALL
=$ac_install_sh
4148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4149 $as_echo "$INSTALL" >&6; }
4151 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4152 # It thinks the first close brace ends the variable substitution.
4153 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4155 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4157 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
4160 $as_echo_n "checking whether build environment is sane... " >&6; }
4161 # Reject unsafe characters in $srcdir or the absolute working directory
4162 # name. Accept space and tab only in the latter.
4166 *[\\\"\
#\$\&\'\`$am_lf]*)
4167 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
4170 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
4171 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
4174 # Do 'set' in a subshell so we don't clobber the current shell's
4175 # arguments. Must try -L first in case configure is actually a
4176 # symlink; some systems play weird games with the mod time of symlinks
4177 # (eg FreeBSD returns the mod time of the symlink's containing
4181 for am_try
in 1 2; do
4182 echo "timestamp, slept: $am_has_slept" > conftest.
file
4183 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
4184 if test "$*" = "X"; then
4186 set X
`ls -t "$srcdir/configure" conftest.file`
4188 if test "$*" != "X $srcdir/configure conftest.file" \
4189 && test "$*" != "X conftest.file $srcdir/configure"; then
4191 # If neither matched, then we have a broken ls. This can happen
4192 # if, for instance, CONFIG_SHELL is bash and it inherits a
4193 # broken ls alias from the environment. This has actually
4194 # happened. Such a system could not be considered "sane".
4195 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
4196 alias in your environment" "$LINENO" 5
4198 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
4205 test "$2" = conftest.
file
4211 as_fn_error $?
"newly created file is older than distributed files!
4212 Check your system clock" "$LINENO" 5
4214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4215 $as_echo "yes" >&6; }
4216 # If we didn't sleep, we still need to ensure time stamps of config.status and
4217 # generated files are strictly newer.
4219 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
4226 test "$program_prefix" != NONE
&&
4227 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
4228 # Use a double $ so make ignores it.
4229 test "$program_suffix" != NONE
&&
4230 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
4231 # Double any \ or $.
4232 # By default was `s,x,x', remove it if useless.
4233 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
4234 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
4236 if test x
"${MISSING+set}" != xset
; then
4239 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
4241 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
4244 # Use eval to expand $SHELL
4245 if eval "$MISSING --is-lightweight"; then
4246 am_missing_run
="$MISSING "
4249 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
4250 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
4253 if test x
"${install_sh+set}" != xset
; then
4256 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
4258 install_sh
="\${SHELL} $am_aux_dir/install-sh"
4262 # Installed binaries are usually stripped using 'strip' when the user
4263 # run "make install-strip". However 'strip' might not be the right
4264 # tool to use in cross-compilation environments, therefore Automake
4265 # will honor the 'STRIP' environment variable to overrule this program.
4266 if test "$cross_compiling" != no
; then
4267 if test -n "$ac_tool_prefix"; then
4268 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4269 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
4270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4271 $as_echo_n "checking for $ac_word... " >&6; }
4272 if ${ac_cv_prog_STRIP+:} false
; then :
4273 $as_echo_n "(cached) " >&6
4275 if test -n "$STRIP"; then
4276 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
4278 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4282 test -z "$as_dir" && as_dir
=.
4283 for ac_exec_ext
in '' $ac_executable_extensions; do
4284 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4285 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
4286 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4295 STRIP
=$ac_cv_prog_STRIP
4296 if test -n "$STRIP"; then
4297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
4298 $as_echo "$STRIP" >&6; }
4300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4301 $as_echo "no" >&6; }
4306 if test -z "$ac_cv_prog_STRIP"; then
4308 # Extract the first word of "strip", so it can be a program name with args.
4309 set dummy strip
; ac_word
=$2
4310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4311 $as_echo_n "checking for $ac_word... " >&6; }
4312 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
4313 $as_echo_n "(cached) " >&6
4315 if test -n "$ac_ct_STRIP"; then
4316 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
4318 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4322 test -z "$as_dir" && as_dir
=.
4323 for ac_exec_ext
in '' $ac_executable_extensions; do
4324 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4325 ac_cv_prog_ac_ct_STRIP
="strip"
4326 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4335 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
4336 if test -n "$ac_ct_STRIP"; then
4337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
4338 $as_echo "$ac_ct_STRIP" >&6; }
4340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4341 $as_echo "no" >&6; }
4344 if test "x$ac_ct_STRIP" = x
; then
4347 case $cross_compiling:$ac_tool_warned in
4349 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4350 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4351 ac_tool_warned
=yes ;;
4356 STRIP
="$ac_cv_prog_STRIP"
4360 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
4362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
4363 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
4364 if test -z "$MKDIR_P"; then
4365 if ${ac_cv_path_mkdir+:} false
; then :
4366 $as_echo_n "(cached) " >&6
4368 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4369 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
4372 test -z "$as_dir" && as_dir
=.
4373 for ac_prog
in mkdir gmkdir
; do
4374 for ac_exec_ext
in '' $ac_executable_extensions; do
4375 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
4376 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
4377 'mkdir (GNU coreutils) '* | \
4378 'mkdir (coreutils) '* | \
4379 'mkdir (fileutils) '4.1*)
4380 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
4390 test -d .
/--version && rmdir .
/--version
4391 if test "${ac_cv_path_mkdir+set}" = set; then
4392 MKDIR_P
="$ac_cv_path_mkdir -p"
4394 # As a last resort, use the slow shell script. Don't cache a
4395 # value for MKDIR_P within a source directory, because that will
4396 # break other packages using the cache if that directory is
4397 # removed, or if the value is a relative name.
4398 MKDIR_P
="$ac_install_sh -d"
4401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
4402 $as_echo "$MKDIR_P" >&6; }
4404 for ac_prog
in gawk mawk nawk
awk
4406 # Extract the first word of "$ac_prog", so it can be a program name with args.
4407 set dummy
$ac_prog; ac_word
=$2
4408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4409 $as_echo_n "checking for $ac_word... " >&6; }
4410 if ${ac_cv_prog_AWK+:} false
; then :
4411 $as_echo_n "(cached) " >&6
4413 if test -n "$AWK"; then
4414 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4416 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4420 test -z "$as_dir" && as_dir
=.
4421 for ac_exec_ext
in '' $ac_executable_extensions; do
4422 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4423 ac_cv_prog_AWK
="$ac_prog"
4424 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4434 if test -n "$AWK"; then
4435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4436 $as_echo "$AWK" >&6; }
4438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4439 $as_echo "no" >&6; }
4443 test -n "$AWK" && break
4446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4447 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4449 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4450 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
4451 $as_echo_n "(cached) " >&6
4453 cat >conftest.
make <<\_ACEOF
4456 @
echo '@@@%%%=$(MAKE)=@@@%%%'
4458 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4459 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4461 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
4463 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
4467 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
4468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4469 $as_echo "yes" >&6; }
4472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4473 $as_echo "no" >&6; }
4474 SET_MAKE
="MAKE=${MAKE-make}"
4477 rm -rf .tst
2>/dev
/null
4478 mkdir .tst
2>/dev
/null
4479 if test -d .tst
; then
4484 rmdir .tst
2>/dev
/null
4486 # Check whether --enable-silent-rules was given.
4487 if test "${enable_silent_rules+set}" = set; then :
4488 enableval
=$enable_silent_rules;
4491 case $enable_silent_rules in # (((
4492 yes) AM_DEFAULT_VERBOSITY
=0;;
4493 no
) AM_DEFAULT_VERBOSITY
=1;;
4494 *) AM_DEFAULT_VERBOSITY
=1;;
4496 am_make
=${MAKE-make}
4497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
4498 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
4499 if ${am_cv_make_support_nested_variables+:} false
; then :
4500 $as_echo_n "(cached) " >&6
4502 if $as_echo 'TRUE=$(BAR$(V))
4508 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
4509 am_cv_make_support_nested_variables
=yes
4511 am_cv_make_support_nested_variables
=no
4514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
4515 $as_echo "$am_cv_make_support_nested_variables" >&6; }
4516 if test $am_cv_make_support_nested_variables = yes; then
4518 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
4520 AM_V
=$AM_DEFAULT_VERBOSITY
4521 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
4525 if test "`cd $srcdir && pwd`" != "`pwd`"; then
4526 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
4527 # is not polluted with repeated "-I."
4528 am__isrc
=' -I$(srcdir)'
4529 # test to see if srcdir already configured
4530 if test -f $srcdir/config.status
; then
4531 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
4535 # test whether we have cygpath
4536 if test -z "$CYGPATH_W"; then
4537 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
4538 CYGPATH_W
='cygpath -w'
4545 # Define the identity of the package.
4546 PACKAGE
='libbacktrace'
4547 VERSION
='version-unused'
4550 # Some tools Automake needs.
4552 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
4555 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
4558 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
4561 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
4564 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
4566 # For better backward compatibility. To be removed once Automake 1.9.x
4567 # dies out for good. For more background, see:
4568 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
4569 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
4570 mkdir_p
='$(MKDIR_P)'
4572 # We need awk for the "check" target (and possibly the TAP driver). The
4573 # system "awk" is bad on some platforms.
4574 # Always define AMTAR for backward compatibility. Yes, it's still used
4575 # in the wild :-( We should find a proper way to deprecate it ...
4579 # We'll loop over all known methods to create a tar archive until one works.
4580 _am_tools
='gnutar pax cpio none'
4582 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
4589 # POSIX will say in a future version that running "rm -f" with no argument
4590 # is OK; and we want to be able to make that assumption in our Makefile
4591 # recipes. So use an aggressive probe to check that the usage we want is
4592 # actually supported "in the wild" to an acceptable degree.
4593 # See automake bug#10828.
4594 # To make any issue more visible, cause the running configure to be aborted
4595 # by default if the 'rm' program in use doesn't match our expectations; the
4596 # user can still override this though.
4597 if rm -f && rm -fr && rm -rf; then : OK
; else
4601 Your 'rm' program seems unable to run without file operands specified
4602 on the command line, even when the '-f' option is present. This is contrary
4603 to the behaviour of most rm programs out there, and not conforming with
4604 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
4606 Please tell bug-automake@gnu.org about your system, including the value
4607 of your $PATH and any error possibly output before this message. This
4608 can help us improve future automake versions.
4611 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
4612 echo 'Configuration will proceed anyway, since you have set the' >&2
4613 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
4617 Aborting the configuration process, to ensure you take notice of the issue.
4619 You can download and install GNU coreutils to get an 'rm' implementation
4620 that behaves properly: <http://www.gnu.org/software/coreutils/>.
4622 If you want to complete the configuration process using your problematic
4623 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
4624 to "yes", and re-run configure.
4627 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
4633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
4634 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
4635 # Check whether --enable-maintainer-mode was given.
4636 if test "${enable_maintainer_mode+set}" = set; then :
4637 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
4639 USE_MAINTAINER_MODE
=no
4642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
4643 $as_echo "$USE_MAINTAINER_MODE" >&6; }
4644 if test $USE_MAINTAINER_MODE = yes; then
4645 MAINTAINER_MODE_TRUE
=
4646 MAINTAINER_MODE_FALSE
='#'
4648 MAINTAINER_MODE_TRUE
='#'
4649 MAINTAINER_MODE_FALSE
=
4652 MAINT
=$MAINTAINER_MODE_TRUE
4657 # Check whether --with-target-subdir was given.
4658 if test "${with_target_subdir+set}" = set; then :
4659 withval
=$with_target_subdir;
4663 # We must force CC to /not/ be precious variables; otherwise
4664 # the wrong, non-multilib-adjusted value will be used in multilibs.
4665 # As a side effect, we have to subst CFLAGS ourselves.
4669 ac_cpp
='$CPP $CPPFLAGS'
4670 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4671 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4672 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4673 if test -n "$ac_tool_prefix"; then
4674 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4675 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4677 $as_echo_n "checking for $ac_word... " >&6; }
4678 if ${ac_cv_prog_CC+:} false
; then :
4679 $as_echo_n "(cached) " >&6
4681 if test -n "$CC"; then
4682 ac_cv_prog_CC
="$CC" # Let the user override the test.
4684 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4688 test -z "$as_dir" && as_dir
=.
4689 for ac_exec_ext
in '' $ac_executable_extensions; do
4690 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4691 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4692 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4702 if test -n "$CC"; then
4703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4704 $as_echo "$CC" >&6; }
4706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4707 $as_echo "no" >&6; }
4712 if test -z "$ac_cv_prog_CC"; then
4714 # Extract the first word of "gcc", so it can be a program name with args.
4715 set dummy gcc
; ac_word
=$2
4716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4717 $as_echo_n "checking for $ac_word... " >&6; }
4718 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4719 $as_echo_n "(cached) " >&6
4721 if test -n "$ac_ct_CC"; then
4722 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4724 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4728 test -z "$as_dir" && as_dir
=.
4729 for ac_exec_ext
in '' $ac_executable_extensions; do
4730 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4731 ac_cv_prog_ac_ct_CC
="gcc"
4732 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4741 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4742 if test -n "$ac_ct_CC"; then
4743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4744 $as_echo "$ac_ct_CC" >&6; }
4746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4747 $as_echo "no" >&6; }
4750 if test "x$ac_ct_CC" = x
; then
4753 case $cross_compiling:$ac_tool_warned in
4755 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4756 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4757 ac_tool_warned
=yes ;;
4765 if test -z "$CC"; then
4766 if test -n "$ac_tool_prefix"; then
4767 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4768 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4770 $as_echo_n "checking for $ac_word... " >&6; }
4771 if ${ac_cv_prog_CC+:} false
; then :
4772 $as_echo_n "(cached) " >&6
4774 if test -n "$CC"; then
4775 ac_cv_prog_CC
="$CC" # Let the user override the test.
4777 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4781 test -z "$as_dir" && as_dir
=.
4782 for ac_exec_ext
in '' $ac_executable_extensions; do
4783 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4784 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4785 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4795 if test -n "$CC"; then
4796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4797 $as_echo "$CC" >&6; }
4799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4800 $as_echo "no" >&6; }
4806 if test -z "$CC"; then
4807 # Extract the first word of "cc", so it can be a program name with args.
4808 set dummy cc
; ac_word
=$2
4809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4810 $as_echo_n "checking for $ac_word... " >&6; }
4811 if ${ac_cv_prog_CC+:} false
; then :
4812 $as_echo_n "(cached) " >&6
4814 if test -n "$CC"; then
4815 ac_cv_prog_CC
="$CC" # Let the user override the test.
4818 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4822 test -z "$as_dir" && as_dir
=.
4823 for ac_exec_ext
in '' $ac_executable_extensions; do
4824 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4825 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4826 ac_prog_rejected
=yes
4830 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4837 if test $ac_prog_rejected = yes; then
4838 # We found a bogon in the path, so make sure we never use it.
4839 set dummy
$ac_cv_prog_CC
4841 if test $# != 0; then
4842 # We chose a different compiler from the bogus one.
4843 # However, it has the same basename, so the bogon will be chosen
4844 # first if we set CC to just the basename; use the full file name.
4846 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4852 if test -n "$CC"; then
4853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4854 $as_echo "$CC" >&6; }
4856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4857 $as_echo "no" >&6; }
4862 if test -z "$CC"; then
4863 if test -n "$ac_tool_prefix"; then
4864 for ac_prog
in cl.exe
4866 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4867 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4869 $as_echo_n "checking for $ac_word... " >&6; }
4870 if ${ac_cv_prog_CC+:} false
; then :
4871 $as_echo_n "(cached) " >&6
4873 if test -n "$CC"; then
4874 ac_cv_prog_CC
="$CC" # Let the user override the test.
4876 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4880 test -z "$as_dir" && as_dir
=.
4881 for ac_exec_ext
in '' $ac_executable_extensions; do
4882 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4883 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4884 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4894 if test -n "$CC"; then
4895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4896 $as_echo "$CC" >&6; }
4898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4899 $as_echo "no" >&6; }
4903 test -n "$CC" && break
4906 if test -z "$CC"; then
4908 for ac_prog
in cl.exe
4910 # Extract the first word of "$ac_prog", so it can be a program name with args.
4911 set dummy
$ac_prog; ac_word
=$2
4912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4913 $as_echo_n "checking for $ac_word... " >&6; }
4914 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4915 $as_echo_n "(cached) " >&6
4917 if test -n "$ac_ct_CC"; then
4918 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4920 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4924 test -z "$as_dir" && as_dir
=.
4925 for ac_exec_ext
in '' $ac_executable_extensions; do
4926 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4927 ac_cv_prog_ac_ct_CC
="$ac_prog"
4928 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4937 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4938 if test -n "$ac_ct_CC"; then
4939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4940 $as_echo "$ac_ct_CC" >&6; }
4942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4943 $as_echo "no" >&6; }
4947 test -n "$ac_ct_CC" && break
4950 if test "x$ac_ct_CC" = x
; then
4953 case $cross_compiling:$ac_tool_warned in
4955 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4956 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4957 ac_tool_warned
=yes ;;
4966 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4967 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4968 as_fn_error $?
"no acceptable C compiler found in \$PATH
4969 See \`config.log' for more details" "$LINENO" 5; }
4971 # Provide some information about the compiler.
4972 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4975 for ac_option
in --version -v -V -qversion; do
4976 { { ac_try
="$ac_compiler $ac_option >&5"
4978 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4979 *) ac_try_echo=$ac_try;;
4981 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4982 $as_echo "$ac_try_echo"; } >&5
4983 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4985 if test -s conftest.err; then
4987 ... rest of stderr output deleted ...
4988 10q' conftest.err >conftest.er1
4989 cat conftest.er1 >&5
4991 rm -f conftest.er1 conftest.err
4992 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4993 test $ac_status = 0; }
4996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4997 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4998 if ${ac_cv_c_compiler_gnu+:} false; then :
4999 $as_echo_n "(cached) " >&6
5001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5002 /* end confdefs.h. */
5015 if ac_fn_c_try_compile "$LINENO"; then :
5020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5021 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5025 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5026 if test $ac_compiler_gnu = yes; then
5031 ac_test_CFLAGS=${CFLAGS+set}
5032 ac_save_CFLAGS=$CFLAGS
5033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5034 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5035 if ${ac_cv_prog_cc_g+:} false; then :
5036 $as_echo_n "(cached) " >&6
5038 ac_save_c_werror_flag=$ac_c_werror_flag
5039 ac_c_werror_flag=yes
5042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5043 /* end confdefs.h. */
5053 if ac_fn_c_try_compile "$LINENO"; then :
5057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5058 /* end confdefs.h. */
5068 if ac_fn_c_try_compile "$LINENO"; then :
5071 ac_c_werror_flag=$ac_save_c_werror_flag
5073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5074 /* end confdefs.h. */
5084 if ac_fn_c_try_compile "$LINENO"; then :
5087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5092 ac_c_werror_flag=$ac_save_c_werror_flag
5094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5095 $as_echo "$ac_cv_prog_cc_g" >&6; }
5096 if test "$ac_test_CFLAGS" = set; then
5097 CFLAGS=$ac_save_CFLAGS
5098 elif test $ac_cv_prog_cc_g = yes; then
5099 if test "$GCC" = yes; then
5105 if test "$GCC" = yes; then
5111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5112 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5113 if ${ac_cv_prog_cc_c89+:} false; then :
5114 $as_echo_n "(cached) " >&6
5116 ac_cv_prog_cc_c89=no
5118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5119 /* end confdefs.h. */
5123 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5124 struct buf { int x; };
5125 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5126 static char *e (p, i)
5132 static char *f (char * (*g) (char **, int), char **p, ...)
5137 s = g (p, va_arg (v,int));
5142 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5143 function prototypes and stuff, but not '\xHH' hex character constants.
5144 These don't provoke an error unfortunately, instead are silently treated
5145 as 'x'. The following induces an error, until -std is added to get
5146 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5147 array size at least. It's necessary to write '\x00'==0 to get something
5148 that's true only with -std. */
5149 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5151 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5152 inside strings and character constants. */
5154 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5156 int test (int i, double x);
5157 struct s1 {int (*f) (int a);};
5158 struct s2 {int (*f) (double a);};
5159 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5165 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5170 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5171 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5173 CC="$ac_save_CC $ac_arg"
5174 if ac_fn_c_try_compile "$LINENO"; then :
5175 ac_cv_prog_cc_c89=$ac_arg
5177 rm -f core conftest.err conftest.$ac_objext
5178 test "x$ac_cv_prog_cc_c89" != "xno" && break
5180 rm -f conftest.$ac_ext
5185 case "x$ac_cv_prog_cc_c89" in
5187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5188 $as_echo "none needed" >&6; } ;;
5190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5191 $as_echo "unsupported" >&6; } ;;
5193 CC="$CC $ac_cv_prog_cc_c89"
5194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5195 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5197 if test "x$ac_cv_prog_cc_c89" != xno; then :
5202 ac_cpp='$CPP $CPPFLAGS'
5203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5208 ac_cpp='$CPP $CPPFLAGS'
5209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
5213 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
5214 if ${am_cv_prog_cc_c_o+:} false; then :
5215 $as_echo_n "(cached) " >&6
5217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5218 /* end confdefs.h. */
5228 # Make sure it works both with $CC and with simple cc.
5229 # Following AC_PROG_CC_C_O, we do the test twice because some
5230 # compilers refuse to overwrite an existing .o file with -o,
5231 # though they will create one.
5232 am_cv_prog_cc_c_o=yes
5234 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
5235 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
5237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5238 (exit $ac_status); } \
5239 && test -f conftest2.$ac_objext; then
5242 am_cv_prog_cc_c_o=no
5246 rm -f core conftest*
5249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
5250 $as_echo "$am_cv_prog_cc_c_o" >&6; }
5251 if test "$am_cv_prog_cc_c_o" != yes; then
5252 # Losing compiler, so override with the script.
5253 # FIXME: It is wrong to rewrite CC.
5254 # But if we don't then we get into trouble of one sort or another.
5255 # A longer-term fix would be to have automake use am__CC in this case,
5256 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5257 CC="$am_aux_dir/compile $CC"
5260 ac_cpp='$CPP $CPPFLAGS'
5261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5270 if test -n "$ac_tool_prefix"; then
5271 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5272 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5274 $as_echo_n "checking for $ac_word... " >&6; }
5275 if ${ac_cv_prog_RANLIB+:} false; then :
5276 $as_echo_n "(cached) " >&6
5278 if test -n "$RANLIB"; then
5279 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5285 test -z "$as_dir" && as_dir=.
5286 for ac_exec_ext in '' $ac_executable_extensions; do
5287 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5288 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5289 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5298 RANLIB=$ac_cv_prog_RANLIB
5299 if test -n "$RANLIB"; then
5300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5301 $as_echo "$RANLIB" >&6; }
5303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5304 $as_echo "no" >&6; }
5309 if test -z "$ac_cv_prog_RANLIB"; then
5310 ac_ct_RANLIB=$RANLIB
5311 # Extract the first word of "ranlib", so it can be a program name with args.
5312 set dummy ranlib; ac_word=$2
5313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5314 $as_echo_n "checking for $ac_word... " >&6; }
5315 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5316 $as_echo_n "(cached) " >&6
5318 if test -n "$ac_ct_RANLIB"; then
5319 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5321 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5325 test -z "$as_dir" && as_dir=.
5326 for ac_exec_ext in '' $ac_executable_extensions; do
5327 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5328 ac_cv_prog_ac_ct_RANLIB="ranlib"
5329 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5338 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5339 if test -n "$ac_ct_RANLIB"; then
5340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5341 $as_echo "$ac_ct_RANLIB" >&6; }
5343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5344 $as_echo "no" >&6; }
5347 if test "x$ac_ct_RANLIB" = x; then
5350 case $cross_compiling:$ac_tool_warned in
5352 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5353 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5354 ac_tool_warned=yes ;;
5356 RANLIB=$ac_ct_RANLIB
5359 RANLIB="$ac_cv_prog_RANLIB"
5363 for ac_prog in gawk mawk nawk awk
5365 # Extract the first word of "$ac_prog", so it can be a program name with args.
5366 set dummy $ac_prog; ac_word=$2
5367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5368 $as_echo_n "checking for $ac_word... " >&6; }
5369 if ${ac_cv_prog_AWK+:} false; then :
5370 $as_echo_n "(cached) " >&6
5372 if test -n "$AWK"; then
5373 ac_cv_prog_AWK="$AWK" # Let the user override the test.
5375 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5379 test -z "$as_dir" && as_dir=.
5380 for ac_exec_ext in '' $ac_executable_extensions; do
5381 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5382 ac_cv_prog_AWK="$ac_prog"
5383 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5393 if test -n "$AWK"; then
5394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
5395 $as_echo "$AWK" >&6; }
5397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5398 $as_echo "no" >&6; }
5402 test -n "$AWK" && break
5406 "") as_fn_error $? "can't build without awk" "$LINENO" 5 ;;
5409 # Extract the first word of "dwz", so it can be a program name with args.
5410 set dummy dwz; ac_word=$2
5411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5412 $as_echo_n "checking for $ac_word... " >&6; }
5413 if ${ac_cv_prog_DWZ+:} false; then :
5414 $as_echo_n "(cached) " >&6
5416 if test -n "$DWZ"; then
5417 ac_cv_prog_DWZ="$DWZ" # Let the user override the test.
5419 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5423 test -z "$as_dir" && as_dir=.
5424 for ac_exec_ext in '' $ac_executable_extensions; do
5425 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5426 ac_cv_prog_DWZ="dwz"
5427 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5437 if test -n "$DWZ"; then
5438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DWZ" >&5
5439 $as_echo "$DWZ" >&6; }
5441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5442 $as_echo "no" >&6; }
5446 if test "$DWZ" != ""; then
5457 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
5458 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
5463 macro_version='2.2.7a'
5464 macro_revision='1.3134'
5478 ltmain="$ac_aux_dir/ltmain.sh"
5480 # Backslashify metacharacters that are still active within
5481 # double-quoted strings.
5482 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
5484 # Same as above, but do not quote variable references.
5485 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
5487 # Sed substitution to delay expansion of an escaped shell variable in a
5488 # double_quote_subst'ed string.
5489 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5491 # Sed substitution to delay expansion of an escaped single quote.
5492 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5494 # Sed substitution to avoid accidental globbing in evaled expressions
5495 no_glob_subst='s/\*/\\\*/g'
5497 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5498 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5499 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print
strings" >&5
5502 $as_echo_n "checking how to print
strings...
" >&6; }
5503 # Test print first, because it will be a builtin if present.
5504 if test "X
`print -r -- -n 2>/dev/null`" = X-n && \
5505 test "X
`print -r -- $ECHO 2>/dev/null`" = "X
$ECHO"; then
5507 elif test "X
`printf %s $ECHO 2>/dev/null`" = "X
$ECHO"; then
5510 # Use this function as a fallback that always works.
5511 func_fallback_echo ()
5513 eval 'cat <<_LTECHO_EOF
5517 ECHO='func_fallback_echo'
5520 # func_echo_all arg...
5521 # Invoke $ECHO with all args, space-separated.
5528 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: printf" >&5
5529 $as_echo "printf" >&6; } ;;
5530 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: print
-r" >&5
5531 $as_echo "print
-r" >&6; } ;;
5532 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: cat" >&5
5533 $as_echo "cat" >&6; } ;;
5549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a
sed that does not truncate output
" >&5
5550 $as_echo_n "checking
for a
sed that does not truncate output...
" >&6; }
5551 if ${ac_cv_path_SED+:} false; then :
5552 $as_echo_n "(cached
) " >&6
5554 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5555 for ac_i in 1 2 3 4 5 6 7; do
5556 ac_script="$ac_script$as_nl$ac_script"
5558 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5559 { ac_script=; unset ac_script;}
5560 if test -z "$SED"; then
5561 ac_path_SED_found=false
5562 # Loop through the user's path and test for each of PROGNAME-LIST
5563 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5567 test -z "$as_dir" && as_dir=.
5568 for ac_prog in sed gsed; do
5569 for ac_exec_ext in '' $ac_executable_extensions; do
5570 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5571 as_fn_executable_p "$ac_path_SED" || continue
5572 # Check for GNU ac_path_SED and select it if it is found.
5573 # Check for GNU $ac_path_SED
5574 case `"$ac_path_SED" --version 2>&1` in
5576 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5579 $as_echo_n 0123456789 >"conftest.
in"
5582 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5583 mv "conftest.tmp
" "conftest.
in"
5584 cp "conftest.
in" "conftest.
nl"
5585 $as_echo '' >> "conftest.
nl"
5586 "$ac_path_SED" -f conftest.sed < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5587 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5588 as_fn_arith $ac_count + 1 && ac_count=$as_val
5589 if test $ac_count -gt ${ac_path_SED_max-0}; then
5590 # Best one so far, save it but keep looking for a better one
5591 ac_cv_path_SED="$ac_path_SED"
5592 ac_path_SED_max=$ac_count
5594 # 10*(2^10) chars as input seems more than enough
5595 test $ac_count -gt 10 && break
5597 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5600 $ac_path_SED_found && break 3
5605 if test -z "$ac_cv_path_SED"; then
5606 as_fn_error $? "no acceptable
sed could be found
in \
$PATH" "$LINENO" 5
5613 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_SED" >&5
5614 $as_echo "$ac_cv_path_SED" >&6; }
5615 SED="$ac_cv_path_SED"
5618 test -z "$SED" && SED=sed
5619 Xsed="$SED -e 1s
/^X
//"
5631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for fgrep
" >&5
5632 $as_echo_n "checking
for fgrep...
" >&6; }
5633 if ${ac_cv_path_FGREP+:} false; then :
5634 $as_echo_n "(cached
) " >&6
5636 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5637 then ac_cv_path_FGREP="$GREP -F"
5639 if test -z "$FGREP"; then
5640 ac_path_FGREP_found=false
5641 # Loop through the user's path and test for each of PROGNAME-LIST
5642 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5643 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5646 test -z "$as_dir" && as_dir=.
5647 for ac_prog in fgrep; do
5648 for ac_exec_ext in '' $ac_executable_extensions; do
5649 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5650 as_fn_executable_p "$ac_path_FGREP" || continue
5651 # Check for GNU ac_path_FGREP and select it if it is found.
5652 # Check for GNU $ac_path_FGREP
5653 case `"$ac_path_FGREP" --version 2>&1` in
5655 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5658 $as_echo_n 0123456789 >"conftest.
in"
5661 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5662 mv "conftest.tmp
" "conftest.
in"
5663 cp "conftest.
in" "conftest.
nl"
5664 $as_echo 'FGREP' >> "conftest.
nl"
5665 "$ac_path_FGREP" FGREP < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5666 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5667 as_fn_arith $ac_count + 1 && ac_count=$as_val
5668 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5669 # Best one so far, save it but keep looking for a better one
5670 ac_cv_path_FGREP="$ac_path_FGREP"
5671 ac_path_FGREP_max=$ac_count
5673 # 10*(2^10) chars as input seems more than enough
5674 test $ac_count -gt 10 && break
5676 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5679 $ac_path_FGREP_found && break 3
5684 if test -z "$ac_cv_path_FGREP"; then
5685 as_fn_error $? "no acceptable fgrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
5688 ac_cv_path_FGREP=$FGREP
5693 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_FGREP" >&5
5694 $as_echo "$ac_cv_path_FGREP" >&6; }
5695 FGREP="$ac_cv_path_FGREP"
5698 test -z "$GREP" && GREP=grep
5718 # Check whether --with-gnu-ld was given.
5719 if test "${with_gnu_ld+set}" = set; then :
5720 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5726 if test "$GCC" = yes; then
5727 # Check if gcc -print-prog-name=ld gives a path.
5728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld used by
$CC" >&5
5729 $as_echo_n "checking
for ld used by
$CC...
" >&6; }
5732 # gcc leaves a trailing carriage return which upsets mingw
5733 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5735 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5738 # Accept absolute paths.
5740 re_direlt='/[^/][^/]*/\.\./'
5741 # Canonicalize the pathname of ld
5742 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5743 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5744 ac_prog=`$ECHO $ac_prog| $SED "s
%$re_direlt%/%"`
5746 test -z "$LD" && LD="$ac_prog"
5749 # If it fails, then pretend we aren't using GCC.
5753 # If it is relative, then search for the first ld in PATH.
5757 elif test "$with_gnu_ld" = yes; then
5758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for GNU ld
" >&5
5759 $as_echo_n "checking
for GNU ld...
" >&6; }
5761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for non-GNU ld
" >&5
5762 $as_echo_n "checking
for non-GNU ld...
" >&6; }
5764 if ${lt_cv_path_LD+:} false; then :
5765 $as_echo_n "(cached
) " >&6
5767 if test -z "$LD"; then
5768 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5769 for ac_dir in $PATH; do
5771 test -z "$ac_dir" && ac_dir=.
5772 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5773 lt_cv_path_LD="$ac_dir/$ac_prog"
5774 # Check to see if the program is GNU ld. I'd rather use --version,
5775 # but apparently some variants of GNU ld only accept -v.
5776 # Break only if it was the GNU/non-GNU ld that we prefer.
5777 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5778 *GNU* | *'with BFD'*)
5779 test "$with_gnu_ld" != no && break
5782 test "$with_gnu_ld" != yes && break
5789 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5794 if test -n "$LD"; then
5795 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
5796 $as_echo "$LD" >&6; }
5798 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5799 $as_echo "no
" >&6; }
5801 test -z "$LD" && as_fn_error $? "no acceptable ld found
in \
$PATH" "$LINENO" 5
5802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if the linker
($LD) is GNU ld
" >&5
5803 $as_echo_n "checking
if the linker
($LD) is GNU ld...
" >&6; }
5804 if ${lt_cv_prog_gnu_ld+:} false; then :
5805 $as_echo_n "(cached
) " >&6
5807 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5808 case `$LD -v 2>&1 </dev/null` in
5809 *GNU* | *'with BFD'*)
5810 lt_cv_prog_gnu_ld=yes
5813 lt_cv_prog_gnu_ld=no
5817 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_gnu_ld" >&5
5818 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5819 with_gnu_ld=$lt_cv_prog_gnu_ld
5829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for BSD- or MS-compatible name lister
(nm
)" >&5
5830 $as_echo_n "checking
for BSD- or MS-compatible name lister
(nm
)...
" >&6; }
5831 if ${lt_cv_path_NM+:} false; then :
5832 $as_echo_n "(cached
) " >&6
5834 if test -n "$NM"; then
5835 # Let the user override the nm to test.
5836 lt_nm_to_check="$NM"
5838 lt_nm_to_check="${ac_tool_prefix}nm
"
5839 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5840 lt_nm_to_check="$lt_nm_to_check nm
"
5843 for lt_tmp_nm in "$lt_nm_to_check"; do
5844 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5845 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5847 test -z "$ac_dir" && ac_dir=.
5848 # Strip out any user-provided options from the nm to test twice,
5849 # the first time to test to see if nm (rather than its options) has
5850 # an explicit path, the second time to yield a file which can be
5852 tmp_nm_path="`$ECHO "$lt_tmp_nm" | sed 's, -.*$,,'`"
5853 case "$tmp_nm_path" in
5854 */*|*\\*) tmp_nm="$lt_tmp_nm";;
5855 *) tmp_nm="$ac_dir/$lt_tmp_nm";;
5857 tmp_nm_to_nm="`$ECHO "$tmp_nm" | sed 's, -.*$,,'`"
5858 if test -f "$tmp_nm_to_nm" || test -f "$tmp_nm_to_nm$ac_exeext" ; then
5859 # Check to see if the nm accepts a BSD-compat flag.
5860 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5861 # nm: unknown option "B
" ignored
5862 case `"$tmp_nm" -B "$tmp_nm_to_nm" 2>&1 | grep -v '^ *$' | sed '1q'` in
5863 *$tmp_nm*) lt_cv_path_NM="$tmp_nm -B"
5867 case `"$tmp_nm" -p "$tmp_nm_to_nm" 2>&1 | grep -v '^ *$' | sed '1q'` in
5869 lt_cv_path_NM="$tmp_nm -p"
5873 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5874 continue # so that we can try to find one that supports BSD flags
5883 : ${lt_cv_path_NM=no}
5885 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_NM" >&5
5886 $as_echo "$lt_cv_path_NM" >&6; }
5887 if test "$lt_cv_path_NM" != "no
"; then
5890 # Didn't find any BSD compatible name lister, look for dumpbin.
5891 if test -n "$DUMPBIN"; then :
5892 # Let the user override the test.
5894 if test -n "$ac_tool_prefix"; then
5895 for ac_prog in dumpbin "link
-dump"
5897 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5898 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5900 $as_echo_n "checking
for $ac_word...
" >&6; }
5901 if ${ac_cv_prog_DUMPBIN+:} false; then :
5902 $as_echo_n "(cached
) " >&6
5904 if test -n "$DUMPBIN"; then
5905 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5907 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5911 test -z "$as_dir" && as_dir=.
5912 for ac_exec_ext in '' $ac_executable_extensions; do
5913 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5914 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5915 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5924 DUMPBIN=$ac_cv_prog_DUMPBIN
5925 if test -n "$DUMPBIN"; then
5926 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DUMPBIN" >&5
5927 $as_echo "$DUMPBIN" >&6; }
5929 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5930 $as_echo "no
" >&6; }
5934 test -n "$DUMPBIN" && break
5937 if test -z "$DUMPBIN"; then
5938 ac_ct_DUMPBIN=$DUMPBIN
5939 for ac_prog in dumpbin "link
-dump"
5941 # Extract the first word of "$ac_prog", so it can be a program name with args.
5942 set dummy $ac_prog; ac_word=$2
5943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5944 $as_echo_n "checking
for $ac_word...
" >&6; }
5945 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5946 $as_echo_n "(cached
) " >&6
5948 if test -n "$ac_ct_DUMPBIN"; then
5949 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5955 test -z "$as_dir" && as_dir=.
5956 for ac_exec_ext in '' $ac_executable_extensions; do
5957 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5958 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5959 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5968 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5969 if test -n "$ac_ct_DUMPBIN"; then
5970 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DUMPBIN" >&5
5971 $as_echo "$ac_ct_DUMPBIN" >&6; }
5973 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5974 $as_echo "no
" >&6; }
5978 test -n "$ac_ct_DUMPBIN" && break
5981 if test "x
$ac_ct_DUMPBIN" = x; then
5984 case $cross_compiling:$ac_tool_warned in
5986 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5987 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5988 ac_tool_warned=yes ;;
5990 DUMPBIN=$ac_ct_DUMPBIN
5994 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5996 DUMPBIN="$DUMPBIN -symbols"
6004 if test "$DUMPBIN" != ":"; then
6008 test -z "$NM" && NM=nm
6015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister
($NM) interface
" >&5
6016 $as_echo_n "checking the name lister
($NM) interface...
" >&6; }
6017 if ${lt_cv_nm_interface+:} false; then :
6018 $as_echo_n "(cached
) " >&6
6020 lt_cv_nm_interface="BSD nm
"
6021 echo "int some_variable
= 0;" > conftest.$ac_ext
6022 (eval echo "\"\
$as_me:$LINENO: $ac_compile\"" >&5)
6023 (eval "$ac_compile" 2>conftest.err)
6024 cat conftest.err >&5
6025 (eval echo "\"\
$as_me:$LINENO: $NM \\\"conftest.
$ac_objext\\\"\"" >&5)
6026 (eval "$NM \"conftest.
$ac_objext\"" 2>conftest.err > conftest.out)
6027 cat conftest.err >&5
6028 (eval echo "\"\
$as_me:$LINENO: output
\"" >&5)
6029 cat conftest.out >&5
6030 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6031 lt_cv_nm_interface="MS dumpbin
"
6035 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_nm_interface" >&5
6036 $as_echo "$lt_cv_nm_interface" >&6; }
6038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
ln -s works
" >&5
6039 $as_echo_n "checking whether
ln -s works...
" >&6; }
6041 if test "$LN_S" = "ln -s"; then
6042 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
6043 $as_echo "yes" >&6; }
6045 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
, using
$LN_S" >&5
6046 $as_echo "no
, using
$LN_S" >&6; }
6049 # find the maximum length of command line arguments
6050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of
command line arguments
" >&5
6051 $as_echo_n "checking the maximum length of
command line arguments...
" >&6; }
6052 if ${lt_cv_sys_max_cmd_len+:} false; then :
6053 $as_echo_n "(cached
) " >&6
6060 # On DJGPP, this test can blow up pretty badly due to problems in libc
6061 # (any single argument exceeding 2000 bytes causes a buffer overrun
6062 # during glob expansion). Even if it were fixed, the result of this
6063 # check would be larger than it should be.
6064 lt_cv_sys_max_cmd_len=12288; # 12K is about right
6068 # Under GNU Hurd, this test is not required because there is
6069 # no limit to the length of command line arguments.
6070 # Libtool will interpret -1 as no limit whatsoever
6071 lt_cv_sys_max_cmd_len=-1;
6074 cygwin* | mingw* | cegcc*)
6075 # On Win9x/ME, this test blows up -- it succeeds, but takes
6076 # about 5 minutes as the teststring grows exponentially.
6077 # Worse, since 9x/ME are not pre-emptively multitasking,
6078 # you end up with a "frozen
" computer, even though with patience
6079 # the test eventually succeeds (with a max line length of 256k).
6080 # Instead, let's just punt: use the minimum linelength reported by
6081 # all of the supported platforms: 8192 (on NT/2K/XP).
6082 lt_cv_sys_max_cmd_len=8192;
6086 # On MiNT this can take a long time and run out of memory.
6087 lt_cv_sys_max_cmd_len=8192;
6091 # On AmigaOS with pdksh, this test takes hours, literally.
6092 # So we just punt and use a minimum line length of 8192.
6093 lt_cv_sys_max_cmd_len=8192;
6096 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6097 # This has been around since 386BSD, at least. Likely further.
6098 if test -x /sbin/sysctl; then
6099 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6100 elif test -x /usr/sbin/sysctl; then
6101 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6103 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6105 # And add a safety zone
6106 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6107 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6111 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6112 lt_cv_sys_max_cmd_len=196608
6116 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6117 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6118 # nice to cause kernel panics so lets avoid the loop below.
6119 # First set a reasonable default.
6120 lt_cv_sys_max_cmd_len=16384
6122 if test -x /sbin/sysconfig; then
6123 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6124 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6129 lt_cv_sys_max_cmd_len=102400
6131 sysv5* | sco5v6* | sysv4.2uw2*)
6132 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6133 if test -n "$kargmax"; then
6134 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6136 lt_cv_sys_max_cmd_len=32768
6140 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6141 if test -n "$lt_cv_sys_max_cmd_len"; then
6142 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6143 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6145 # Make teststring a little bigger before we do anything with it.
6146 # a 1K string should be a reasonable start.
6147 for i in 1 2 3 4 5 6 7 8 ; do
6148 teststring=$teststring$teststring
6150 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6151 # If test is not a shell built-in, we'll probably end up computing a
6152 # maximum length that is only half of the actual maximum length, but
6154 while { test "X
"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6155 = "X
$teststring$teststring"; } >/dev/null 2>&1 &&
6156 test $i != 17 # 1/2 MB should be enough
6159 teststring=$teststring$teststring
6161 # Only check the string length outside the loop.
6162 lt_cv_sys_max_cmd_len=`expr "X
$teststring" : ".
*" 2>&1`
6164 # Add a significant safety factor because C++ compilers can tack on
6165 # massive amounts of additional arguments before passing them to the
6166 # linker. It appears as though 1/2 is a usable value.
6167 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6174 if test -n $lt_cv_sys_max_cmd_len ; then
6175 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sys_max_cmd_len" >&5
6176 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6178 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none
" >&5
6179 $as_echo "none
" >&6; }
6181 max_cmd_len=$lt_cv_sys_max_cmd_len
6192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs
" >&5
6193 $as_echo_n "checking whether the shell understands some XSI constructs...
" >&6; }
6194 # Try some XSI features
6197 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6199 && eval 'test $(( 1 + 1 )) -eq 2 \
6200 && test "${#_lt_dummy}" -eq 5' ) >/dev
/null
2>&1 \
6202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6203 $as_echo "$xsi_shell" >&6; }
6206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6207 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6209 ( foo
=bar
; set foo baz
; eval "$1+=\$2" && test "$foo" = barbaz
) \
6211 && lt_shell_append
=yes
6212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6213 $as_echo "$lt_shell_append" >&6; }
6216 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
6226 # test EBCDIC or ASCII
6227 case `echo X|tr X '\101'` in
6228 A
) # ASCII based system
6229 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6230 lt_SP2NL
='tr \040 \012'
6231 lt_NL2SP
='tr \015\012 \040\040'
6233 *) # EBCDIC based system
6234 lt_SP2NL
='tr \100 \n'
6235 lt_NL2SP
='tr \r\n \100\100'
6247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6248 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6249 if ${lt_cv_ld_reload_flag+:} false
; then :
6250 $as_echo_n "(cached) " >&6
6252 lt_cv_ld_reload_flag
='-r'
6254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6255 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6256 reload_flag
=$lt_cv_ld_reload_flag
6257 case $reload_flag in
6259 *) reload_flag
=" $reload_flag" ;;
6261 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
6264 if test "$GCC" = yes; then
6265 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6267 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
6280 if test -n "$ac_tool_prefix"; then
6281 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6282 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
6283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6284 $as_echo_n "checking for $ac_word... " >&6; }
6285 if ${ac_cv_prog_OBJDUMP+:} false
; then :
6286 $as_echo_n "(cached) " >&6
6288 if test -n "$OBJDUMP"; then
6289 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
6291 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6295 test -z "$as_dir" && as_dir
=.
6296 for ac_exec_ext
in '' $ac_executable_extensions; do
6297 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6298 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
6299 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6308 OBJDUMP
=$ac_cv_prog_OBJDUMP
6309 if test -n "$OBJDUMP"; then
6310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6311 $as_echo "$OBJDUMP" >&6; }
6313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6314 $as_echo "no" >&6; }
6319 if test -z "$ac_cv_prog_OBJDUMP"; then
6320 ac_ct_OBJDUMP
=$OBJDUMP
6321 # Extract the first word of "objdump", so it can be a program name with args.
6322 set dummy objdump
; ac_word
=$2
6323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6324 $as_echo_n "checking for $ac_word... " >&6; }
6325 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false
; then :
6326 $as_echo_n "(cached) " >&6
6328 if test -n "$ac_ct_OBJDUMP"; then
6329 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
6331 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6335 test -z "$as_dir" && as_dir
=.
6336 for ac_exec_ext
in '' $ac_executable_extensions; do
6337 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6338 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
6339 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6348 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
6349 if test -n "$ac_ct_OBJDUMP"; then
6350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6351 $as_echo "$ac_ct_OBJDUMP" >&6; }
6353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6354 $as_echo "no" >&6; }
6357 if test "x$ac_ct_OBJDUMP" = x
; then
6360 case $cross_compiling:$ac_tool_warned in
6362 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6363 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6364 ac_tool_warned
=yes ;;
6366 OBJDUMP
=$ac_ct_OBJDUMP
6369 OBJDUMP
="$ac_cv_prog_OBJDUMP"
6372 test -z "$OBJDUMP" && OBJDUMP
=objdump
6382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6383 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6384 if ${lt_cv_deplibs_check_method+:} false
; then :
6385 $as_echo_n "(cached) " >&6
6387 lt_cv_file_magic_cmd
='$MAGIC_CMD'
6388 lt_cv_file_magic_test_file
=
6389 lt_cv_deplibs_check_method
='unknown'
6390 # Need to set the preceding variable on all platforms that support
6391 # interlibrary dependencies.
6392 # 'none' -- dependencies not supported.
6393 # `unknown' -- same as none, but documents that we really don't know.
6394 # 'pass_all' -- all dependencies passed with no checks.
6395 # 'test_compile' -- check by making test program.
6396 # 'file_magic [[regex]]' -- check by looking for files in library path
6397 # which responds to the $file_magic_cmd with a given extended regex.
6398 # If you have `file' or equivalent on your system and you're not sure
6399 # whether `pass_all' will *always* work, you probably want this one.
6403 lt_cv_deplibs_check_method
=pass_all
6407 lt_cv_deplibs_check_method
=pass_all
6411 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6412 lt_cv_file_magic_cmd
='/usr/bin/file -L'
6413 lt_cv_file_magic_test_file
=/shlib
/libc.so
6417 # func_win32_libid is a shell function defined in ltmain.sh
6418 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
6419 lt_cv_file_magic_cmd
='func_win32_libid'
6423 # Base MSYS/MinGW do not provide the 'file' command needed by
6424 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6425 # unless we find 'file', for example because we are cross-compiling.
6426 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6427 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev
/null
2>&1; then
6428 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
6429 lt_cv_file_magic_cmd
='func_win32_libid'
6431 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
6432 lt_cv_file_magic_cmd
='$OBJDUMP -f'
6437 # use the weaker test based on 'objdump'. See mingw*.
6438 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6439 lt_cv_file_magic_cmd
='$OBJDUMP -f'
6442 darwin
* | rhapsody
*)
6443 lt_cv_deplibs_check_method
=pass_all
6446 freebsd
* | dragonfly
*)
6447 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
6450 # Not sure whether the presence of OpenBSD here was a mistake.
6451 # Let's accept both of them until this is cleared up.
6452 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6453 lt_cv_file_magic_cmd
=/usr
/bin
/file
6454 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
6458 lt_cv_deplibs_check_method
=pass_all
6463 lt_cv_deplibs_check_method
=pass_all
6467 lt_cv_deplibs_check_method
=pass_all
6470 hpux10.20
* | hpux11
*)
6471 lt_cv_file_magic_cmd
=/usr
/bin
/file
6474 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6475 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
6478 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]'
6479 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
6482 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6483 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
6489 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6490 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
6493 irix5
* | irix6
* | nonstopux
*)
6495 *-32|
*"-32 ") libmagic
=32-bit;;
6496 *-n32|
*"-n32 ") libmagic
=N32
;;
6497 *-64|
*"-64 ") libmagic
=64-bit;;
6498 *) libmagic
=never-match
;;
6500 lt_cv_deplibs_check_method
=pass_all
6503 # This must be Linux ELF.
6504 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | uclinuxfdpiceabi
)
6505 lt_cv_deplibs_check_method
=pass_all
6509 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
6510 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6512 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6517 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6518 lt_cv_file_magic_cmd
=/usr
/bin
/file
6519 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
6523 lt_cv_deplibs_check_method
=pass_all
6527 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6528 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6530 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6534 osf3
* | osf4
* | osf5
*)
6535 lt_cv_deplibs_check_method
=pass_all
6539 lt_cv_deplibs_check_method
=pass_all
6543 lt_cv_deplibs_check_method
=pass_all
6546 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
6547 lt_cv_deplibs_check_method
=pass_all
6551 case $host_vendor in
6553 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]'
6554 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
6557 lt_cv_deplibs_check_method
=pass_all
6560 lt_cv_file_magic_cmd
='/bin/file'
6561 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6564 lt_cv_file_magic_cmd
='/bin/file'
6565 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6566 lt_cv_file_magic_test_file
=/lib
/libc.so
6569 lt_cv_deplibs_check_method
=pass_all
6572 lt_cv_deplibs_check_method
=pass_all
6578 lt_cv_deplibs_check_method
=pass_all
6581 # Assume VxWorks cross toolchains are built on Linux, possibly
6582 # as canadian for Windows hosts.
6583 lt_cv_deplibs_check_method
=pass_all
6588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6589 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6590 file_magic_cmd
=$lt_cv_file_magic_cmd
6591 deplibs_check_method
=$lt_cv_deplibs_check_method
6592 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
6606 plugin_names
="liblto_plugin.so liblto_plugin-0.dll cyglto_plugin-0.dll"
6607 for plugin
in $plugin_names; do
6608 plugin_so
=`${CC} ${CFLAGS} --print-prog-name $plugin`
6609 if test x
$plugin_so = x
$plugin; then
6610 plugin_so
=`${CC} ${CFLAGS} --print-file-name $plugin`
6612 if test x
$plugin_so != x
$plugin; then
6613 plugin_option
="--plugin $plugin_so"
6618 if test -n "$ac_tool_prefix"; then
6619 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6620 set dummy
${ac_tool_prefix}ar; ac_word
=$2
6621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6622 $as_echo_n "checking for $ac_word... " >&6; }
6623 if ${ac_cv_prog_AR+:} false
; then :
6624 $as_echo_n "(cached) " >&6
6626 if test -n "$AR"; then
6627 ac_cv_prog_AR
="$AR" # Let the user override the test.
6629 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6633 test -z "$as_dir" && as_dir
=.
6634 for ac_exec_ext
in '' $ac_executable_extensions; do
6635 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6636 ac_cv_prog_AR
="${ac_tool_prefix}ar"
6637 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6647 if test -n "$AR"; then
6648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6649 $as_echo "$AR" >&6; }
6651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6652 $as_echo "no" >&6; }
6657 if test -z "$ac_cv_prog_AR"; then
6659 # Extract the first word of "ar", so it can be a program name with args.
6660 set dummy
ar; ac_word
=$2
6661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6662 $as_echo_n "checking for $ac_word... " >&6; }
6663 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
6664 $as_echo_n "(cached) " >&6
6666 if test -n "$ac_ct_AR"; then
6667 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6669 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6673 test -z "$as_dir" && as_dir
=.
6674 for ac_exec_ext
in '' $ac_executable_extensions; do
6675 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6676 ac_cv_prog_ac_ct_AR
="ar"
6677 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6686 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6687 if test -n "$ac_ct_AR"; then
6688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6689 $as_echo "$ac_ct_AR" >&6; }
6691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6692 $as_echo "no" >&6; }
6695 if test "x$ac_ct_AR" = x
; then
6698 case $cross_compiling:$ac_tool_warned in
6700 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6701 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6702 ac_tool_warned
=yes ;;
6710 test -z "$AR" && AR
=ar
6711 if test -n "$plugin_option"; then
6712 if $AR --help 2>&1 |
grep -q "\--plugin"; then
6714 $AR $plugin_option rc conftest.a conftest.c
6715 if test "$?" != 0; then
6716 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Failed: $AR $plugin_option rc" >&5
6717 $as_echo "$as_me: WARNING: Failed: $AR $plugin_option rc" >&2;}
6719 AR
="$AR $plugin_option"
6724 test -z "$AR_FLAGS" && AR_FLAGS
=cru
6736 if test -n "$ac_tool_prefix"; then
6737 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6738 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6740 $as_echo_n "checking for $ac_word... " >&6; }
6741 if ${ac_cv_prog_STRIP+:} false
; then :
6742 $as_echo_n "(cached) " >&6
6744 if test -n "$STRIP"; then
6745 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6747 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6751 test -z "$as_dir" && as_dir
=.
6752 for ac_exec_ext
in '' $ac_executable_extensions; do
6753 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6754 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6755 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6764 STRIP
=$ac_cv_prog_STRIP
6765 if test -n "$STRIP"; then
6766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6767 $as_echo "$STRIP" >&6; }
6769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6770 $as_echo "no" >&6; }
6775 if test -z "$ac_cv_prog_STRIP"; then
6777 # Extract the first word of "strip", so it can be a program name with args.
6778 set dummy strip
; ac_word
=$2
6779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6780 $as_echo_n "checking for $ac_word... " >&6; }
6781 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
6782 $as_echo_n "(cached) " >&6
6784 if test -n "$ac_ct_STRIP"; then
6785 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6787 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6791 test -z "$as_dir" && as_dir
=.
6792 for ac_exec_ext
in '' $ac_executable_extensions; do
6793 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6794 ac_cv_prog_ac_ct_STRIP
="strip"
6795 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6804 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6805 if test -n "$ac_ct_STRIP"; then
6806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6807 $as_echo "$ac_ct_STRIP" >&6; }
6809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6810 $as_echo "no" >&6; }
6813 if test "x$ac_ct_STRIP" = x
; then
6816 case $cross_compiling:$ac_tool_warned in
6818 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6819 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6820 ac_tool_warned
=yes ;;
6825 STRIP
="$ac_cv_prog_STRIP"
6828 test -z "$STRIP" && STRIP
=:
6835 if test -n "$ac_tool_prefix"; then
6836 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6837 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6839 $as_echo_n "checking for $ac_word... " >&6; }
6840 if ${ac_cv_prog_RANLIB+:} false
; then :
6841 $as_echo_n "(cached) " >&6
6843 if test -n "$RANLIB"; then
6844 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6846 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6850 test -z "$as_dir" && as_dir
=.
6851 for ac_exec_ext
in '' $ac_executable_extensions; do
6852 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6853 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6854 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6863 RANLIB
=$ac_cv_prog_RANLIB
6864 if test -n "$RANLIB"; then
6865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6866 $as_echo "$RANLIB" >&6; }
6868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6869 $as_echo "no" >&6; }
6874 if test -z "$ac_cv_prog_RANLIB"; then
6875 ac_ct_RANLIB
=$RANLIB
6876 # Extract the first word of "ranlib", so it can be a program name with args.
6877 set dummy ranlib
; ac_word
=$2
6878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6879 $as_echo_n "checking for $ac_word... " >&6; }
6880 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
6881 $as_echo_n "(cached) " >&6
6883 if test -n "$ac_ct_RANLIB"; then
6884 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6886 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6890 test -z "$as_dir" && as_dir
=.
6891 for ac_exec_ext
in '' $ac_executable_extensions; do
6892 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6893 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6894 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6903 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6904 if test -n "$ac_ct_RANLIB"; then
6905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6906 $as_echo "$ac_ct_RANLIB" >&6; }
6908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6909 $as_echo "no" >&6; }
6912 if test "x$ac_ct_RANLIB" = x
; then
6915 case $cross_compiling:$ac_tool_warned in
6917 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6918 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6919 ac_tool_warned
=yes ;;
6921 RANLIB
=$ac_ct_RANLIB
6924 RANLIB
="$ac_cv_prog_RANLIB"
6927 test -z "$RANLIB" && RANLIB
=:
6928 if test -n "$plugin_option" && test "$RANLIB" != ":"; then
6929 if $RANLIB --help 2>&1 |
grep -q "\--plugin"; then
6930 RANLIB
="$RANLIB $plugin_option"
6939 # Determine commands to create old-style static archives.
6940 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
6941 old_postinstall_cmds
='chmod 644 $oldlib'
6942 old_postuninstall_cmds
=
6944 if test -n "$RANLIB"; then
6947 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6950 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
6953 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
6958 lock_old_archive_extraction
=yes ;;
6960 lock_old_archive_extraction
=no
;;
7001 # If no C compiler was specified, use CC.
7004 # If no C compiler flags were specified, use CFLAGS.
7005 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7007 # Allow CC to be a program name with arguments.
7011 # Check for command to grab the raw symbol name followed by C symbol from nm.
7012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7013 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7014 if ${lt_cv_sys_global_symbol_pipe+:} false
; then :
7015 $as_echo_n "(cached) " >&6
7018 # These are sane defaults that work on at least a few old systems.
7019 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7021 # Character class describing NM global symbol codes.
7022 symcode
='[BCDEGRST]'
7024 # Regexp to match symbols that can be accessed directly from C.
7025 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
7027 # Define system-specific variables.
7032 cygwin
* | mingw
* | pw32
* | cegcc
*)
7033 symcode
='[ABCDGISTW]'
7036 if test "$host_cpu" = ia64
; then
7037 symcode
='[ABCDEGRST]'
7041 symcode
='[BCDEGRST]'
7044 symcode
='[BCDEGQRST]'
7055 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
7063 # If we're using GNU nm, then use its standard symbol codes.
7064 case `$NM -V 2>&1` in
7065 *GNU
* |
*'with BFD'*)
7066 symcode
='[ABCDGIRSTW]' ;;
7069 # Transform an extracted symbol line into a proper C declaration.
7070 # Some systems (esp. on ia64) link data and code symbols differently,
7071 # so use this general approach.
7072 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7074 # Transform an extracted symbol line into symbol name and symbol address
7075 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7076 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'"
7078 # Handle CRLF in mingw tool chain
7082 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7086 # Try without a prefix underscore, then with it.
7087 for ac_symprfx
in "" "_"; do
7089 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7090 symxfrm
="\\1 $ac_symprfx\\2 \\2"
7092 # Write the raw and C identifiers.
7093 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7094 # Fake it for dumpbin and say T for any non-static function
7095 # and D for any global variable.
7096 # Also find C++ and __fastcall symbols from MSVC++,
7097 # which start with @ or ?.
7098 lt_cv_sys_global_symbol_pipe
="$AWK '"\
7099 " {last_section=section; section=\$ 3};"\
7100 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7101 " \$ 0!~/External *\|/{next};"\
7102 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7103 " {if(hide[section]) next};"\
7104 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7105 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7106 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7107 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7108 " ' prfx=^$ac_symprfx"
7110 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7113 # Check to see that the pipe works correctly.
7117 cat > conftest.
$ac_ext <<_LT_EOF
7122 void nm_test_func(void);
7123 void nm_test_func(void){}
7127 int main(){nm_test_var='a';nm_test_func();return(0);}
7130 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7131 (eval $ac_compile) 2>&5
7133 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7134 test $ac_status = 0; }; then
7135 # Now try to grab the symbols.
7137 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7138 (eval $NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist) 2>&5
7140 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7141 test $ac_status = 0; } && test -s "$nlist"; then
7142 # Try sorting and uniquifying the output.
7143 if sort "$nlist" |
uniq > "$nlist"T
; then
7144 mv -f "$nlist"T
"$nlist"
7149 # Make sure that we snagged all the symbols we need.
7150 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
7151 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
7152 cat <<_LT_EOF > conftest.$ac_ext
7158 # Now generate the symbol file.
7159 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7161 cat <<_LT_EOF >> conftest.$ac_ext
7163 /* The mapping between symbol names and symbols. */
7168 lt__PROGRAM__LTX_preloaded_symbols[] =
7170 { "@PROGRAM@", (void *) 0 },
7172 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" |
$GREP -v main
>> conftest.
$ac_ext
7173 cat <<\_LT_EOF
>> conftest.
$ac_ext
7177 /* This works around a problem
in FreeBSD linker
*/
7178 #ifdef FREEBSD_WORKAROUND
7179 static const void
*lt_preloaded_setup
() {
7180 return lt__PROGRAM__LTX_preloaded_symbols
;
7188 # Now try linking the two files.
7189 mv conftest.
$ac_objext conftstm.
$ac_objext
7190 lt_save_LIBS
="$LIBS"
7191 lt_save_CFLAGS
="$CFLAGS"
7192 LIBS
="conftstm.$ac_objext"
7193 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7194 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7195 (eval $ac_link) 2>&5
7197 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7198 test $ac_status = 0; } && test -s conftest
${ac_exeext}; then
7201 LIBS
="$lt_save_LIBS"
7202 CFLAGS
="$lt_save_CFLAGS"
7204 echo "cannot find nm_test_func in $nlist" >&5
7207 echo "cannot find nm_test_var in $nlist" >&5
7210 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7213 echo "$progname: failed program was:" >&5
7214 cat conftest.
$ac_ext >&5
7216 rm -rf conftest
* conftst
*
7218 # Do not use the global_symbol_pipe unless it works.
7219 if test "$pipe_works" = yes; then
7222 lt_cv_sys_global_symbol_pipe
=
7228 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7229 lt_cv_sys_global_symbol_to_cdecl
=
7231 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7233 $as_echo "failed" >&6; }
7235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7236 $as_echo "ok" >&6; }
7260 # Check whether --enable-libtool-lock was given.
7261 if test "${enable_libtool_lock+set}" = set; then :
7262 enableval
=$enable_libtool_lock;
7265 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
7267 # Some flags need to be propagated to the compiler or linker for good
7271 # Find out which ABI we are using.
7272 echo 'int i;' > conftest.
$ac_ext
7273 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7274 (eval $ac_compile) 2>&5
7276 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7277 test $ac_status = 0; }; then
7278 case `/usr/bin/file conftest.$ac_objext` in
7290 # Find out which ABI we are using.
7291 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
7292 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7293 (eval $ac_compile) 2>&5
7295 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7296 test $ac_status = 0; }; then
7297 if test "$lt_cv_prog_gnu_ld" = yes; then
7298 case `/usr/bin/file conftest.$ac_objext` in
7300 LD
="${LD-ld} -melf32bsmip"
7303 LD
="${LD-ld} -melf32bmipn32"
7306 LD
="${LD-ld} -melf64bmip"
7310 case `/usr/bin/file conftest.$ac_objext` in
7326 x86_64-
*kfreebsd
*-gnu|x86_64-
*linux
*|powerpc
*-*linux
*| \
7327 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
7328 # Find out which ABI we are using.
7329 echo 'int i;' > conftest.
$ac_ext
7330 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7331 (eval $ac_compile) 2>&5
7333 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7334 test $ac_status = 0; }; then
7335 case `/usr/bin/file conftest.o` in
7338 x86_64-
*kfreebsd
*-gnu)
7339 LD
="${LD-ld} -m elf_i386_fbsd"
7342 case `/usr/bin/file conftest.o` in
7344 LD
="${LD-ld} -m elf32_x86_64"
7347 LD
="${LD-ld} -m elf_i386"
7351 powerpc64le-
*linux
*)
7352 LD
="${LD-ld} -m elf32lppclinux"
7355 LD
="${LD-ld} -m elf32ppclinux"
7358 LD
="${LD-ld} -m elf_s390"
7361 LD
="${LD-ld} -m elf32_sparc"
7367 x86_64-
*kfreebsd
*-gnu)
7368 LD
="${LD-ld} -m elf_x86_64_fbsd"
7371 LD
="${LD-ld} -m elf_x86_64"
7374 LD
="${LD-ld} -m elf64lppc"
7377 LD
="${LD-ld} -m elf64ppc"
7379 s390
*-*linux
*|s390
*-*tpf
*)
7380 LD
="${LD-ld} -m elf64_s390"
7383 LD
="${LD-ld} -m elf64_sparc"
7393 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7394 SAVE_CFLAGS
="$CFLAGS"
7395 CFLAGS
="$CFLAGS -belf"
7396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7397 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7398 if ${lt_cv_cc_needs_belf+:} false
; then :
7399 $as_echo_n "(cached) " >&6
7402 ac_cpp
='$CPP $CPPFLAGS'
7403 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7404 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7405 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7407 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7408 /* end confdefs.h. */
7418 if ac_fn_c_try_link
"$LINENO"; then :
7419 lt_cv_cc_needs_belf
=yes
7421 lt_cv_cc_needs_belf
=no
7423 rm -f core conftest.err conftest.
$ac_objext \
7424 conftest
$ac_exeext conftest.
$ac_ext
7426 ac_cpp
='$CPP $CPPFLAGS'
7427 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7428 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7429 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7433 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7434 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
7435 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7436 CFLAGS
="$SAVE_CFLAGS"
7440 # Find out which ABI we are using.
7441 echo 'int i;' > conftest.
$ac_ext
7442 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7443 (eval $ac_compile) 2>&5
7445 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7446 test $ac_status = 0; }; then
7447 case `/usr/bin/file conftest.o` in
7449 case $lt_cv_prog_gnu_ld in
7450 yes*) LD
="${LD-ld} -m elf64_sparc" ;;
7452 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
7464 need_locks
="$enable_libtool_lock"
7468 rhapsody
* | darwin
*)
7469 if test -n "$ac_tool_prefix"; then
7470 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7471 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
7472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7473 $as_echo_n "checking for $ac_word... " >&6; }
7474 if ${ac_cv_prog_DSYMUTIL+:} false
; then :
7475 $as_echo_n "(cached) " >&6
7477 if test -n "$DSYMUTIL"; then
7478 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
7480 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7484 test -z "$as_dir" && as_dir
=.
7485 for ac_exec_ext
in '' $ac_executable_extensions; do
7486 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7487 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
7488 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7497 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
7498 if test -n "$DSYMUTIL"; then
7499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7500 $as_echo "$DSYMUTIL" >&6; }
7502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7503 $as_echo "no" >&6; }
7508 if test -z "$ac_cv_prog_DSYMUTIL"; then
7509 ac_ct_DSYMUTIL
=$DSYMUTIL
7510 # Extract the first word of "dsymutil", so it can be a program name with args.
7511 set dummy dsymutil
; ac_word
=$2
7512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7513 $as_echo_n "checking for $ac_word... " >&6; }
7514 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false
; then :
7515 $as_echo_n "(cached) " >&6
7517 if test -n "$ac_ct_DSYMUTIL"; then
7518 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
7520 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7524 test -z "$as_dir" && as_dir
=.
7525 for ac_exec_ext
in '' $ac_executable_extensions; do
7526 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7527 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
7528 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7537 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
7538 if test -n "$ac_ct_DSYMUTIL"; then
7539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7540 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7543 $as_echo "no" >&6; }
7546 if test "x$ac_ct_DSYMUTIL" = x
; then
7549 case $cross_compiling:$ac_tool_warned in
7551 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7552 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7553 ac_tool_warned
=yes ;;
7555 DSYMUTIL
=$ac_ct_DSYMUTIL
7558 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
7561 if test -n "$ac_tool_prefix"; then
7562 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7563 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
7564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7565 $as_echo_n "checking for $ac_word... " >&6; }
7566 if ${ac_cv_prog_NMEDIT+:} false
; then :
7567 $as_echo_n "(cached) " >&6
7569 if test -n "$NMEDIT"; then
7570 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
7572 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7576 test -z "$as_dir" && as_dir
=.
7577 for ac_exec_ext
in '' $ac_executable_extensions; do
7578 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7579 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
7580 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7589 NMEDIT
=$ac_cv_prog_NMEDIT
7590 if test -n "$NMEDIT"; then
7591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7592 $as_echo "$NMEDIT" >&6; }
7594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7595 $as_echo "no" >&6; }
7600 if test -z "$ac_cv_prog_NMEDIT"; then
7601 ac_ct_NMEDIT
=$NMEDIT
7602 # Extract the first word of "nmedit", so it can be a program name with args.
7603 set dummy nmedit
; ac_word
=$2
7604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7605 $as_echo_n "checking for $ac_word... " >&6; }
7606 if ${ac_cv_prog_ac_ct_NMEDIT+:} false
; then :
7607 $as_echo_n "(cached) " >&6
7609 if test -n "$ac_ct_NMEDIT"; then
7610 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
7612 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7616 test -z "$as_dir" && as_dir
=.
7617 for ac_exec_ext
in '' $ac_executable_extensions; do
7618 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7619 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
7620 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7629 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
7630 if test -n "$ac_ct_NMEDIT"; then
7631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7632 $as_echo "$ac_ct_NMEDIT" >&6; }
7634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7635 $as_echo "no" >&6; }
7638 if test "x$ac_ct_NMEDIT" = x
; then
7641 case $cross_compiling:$ac_tool_warned in
7643 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7644 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7645 ac_tool_warned
=yes ;;
7647 NMEDIT
=$ac_ct_NMEDIT
7650 NMEDIT
="$ac_cv_prog_NMEDIT"
7653 if test -n "$ac_tool_prefix"; then
7654 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7655 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
7656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7657 $as_echo_n "checking for $ac_word... " >&6; }
7658 if ${ac_cv_prog_LIPO+:} false
; then :
7659 $as_echo_n "(cached) " >&6
7661 if test -n "$LIPO"; then
7662 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
7664 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7668 test -z "$as_dir" && as_dir
=.
7669 for ac_exec_ext
in '' $ac_executable_extensions; do
7670 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7671 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
7672 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7681 LIPO
=$ac_cv_prog_LIPO
7682 if test -n "$LIPO"; then
7683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7684 $as_echo "$LIPO" >&6; }
7686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7687 $as_echo "no" >&6; }
7692 if test -z "$ac_cv_prog_LIPO"; then
7694 # Extract the first word of "lipo", so it can be a program name with args.
7695 set dummy lipo
; ac_word
=$2
7696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7697 $as_echo_n "checking for $ac_word... " >&6; }
7698 if ${ac_cv_prog_ac_ct_LIPO+:} false
; then :
7699 $as_echo_n "(cached) " >&6
7701 if test -n "$ac_ct_LIPO"; then
7702 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
7704 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7708 test -z "$as_dir" && as_dir
=.
7709 for ac_exec_ext
in '' $ac_executable_extensions; do
7710 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7711 ac_cv_prog_ac_ct_LIPO
="lipo"
7712 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7721 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
7722 if test -n "$ac_ct_LIPO"; then
7723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7724 $as_echo "$ac_ct_LIPO" >&6; }
7726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7727 $as_echo "no" >&6; }
7730 if test "x$ac_ct_LIPO" = x
; then
7733 case $cross_compiling:$ac_tool_warned in
7735 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7736 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7737 ac_tool_warned
=yes ;;
7742 LIPO
="$ac_cv_prog_LIPO"
7745 if test -n "$ac_tool_prefix"; then
7746 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7747 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
7748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7749 $as_echo_n "checking for $ac_word... " >&6; }
7750 if ${ac_cv_prog_OTOOL+:} false
; then :
7751 $as_echo_n "(cached) " >&6
7753 if test -n "$OTOOL"; then
7754 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
7756 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7760 test -z "$as_dir" && as_dir
=.
7761 for ac_exec_ext
in '' $ac_executable_extensions; do
7762 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7763 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
7764 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7773 OTOOL
=$ac_cv_prog_OTOOL
7774 if test -n "$OTOOL"; then
7775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7776 $as_echo "$OTOOL" >&6; }
7778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7779 $as_echo "no" >&6; }
7784 if test -z "$ac_cv_prog_OTOOL"; then
7786 # Extract the first word of "otool", so it can be a program name with args.
7787 set dummy otool
; ac_word
=$2
7788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7789 $as_echo_n "checking for $ac_word... " >&6; }
7790 if ${ac_cv_prog_ac_ct_OTOOL+:} false
; then :
7791 $as_echo_n "(cached) " >&6
7793 if test -n "$ac_ct_OTOOL"; then
7794 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
7796 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7800 test -z "$as_dir" && as_dir
=.
7801 for ac_exec_ext
in '' $ac_executable_extensions; do
7802 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7803 ac_cv_prog_ac_ct_OTOOL
="otool"
7804 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7813 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
7814 if test -n "$ac_ct_OTOOL"; then
7815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7816 $as_echo "$ac_ct_OTOOL" >&6; }
7818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7819 $as_echo "no" >&6; }
7822 if test "x$ac_ct_OTOOL" = x
; then
7825 case $cross_compiling:$ac_tool_warned in
7827 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7828 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7829 ac_tool_warned
=yes ;;
7834 OTOOL
="$ac_cv_prog_OTOOL"
7837 if test -n "$ac_tool_prefix"; then
7838 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7839 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
7840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7841 $as_echo_n "checking for $ac_word... " >&6; }
7842 if ${ac_cv_prog_OTOOL64+:} false
; then :
7843 $as_echo_n "(cached) " >&6
7845 if test -n "$OTOOL64"; then
7846 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
7848 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7852 test -z "$as_dir" && as_dir
=.
7853 for ac_exec_ext
in '' $ac_executable_extensions; do
7854 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7855 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
7856 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7865 OTOOL64
=$ac_cv_prog_OTOOL64
7866 if test -n "$OTOOL64"; then
7867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7868 $as_echo "$OTOOL64" >&6; }
7870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7871 $as_echo "no" >&6; }
7876 if test -z "$ac_cv_prog_OTOOL64"; then
7877 ac_ct_OTOOL64
=$OTOOL64
7878 # Extract the first word of "otool64", so it can be a program name with args.
7879 set dummy otool64
; ac_word
=$2
7880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7881 $as_echo_n "checking for $ac_word... " >&6; }
7882 if ${ac_cv_prog_ac_ct_OTOOL64+:} false
; then :
7883 $as_echo_n "(cached) " >&6
7885 if test -n "$ac_ct_OTOOL64"; then
7886 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
7888 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7892 test -z "$as_dir" && as_dir
=.
7893 for ac_exec_ext
in '' $ac_executable_extensions; do
7894 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7895 ac_cv_prog_ac_ct_OTOOL64
="otool64"
7896 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7905 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
7906 if test -n "$ac_ct_OTOOL64"; then
7907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7908 $as_echo "$ac_ct_OTOOL64" >&6; }
7910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7911 $as_echo "no" >&6; }
7914 if test "x$ac_ct_OTOOL64" = x
; then
7917 case $cross_compiling:$ac_tool_warned in
7919 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7920 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7921 ac_tool_warned
=yes ;;
7923 OTOOL64
=$ac_ct_OTOOL64
7926 OTOOL64
="$ac_cv_prog_OTOOL64"
7955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7956 $as_echo_n "checking for -single_module linker flag... " >&6; }
7957 if ${lt_cv_apple_cc_single_mod+:} false
; then :
7958 $as_echo_n "(cached) " >&6
7960 lt_cv_apple_cc_single_mod
=no
7961 if test -z "${LT_MULTI_MODULE}"; then
7962 # By default we will add the -single_module flag. You can override
7963 # by either setting the environment variable LT_MULTI_MODULE
7964 # non-empty at configure time, or by adding -multi_module to the
7966 rm -rf libconftest.dylib
*
7967 echo "int foo(void){return 1;}" > conftest.c
7968 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7969 -dynamiclib -Wl,-single_module conftest.c" >&5
7970 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7971 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
7973 if test -f libconftest.dylib
&& test ! -s conftest.err
&& test $_lt_result = 0; then
7974 lt_cv_apple_cc_single_mod
=yes
7976 cat conftest.err
>&5
7978 rm -rf libconftest.dylib
*
7982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7983 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7985 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7986 if ${lt_cv_ld_exported_symbols_list+:} false
; then :
7987 $as_echo_n "(cached) " >&6
7989 lt_cv_ld_exported_symbols_list
=no
7990 save_LDFLAGS
=$LDFLAGS
7991 echo "_main" > conftest.sym
7992 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7993 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7994 /* end confdefs.h. */
8004 if ac_fn_c_try_link
"$LINENO"; then :
8005 lt_cv_ld_exported_symbols_list
=yes
8007 lt_cv_ld_exported_symbols_list
=no
8009 rm -f core conftest.err conftest.
$ac_objext \
8010 conftest
$ac_exeext conftest.
$ac_ext
8011 LDFLAGS
="$save_LDFLAGS"
8014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8015 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8017 $as_echo_n "checking for -force_load linker flag... " >&6; }
8018 if ${lt_cv_ld_force_load+:} false
; then :
8019 $as_echo_n "(cached) " >&6
8021 lt_cv_ld_force_load
=no
8022 cat > conftest.c
<< _LT_EOF
8023 int forced_loaded() { return 2;}
8025 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8026 $LTCC $LTCFLAGS -c -o conftest.o conftest.c
2>&5
8027 echo "$AR cru libconftest.a conftest.o" >&5
8028 $AR cru libconftest.a conftest.o
2>&5
8029 cat > conftest.c
<< _LT_EOF
8030 int main() { return 0;}
8032 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8033 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
2>conftest.err
8035 if test -f conftest
&& test ! -s conftest.err
&& test $_lt_result = 0 && $GREP forced_load conftest
2>&1 >/dev
/null
; then
8036 lt_cv_ld_force_load
=yes
8038 cat conftest.err
>&5
8040 rm -f conftest.err libconftest.a conftest conftest.c
8041 rm -rf conftest.dSYM
8044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8045 $as_echo "$lt_cv_ld_force_load" >&6; }
8046 # Allow for Darwin 4-7 (macOS 10.0-10.3) although these are not expect to
8047 # build without first building modern cctools / linker.
8048 case $host_cpu-$host_os in
8049 *-rhapsody* |
*-darwin1.
[012])
8050 _lt_dar_allow_undefined
='${wl}-undefined ${wl}suppress' ;;
8052 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8054 # darwin 5.x (macOS 10.1) onwards we only need to adjust when the
8055 # deployment target is forced to an earlier version.
8056 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host in
8057 UNSET
,*-darwin[89]*|UNSET
,*-darwin[12][0-9]*)
8060 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8067 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8068 _lt_dar_single_mod
='$single_module'
8070 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8071 _lt_dar_export_syms
=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8073 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8075 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8076 _lt_dsymutil
='~$DSYMUTIL $lib || :'
8083 for ac_header
in dlfcn.h
8085 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8087 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
8088 cat >>confdefs.h
<<_ACEOF
8089 #define HAVE_DLFCN_H 1
8110 # Check whether --enable-shared was given.
8111 if test "${enable_shared+set}" = set; then :
8112 enableval
=$enable_shared; p
=${PACKAGE-default}
8114 yes) enable_shared
=yes ;;
8115 no
) enable_shared
=no
;;
8118 # Look at the argument we got. We use all the common list separators.
8119 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8120 for pkg
in $enableval; do
8122 if test "X$pkg" = "X$p"; then
8141 # Check whether --enable-static was given.
8142 if test "${enable_static+set}" = set; then :
8143 enableval
=$enable_static; p
=${PACKAGE-default}
8145 yes) enable_static
=yes ;;
8146 no
) enable_static
=no
;;
8149 # Look at the argument we got. We use all the common list separators.
8150 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8151 for pkg
in $enableval; do
8153 if test "X$pkg" = "X$p"; then
8173 # Check whether --with-pic was given.
8174 if test "${with_pic+set}" = set; then :
8175 withval
=$with_pic; pic_mode
="$withval"
8181 test -z "$pic_mode" && pic_mode
=default
8189 # Check whether --enable-fast-install was given.
8190 if test "${enable_fast_install+set}" = set; then :
8191 enableval
=$enable_fast_install; p
=${PACKAGE-default}
8193 yes) enable_fast_install
=yes ;;
8194 no
) enable_fast_install
=no
;;
8196 enable_fast_install
=no
8197 # Look at the argument we got. We use all the common list separators.
8198 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8199 for pkg
in $enableval; do
8201 if test "X$pkg" = "X$p"; then
8202 enable_fast_install
=yes
8209 enable_fast_install
=yes
8222 # This can be used to rebuild libtool when needed
8223 LIBTOOL_DEPS
="$ltmain"
8225 # Always use our own libtool.
8226 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
8253 test -z "$LN_S" && LN_S
="ln -s"
8268 if test -n "${ZSH_VERSION+set}" ; then
8269 setopt NO_GLOB_SUBST
8272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8273 $as_echo_n "checking for objdir... " >&6; }
8274 if ${lt_cv_objdir+:} false
; then :
8275 $as_echo_n "(cached) " >&6
8277 rm -f .libs
2>/dev
/null
8278 mkdir .libs
2>/dev
/null
8279 if test -d .libs
; then
8282 # MS-DOS does not allow filenames that begin with a dot.
8285 rmdir .libs
2>/dev
/null
8287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8288 $as_echo "$lt_cv_objdir" >&6; }
8289 objdir
=$lt_cv_objdir
8295 cat >>confdefs.h
<<_ACEOF
8296 #define LT_OBJDIR "$lt_cv_objdir/"
8304 # AIX sometimes has problems with the GCC collect2 program. For some
8305 # reason, if we set the COLLECT_NAMES environment variable, the problems
8306 # vanish in a puff of smoke.
8307 if test "X${COLLECT_NAMES+set}" != Xset
; then
8309 export COLLECT_NAMES
8316 can_build_shared
=yes
8318 # All known linkers require a `.a' archive for static linking (except MSVC,
8319 # which needs '.lib').
8322 with_gnu_ld
="$lt_cv_prog_gnu_ld"
8325 old_CFLAGS
="$CFLAGS"
8327 # Set sane defaults for various variables
8328 test -z "$CC" && CC
=cc
8329 test -z "$LTCC" && LTCC
=$CC
8330 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
8331 test -z "$LD" && LD
=ld
8332 test -z "$ac_objext" && ac_objext
=o
8334 for cc_temp
in $compiler""; do
8336 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
8337 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
8342 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8345 # Only perform the check for file, if the check method requires it
8346 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
8347 case $deplibs_check_method in
8349 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8351 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8352 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
8353 $as_echo_n "(cached) " >&6
8357 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8360 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8361 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8362 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8363 for ac_dir
in $ac_dummy; do
8365 test -z "$ac_dir" && ac_dir
=.
8366 if test -f $ac_dir/${ac_tool_prefix}file; then
8367 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
8368 if test -n "$file_magic_test_file"; then
8369 case $deplibs_check_method in
8371 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8372 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8373 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8374 $EGREP "$file_magic_regex" > /dev
/null
; then
8379 *** Warning: the command libtool uses to detect shared libraries,
8380 *** $file_magic_cmd, produces output that libtool cannot recognize.
8381 *** The result is that libtool may fail to recognize shared libraries
8382 *** as such. This will affect the creation of libtool libraries that
8383 *** depend on shared libraries, but programs linked with such libtool
8384 *** libraries will work regardless of this problem. Nevertheless, you
8385 *** may want to report the problem to your system manager and/or to
8386 *** bug-libtool@gnu.org
8396 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8401 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8402 if test -n "$MAGIC_CMD"; then
8403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8404 $as_echo "$MAGIC_CMD" >&6; }
8406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8407 $as_echo "no" >&6; }
8414 if test -z "$lt_cv_path_MAGIC_CMD"; then
8415 if test -n "$ac_tool_prefix"; then
8416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8417 $as_echo_n "checking for file... " >&6; }
8418 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
8419 $as_echo_n "(cached) " >&6
8423 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8426 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8427 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8428 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8429 for ac_dir
in $ac_dummy; do
8431 test -z "$ac_dir" && ac_dir
=.
8432 if test -f $ac_dir/file; then
8433 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
8434 if test -n "$file_magic_test_file"; then
8435 case $deplibs_check_method in
8437 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8438 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8439 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8440 $EGREP "$file_magic_regex" > /dev
/null
; then
8445 *** Warning: the command libtool uses to detect shared libraries,
8446 *** $file_magic_cmd, produces output that libtool cannot recognize.
8447 *** The result is that libtool may fail to recognize shared libraries
8448 *** as such. This will affect the creation of libtool libraries that
8449 *** depend on shared libraries, but programs linked with such libtool
8450 *** libraries will work regardless of this problem. Nevertheless, you
8451 *** may want to report the problem to your system manager and/or to
8452 *** bug-libtool@gnu.org
8462 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8467 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8468 if test -n "$MAGIC_CMD"; then
8469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8470 $as_echo "$MAGIC_CMD" >&6; }
8472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8473 $as_echo "no" >&6; }
8486 # Use C for the default configuration in the libtool script
8490 ac_cpp
='$CPP $CPPFLAGS'
8491 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8492 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8493 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8496 # Source file extension for C test sources.
8499 # Object file extension for compiled C test sources.
8503 # Code to be used in simple compile tests
8504 lt_simple_compile_test_code
="int some_variable = 0;"
8506 # Code to be used in simple link tests
8507 lt_simple_link_test_code
='int main(){return(0);}'
8515 # If no C compiler was specified, use CC.
8518 # If no C compiler flags were specified, use CFLAGS.
8519 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8521 # Allow CC to be a program name with arguments.
8524 # Save the default compiler, since it gets overwritten when the other
8525 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8526 compiler_DEFAULT
=$CC
8528 # save warnings/boilerplate of simple test code
8529 ac_outfile
=conftest.
$ac_objext
8530 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
8531 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8532 _lt_compiler_boilerplate
=`cat conftest.err`
8535 ac_outfile
=conftest.
$ac_objext
8536 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
8537 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8538 _lt_linker_boilerplate
=`cat conftest.err`
8543 ## There is no encapsulation within the following macros, do not change
8544 ## the running order or otherwise move them around unless you know exactly
8545 ## what you are doing...
8546 if test -n "$compiler"; then
8548 lt_prog_compiler_no_builtin_flag
=
8550 if test "$GCC" = yes; then
8551 case $cc_basename in
8553 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
8555 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
8558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8559 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8560 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
8561 $as_echo_n "(cached) " >&6
8563 lt_cv_prog_compiler_rtti_exceptions
=no
8564 ac_outfile
=conftest.
$ac_objext
8565 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8566 lt_compiler_flag
="-fno-rtti -fno-exceptions"
8567 # Insert the option either (1) after the last *FLAGS variable, or
8568 # (2) before a word containing "conftest.", or (3) at the end.
8569 # Note that $ac_compile itself does not contain backslashes and begins
8570 # with a dollar sign (not a hyphen), so the echo should work correctly.
8571 # The option is referenced via a variable to avoid confusing sed.
8572 lt_compile
=`echo "$ac_compile" | $SED \
8573 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8574 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8575 -e 's:$: $lt_compiler_flag:'`
8576 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8577 (eval "$lt_compile" 2>conftest.err
)
8579 cat conftest.err
>&5
8580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8581 if (exit $ac_status) && test -s "$ac_outfile"; then
8582 # The compiler can only warn and ignore the option if not recognized
8583 # So say no if there are warnings other than the usual output.
8584 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8585 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8586 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8587 lt_cv_prog_compiler_rtti_exceptions
=yes
8593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8594 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8596 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
8597 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8609 lt_prog_compiler_wl
=
8610 lt_prog_compiler_pic
=
8611 lt_prog_compiler_static
=
8613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8614 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8616 if test "$GCC" = yes; then
8617 lt_prog_compiler_wl
='-Wl,'
8618 lt_prog_compiler_static
='-static'
8622 # All AIX code is PIC.
8623 if test "$host_cpu" = ia64
; then
8624 # AIX 5 now supports IA64 processor
8625 lt_prog_compiler_static
='-Bstatic'
8627 lt_prog_compiler_pic
='-fPIC'
8633 # see comment about AmigaOS4 .so support
8634 lt_prog_compiler_pic
='-fPIC'
8637 # FIXME: we need at least 68020 code to build shared libraries, but
8638 # adding the `-m68020' flag to GCC prevents building anything better,
8640 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
8645 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
8646 # PIC is the default for these OSes.
8649 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8650 # This hack is so that the source file can tell whether it is being
8651 # built for inclusion in a dll (and should export symbols for example).
8652 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8653 # (--disable-auto-import) libraries
8654 lt_prog_compiler_pic
='-DDLL_EXPORT'
8657 darwin
* | rhapsody
*)
8658 # PIC is the default on this platform
8659 # Common symbols not allowed in MH_DYLIB files
8660 lt_prog_compiler_pic
='-fno-common'
8664 # PIC is the default for Haiku.
8665 # The "-static" flag exists, but is broken.
8666 lt_prog_compiler_static
=
8670 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8671 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8672 # sets the default TLS model and affects inlining.
8678 lt_prog_compiler_pic
='-fPIC'
8684 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8685 # Instead, we relocate shared libraries at runtime.
8689 # Just because we use GCC doesn't mean we suddenly get shared libraries
8690 # on systems that don't support them.
8691 lt_prog_compiler_can_build_shared
=no
8696 # QNX uses GNU C++, but need to define -shared option too, otherwise
8698 lt_prog_compiler_pic
='-fPIC -shared'
8702 if test -d /usr
/nec
; then
8703 lt_prog_compiler_pic
=-Kconform_pic
8708 lt_prog_compiler_pic
='-fPIC'
8712 case $cc_basename in
8713 nvcc
*) # Cuda Compiler Driver 2.2
8714 lt_prog_compiler_wl
='-Xlinker '
8715 lt_prog_compiler_pic
='-Xcompiler -fPIC'
8719 # PORTME Check for flag to pass linker flags through the system compiler.
8722 lt_prog_compiler_wl
='-Wl,'
8723 if test "$host_cpu" = ia64
; then
8724 # AIX 5 now supports IA64 processor
8725 lt_prog_compiler_static
='-Bstatic'
8727 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
8731 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8732 # This hack is so that the source file can tell whether it is being
8733 # built for inclusion in a dll (and should export symbols for example).
8734 lt_prog_compiler_pic
='-DDLL_EXPORT'
8737 hpux9
* | hpux10
* | hpux11
*)
8738 lt_prog_compiler_wl
='-Wl,'
8739 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8746 lt_prog_compiler_pic
='+Z'
8749 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8750 lt_prog_compiler_static
='${wl}-a ${wl}archive'
8753 irix5
* | irix6
* | nonstopux
*)
8754 lt_prog_compiler_wl
='-Wl,'
8755 # PIC (with -KPIC) is the default.
8756 lt_prog_compiler_static
='-non_shared'
8759 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8760 case $cc_basename in
8761 # old Intel for x86_64 which still supported -KPIC.
8763 lt_prog_compiler_wl
='-Wl,'
8764 lt_prog_compiler_pic
='-KPIC'
8765 lt_prog_compiler_static
='-static'
8767 # icc used to be incompatible with GCC.
8768 # ICC 10 doesn't accept -KPIC any more.
8770 lt_prog_compiler_wl
='-Wl,'
8771 lt_prog_compiler_pic
='-fPIC'
8772 lt_prog_compiler_static
='-static'
8774 # Lahey Fortran 8.1.
8776 lt_prog_compiler_wl
='-Wl,'
8777 lt_prog_compiler_pic
='--shared'
8778 lt_prog_compiler_static
='--static'
8780 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8781 # Portland Group compilers (*not* the Pentium gcc compiler,
8782 # which looks to be a dead project)
8783 lt_prog_compiler_wl
='-Wl,'
8784 lt_prog_compiler_pic
='-fpic'
8785 lt_prog_compiler_static
='-Bstatic'
8788 lt_prog_compiler_wl
='-Wl,'
8789 # All Alpha code is PIC.
8790 lt_prog_compiler_static
='-non_shared'
8792 xl
* | bgxl
* | bgf
* | mpixl
*)
8793 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8794 lt_prog_compiler_wl
='-Wl,'
8795 lt_prog_compiler_pic
='-qpic'
8796 lt_prog_compiler_static
='-qstaticlink'
8799 case `$CC -V 2>&1 | sed 5q` in
8800 *Sun\ F
* |
*Sun
*Fortran
*)
8801 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8802 lt_prog_compiler_pic
='-KPIC'
8803 lt_prog_compiler_static
='-Bstatic'
8804 lt_prog_compiler_wl
=''
8808 lt_prog_compiler_pic
='-KPIC'
8809 lt_prog_compiler_static
='-Bstatic'
8810 lt_prog_compiler_wl
='-Wl,'
8818 lt_prog_compiler_pic
='-KPIC'
8819 lt_prog_compiler_static
='-Bstatic'
8823 # QNX uses GNU C++, but need to define -shared option too, otherwise
8825 lt_prog_compiler_pic
='-fPIC -shared'
8828 osf3
* | osf4
* | osf5
*)
8829 lt_prog_compiler_wl
='-Wl,'
8830 # All OSF/1 code is PIC.
8831 lt_prog_compiler_static
='-non_shared'
8835 lt_prog_compiler_static
='-non_shared'
8839 lt_prog_compiler_pic
='-KPIC'
8840 lt_prog_compiler_static
='-Bstatic'
8841 case $cc_basename in
8843 lt_prog_compiler_wl
='-Qoption ld ';;
8845 lt_prog_compiler_wl
='-Wl,';;
8850 lt_prog_compiler_wl
='-Qoption ld '
8851 lt_prog_compiler_pic
='-PIC'
8852 lt_prog_compiler_static
='-Bstatic'
8855 sysv4 | sysv4.2uw2
* | sysv4.3
*)
8856 lt_prog_compiler_wl
='-Wl,'
8857 lt_prog_compiler_pic
='-KPIC'
8858 lt_prog_compiler_static
='-Bstatic'
8862 if test -d /usr
/nec
;then
8863 lt_prog_compiler_pic
='-Kconform_pic'
8864 lt_prog_compiler_static
='-Bstatic'
8868 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8869 lt_prog_compiler_wl
='-Wl,'
8870 lt_prog_compiler_pic
='-KPIC'
8871 lt_prog_compiler_static
='-Bstatic'
8875 lt_prog_compiler_wl
='-Wl,'
8876 lt_prog_compiler_can_build_shared
=no
8880 lt_prog_compiler_pic
='-pic'
8881 lt_prog_compiler_static
='-Bstatic'
8885 lt_prog_compiler_can_build_shared
=no
8891 # For platforms which do not support PIC, -DPIC is meaningless:
8893 lt_prog_compiler_pic
=
8896 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8900 $as_echo "$lt_prog_compiler_pic" >&6; }
8908 # Check to make sure the PIC flag actually works.
8910 if test -n "$lt_prog_compiler_pic"; then
8911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8912 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8913 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
8914 $as_echo_n "(cached) " >&6
8916 lt_cv_prog_compiler_pic_works
=no
8917 ac_outfile
=conftest.
$ac_objext
8918 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8919 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
8920 # Insert the option either (1) after the last *FLAGS variable, or
8921 # (2) before a word containing "conftest.", or (3) at the end.
8922 # Note that $ac_compile itself does not contain backslashes and begins
8923 # with a dollar sign (not a hyphen), so the echo should work correctly.
8924 # The option is referenced via a variable to avoid confusing sed.
8925 lt_compile
=`echo "$ac_compile" | $SED \
8926 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8927 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8928 -e 's:$: $lt_compiler_flag:'`
8929 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8930 (eval "$lt_compile" 2>conftest.err
)
8932 cat conftest.err
>&5
8933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8934 if (exit $ac_status) && test -s "$ac_outfile"; then
8935 # The compiler can only warn and ignore the option if not recognized
8936 # So say no if there are warnings other than the usual output.
8937 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8938 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8939 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8940 lt_cv_prog_compiler_pic_works
=yes
8946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8947 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8949 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
8950 case $lt_prog_compiler_pic in
8952 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
8955 lt_prog_compiler_pic
=
8956 lt_prog_compiler_can_build_shared
=no
8967 # Check to make sure the static flag actually works.
8969 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
8970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8971 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8972 if ${lt_cv_prog_compiler_static_works+:} false
; then :
8973 $as_echo_n "(cached) " >&6
8975 lt_cv_prog_compiler_static_works
=no
8976 save_LDFLAGS
="$LDFLAGS"
8977 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
8978 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8979 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8980 # The linker can only warn and ignore the option if not recognized
8981 # So say no if there are warnings
8982 if test -s conftest.err
; then
8983 # Append any errors to the config.log.
8984 cat conftest.err
1>&5
8985 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
8986 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8987 if diff conftest.exp conftest.er2
>/dev
/null
; then
8988 lt_cv_prog_compiler_static_works
=yes
8991 lt_cv_prog_compiler_static_works
=yes
8995 LDFLAGS
="$save_LDFLAGS"
8998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8999 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9001 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
9004 lt_prog_compiler_static
=
9013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9014 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9015 if ${lt_cv_prog_compiler_c_o+:} false
; then :
9016 $as_echo_n "(cached) " >&6
9018 lt_cv_prog_compiler_c_o
=no
9019 $RM -r conftest
2>/dev
/null
9023 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9025 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9026 # Insert the option either (1) after the last *FLAGS variable, or
9027 # (2) before a word containing "conftest.", or (3) at the end.
9028 # Note that $ac_compile itself does not contain backslashes and begins
9029 # with a dollar sign (not a hyphen), so the echo should work correctly.
9030 lt_compile
=`echo "$ac_compile" | $SED \
9031 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9032 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9033 -e 's:$: $lt_compiler_flag:'`
9034 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9035 (eval "$lt_compile" 2>out
/conftest.err
)
9037 cat out
/conftest.err
>&5
9038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9039 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9041 # The compiler can only warn and ignore the option if not recognized
9042 # So say no if there are warnings
9043 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9044 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9045 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9046 lt_cv_prog_compiler_c_o
=yes
9051 # SGI C++ compiler will create directory out/ii_files/ for
9052 # template instantiation
9053 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9054 $RM out
/* && rmdir out
9060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9061 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9069 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9070 if ${lt_cv_prog_compiler_c_o+:} false
; then :
9071 $as_echo_n "(cached) " >&6
9073 lt_cv_prog_compiler_c_o
=no
9074 $RM -r conftest
2>/dev
/null
9078 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9080 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9081 # Insert the option either (1) after the last *FLAGS variable, or
9082 # (2) before a word containing "conftest.", or (3) at the end.
9083 # Note that $ac_compile itself does not contain backslashes and begins
9084 # with a dollar sign (not a hyphen), so the echo should work correctly.
9085 lt_compile
=`echo "$ac_compile" | $SED \
9086 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9087 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9088 -e 's:$: $lt_compiler_flag:'`
9089 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9090 (eval "$lt_compile" 2>out
/conftest.err
)
9092 cat out
/conftest.err
>&5
9093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9094 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9096 # The compiler can only warn and ignore the option if not recognized
9097 # So say no if there are warnings
9098 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9099 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9100 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9101 lt_cv_prog_compiler_c_o
=yes
9106 # SGI C++ compiler will create directory out/ii_files/ for
9107 # template instantiation
9108 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9109 $RM out
/* && rmdir out
9115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9116 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9121 hard_links
="nottested"
9122 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
9123 # do not overwrite the value of need_locks provided by the user
9124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9125 $as_echo_n "checking if we can lock with hard links... " >&6; }
9128 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9130 ln conftest.a conftest.b
2>&5 || hard_links
=no
9131 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9133 $as_echo "$hard_links" >&6; }
9134 if test "$hard_links" = no
; then
9135 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9136 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9149 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9152 allow_undefined_flag
=
9153 always_export_symbols
=no
9155 archive_expsym_cmds
=
9156 compiler_needs_object
=no
9157 enable_shared_with_static_runtimes
=no
9158 export_dynamic_flag_spec
=
9159 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9160 hardcode_automatic
=no
9162 hardcode_direct_absolute
=no
9163 hardcode_libdir_flag_spec
=
9164 hardcode_libdir_flag_spec_ld
=
9165 hardcode_libdir_separator
=
9167 hardcode_shlibpath_var
=unsupported
9169 link_all_deplibs
=unknown
9172 old_archive_from_new_cmds
=
9173 old_archive_from_expsyms_cmds
=
9174 thread_safe_flag_spec
=
9175 whole_archive_flag_spec
=
9176 # include_expsyms should be a list of space-separated symbols to be *always*
9177 # included in the symbol list
9179 # exclude_expsyms can be an extended regexp of symbols to exclude
9180 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9181 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9182 # as well as any symbol that contains `d'.
9183 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9184 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9185 # platforms (ab)use it in PIC code, but their linkers get confused if
9186 # the symbol is explicitly referenced. Since portable code cannot
9187 # rely on this symbol name, it's probably fine to never include it in
9188 # preloaded symbol tables.
9189 # Exclude shared library initialization/finalization symbols.
9190 extract_expsyms_cmds
=
9193 cygwin
* | mingw
* | pw32
* | cegcc
*)
9194 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9195 # When not using gcc, we currently assume that we are using
9196 # Microsoft Visual C++.
9197 if test "$GCC" != yes; then
9202 # we just hope/assume this is gcc and not c89 (= MSVC++)
9212 # On some targets, GNU ld is compatible enough with the native linker
9213 # that we're better off using the native interface for both.
9214 lt_use_gnu_ld_interface
=no
9215 if test "$with_gnu_ld" = yes; then
9218 # The AIX port of GNU ld has always aspired to compatibility
9219 # with the native linker. However, as the warning in the GNU ld
9220 # block says, versions before 2.19.5* couldn't really create working
9221 # shared libraries, regardless of the interface used.
9222 case `$LD -v 2>&1` in
9223 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
9224 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
9225 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
9227 lt_use_gnu_ld_interface
=yes
9232 lt_use_gnu_ld_interface
=yes
9237 if test "$lt_use_gnu_ld_interface" = yes; then
9238 # If archive_cmds runs LD, not CC, wlarc should be empty
9241 # Set some defaults for GNU ld with shared library support. These
9242 # are reset later if shared libraries are not supported. Putting them
9243 # here allows them to be overridden if necessary.
9244 runpath_var
=LD_RUN_PATH
9245 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9246 export_dynamic_flag_spec
='${wl}--export-dynamic'
9247 # ancient GNU ld didn't support --whole-archive et. al.
9248 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
9249 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9251 whole_archive_flag_spec
=
9253 supports_anon_versioning
=no
9254 case `$LD -v 2>&1` in
9255 *GNU\ gold
*) supports_anon_versioning
=yes ;;
9256 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
9257 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
9258 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
9259 *\
2.11.
*) ;; # other 2.11 versions
9260 *) supports_anon_versioning
=yes ;;
9263 # See if GNU ld supports shared libraries.
9266 # On AIX/PPC, the GNU linker is very broken
9267 if test "$host_cpu" != ia64
; then
9271 *** Warning: the GNU linker, at least up to release 2.19, is reported
9272 *** to be unable to reliably create shared libraries on AIX.
9273 *** Therefore, libtool is disabling shared libraries support. If you
9274 *** really care for shared libraries, you may want to install binutils
9275 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9276 *** You will then need to restart the configuration process.
9285 # see comment about AmigaOS4 .so support
9286 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9287 archive_expsym_cmds
=''
9290 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)'
9291 hardcode_libdir_flag_spec
='-L$libdir'
9292 hardcode_minus_L
=yes
9298 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9299 allow_undefined_flag
=unsupported
9300 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9301 # support --undefined. This deserves some investigation. FIXME
9302 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9308 cygwin
* | mingw
* | pw32
* | cegcc
*)
9309 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9310 # as there is no search path for DLLs.
9311 hardcode_libdir_flag_spec
='-L$libdir'
9312 export_dynamic_flag_spec
='${wl}--export-all-symbols'
9313 allow_undefined_flag
=unsupported
9314 always_export_symbols
=no
9315 enable_shared_with_static_runtimes
=yes
9316 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9318 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
9319 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9320 # If the export-symbols file already is a .def file (1st line
9321 # is EXPORTS), use it as is; otherwise, prepend...
9322 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9323 cp $export_symbols $output_objdir/$soname.def;
9325 echo EXPORTS > $output_objdir/$soname.def;
9326 cat $export_symbols >> $output_objdir/$soname.def;
9328 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9335 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9336 link_all_deplibs
=yes
9341 hardcode_shlibpath_var
=no
9342 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9343 export_dynamic_flag_spec
='${wl}-E'
9344 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9345 # Instead, shared libraries are loaded at an image base (0x10000000 by
9346 # default) and relocated if they conflict, which is a slow very memory
9347 # consuming and fragmenting process. To avoid this, we pick a random,
9348 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9349 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9350 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9351 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'
9354 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu | uclinuxfdpiceabi
)
9356 if test "$host_os" = linux-dietlibc
; then
9357 case $cc_basename in
9358 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9361 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
9362 && test "$tmp_diet" = no
9364 tmp_addflag
=' $pic_flag'
9365 tmp_sharedflag
='-shared'
9366 case $cc_basename,$host_cpu in
9367 pgcc
*) # Portland Group C compiler
9368 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'
9369 tmp_addflag
=' $pic_flag'
9371 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9372 # Portland Group f77 and f90 compilers
9373 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'
9374 tmp_addflag
=' $pic_flag -Mnomain' ;;
9375 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9376 tmp_addflag
=' -i_dynamic' ;;
9377 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9378 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9379 ifc
* | ifort
*) # Intel Fortran compiler
9380 tmp_addflag
=' -nofor_main' ;;
9381 lf95
*) # Lahey Fortran 8.1
9382 whole_archive_flag_spec
=
9383 tmp_sharedflag
='--shared' ;;
9384 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9385 tmp_sharedflag
='-qmkshrobj'
9387 nvcc
*) # Cuda Compiler Driver 2.2
9388 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'
9389 compiler_needs_object
=yes
9392 case `$CC -V 2>&1 | sed 5q` in
9393 *Sun\ C
*) # Sun C 5.9
9394 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'
9395 compiler_needs_object
=yes
9396 tmp_sharedflag
='-G' ;;
9397 *Sun\ F
*) # Sun Fortran 8.3
9398 tmp_sharedflag
='-G' ;;
9400 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9402 if test "x$supports_anon_versioning" = xyes
; then
9403 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9404 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9405 echo "local: *; };" >> $output_objdir/$libname.ver~
9406 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9409 case $cc_basename in
9410 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
9411 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9412 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9413 hardcode_libdir_flag_spec
=
9414 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
9415 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9416 if test "x$supports_anon_versioning" = xyes
; then
9417 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9418 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9419 echo "local: *; };" >> $output_objdir/$libname.ver~
9420 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9430 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9431 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9434 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9435 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9440 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
9444 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9445 *** create shared libraries on Solaris systems. Therefore, libtool
9446 *** is disabling shared libraries support. We urge you to upgrade GNU
9447 *** binutils to release 2.9.1 or newer. Another option is to modify
9448 *** your PATH or compiler configuration so that the native linker is
9449 *** used, and then restart.
9452 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9453 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9454 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9460 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9461 case `$LD -v 2>&1` in
9462 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9466 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9467 *** reliably create shared libraries on SCO systems. Therefore, libtool
9468 *** is disabling shared libraries support. We urge you to upgrade GNU
9469 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9470 *** your PATH or compiler configuration so that the native linker is
9471 *** used, and then restart.
9476 # For security reasons, it is highly recommended that you always
9477 # use absolute paths for naming shared libraries, and exclude the
9478 # DT_RUNPATH tag from executables and libraries. But doing so
9479 # requires that you compile everything twice, which is a pain.
9480 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9481 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9482 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9483 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9492 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9495 hardcode_shlibpath_var
=no
9499 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9500 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9501 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9508 if test "$ld_shlibs" = no
; then
9510 hardcode_libdir_flag_spec
=
9511 export_dynamic_flag_spec
=
9512 whole_archive_flag_spec
=
9515 # PORTME fill in a description of your system's linker (not GNU ld)
9518 allow_undefined_flag
=unsupported
9519 always_export_symbols
=yes
9520 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'
9521 # Note: this linker hardcodes the directories in LIBPATH if there
9522 # are no directories specified by -L.
9523 hardcode_minus_L
=yes
9524 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9525 # Neither direct hardcoding nor static linking is supported with a
9527 hardcode_direct
=unsupported
9532 if test "$host_cpu" = ia64
; then
9533 # On IA64, the linker does run time linking by default, so we don't
9534 # have to do anything special.
9535 aix_use_runtimelinking
=no
9536 exp_sym_flag
='-Bexport'
9539 # If we're using GNU nm, then we don't want the "-C" option.
9540 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9541 # Also, AIX nm treats weak defined symbols like other global
9542 # defined symbols, whereas GNU nm marks them as "W".
9543 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9544 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'
9546 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'
9548 aix_use_runtimelinking
=no
9550 # Test if we are trying to use run time linking or normal
9551 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9552 # need to do runtime linking.
9553 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9554 for ld_flag
in $LDFLAGS; do
9555 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9556 aix_use_runtimelinking
=yes
9563 exp_sym_flag
='-bexport'
9564 no_entry_flag
='-bnoentry'
9567 # When large executables or shared objects are built, AIX ld can
9568 # have problems creating the table of contents. If linking a library
9569 # or program results in "error TOC overflow" add -mminimal-toc to
9570 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9571 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9575 hardcode_direct_absolute
=yes
9576 hardcode_libdir_separator
=':'
9577 link_all_deplibs
=yes
9578 file_list_spec
='${wl}-f,'
9580 if test "$GCC" = yes; then
9581 case $host_os in aix4.
[012]|aix4.
[012].
*)
9582 # We only want to do this on AIX 4.2 and lower, the check
9583 # below for broken collect2 doesn't work under 4.3+
9584 collect2name
=`${CC} -print-prog-name=collect2`
9585 if test -f "$collect2name" &&
9586 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9588 # We have reworked collect2
9591 # We have old collect2
9592 hardcode_direct
=unsupported
9593 # It fails to find uninstalled libraries when the uninstalled
9594 # path is not listed in the libpath. Setting hardcode_minus_L
9595 # to unsupported forces relinking
9596 hardcode_minus_L
=yes
9597 hardcode_libdir_flag_spec
='-L$libdir'
9598 hardcode_libdir_separator
=
9602 shared_flag
='-shared'
9603 if test "$aix_use_runtimelinking" = yes; then
9604 shared_flag
="$shared_flag "'${wl}-G'
9608 if test "$host_cpu" = ia64
; then
9609 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9610 # chokes on -Wl,-G. The following line is correct:
9613 if test "$aix_use_runtimelinking" = yes; then
9614 shared_flag
='${wl}-G'
9616 shared_flag
='${wl}-bM:SRE'
9621 export_dynamic_flag_spec
='${wl}-bexpall'
9622 # It seems that -bexpall does not export symbols beginning with
9623 # underscore (_), so it is better to generate a list of symbols to export.
9624 always_export_symbols
=yes
9625 if test "$aix_use_runtimelinking" = yes; then
9626 # Warning - without using the other runtime loading flags (-brtl),
9627 # -berok will link without error, but may produce a broken library.
9628 allow_undefined_flag
='-berok'
9629 # Determine the default libpath from the value encoded in an
9631 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9632 /* end confdefs.h. */
9642 if ac_fn_c_try_link
"$LINENO"; then :
9644 lt_aix_libpath_sed
='
9645 /Import File Strings/,/^$/ {
9651 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9652 # Check for a 64-bit object if we didn't find anything.
9653 if test -z "$aix_libpath"; then
9654 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9657 rm -f core conftest.err conftest.
$ac_objext \
9658 conftest
$ac_exeext conftest.
$ac_ext
9659 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9661 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9662 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"
9664 if test "$host_cpu" = ia64
; then
9665 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9666 allow_undefined_flag
="-z nodefs"
9667 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"
9669 # Determine the default libpath from the value encoded in an
9671 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9672 /* end confdefs.h. */
9682 if ac_fn_c_try_link
"$LINENO"; then :
9684 lt_aix_libpath_sed
='
9685 /Import File Strings/,/^$/ {
9691 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9692 # Check for a 64-bit object if we didn't find anything.
9693 if test -z "$aix_libpath"; then
9694 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9697 rm -f core conftest.err conftest.
$ac_objext \
9698 conftest
$ac_exeext conftest.
$ac_ext
9699 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9701 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9702 # Warning - without using the other run time loading flags,
9703 # -berok will link without error, but may produce a broken library.
9704 no_undefined_flag
=' ${wl}-bernotok'
9705 allow_undefined_flag
=' ${wl}-berok'
9706 if test "$with_gnu_ld" = yes; then
9707 # We only use this code for GNU lds that support --whole-archive.
9708 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9710 # Exported symbols can be pulled into shared objects from archives
9711 whole_archive_flag_spec
='$convenience'
9713 archive_cmds_need_lc
=yes
9714 # This is similar to how AIX traditionally builds its shared libraries.
9715 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'
9723 # see comment about AmigaOS4 .so support
9724 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9725 archive_expsym_cmds
=''
9728 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)'
9729 hardcode_libdir_flag_spec
='-L$libdir'
9730 hardcode_minus_L
=yes
9736 export_dynamic_flag_spec
=-rdynamic
9739 cygwin
* | mingw
* | pw32
* | cegcc
*)
9740 # When not using gcc, we currently assume that we are using
9741 # Microsoft Visual C++.
9742 # hardcode_libdir_flag_spec is actually meaningless, as there is
9743 # no search path for DLLs.
9744 hardcode_libdir_flag_spec
=' '
9745 allow_undefined_flag
=unsupported
9746 # Tell ltmain to make .lib files, not .a files.
9748 # Tell ltmain to make .dll files, not .so files.
9750 # FIXME: Setting linknames here is a bad hack.
9751 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9752 # The linker will automatically build a .lib file if we build a DLL.
9753 old_archive_from_new_cmds
='true'
9754 # FIXME: Should let the user specify the lib program.
9755 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9756 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9757 enable_shared_with_static_runtimes
=yes
9760 darwin
* | rhapsody
*)
9764 # Publish an arg to allow the user to select that Darwin host (and target)
9765 # libraries should be given install-names like @rpath/libfoo.dylib. This
9766 # requires that the user of the library then adds an 'rpath' to the DSO that
9768 # NOTE: there are defaults below, for systems that support rpaths. The person
9769 # configuring can override the defaults for any system version that supports
9770 # them - they are, however, forced off for system versions without support.
9771 # Check whether --enable-darwin-at-rpath was given.
9772 if test "${enable_darwin_at_rpath+set}" = set; then :
9773 enableval
=$enable_darwin_at_rpath; if test "x$enable_darwin_at_rpath" = "xyes"; then
9774 # This is not supported before macOS 10.5 / Darwin9.
9775 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host_os in
9776 UNSET
,darwin
[4-8]*|UNSET
,rhapsody
*|
10.
[0-4][,.
]*)
9777 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Darwin @rpath library names are incompatible with OSX versions earlier than 10.5 (rpaths disabled)" >&5
9778 $as_echo "$as_me: WARNING: Darwin @rpath library names are incompatible with OSX versions earlier than 10.5 (rpaths disabled)" >&2;}
9779 enable_darwin_at_rpath
=no
9784 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host_os in
9785 # As above, before 10.5 / Darwin9 this does not work.
9786 UNSET
,darwin
[4-8]*|UNSET
,rhapsody
*|
10.
[0-4][,.
]*)
9787 enable_darwin_at_rpath
=no
9790 # We cannot build and test reliably on macOS 10.11+ (Darwin15+) without use
9791 # of rpaths, since runpaths set via DYLD_LIBRARY_PATH are elided by key
9792 # system executables (e.g. /bin/sh). Force rpaths on for these systems.
9793 UNSET
,darwin1
[5-9]*|UNSET
,darwin2
*|
10.1[1-9][,.
]*|
1[1-9].
*[,.
]* )
9794 { $as_echo "$as_me:${as_lineno-$LINENO}: @rpath library names are needed on macOS versions later than 10.11 (rpaths have been enabled)" >&5
9795 $as_echo "$as_me: @rpath library names are needed on macOS versions later than 10.11 (rpaths have been enabled)" >&6;}
9796 enable_darwin_at_rpath
=yes
9798 # NOTE: we are not (yet) doing anything for 10.5 .. 10.10, since they can
9799 # work with either DYLD_LIBRARY_PATH or embedded rpaths.
9806 archive_cmds_need_lc
=no
9808 hardcode_automatic
=yes
9809 hardcode_shlibpath_var
=unsupported
9810 if test "$lt_cv_ld_force_load" = "yes"; then
9811 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\"`'
9813 whole_archive_flag_spec
=''
9815 link_all_deplibs
=yes
9816 allow_undefined_flag
="$_lt_dar_allow_undefined"
9817 case $cc_basename in
9818 ifort
*) _lt_dar_can_shared
=yes ;;
9819 *) _lt_dar_can_shared
=$GCC ;;
9821 if test "$_lt_dar_can_shared" = "yes"; then
9822 output_verbose_link_cmd
=func_echo_all
9823 _lt_install_name
='\$rpath/\$soname'
9824 if test "x$enable_darwin_at_rpath" = "xyes"; then
9825 _lt_install_name
='@rpath/\$soname'
9827 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name ${_lt_install_name} \$verstring ${_lt_dsymutil}"
9828 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9829 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 ${_lt_install_name} \$verstring ${_lt_dar_export_syms}${_lt_dsymutil}"
9830 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}"
9839 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9840 hardcode_libdir_flag_spec
='-L$libdir'
9841 hardcode_shlibpath_var
=no
9844 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9845 # support. Future versions do this automatically, but an explicit c++rt0.o
9846 # does not break anything, and helps significantly (at the cost of a little
9849 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9850 hardcode_libdir_flag_spec
='-R$libdir'
9852 hardcode_shlibpath_var
=no
9855 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9857 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9859 hardcode_minus_L
=yes
9860 hardcode_shlibpath_var
=no
9863 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9864 freebsd
* | dragonfly
*)
9865 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9866 hardcode_libdir_flag_spec
='-R$libdir'
9868 hardcode_shlibpath_var
=no
9872 if test "$GCC" = yes; then
9873 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'
9875 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'
9877 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9878 hardcode_libdir_separator
=:
9881 # hardcode_minus_L: Not really in the search PATH,
9882 # but as the default location of the library.
9883 hardcode_minus_L
=yes
9884 export_dynamic_flag_spec
='${wl}-E'
9888 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9889 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9891 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9893 if test "$with_gnu_ld" = no
; then
9894 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9895 hardcode_libdir_flag_spec_ld
='+b $libdir'
9896 hardcode_libdir_separator
=:
9898 hardcode_direct_absolute
=yes
9899 export_dynamic_flag_spec
='${wl}-E'
9900 # hardcode_minus_L: Not really in the search PATH,
9901 # but as the default location of the library.
9902 hardcode_minus_L
=yes
9907 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9910 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9913 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9916 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9922 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9925 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9929 # Older versions of the 11.00 compiler do not understand -b yet
9930 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9932 $as_echo_n "checking if $CC understands -b... " >&6; }
9933 if ${lt_cv_prog_compiler__b+:} false
; then :
9934 $as_echo_n "(cached) " >&6
9936 lt_cv_prog_compiler__b
=no
9937 save_LDFLAGS
="$LDFLAGS"
9938 LDFLAGS
="$LDFLAGS -b"
9939 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9940 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9941 # The linker can only warn and ignore the option if not recognized
9942 # So say no if there are warnings
9943 if test -s conftest.err
; then
9944 # Append any errors to the config.log.
9945 cat conftest.err
1>&5
9946 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9947 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9948 if diff conftest.exp conftest.er2
>/dev
/null
; then
9949 lt_cv_prog_compiler__b
=yes
9952 lt_cv_prog_compiler__b
=yes
9956 LDFLAGS
="$save_LDFLAGS"
9959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9960 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9962 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
9963 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9965 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9971 if test "$with_gnu_ld" = no
; then
9972 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9973 hardcode_libdir_separator
=:
9978 hardcode_shlibpath_var
=no
9982 hardcode_direct_absolute
=yes
9983 export_dynamic_flag_spec
='${wl}-E'
9985 # hardcode_minus_L: Not really in the search PATH,
9986 # but as the default location of the library.
9987 hardcode_minus_L
=yes
9993 irix5
* | irix6
* | nonstopux
*)
9994 if test "$GCC" = yes; then
9995 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'
9996 # Try to use the -exported_symbol ld option, if it does not
9997 # work, assume that -exports_file does not work either and
9998 # implicitly export all symbols.
9999 save_LDFLAGS
="$LDFLAGS"
10000 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10001 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10002 /* end confdefs.h. */
10005 if ac_fn_c_try_link
"$LINENO"; then :
10006 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'
10009 rm -f core conftest.err conftest.
$ac_objext \
10010 conftest
$ac_exeext conftest.
$ac_ext
10011 LDFLAGS
="$save_LDFLAGS"
10013 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'
10014 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'
10016 archive_cmds_need_lc
='no'
10017 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10018 hardcode_libdir_separator
=:
10020 link_all_deplibs
=yes
10024 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10025 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10027 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10029 hardcode_libdir_flag_spec
='-R$libdir'
10030 hardcode_direct
=yes
10031 hardcode_shlibpath_var
=no
10035 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10036 hardcode_direct
=yes
10037 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10038 hardcode_libdir_separator
=:
10039 hardcode_shlibpath_var
=no
10046 if test -f /usr
/libexec
/ld.so
; then
10047 hardcode_direct
=yes
10048 hardcode_shlibpath_var
=no
10049 hardcode_direct_absolute
=yes
10050 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10051 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10052 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10053 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10054 export_dynamic_flag_spec
='${wl}-E'
10057 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
10058 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10059 hardcode_libdir_flag_spec
='-R$libdir'
10062 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10063 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10073 hardcode_libdir_flag_spec
='-L$libdir'
10074 hardcode_minus_L
=yes
10075 allow_undefined_flag
=unsupported
10076 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'
10077 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10081 if test "$GCC" = yes; then
10082 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10083 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'
10085 allow_undefined_flag
=' -expect_unresolved \*'
10086 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'
10088 archive_cmds_need_lc
='no'
10089 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10090 hardcode_libdir_separator
=:
10093 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10094 if test "$GCC" = yes; then
10095 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10096 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'
10097 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10099 allow_undefined_flag
=' -expect_unresolved \*'
10100 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'
10101 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~
10102 $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'
10104 # Both c and cxx compiler support -rpath directly
10105 hardcode_libdir_flag_spec
='-rpath $libdir'
10107 archive_cmds_need_lc
='no'
10108 hardcode_libdir_separator
=:
10112 no_undefined_flag
=' -z defs'
10113 if test "$GCC" = yes; then
10115 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10116 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10117 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10119 case `$CC -V 2>&1` in
10122 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10123 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10124 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10128 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10129 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10130 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10134 hardcode_libdir_flag_spec
='-R$libdir'
10135 hardcode_shlibpath_var
=no
10137 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10139 # The compiler driver will combine and reorder linker options,
10140 # but understands `-z linker_flag'. GCC discards it without `$wl',
10141 # but is careful enough not to reorder.
10142 # Supported since Solaris 2.6 (maybe 2.5.1?)
10143 if test "$GCC" = yes; then
10144 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10146 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10150 link_all_deplibs
=yes
10154 if test "x$host_vendor" = xsequent
; then
10155 # Use $CC to link under sequent, because it throws in some extra .o
10156 # files that make .init and .fini sections work.
10157 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10159 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10161 hardcode_libdir_flag_spec
='-L$libdir'
10162 hardcode_direct
=yes
10163 hardcode_minus_L
=yes
10164 hardcode_shlibpath_var
=no
10168 case $host_vendor in
10170 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10171 hardcode_direct
=yes # is this really true???
10174 ## LD is ld it makes a PLAMLIB
10175 ## CC just makes a GrossModule.
10176 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10177 reload_cmds
='$CC -r -o $output$reload_objs'
10181 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10182 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10185 runpath_var
='LD_RUN_PATH'
10186 hardcode_shlibpath_var
=no
10190 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10191 hardcode_shlibpath_var
=no
10192 export_dynamic_flag_spec
='-Bexport'
10196 if test -d /usr
/nec
; then
10197 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10198 hardcode_shlibpath_var
=no
10199 runpath_var
=LD_RUN_PATH
10200 hardcode_runpath_var
=yes
10205 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10206 no_undefined_flag
='${wl}-z,text'
10207 archive_cmds_need_lc
=no
10208 hardcode_shlibpath_var
=no
10209 runpath_var
='LD_RUN_PATH'
10211 if test "$GCC" = yes; then
10212 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10213 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10215 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10216 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10220 sysv5
* | sco3.2v5
* | sco5v6
*)
10221 # Note: We can NOT use -z defs as we might desire, because we do not
10222 # link with -lc, and that would cause any symbols used from libc to
10223 # always be unresolved, which means just about no library would
10224 # ever link correctly. If we're not using GNU ld we use -z text
10225 # though, which does catch some bad symbols but isn't as heavy-handed
10227 no_undefined_flag
='${wl}-z,text'
10228 allow_undefined_flag
='${wl}-z,nodefs'
10229 archive_cmds_need_lc
=no
10230 hardcode_shlibpath_var
=no
10231 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10232 hardcode_libdir_separator
=':'
10233 link_all_deplibs
=yes
10234 export_dynamic_flag_spec
='${wl}-Bexport'
10235 runpath_var
='LD_RUN_PATH'
10237 if test "$GCC" = yes; then
10238 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10239 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10241 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10242 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10247 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10248 hardcode_libdir_flag_spec
='-L$libdir'
10249 hardcode_shlibpath_var
=no
10257 if test x
$host_vendor = xsni
; then
10259 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10260 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10267 $as_echo "$ld_shlibs" >&6; }
10268 test "$ld_shlibs" = no
&& can_build_shared
=no
10270 with_gnu_ld
=$with_gnu_ld
10287 # Do we need to explicitly link libc?
10289 case "x$archive_cmds_need_lc" in
10291 # Assume -lc should be added
10292 archive_cmds_need_lc
=yes
10294 if test "$enable_shared" = yes && test "$GCC" = yes; then
10295 case $archive_cmds in
10297 # FIXME: we may have to deal with multi-command sequences.
10300 # Test whether the compiler implicitly links with -lc since on some
10301 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10302 # to ld, don't add -lc before -lgcc.
10303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10304 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10305 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
10306 $as_echo_n "(cached) " >&6
10309 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10311 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10312 (eval $ac_compile) 2>&5
10314 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10315 test $ac_status = 0; } 2>conftest.err
; then
10318 libobjs
=conftest.
$ac_objext
10320 wl
=$lt_prog_compiler_wl
10321 pic_flag
=$lt_prog_compiler_pic
10327 lt_save_allow_undefined_flag
=$allow_undefined_flag
10328 allow_undefined_flag
=
10329 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10330 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10332 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10333 test $ac_status = 0; }
10335 lt_cv_archive_cmds_need_lc
=no
10337 lt_cv_archive_cmds_need_lc
=yes
10339 allow_undefined_flag
=$lt_save_allow_undefined_flag
10341 cat conftest.err
1>&5
10346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10347 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10348 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
10511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10512 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10514 if test "$GCC" = yes; then
10516 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10517 *) lt_awk_arg
="/^libraries:/" ;;
10520 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
10521 *) lt_sed_strip_eq
="s,=/,/,g" ;;
10523 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10524 case $lt_search_path_spec in
10526 # if the path contains ";" then we assume it to be the separator
10527 # otherwise default to the standard path separator (i.e. ":") - it is
10528 # assumed that no part of a normal pathname contains ";" but that should
10529 # okay in the real world where ";" in dirpaths is itself problematic.
10530 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10533 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10536 # Ok, now we have the path, separated by spaces, we can step through it
10537 # and add multilib dir if necessary.
10538 lt_tmp_lt_search_path_spec
=
10539 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10540 for lt_sys_path
in $lt_search_path_spec; do
10541 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10542 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10544 test -d "$lt_sys_path" && \
10545 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10548 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10549 BEGIN {RS=" "; FS="/|\n";} {
10552 for (lt_i = NF; lt_i > 0; lt_i--) {
10553 if ($lt_i != "" && $lt_i != ".") {
10554 if ($lt_i == "..") {
10557 if (lt_count == 0) {
10558 lt_foo="/" $lt_i lt_foo;
10565 if (lt_foo != "") { lt_freq[lt_foo]++; }
10566 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10568 # AWK program above erroneously prepends '/' to C:/dos/paths
10571 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
10572 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10574 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10576 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10578 library_names_spec
=
10579 libname_spec
='lib$name'
10583 postuninstall_cmds
=
10587 shlibpath_overrides_runpath
=unknown
10589 dynamic_linker
="$host_os ld.so"
10590 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10591 need_lib_prefix
=unknown
10592 hardcode_into_libs
=no
10594 # when you set need_version to no, make sure it does not cause -set_version
10595 # flags to be left without arguments
10596 need_version
=unknown
10601 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10602 shlibpath_var
=LIBPATH
10604 # AIX 3 has no versioning support, so we append a major version to the name.
10605 soname_spec
='${libname}${release}${shared_ext}$major'
10612 hardcode_into_libs
=yes
10613 if test "$host_cpu" = ia64
; then
10614 # AIX 5 supports IA64
10615 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10616 shlibpath_var
=LD_LIBRARY_PATH
10618 # With GCC up to 2.95.x, collect2 would create an import file
10619 # for dependence libraries. The import file would start with
10620 # the line `#! .'. This would cause the generated library to
10621 # depend on `.', always an invalid library. This was fixed in
10622 # development snapshots of GCC prior to 3.0.
10624 aix4 | aix4.
[01] | aix4.
[01].
*)
10625 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10627 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10630 can_build_shared
=no
10634 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10635 # soname into executable. Probably we can add versioning support to
10636 # collect2, so additional links can be useful in future.
10637 if test "$aix_use_runtimelinking" = yes; then
10638 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10639 # instead of lib<name>.a to let people know that these are not
10640 # typical AIX shared libraries.
10641 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10643 # We preserve .a as extension for shared libraries through AIX4.2
10644 # and later when we are not doing run time linking.
10645 library_names_spec
='${libname}${release}.a $libname.a'
10646 soname_spec
='${libname}${release}${shared_ext}$major'
10648 shlibpath_var
=LIBPATH
10655 # Since July 2007 AmigaOS4 officially supports .so libraries.
10656 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10657 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10660 library_names_spec
='$libname.ixlibrary $libname.a'
10661 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10662 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'
10668 library_names_spec
='${libname}${shared_ext}'
10669 dynamic_linker
="$host_os ld.so"
10670 shlibpath_var
=LIBRARY_PATH
10676 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10677 soname_spec
='${libname}${release}${shared_ext}$major'
10678 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10679 shlibpath_var
=LD_LIBRARY_PATH
10680 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10681 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10682 # the default ld.so.conf also contains /usr/contrib/lib and
10683 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10684 # libtool to hard-code these into programs
10687 cygwin
* | mingw
* | pw32
* | cegcc
*)
10688 version_type
=windows
10693 case $GCC,$host_os in
10694 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
10695 library_names_spec
='$libname.dll.a'
10696 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10697 postinstall_cmds
='base_file=`basename \${file}`~
10698 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10699 dldir=$destdir/`dirname \$dlpath`~
10700 test -d \$dldir || mkdir -p \$dldir~
10701 $install_prog $dir/$dlname \$dldir/$dlname~
10702 chmod a+x \$dldir/$dlname~
10703 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10704 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10706 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10707 dlpath=$dir/\$dldll~
10709 shlibpath_overrides_runpath
=yes
10713 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10714 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10716 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
10719 # MinGW DLLs use traditional 'lib' prefix
10720 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10723 # pw32 DLLs use 'pw' prefix rather than 'lib'
10724 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10730 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10733 dynamic_linker
='Win32 ld.exe'
10734 # FIXME: first we should search . and the directory the executable is in
10738 darwin
* | rhapsody
*)
10739 dynamic_linker
="$host_os dyld"
10740 version_type
=darwin
10743 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10744 soname_spec
='${libname}${release}${major}$shared_ext'
10745 shlibpath_overrides_runpath
=yes
10746 shlibpath_var
=DYLD_LIBRARY_PATH
10747 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10749 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10750 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10757 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10758 soname_spec
='${libname}${release}${shared_ext}$major'
10759 shlibpath_var
=LD_LIBRARY_PATH
10762 freebsd
* | dragonfly
*)
10763 # DragonFly does not have aout. When/if they implement a new
10764 # versioning mechanism, adjust this.
10765 if test -x /usr
/bin
/objformat
; then
10766 objformat
=`/usr/bin/objformat`
10769 freebsd
[23].
*) objformat
=aout
;;
10770 *) objformat
=elf
;;
10773 version_type
=freebsd-
$objformat
10774 case $version_type in
10776 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10781 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10785 shlibpath_var
=LD_LIBRARY_PATH
10788 shlibpath_overrides_runpath
=yes
10790 freebsd3.
[01]* | freebsdelf3.
[01]*)
10791 shlibpath_overrides_runpath
=yes
10792 hardcode_into_libs
=yes
10794 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10795 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10796 shlibpath_overrides_runpath
=no
10797 hardcode_into_libs
=yes
10799 *) # from 4.6 on, and DragonFly
10800 shlibpath_overrides_runpath
=yes
10801 hardcode_into_libs
=yes
10810 dynamic_linker
="$host_os runtime_loader"
10811 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10812 soname_spec
='${libname}${release}${shared_ext}$major'
10813 shlibpath_var
=LIBRARY_PATH
10814 shlibpath_overrides_runpath
=yes
10815 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10816 hardcode_into_libs
=yes
10819 hpux9
* | hpux10
* | hpux11
*)
10820 # Give a soname corresponding to the major version so that dld.sl refuses to
10821 # link against other versions.
10828 hardcode_into_libs
=yes
10829 dynamic_linker
="$host_os dld.so"
10830 shlibpath_var
=LD_LIBRARY_PATH
10831 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10832 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10833 soname_spec
='${libname}${release}${shared_ext}$major'
10834 if test "X$HPUX_IA64_MODE" = X32
; then
10835 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10837 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10839 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10843 hardcode_into_libs
=yes
10844 dynamic_linker
="$host_os dld.sl"
10845 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10846 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10847 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10848 soname_spec
='${libname}${release}${shared_ext}$major'
10849 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10850 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10854 dynamic_linker
="$host_os dld.sl"
10855 shlibpath_var
=SHLIB_PATH
10856 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10857 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10858 soname_spec
='${libname}${release}${shared_ext}$major'
10861 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10862 postinstall_cmds
='chmod 555 $lib'
10863 # or fails outright, so override atomically:
10864 install_override_mode
=555
10871 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10872 soname_spec
='${libname}${release}${shared_ext}$major'
10873 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10874 shlibpath_var
=LD_LIBRARY_PATH
10875 shlibpath_overrides_runpath
=no
10876 hardcode_into_libs
=yes
10879 irix5
* | irix6
* | nonstopux
*)
10881 nonstopux
*) version_type
=nonstopux
;;
10883 if test "$lt_cv_prog_gnu_ld" = yes; then
10891 soname_spec
='${libname}${release}${shared_ext}$major'
10892 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10894 irix5
* | nonstopux
*)
10895 libsuff
= shlibsuff
=
10898 case $LD in # libtool.m4 will add one of these switches to LD
10899 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10900 libsuff
= shlibsuff
= libmagic
=32-bit;;
10901 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10902 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10903 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10904 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10905 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10909 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10910 shlibpath_overrides_runpath
=no
10911 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10912 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10913 hardcode_into_libs
=yes
10916 # No shared lib support for Linux oldld, aout, or coff.
10917 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10921 # This must be Linux ELF.
10923 # uclinux* changes (here and below) have been submitted to the libtool
10924 # project, but have not yet been accepted: they are GCC-local changes
10925 # for the time being. (See
10926 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
10927 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
* | uclinuxfdpiceabi
)
10931 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10932 soname_spec
='${libname}${release}${shared_ext}$major'
10933 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10934 shlibpath_var
=LD_LIBRARY_PATH
10935 shlibpath_overrides_runpath
=no
10937 # Some binutils ld are patched to set DT_RUNPATH
10938 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
10939 $as_echo_n "(cached) " >&6
10941 lt_cv_shlibpath_overrides_runpath
=no
10942 save_LDFLAGS
=$LDFLAGS
10943 save_libdir
=$libdir
10944 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10945 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10946 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10947 /* end confdefs.h. */
10957 if ac_fn_c_try_link
"$LINENO"; then :
10958 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
10959 lt_cv_shlibpath_overrides_runpath
=yes
10962 rm -f core conftest.err conftest.
$ac_objext \
10963 conftest
$ac_exeext conftest.
$ac_ext
10964 LDFLAGS
=$save_LDFLAGS
10965 libdir
=$save_libdir
10969 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
10971 # This implies no fast_install, which is unacceptable.
10972 # Some rework will be needed to allow for fast_install
10973 # before this can be enabled.
10974 hardcode_into_libs
=yes
10976 # Append ld.so.conf contents to the search path
10977 if test -f /etc
/ld.so.conf
; then
10978 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' ' '`
10979 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10982 # We used to test for /lib/ld.so.1 and disable shared libraries on
10983 # powerpc, because MkLinux only supported shared libraries with the
10984 # GNU dynamic linker. Since this was broken with cross compilers,
10985 # most powerpc-linux boxes support dynamic linking these days and
10986 # people can always --disable-shared, the test was removed, and we
10987 # assume the GNU/Linux dynamic linker is in use.
10988 dynamic_linker
='GNU/Linux ld.so'
10995 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10996 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10997 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10998 dynamic_linker
='NetBSD (a.out) ld.so'
11000 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11001 soname_spec
='${libname}${release}${shared_ext}$major'
11002 dynamic_linker
='NetBSD ld.elf_so'
11004 shlibpath_var
=LD_LIBRARY_PATH
11005 shlibpath_overrides_runpath
=yes
11006 hardcode_into_libs
=yes
11011 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11012 shlibpath_var
=LD_LIBRARY_PATH
11013 shlibpath_overrides_runpath
=yes
11020 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11021 soname_spec
='${libname}${release}${shared_ext}$major'
11022 shlibpath_var
=LD_LIBRARY_PATH
11023 shlibpath_overrides_runpath
=no
11024 hardcode_into_libs
=yes
11025 dynamic_linker
='ldqnx.so'
11030 sys_lib_dlsearch_path_spec
="/usr/lib"
11032 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11034 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
11035 *) need_version
=no
;;
11037 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11038 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11039 shlibpath_var
=LD_LIBRARY_PATH
11040 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11042 openbsd2.
[89] | openbsd2.
[89].
*)
11043 shlibpath_overrides_runpath
=no
11046 shlibpath_overrides_runpath
=yes
11050 shlibpath_overrides_runpath
=yes
11055 libname_spec
='$name'
11058 library_names_spec
='$libname${shared_ext} $libname.a'
11059 dynamic_linker
='OS/2 ld.exe'
11060 shlibpath_var
=LIBPATH
11063 osf3
* | osf4
* | osf5
*)
11067 soname_spec
='${libname}${release}${shared_ext}$major'
11068 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11069 shlibpath_var
=LD_LIBRARY_PATH
11070 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11071 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11082 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11083 soname_spec
='${libname}${release}${shared_ext}$major'
11084 shlibpath_var
=LD_LIBRARY_PATH
11085 shlibpath_overrides_runpath
=yes
11086 hardcode_into_libs
=yes
11087 # ldd complains unless libraries are executable
11088 postinstall_cmds
='chmod +x $lib'
11093 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11094 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11095 shlibpath_var
=LD_LIBRARY_PATH
11096 shlibpath_overrides_runpath
=yes
11097 if test "$with_gnu_ld" = yes; then
11105 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11106 soname_spec
='${libname}${release}${shared_ext}$major'
11107 shlibpath_var
=LD_LIBRARY_PATH
11108 case $host_vendor in
11110 shlibpath_overrides_runpath
=no
11112 runpath_var
=LD_RUN_PATH
11120 shlibpath_overrides_runpath
=no
11121 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11127 if test -d /usr
/nec
;then
11129 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11130 soname_spec
='$libname${shared_ext}.$major'
11131 shlibpath_var
=LD_LIBRARY_PATH
11135 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11136 version_type
=freebsd-elf
11139 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11140 soname_spec
='${libname}${release}${shared_ext}$major'
11141 shlibpath_var
=LD_LIBRARY_PATH
11142 shlibpath_overrides_runpath
=yes
11143 hardcode_into_libs
=yes
11144 if test "$with_gnu_ld" = yes; then
11145 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11147 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11150 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11154 sys_lib_dlsearch_path_spec
='/usr/lib'
11158 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11162 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11163 shlibpath_var
=LD_LIBRARY_PATH
11164 shlibpath_overrides_runpath
=no
11165 hardcode_into_libs
=yes
11170 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11171 soname_spec
='${libname}${release}${shared_ext}$major'
11172 shlibpath_var
=LD_LIBRARY_PATH
11175 # Shared libraries for VwWorks, >= 7 only at this stage
11176 # and (fpic) still incompatible with "large" code models
11177 # in a few configurations. Only for RTP mode in any case,
11178 # and upon explicit request at configure time.
11181 case ${with_multisubdir}-${enable_shared} in
11188 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11189 soname_spec
='${libname}${release}${shared_ext}$major'
11190 dynamic_linker
="$host_os module_loader"
11198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11199 $as_echo "$dynamic_linker" >&6; }
11200 test "$dynamic_linker" = no
&& can_build_shared
=no
11202 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11203 if test "$GCC" = yes; then
11204 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11207 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11208 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
11210 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11211 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
11305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11306 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11308 if test -n "$hardcode_libdir_flag_spec" ||
11309 test -n "$runpath_var" ||
11310 test "X$hardcode_automatic" = "Xyes" ; then
11312 # We can hardcode non-existent directories.
11313 if test "$hardcode_direct" != no
&&
11314 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11315 # have to relink, otherwise we might link with an installed library
11316 # when we should be linking with a yet-to-be-installed one
11317 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11318 test "$hardcode_minus_L" != no
; then
11319 # Linking always hardcodes the temporary library directory.
11320 hardcode_action
=relink
11322 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11323 hardcode_action
=immediate
11326 # We cannot hardcode anything, or else we can only hardcode existing
11328 hardcode_action
=unsupported
11330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11331 $as_echo "$hardcode_action" >&6; }
11333 if test "$hardcode_action" = relink ||
11334 test "$inherit_rpath" = yes; then
11335 # Fast installation is not supported
11336 enable_fast_install
=no
11337 elif test "$shlibpath_overrides_runpath" = yes ||
11338 test "$enable_shared" = no
; then
11339 # Fast installation is not necessary
11340 enable_fast_install
=needless
11348 if test "x$enable_dlopen" != xyes
; then
11349 enable_dlopen
=unknown
11350 enable_dlopen_self
=unknown
11351 enable_dlopen_self_static
=unknown
11358 lt_cv_dlopen
="load_add_on"
11360 lt_cv_dlopen_self
=yes
11363 mingw
* | pw32
* | cegcc
*)
11364 lt_cv_dlopen
="LoadLibrary"
11369 lt_cv_dlopen
="dlopen"
11374 # if libdl is installed we need to link against it
11375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11376 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11377 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11378 $as_echo_n "(cached) " >&6
11380 ac_check_lib_save_LIBS
=$LIBS
11382 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11383 /* end confdefs.h. */
11385 /* Override any GCC internal prototype to avoid an error.
11386 Use char because int might match the return type of a GCC
11387 builtin and then its argument prototype would still apply. */
11400 if ac_fn_c_try_link
"$LINENO"; then :
11401 ac_cv_lib_dl_dlopen
=yes
11403 ac_cv_lib_dl_dlopen
=no
11405 rm -f core conftest.err conftest.
$ac_objext \
11406 conftest
$ac_exeext conftest.
$ac_ext
11407 LIBS
=$ac_check_lib_save_LIBS
11409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11410 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11411 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11412 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11415 lt_cv_dlopen
="dyld"
11417 lt_cv_dlopen_self
=yes
11424 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
11425 if test "x$ac_cv_func_shl_load" = xyes
; then :
11426 lt_cv_dlopen
="shl_load"
11428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11429 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11430 if ${ac_cv_lib_dld_shl_load+:} false
; then :
11431 $as_echo_n "(cached) " >&6
11433 ac_check_lib_save_LIBS
=$LIBS
11435 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11436 /* end confdefs.h. */
11438 /* Override any GCC internal prototype to avoid an error.
11439 Use char because int might match the return type of a GCC
11440 builtin and then its argument prototype would still apply. */
11448 return shl_load ();
11453 if ac_fn_c_try_link
"$LINENO"; then :
11454 ac_cv_lib_dld_shl_load
=yes
11456 ac_cv_lib_dld_shl_load
=no
11458 rm -f core conftest.err conftest.
$ac_objext \
11459 conftest
$ac_exeext conftest.
$ac_ext
11460 LIBS
=$ac_check_lib_save_LIBS
11462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11463 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11464 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
11465 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
11467 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
11468 if test "x$ac_cv_func_dlopen" = xyes
; then :
11469 lt_cv_dlopen
="dlopen"
11471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11472 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11473 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11474 $as_echo_n "(cached) " >&6
11476 ac_check_lib_save_LIBS
=$LIBS
11478 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11479 /* end confdefs.h. */
11481 /* Override any GCC internal prototype to avoid an error.
11482 Use char because int might match the return type of a GCC
11483 builtin and then its argument prototype would still apply. */
11496 if ac_fn_c_try_link
"$LINENO"; then :
11497 ac_cv_lib_dl_dlopen
=yes
11499 ac_cv_lib_dl_dlopen
=no
11501 rm -f core conftest.err conftest.
$ac_objext \
11502 conftest
$ac_exeext conftest.
$ac_ext
11503 LIBS
=$ac_check_lib_save_LIBS
11505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11506 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11507 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11508 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11511 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11512 if ${ac_cv_lib_svld_dlopen+:} false
; then :
11513 $as_echo_n "(cached) " >&6
11515 ac_check_lib_save_LIBS
=$LIBS
11516 LIBS
="-lsvld $LIBS"
11517 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11518 /* end confdefs.h. */
11520 /* Override any GCC internal prototype to avoid an error.
11521 Use char because int might match the return type of a GCC
11522 builtin and then its argument prototype would still apply. */
11535 if ac_fn_c_try_link
"$LINENO"; then :
11536 ac_cv_lib_svld_dlopen
=yes
11538 ac_cv_lib_svld_dlopen
=no
11540 rm -f core conftest.err conftest.
$ac_objext \
11541 conftest
$ac_exeext conftest.
$ac_ext
11542 LIBS
=$ac_check_lib_save_LIBS
11544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11545 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11546 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
11547 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11550 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11551 if ${ac_cv_lib_dld_dld_link+:} false
; then :
11552 $as_echo_n "(cached) " >&6
11554 ac_check_lib_save_LIBS
=$LIBS
11556 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11557 /* end confdefs.h. */
11559 /* Override any GCC internal prototype to avoid an error.
11560 Use char because int might match the return type of a GCC
11561 builtin and then its argument prototype would still apply. */
11569 return dld_link ();
11574 if ac_fn_c_try_link
"$LINENO"; then :
11575 ac_cv_lib_dld_dld_link
=yes
11577 ac_cv_lib_dld_dld_link
=no
11579 rm -f core conftest.err conftest.
$ac_objext \
11580 conftest
$ac_exeext conftest.
$ac_ext
11581 LIBS
=$ac_check_lib_save_LIBS
11583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11584 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11585 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
11586 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11607 if test "x$lt_cv_dlopen" != xno
; then
11613 case $lt_cv_dlopen in
11615 save_CPPFLAGS
="$CPPFLAGS"
11616 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11618 save_LDFLAGS
="$LDFLAGS"
11619 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11622 LIBS
="$lt_cv_dlopen_libs $LIBS"
11624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11625 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11626 if ${lt_cv_dlopen_self+:} false
; then :
11627 $as_echo_n "(cached) " >&6
11629 if test "$cross_compiling" = yes; then :
11630 lt_cv_dlopen_self
=cross
11632 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11633 lt_status
=$lt_dlunknown
11634 cat > conftest.
$ac_ext <<_LT_EOF
11635 #line 11635 "configure"
11636 #include "confdefs.h"
11645 # define LT_DLGLOBAL RTLD_GLOBAL
11648 # define LT_DLGLOBAL DL_GLOBAL
11650 # define LT_DLGLOBAL 0
11654 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11655 find out it does not work in some platform. */
11656 #ifndef LT_DLLAZY_OR_NOW
11658 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11661 # define LT_DLLAZY_OR_NOW DL_LAZY
11664 # define LT_DLLAZY_OR_NOW RTLD_NOW
11667 # define LT_DLLAZY_OR_NOW DL_NOW
11669 # define LT_DLLAZY_OR_NOW 0
11676 /* When -fvisbility=hidden is used, assume the code has been annotated
11677 correspondingly for the symbols needed. */
11678 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11679 void fnord () __attribute__((visibility("default")));
11682 void fnord () { int i=42; }
11685 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11686 int status = $lt_dlunknown;
11690 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11693 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11694 else puts (dlerror ());
11696 /* dlclose (self); */
11704 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11705 (eval $ac_link) 2>&5
11707 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11708 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11709 (.
/conftest
; exit; ) >&5 2>/dev
/null
11711 case x
$lt_status in
11712 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11713 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11714 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11717 # compilation failed
11718 lt_cv_dlopen_self
=no
11725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11726 $as_echo "$lt_cv_dlopen_self" >&6; }
11728 if test "x$lt_cv_dlopen_self" = xyes
; then
11729 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11731 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11732 if ${lt_cv_dlopen_self_static+:} false
; then :
11733 $as_echo_n "(cached) " >&6
11735 if test "$cross_compiling" = yes; then :
11736 lt_cv_dlopen_self_static
=cross
11738 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11739 lt_status
=$lt_dlunknown
11740 cat > conftest.
$ac_ext <<_LT_EOF
11741 #line 11741 "configure"
11742 #include "confdefs.h"
11751 # define LT_DLGLOBAL RTLD_GLOBAL
11754 # define LT_DLGLOBAL DL_GLOBAL
11756 # define LT_DLGLOBAL 0
11760 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11761 find out it does not work in some platform. */
11762 #ifndef LT_DLLAZY_OR_NOW
11764 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11767 # define LT_DLLAZY_OR_NOW DL_LAZY
11770 # define LT_DLLAZY_OR_NOW RTLD_NOW
11773 # define LT_DLLAZY_OR_NOW DL_NOW
11775 # define LT_DLLAZY_OR_NOW 0
11782 /* When -fvisbility=hidden is used, assume the code has been annotated
11783 correspondingly for the symbols needed. */
11784 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11785 void fnord () __attribute__((visibility("default")));
11788 void fnord () { int i=42; }
11791 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11792 int status = $lt_dlunknown;
11796 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11799 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11800 else puts (dlerror ());
11802 /* dlclose (self); */
11810 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11811 (eval $ac_link) 2>&5
11813 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11814 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11815 (.
/conftest
; exit; ) >&5 2>/dev
/null
11817 case x
$lt_status in
11818 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11819 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11820 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11823 # compilation failed
11824 lt_cv_dlopen_self_static
=no
11831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11832 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11835 CPPFLAGS
="$save_CPPFLAGS"
11836 LDFLAGS
="$save_LDFLAGS"
11841 case $lt_cv_dlopen_self in
11842 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11843 *) enable_dlopen_self
=unknown
;;
11846 case $lt_cv_dlopen_self_static in
11847 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11848 *) enable_dlopen_self_static
=unknown
;;
11870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11871 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11872 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11873 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11874 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11876 $as_echo "yes" >&6; }
11878 # FIXME - insert some real tests, host_os isn't really good enough
11881 if test -n "$STRIP" ; then
11882 striplib
="$STRIP -x"
11883 old_striplib
="$STRIP -S"
11884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11885 $as_echo "yes" >&6; }
11887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11888 $as_echo "no" >&6; }
11892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11893 $as_echo "no" >&6; }
11909 # Report which library types will actually be built
11910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11911 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11913 $as_echo "$can_build_shared" >&6; }
11915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11916 $as_echo_n "checking whether to build shared libraries... " >&6; }
11917 test "$can_build_shared" = "no" && enable_shared
=no
11919 # On AIX, shared libraries and static libraries use the same namespace, and
11920 # are all built from PIC.
11923 test "$enable_shared" = yes && enable_static
=no
11924 if test -n "$RANLIB"; then
11925 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11926 postinstall_cmds
='$RANLIB $lib'
11931 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11932 test "$enable_shared" = yes && enable_static
=no
11936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11937 $as_echo "$enable_shared" >&6; }
11939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11940 $as_echo_n "checking whether to build static libraries... " >&6; }
11941 # Make sure either enable_shared or enable_static is yes.
11942 test "$enable_shared" = yes || enable_static
=yes
11943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11944 $as_echo "$enable_static" >&6; }
11951 ac_cpp
='$CPP $CPPFLAGS'
11952 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11953 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11954 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11970 ac_config_commands
="$ac_config_commands libtool"
11975 # Only expand once:
11980 if test x
$enable_darwin_at_rpath = xyes
; then
11981 ENABLE_DARWIN_AT_RPATH_TRUE
=
11982 ENABLE_DARWIN_AT_RPATH_FALSE
='#'
11984 ENABLE_DARWIN_AT_RPATH_TRUE
='#'
11985 ENABLE_DARWIN_AT_RPATH_FALSE
=
11989 # Check whether --enable-largefile was given.
11990 if test "${enable_largefile+set}" = set; then :
11991 enableval
=$enable_largefile;
11994 if test "$enable_largefile" != no
; then
11996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
11997 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
11998 if ${ac_cv_sys_largefile_CC+:} false
; then :
11999 $as_echo_n "(cached) " >&6
12001 ac_cv_sys_largefile_CC
=no
12002 if test "$GCC" != yes; then
12005 # IRIX 6.2 and later do not support large files by default,
12006 # so use the C compiler's -n32 option if that helps.
12007 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12008 /* end confdefs.h. */
12009 #include <sys/types.h>
12010 /* Check that off_t can represent 2**63 - 1 correctly.
12011 We can't simply define LARGE_OFF_T to be 9223372036854775807,
12012 since some C++ compilers masquerading as C compilers
12013 incorrectly reject 9223372036854775807. */
12014 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
12015 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
12016 && LARGE_OFF_T % 2147483647 == 1)
12026 if ac_fn_c_try_compile
"$LINENO"; then :
12029 rm -f core conftest.err conftest.
$ac_objext
12031 if ac_fn_c_try_compile
"$LINENO"; then :
12032 ac_cv_sys_largefile_CC
=' -n32'; break
12034 rm -f core conftest.err conftest.
$ac_objext
12038 rm -f conftest.
$ac_ext
12041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
12042 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
12043 if test "$ac_cv_sys_largefile_CC" != no
; then
12044 CC
=$CC$ac_cv_sys_largefile_CC
12047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
12048 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
12049 if ${ac_cv_sys_file_offset_bits+:} false
; then :
12050 $as_echo_n "(cached) " >&6
12053 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12054 /* end confdefs.h. */
12055 #include <sys/types.h>
12056 /* Check that off_t can represent 2**63 - 1 correctly.
12057 We can't simply define LARGE_OFF_T to be 9223372036854775807,
12058 since some C++ compilers masquerading as C compilers
12059 incorrectly reject 9223372036854775807. */
12060 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
12061 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
12062 && LARGE_OFF_T % 2147483647 == 1)
12072 if ac_fn_c_try_compile
"$LINENO"; then :
12073 ac_cv_sys_file_offset_bits
=no
; break
12075 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12076 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12077 /* end confdefs.h. */
12078 #define _FILE_OFFSET_BITS 64
12079 #include <sys/types.h>
12080 /* Check that off_t can represent 2**63 - 1 correctly.
12081 We can't simply define LARGE_OFF_T to be 9223372036854775807,
12082 since some C++ compilers masquerading as C compilers
12083 incorrectly reject 9223372036854775807. */
12084 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
12085 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
12086 && LARGE_OFF_T % 2147483647 == 1)
12096 if ac_fn_c_try_compile
"$LINENO"; then :
12097 ac_cv_sys_file_offset_bits
=64; break
12099 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12100 ac_cv_sys_file_offset_bits
=unknown
12104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
12105 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
12106 case $ac_cv_sys_file_offset_bits in #(
12109 cat >>confdefs.h
<<_ACEOF
12110 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
12115 if test $ac_cv_sys_file_offset_bits = unknown
; then
12116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
12117 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
12118 if ${ac_cv_sys_large_files+:} false
; then :
12119 $as_echo_n "(cached) " >&6
12122 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12123 /* end confdefs.h. */
12124 #include <sys/types.h>
12125 /* Check that off_t can represent 2**63 - 1 correctly.
12126 We can't simply define LARGE_OFF_T to be 9223372036854775807,
12127 since some C++ compilers masquerading as C compilers
12128 incorrectly reject 9223372036854775807. */
12129 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
12130 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
12131 && LARGE_OFF_T % 2147483647 == 1)
12141 if ac_fn_c_try_compile
"$LINENO"; then :
12142 ac_cv_sys_large_files
=no
; break
12144 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12145 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12146 /* end confdefs.h. */
12147 #define _LARGE_FILES 1
12148 #include <sys/types.h>
12149 /* Check that off_t can represent 2**63 - 1 correctly.
12150 We can't simply define LARGE_OFF_T to be 9223372036854775807,
12151 since some C++ compilers masquerading as C compilers
12152 incorrectly reject 9223372036854775807. */
12153 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
12154 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
12155 && LARGE_OFF_T % 2147483647 == 1)
12165 if ac_fn_c_try_compile
"$LINENO"; then :
12166 ac_cv_sys_large_files
=1; break
12168 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12169 ac_cv_sys_large_files
=unknown
12173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
12174 $as_echo "$ac_cv_sys_large_files" >&6; }
12175 case $ac_cv_sys_large_files in #(
12178 cat >>confdefs.h
<<_ACEOF
12179 #define _LARGE_FILES $ac_cv_sys_large_files
12190 backtrace_supported
=yes
12192 if test -n "${with_target_subdir}"; then
12193 # We are compiling a GCC library. We can assume that the unwind
12195 BACKTRACE_FILE
="backtrace.lo simple.lo"
12197 ac_fn_c_check_header_mongrel
"$LINENO" "unwind.h" "ac_cv_header_unwind_h" "$ac_includes_default"
12198 if test "x$ac_cv_header_unwind_h" = xyes
; then :
12199 ac_fn_c_check_func
"$LINENO" "_Unwind_Backtrace" "ac_cv_func__Unwind_Backtrace"
12200 if test "x$ac_cv_func__Unwind_Backtrace" = xyes
; then :
12201 BACKTRACE_FILE
="backtrace.lo simple.lo"
12203 BACKTRACE_FILE
="nounwind.lo"
12204 backtrace_supported
=no
12208 BACKTRACE_FILE
="nounwind.lo"
12209 backtrace_supported
=no
12217 if test -n "${with_target_subdir}"; then
12218 EXTRA_FLAGS
="-funwind-tables -frandom-seed=\$@"
12220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -funwind-tables option" >&5
12221 $as_echo_n "checking for -funwind-tables option... " >&6; }
12222 if ${libbacktrace_cv_c_unwind_tables+:} false
; then :
12223 $as_echo_n "(cached) " >&6
12225 CFLAGS_hold
="$CFLAGS"
12226 CFLAGS
="$CFLAGS -funwind-tables"
12227 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12228 /* end confdefs.h. */
12229 static int f() { return 0; }
12238 if ac_fn_c_try_compile
"$LINENO"; then :
12239 libbacktrace_cv_c_unwind_tables
=yes
12241 libbacktrace_cv_c_unwind_tables
=no
12243 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12244 CFLAGS
="$CFLAGS_hold"
12246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libbacktrace_cv_c_unwind_tables" >&5
12247 $as_echo "$libbacktrace_cv_c_unwind_tables" >&6; }
12248 if test "$libbacktrace_cv_c_unwind_tables" = "yes"; then
12249 EXTRA_FLAGS
=-funwind-tables
12251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -frandom-seed=string option" >&5
12252 $as_echo_n "checking for -frandom-seed=string option... " >&6; }
12253 if ${libbacktrace_cv_c_random_seed_string+:} false
; then :
12254 $as_echo_n "(cached) " >&6
12256 CFLAGS_hold
="$CFLAGS"
12257 CFLAGS
="$CFLAGS -frandom-seed=conftest.lo"
12258 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12259 /* end confdefs.h. */
12269 if ac_fn_c_try_compile
"$LINENO"; then :
12270 libbacktrace_cv_c_random_seed_string
=yes
12272 libbacktrace_cv_c_random_seed_string
=no
12274 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12275 CFLAGS
="$CFLAGS_hold"
12277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libbacktrace_cv_c_random_seed_string" >&5
12278 $as_echo "$libbacktrace_cv_c_random_seed_string" >&6; }
12279 if test "$libbacktrace_cv_c_random_seed_string" = "yes"; then
12280 EXTRA_FLAGS
="$EXTRA_FLAGS -frandom-seed=\$@"
12284 if test -n "${with_target_subdir}"; then
12285 # Add CET specific flags is Intel CET is enabled.
12286 # Check whether --enable-cet was given.
12287 if test "${enable_cet+set}" = set; then :
12288 enableval
=$enable_cet;
12289 case "$enableval" in
12291 *) as_fn_error $?
"Unknown argument to enable/disable cet" "$LINENO" 5 ;;
12299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CET support" >&5
12300 $as_echo_n "checking for CET support... " >&6; }
12302 # NB: Avoid nested save_CFLAGS and save_LDFLAGS.
12304 i
[34567]86-*-linux* | x86_64-
*-linux*)
12305 case "$enable_cet" in
12307 # Check if target supports multi-byte NOPs
12308 # and if compiler and assembler support CET insn.
12309 cet_save_CFLAGS
="$CFLAGS"
12310 CFLAGS
="$CFLAGS -fcf-protection"
12311 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12312 /* end confdefs.h. */
12318 #if !defined(__SSE2__)
12319 #error target does not support multi-byte NOPs
12328 if ac_fn_c_try_compile
"$LINENO"; then :
12333 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12334 CFLAGS
="$cet_save_CFLAGS"
12337 # Check if assembler supports CET.
12338 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12339 /* end confdefs.h. */
12349 if ac_fn_c_try_compile
"$LINENO"; then :
12352 as_fn_error $?
"assembler with CET support is required for --enable-cet" "$LINENO" 5
12354 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12362 if test x
$enable_cet = xyes
; then
12363 CET_FLAGS
="-fcf-protection -mshstk"
12364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12365 $as_echo "yes" >&6; }
12367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12368 $as_echo "no" >&6; }
12371 EXTRA_FLAGS
="$EXTRA_FLAGS $CET_FLAGS"
12376 ac_cpp
='$CPP $CPPFLAGS'
12377 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12378 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12379 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12382 save_CFLAGS
="$CFLAGS"
12383 for real_option
in -W -Wall -Wwrite-strings -Wstrict-prototypes \
12384 -Wmissing-prototypes -Wold-style-definition \
12385 -Wmissing-format-attribute -Wcast-qual; do
12386 # Do the check with the no- prefix removed since gcc silently
12387 # accepts any -Wno-* option on purpose
12388 case $real_option in
12389 -Wno-*) option
=-W`expr x$real_option : 'x-Wno-\(.*\)'` ;;
12390 *) option
=$real_option ;;
12392 as_acx_Woption
=`$as_echo "acx_cv_prog_cc_warning_$option" | $as_tr_sh`
12394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $option" >&5
12395 $as_echo_n "checking whether $CC supports $option... " >&6; }
12396 if eval \
${$as_acx_Woption+:} false
; then :
12397 $as_echo_n "(cached) " >&6
12400 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12401 /* end confdefs.h. */
12411 if ac_fn_c_try_compile
"$LINENO"; then :
12412 eval "$as_acx_Woption=yes"
12414 eval "$as_acx_Woption=no"
12416 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12419 eval ac_res
=\$
$as_acx_Woption
12420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
12421 $as_echo "$ac_res" >&6; }
12422 if test `eval 'as_val=${'$as_acx_Woption'};$as_echo "$as_val"'` = yes; then :
12423 WARN_FLAGS
="$WARN_FLAGS${WARN_FLAGS:+ }$real_option"
12426 CFLAGS
="$save_CFLAGS"
12428 ac_cpp
='$CPP $CPPFLAGS'
12429 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12430 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12431 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12435 # Check whether --enable-werror was given.
12436 if test "${enable_werror+set}" = set; then :
12437 enableval
=$enable_werror;
12440 if test "x$enable_werror" != "xno" && test -n "${with_target_subdir}"; then :
12441 WARN_FLAGS
="$WARN_FLAGS -Werror"
12445 if test -n "${with_target_subdir}"; then
12448 # Check whether --with-system-libunwind was given.
12449 if test "${with_system_libunwind+set}" = set; then :
12450 withval
=$with_system_libunwind;
12453 # If system-libunwind was not specifically set, pick a default setting.
12454 if test x
$with_system_libunwind = x
; then
12456 ia64-
*-hpux*) with_system_libunwind
=yes ;;
12457 *) with_system_libunwind
=no
;;
12460 # Based on system-libunwind and target, do we have ipinfo?
12461 if test x
$with_system_libunwind = xyes
; then
12463 ia64-
*-*) have_unwind_getipinfo
=no
;;
12464 *) have_unwind_getipinfo
=yes ;;
12467 # Darwin before version 9 does not have _Unwind_GetIPInfo.
12470 *-*-darwin[3-8]|
*-*-darwin[3-8].
*) have_unwind_getipinfo
=no
;;
12471 *) have_unwind_getipinfo
=yes ;;
12476 if test x
$have_unwind_getipinfo = xyes
; then
12478 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
12483 ac_save_CFFLAGS
="$CFLAGS"
12484 CFLAGS
="$CFLAGS -Werror-implicit-function-declaration"
12485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _Unwind_GetIPInfo" >&5
12486 $as_echo_n "checking for _Unwind_GetIPInfo... " >&6; }
12487 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12488 /* end confdefs.h. */
12489 #include "unwind.h"
12490 struct _Unwind_Context *context;
12491 int ip_before_insn = 0;
12495 return _Unwind_GetIPInfo (context, &ip_before_insn);
12500 if ac_fn_c_try_link
"$LINENO"; then :
12501 have_unwind_getipinfo
=yes
12503 have_unwind_getipinfo
=no
12505 rm -f core conftest.err conftest.
$ac_objext \
12506 conftest
$ac_exeext conftest.
$ac_ext
12507 CFLAGS
="$ac_save_CFLAGS"
12508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_unwind_getipinfo" >&5
12509 $as_echo "$have_unwind_getipinfo" >&6; }
12510 if test "$have_unwind_getipinfo" = "yes"; then
12512 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
12517 # Enable --enable-host-shared.
12518 # Check whether --enable-host-shared was given.
12519 if test "${enable_host_shared+set}" = set; then :
12520 enableval
=$enable_host_shared; PIC_FLAG
=-fPIC
12527 # Enable Intel CET on Intel CET enabled host if jit is enabled.
12528 # Check whether --enable-cet was given.
12529 if test "${enable_cet+set}" = set; then :
12530 enableval
=$enable_cet;
12531 case "$enableval" in
12533 *) as_fn_error $?
"Unknown argument to enable/disable cet" "$LINENO" 5 ;;
12541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CET support" >&5
12542 $as_echo_n "checking for CET support... " >&6; }
12545 i
[34567]86-*-linux* | x86_64-
*-linux*)
12547 cet_save_CFLAGS
="$CFLAGS"
12548 CFLAGS
="$CFLAGS -fcf-protection"
12549 case "$enable_cet" in
12551 # Check if target supports multi-byte NOPs
12552 # and if compiler and assembler support CET.
12553 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12554 /* end confdefs.h. */
12560 #if !defined(__SSE2__)
12561 #error target does not support multi-byte NOPs
12570 if ac_fn_c_try_compile
"$LINENO"; then :
12575 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12578 # Check if compiler and assembler support CET.
12579 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12580 /* end confdefs.h. */
12590 if ac_fn_c_try_compile
"$LINENO"; then :
12595 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12596 if test $support_cet = "no"; then
12597 if test x
$enable_bootstrap != xno \
12598 && test -z "${with_build_subdir}" \
12599 && (test ! -f ..
/stage_current \
12600 ||
test `cat ../stage_current` != "stage1"); then
12601 # Require CET support only for the final GCC build.
12602 as_fn_error $?
"compiler and assembler with CET support are required for --enable-cet" "$LINENO" 5
12604 # Don't enable CET without CET support for non-bootstrap
12605 # build, in stage1 nor for build support.
12611 CFLAGS
="$cet_save_CFLAGS"
12619 cet_save_CFLAGS
="$CFLAGS"
12620 CFLAGS
="$CFLAGS -fcf-protection=none"
12621 cet_save_LDFLAGS
="$LDFLAGS"
12622 LDFLAGS
="$LDFLAGS -Wl,-z,ibt,-z,shstk"
12623 if test x
$may_have_cet = xyes
; then
12624 # Check whether -fcf-protection=none -Wl,-z,ibt,-z,shstk work.
12625 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12626 /* end confdefs.h. */
12636 if ac_fn_c_try_link
"$LINENO"; then :
12641 rm -f core conftest.err conftest.
$ac_objext \
12642 conftest
$ac_exeext conftest.
$ac_ext
12645 if test x
$may_have_cet = xyes
; then
12646 if test x
$cross_compiling = xno
; then
12647 if test "$cross_compiling" = yes; then :
12648 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12649 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12650 as_fn_error $?
"cannot run test program while cross compiling
12651 See \`config.log' for more details" "$LINENO" 5; }
12653 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12654 /* end confdefs.h. */
12664 if ac_fn_c_try_run
"$LINENO"; then :
12665 have_multi_byte_nop
=yes
12667 have_multi_byte_nop
=no
12669 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
12670 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
12674 if test x
$have_multi_byte_nop = xyes
; then
12675 if test "$cross_compiling" = yes; then :
12676 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12677 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12678 as_fn_error $?
"cannot run test program while cross compiling
12679 See \`config.log' for more details" "$LINENO" 5; }
12681 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12682 /* end confdefs.h. */
12690 __attribute__ ((noinline, noclone))
12691 xxx (void (*f) (void))
12697 __attribute__ ((noinline, noclone))
12711 if ac_fn_c_try_run
"$LINENO"; then :
12716 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
12717 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
12721 if test x
$enable_cet = xno
-a x
$have_cet = xyes
; then
12722 as_fn_error $?
"Intel CET must be enabled on Intel CET enabled host" "$LINENO" 5
12726 # Enable CET in cross compiler if possible so that it will run on both
12727 # CET and non-CET hosts.
12730 if test x
$enable_cet = xyes
; then
12731 CET_HOST_FLAGS
="-fcf-protection"
12732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12733 $as_echo "yes" >&6; }
12735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12736 $as_echo "no" >&6; }
12738 CFLAGS
="$cet_save_CFLAGS"
12739 LDFLAGS
="$cet_save_LDFLAGS"
12741 case x
$enable_languages in
12750 # Test for __sync support.
12751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking __sync extensions" >&5
12752 $as_echo_n "checking __sync extensions... " >&6; }
12753 if ${libbacktrace_cv_sys_sync+:} false
; then :
12754 $as_echo_n "(cached) " >&6
12756 if test -n "${with_target_subdir}"; then
12758 hppa
*-*-hpux*) libbacktrace_cv_sys_sync
=no
;;
12759 *) libbacktrace_cv_sys_sync
=yes ;;
12762 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12763 /* end confdefs.h. */
12768 __sync_bool_compare_and_swap (&i, i, i);
12769 __sync_lock_test_and_set (&i, 1);
12770 __sync_lock_release (&i);
12775 if ac_fn_c_try_link
"$LINENO"; then :
12776 libbacktrace_cv_sys_sync
=yes
12778 libbacktrace_cv_sys_sync
=no
12780 rm -f core conftest.err conftest.
$ac_objext \
12781 conftest
$ac_exeext conftest.
$ac_ext
12784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libbacktrace_cv_sys_sync" >&5
12785 $as_echo "$libbacktrace_cv_sys_sync" >&6; }
12786 BACKTRACE_SUPPORTS_THREADS
=0
12787 if test "$libbacktrace_cv_sys_sync" = "yes"; then
12788 BACKTRACE_SUPPORTS_THREADS
=1
12790 $as_echo "#define HAVE_SYNC_FUNCTIONS 1" >>confdefs.h
12795 # Test for __atomic support.
12796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking __atomic extensions" >&5
12797 $as_echo_n "checking __atomic extensions... " >&6; }
12798 if ${libbacktrace_cv_sys_atomic+:} false
; then :
12799 $as_echo_n "(cached) " >&6
12801 if test -n "${with_target_subdir}"; then
12802 libbacktrace_cv_sys_atomic
=yes
12804 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12805 /* end confdefs.h. */
12810 __atomic_load_n (&i, __ATOMIC_ACQUIRE);
12811 __atomic_store_n (&i, 1, __ATOMIC_RELEASE);
12816 if ac_fn_c_try_link
"$LINENO"; then :
12817 libbacktrace_cv_sys_atomic
=yes
12819 libbacktrace_cv_sys_atomic
=no
12821 rm -f core conftest.err conftest.
$ac_objext \
12822 conftest
$ac_exeext conftest.
$ac_ext
12825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libbacktrace_cv_sys_atomic" >&5
12826 $as_echo "$libbacktrace_cv_sys_atomic" >&6; }
12827 if test "$libbacktrace_cv_sys_atomic" = "yes"; then
12829 $as_echo "#define HAVE_ATOMIC_FUNCTIONS 1" >>confdefs.h
12833 # The library needs to be able to read the executable itself. Compile
12834 # a file to determine the executable format. The awk script
12835 # filetype.awk prints out the file type.
12836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking output filetype" >&5
12837 $as_echo_n "checking output filetype... " >&6; }
12838 if ${libbacktrace_cv_sys_filetype+:} false
; then :
12839 $as_echo_n "(cached) " >&6
12842 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12843 /* end confdefs.h. */
12853 if ac_fn_c_try_compile
"$LINENO"; then :
12854 filetype
=`${AWK} -f $srcdir/filetype.awk conftest.$ac_objext`
12856 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12857 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12858 as_fn_error $?
"compiler failed
12859 See \`config.log' for more details" "$LINENO" 5; }
12861 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12862 libbacktrace_cv_sys_filetype
=$filetype
12864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libbacktrace_cv_sys_filetype" >&5
12865 $as_echo "$libbacktrace_cv_sys_filetype" >&6; }
12867 # Match the file type to decide what files to compile.
12869 backtrace_supports_data
=yes
12870 case "$libbacktrace_cv_sys_filetype" in
12871 elf
*) FORMAT_FILE
="elf.lo" ;;
12872 macho
) FORMAT_FILE
="macho.lo" ;;
12873 pecoff
) FORMAT_FILE
="pecoff.lo"
12874 backtrace_supports_data
=no
12876 xcoff
*) FORMAT_FILE
="xcoff.lo"
12877 backtrace_supports_data
=no
12879 *) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: could not determine output file type" >&5
12880 $as_echo "$as_me: WARNING: could not determine output file type" >&2;}
12881 FORMAT_FILE
="unknown.lo"
12882 backtrace_supported
=no
12889 case "$libbacktrace_cv_sys_filetype" in
12890 elf32
) elfsize
=32 ;;
12891 elf64
) elfsize
=64 ;;
12895 cat >>confdefs.h
<<_ACEOF
12896 #define BACKTRACE_ELF_SIZE $elfsize
12899 if test "$FORMAT_FILE" = "elf.lo"; then
12910 case "$libbacktrace_cv_sys_filetype" in
12911 xcoff32
) xcoffsize
=32 ;;
12912 xcoff64
) xcoffsize
=64 ;;
12913 *) xcoffsize
=unused
12916 cat >>confdefs.h
<<_ACEOF
12917 #define BACKTRACE_XCOFF_SIZE $xcoffsize
12921 BACKTRACE_SUPPORTED
=0
12922 if test "$backtrace_supported" = "yes"; then
12923 BACKTRACE_SUPPORTED
=1
12927 BACKTRACE_SUPPORTS_DATA
=0
12928 if test "$backtrace_supports_data" = "yes"; then
12929 BACKTRACE_SUPPORTS_DATA
=1
12935 inttype_headers
=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
12937 acx_cv_header_stdint
=stddef.h
12938 acx_cv_header_stdint_kind
="(already complete)"
12939 for i
in stdint.h
$inttype_headers; do
12940 unset ac_cv_type_uintptr_t
12941 unset ac_cv_type_uintmax_t
12942 unset ac_cv_type_int_least32_t
12943 unset ac_cv_type_int_fast32_t
12944 unset ac_cv_type_uint64_t
12945 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
12946 ac_fn_c_check_type
"$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
12949 if test "x$ac_cv_type_uintmax_t" = xyes
; then :
12950 acx_cv_header_stdint
=$i
12955 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
12958 if test "x$ac_cv_type_uintptr_t" = xyes
; then :
12961 acx_cv_header_stdint_kind
="(mostly complete)"
12964 ac_fn_c_check_type
"$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
12967 if test "x$ac_cv_type_int_least32_t" = xyes
; then :
12970 acx_cv_header_stdint_kind
="(mostly complete)"
12973 ac_fn_c_check_type
"$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
12976 if test "x$ac_cv_type_int_fast32_t" = xyes
; then :
12979 acx_cv_header_stdint_kind
="(mostly complete)"
12982 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
12985 if test "x$ac_cv_type_uint64_t" = xyes
; then :
12988 acx_cv_header_stdint_kind
="(lacks uint64_t)"
12993 if test "$acx_cv_header_stdint" = stddef.h
; then
12994 acx_cv_header_stdint_kind
="(lacks uintmax_t)"
12995 for i
in stdint.h
$inttype_headers; do
12996 unset ac_cv_type_uintptr_t
12997 unset ac_cv_type_uint32_t
12998 unset ac_cv_type_uint64_t
12999 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
13000 ac_fn_c_check_type
"$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
13003 if test "x$ac_cv_type_uint32_t" = xyes
; then :
13004 acx_cv_header_stdint
=$i
13009 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
13012 if test "x$ac_cv_type_uint64_t" = xyes
; then :
13016 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
13019 if test "x$ac_cv_type_uintptr_t" = xyes
; then :
13026 if test "$acx_cv_header_stdint" = stddef.h
; then
13027 acx_cv_header_stdint_kind
="(u_intXX_t style)"
13028 for i
in sys
/types.h
$inttype_headers; do
13029 unset ac_cv_type_u_int32_t
13030 unset ac_cv_type_u_int64_t
13031 $as_echo_n "looking for u_intXX_t types in $i, " >&6
13032 ac_fn_c_check_type
"$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
13035 if test "x$ac_cv_type_u_int32_t" = xyes
; then :
13036 acx_cv_header_stdint
=$i
13041 ac_fn_c_check_type
"$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
13044 if test "x$ac_cv_type_u_int64_t" = xyes
; then :
13051 if test "$acx_cv_header_stdint" = stddef.h
; then
13052 acx_cv_header_stdint_kind
="(using manual detection)"
13055 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t
=no
13056 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t
=no
13057 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t
=no
13058 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t
=no
13059 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t
=no
13061 # ----------------- Summarize what we found so far
13063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in gstdint.h" >&5
13064 $as_echo_n "checking what to include in gstdint.h... " >&6; }
13066 case `$as_basename -- gstdint.h ||
13067 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
13068 Xgstdint.h : 'X\(//\)$' \| \
13069 Xgstdint.h : 'X\(/\)' \| . 2>/dev/null ||
13070 $as_echo X/gstdint.h |
13071 sed '/^.*\/\([^/][^/]*\)\/*$/{
13084 stdint.h
) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
13085 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
13086 inttypes.h
) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
13087 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
13091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
13092 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
13094 # ----------------- done included file, check C basic types --------
13096 # Lacking an uintptr_t? Test size of void *
13097 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
13098 stddef.h
:* |
*:no
) # The cast to long int works around a bug in the HP C Compiler
13099 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13100 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13101 # This bug is HP SR number 8606223364.
13102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
13103 $as_echo_n "checking size of void *... " >&6; }
13104 if ${ac_cv_sizeof_void_p+:} false
; then :
13105 $as_echo_n "(cached) " >&6
13107 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
13110 if test "$ac_cv_type_void_p" = yes; then
13111 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13112 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13113 as_fn_error
77 "cannot compute sizeof (void *)
13114 See \`config.log' for more details" "$LINENO" 5; }
13116 ac_cv_sizeof_void_p
=0
13121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
13122 $as_echo "$ac_cv_sizeof_void_p" >&6; }
13126 cat >>confdefs.h
<<_ACEOF
13127 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
13133 # Lacking an uint64_t? Test size of long
13134 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
13135 stddef.h
:*:* |
*:no
:no
) # The cast to long int works around a bug in the HP C Compiler
13136 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13137 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13138 # This bug is HP SR number 8606223364.
13139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
13140 $as_echo_n "checking size of long... " >&6; }
13141 if ${ac_cv_sizeof_long+:} false
; then :
13142 $as_echo_n "(cached) " >&6
13144 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
13147 if test "$ac_cv_type_long" = yes; then
13148 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13149 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13150 as_fn_error
77 "cannot compute sizeof (long)
13151 See \`config.log' for more details" "$LINENO" 5; }
13153 ac_cv_sizeof_long
=0
13158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
13159 $as_echo "$ac_cv_sizeof_long" >&6; }
13163 cat >>confdefs.h
<<_ACEOF
13164 #define SIZEOF_LONG $ac_cv_sizeof_long
13170 if test $acx_cv_header_stdint = stddef.h
; then
13171 # Lacking a good header? Test size of everything and deduce all types.
13172 # The cast to long int works around a bug in the HP C Compiler
13173 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13174 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13175 # This bug is HP SR number 8606223364.
13176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
13177 $as_echo_n "checking size of int... " >&6; }
13178 if ${ac_cv_sizeof_int+:} false
; then :
13179 $as_echo_n "(cached) " >&6
13181 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
13184 if test "$ac_cv_type_int" = yes; then
13185 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13186 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13187 as_fn_error
77 "cannot compute sizeof (int)
13188 See \`config.log' for more details" "$LINENO" 5; }
13195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
13196 $as_echo "$ac_cv_sizeof_int" >&6; }
13200 cat >>confdefs.h
<<_ACEOF
13201 #define SIZEOF_INT $ac_cv_sizeof_int
13205 # The cast to long int works around a bug in the HP C Compiler
13206 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13207 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13208 # This bug is HP SR number 8606223364.
13209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
13210 $as_echo_n "checking size of short... " >&6; }
13211 if ${ac_cv_sizeof_short+:} false
; then :
13212 $as_echo_n "(cached) " >&6
13214 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
13217 if test "$ac_cv_type_short" = yes; then
13218 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13219 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13220 as_fn_error
77 "cannot compute sizeof (short)
13221 See \`config.log' for more details" "$LINENO" 5; }
13223 ac_cv_sizeof_short
=0
13228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
13229 $as_echo "$ac_cv_sizeof_short" >&6; }
13233 cat >>confdefs.h
<<_ACEOF
13234 #define SIZEOF_SHORT $ac_cv_sizeof_short
13238 # The cast to long int works around a bug in the HP C Compiler
13239 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13240 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13241 # This bug is HP SR number 8606223364.
13242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
13243 $as_echo_n "checking size of char... " >&6; }
13244 if ${ac_cv_sizeof_char+:} false
; then :
13245 $as_echo_n "(cached) " >&6
13247 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
13250 if test "$ac_cv_type_char" = yes; then
13251 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13252 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13253 as_fn_error
77 "cannot compute sizeof (char)
13254 See \`config.log' for more details" "$LINENO" 5; }
13256 ac_cv_sizeof_char
=0
13261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
13262 $as_echo "$ac_cv_sizeof_char" >&6; }
13266 cat >>confdefs.h
<<_ACEOF
13267 #define SIZEOF_CHAR $ac_cv_sizeof_char
13272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
13273 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
13274 case "$ac_cv_sizeof_char" in
13275 1) acx_cv_type_int8_t
=char
;;
13276 *) as_fn_error $?
"no 8-bit type, please report a bug" "$LINENO" 5
13278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
13279 $as_echo "$acx_cv_type_int8_t" >&6; }
13281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
13282 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
13283 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
13284 2:*) acx_cv_type_int16_t
=int
;;
13285 *:2) acx_cv_type_int16_t
=short
;;
13286 *) as_fn_error $?
"no 16-bit type, please report a bug" "$LINENO" 5
13288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
13289 $as_echo "$acx_cv_type_int16_t" >&6; }
13291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
13292 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
13293 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
13294 4:*) acx_cv_type_int32_t
=int
;;
13295 *:4) acx_cv_type_int32_t
=long
;;
13296 *) as_fn_error $?
"no 32-bit type, please report a bug" "$LINENO" 5
13298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
13299 $as_echo "$acx_cv_type_int32_t" >&6; }
13302 # These tests are here to make the output prettier
13304 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
13305 case "$ac_cv_sizeof_long" in
13306 8) acx_cv_type_int64_t
=long
;;
13308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
13309 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
13310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
13311 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
13314 # Now we can use the above types
13316 if test "$ac_cv_type_uintptr_t" != yes; then
13317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
13318 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
13319 case $ac_cv_sizeof_void_p in
13320 2) acx_cv_type_intptr_t
=int16_t
;;
13321 4) acx_cv_type_intptr_t
=int32_t
;;
13322 8) acx_cv_type_intptr_t
=int64_t
;;
13323 *) as_fn_error $?
"no equivalent for intptr_t, please report a bug" "$LINENO" 5
13325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
13326 $as_echo "$acx_cv_type_intptr_t" >&6; }
13329 # ----------------- done all checks, emit header -------------
13330 ac_config_commands
="$ac_config_commands gstdint.h"
13335 for ac_header
in sys
/mman.h
13337 ac_fn_c_check_header_mongrel
"$LINENO" "sys/mman.h" "ac_cv_header_sys_mman_h" "$ac_includes_default"
13338 if test "x$ac_cv_header_sys_mman_h" = xyes
; then :
13339 cat >>confdefs.h
<<_ACEOF
13340 #define HAVE_SYS_MMAN_H 1
13347 if test "$ac_cv_header_sys_mman_h" = "no"; then
13350 if test -n "${with_target_subdir}"; then
13351 # When built as a GCC target library, we can't do a link test. We
13352 # simply assume that if we have mman.h, we have mmap.
13356 # DJGPP has sys/man.h, but no mmap
13360 ac_fn_c_check_func
"$LINENO" "mmap" "ac_cv_func_mmap"
13361 if test "x$ac_cv_func_mmap" = xyes
; then :
13369 if test "$have_mmap" = "no"; then
13371 ALLOC_FILE
=alloc.lo
13373 VIEW_FILE
=mmapio.lo
13374 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13375 /* end confdefs.h. */
13377 #include <sys/mman.h>
13378 #if !defined(MAP_ANONYMOUS) && !defined(MAP_ANON)
13379 #error no MAP_ANONYMOUS
13383 if ac_fn_c_try_cpp
"$LINENO"; then :
13386 ALLOC_FILE
=alloc.lo
13388 rm -f conftest.err conftest.i conftest.
$ac_ext
13393 BACKTRACE_USES_MALLOC
=0
13394 if test "$ALLOC_FILE" = "alloc.lo"; then
13395 BACKTRACE_USES_MALLOC
=1
13399 # Check for dl_iterate_phdr.
13400 for ac_header
in link.h sys
/link.h
13402 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13403 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13404 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
13405 cat >>confdefs.h
<<_ACEOF
13406 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13413 if test "$ac_cv_header_link_h" = "no" -a "$ac_cv_header_sys_link_h" = "no"; then
13414 have_dl_iterate_phdr
=no
13416 if test -n "${with_target_subdir}"; then
13418 if test "$ac_cv_header_link_h" = "no"; then
13421 # When built as a GCC target library, we can't do a link test.
13422 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13423 /* end confdefs.h. */
13427 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13428 $EGREP "dl_iterate_phdr" >/dev
/null
2>&1; then :
13429 have_dl_iterate_phdr
=yes
13431 have_dl_iterate_phdr
=no
13436 ac_fn_c_check_func
"$LINENO" "dl_iterate_phdr" "ac_cv_func_dl_iterate_phdr"
13437 if test "x$ac_cv_func_dl_iterate_phdr" = xyes
; then :
13438 have_dl_iterate_phdr
=yes
13440 have_dl_iterate_phdr
=no
13445 if test "$have_dl_iterate_phdr" = "yes"; then
13447 $as_echo "#define HAVE_DL_ITERATE_PHDR 1" >>confdefs.h
13451 # Check for header file for Mach-O image functions.
13452 for ac_header
in mach-o
/dyld.h
13454 ac_fn_c_check_header_mongrel
"$LINENO" "mach-o/dyld.h" "ac_cv_header_mach_o_dyld_h" "$ac_includes_default"
13455 if test "x$ac_cv_header_mach_o_dyld_h" = xyes
; then :
13456 cat >>confdefs.h
<<_ACEOF
13457 #define HAVE_MACH_O_DYLD_H 1
13465 # Check for loadquery.
13466 for ac_header
in sys
/ldr.h
13468 ac_fn_c_check_header_mongrel
"$LINENO" "sys/ldr.h" "ac_cv_header_sys_ldr_h" "$ac_includes_default"
13469 if test "x$ac_cv_header_sys_ldr_h" = xyes
; then :
13470 cat >>confdefs.h
<<_ACEOF
13471 #define HAVE_SYS_LDR_H 1
13478 if test "$ac_cv_header_sys_ldr_h" = "no"; then
13481 if test -n "${with_target_subdir}"; then
13482 # When built as a GCC target library, we can't do a link test.
13483 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13484 /* end confdefs.h. */
13485 #include <sys/ldr.h>
13488 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13489 $EGREP "loadquery" >/dev
/null
2>&1; then :
13497 ac_fn_c_check_func
"$LINENO" "loadquery" "ac_cv_func_loadquery"
13498 if test "x$ac_cv_func_loadquery" = xyes
; then :
13506 if test "$have_loadquery" = "yes"; then
13508 $as_echo "#define HAVE_LOADQUERY 1" >>confdefs.h
13512 for ac_header
in windows.h
13514 ac_fn_c_check_header_mongrel
"$LINENO" "windows.h" "ac_cv_header_windows_h" "$ac_includes_default"
13515 if test "x$ac_cv_header_windows_h" = xyes
; then :
13516 cat >>confdefs.h
<<_ACEOF
13517 #define HAVE_WINDOWS_H 1
13525 # Check for the fcntl function.
13526 if test -n "${with_target_subdir}"; then
13528 *-*-mingw*) have_fcntl
=no
;;
13529 *) have_fcntl
=yes ;;
13532 ac_fn_c_check_func
"$LINENO" "fcntl" "ac_cv_func_fcntl"
13533 if test "x$ac_cv_func_fcntl" = xyes
; then :
13540 if test "$have_fcntl" = "yes"; then
13542 $as_echo "#define HAVE_FCNTL 1" >>confdefs.h
13546 ac_fn_c_check_decl
"$LINENO" "strnlen" "ac_cv_have_decl_strnlen" "$ac_includes_default"
13547 if test "x$ac_cv_have_decl_strnlen" = xyes
; then :
13553 cat >>confdefs.h
<<_ACEOF
13554 #define HAVE_DECL_STRNLEN $ac_have_decl
13556 ac_fn_c_check_decl
"$LINENO" "getpagesize" "ac_cv_have_decl_getpagesize" "$ac_includes_default"
13557 if test "x$ac_cv_have_decl_getpagesize" = xyes
; then :
13563 cat >>confdefs.h
<<_ACEOF
13564 #define HAVE_DECL_GETPAGESIZE $ac_have_decl
13567 for ac_func
in lstat readlink
13569 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13570 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
13571 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
13572 cat >>confdefs.h
<<_ACEOF
13573 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13580 # Check for getexecname function.
13581 if test -n "${with_target_subdir}"; then
13583 *-*-solaris2*) have_getexecname
=yes ;;
13584 *) have_getexecname
=no
;;
13587 ac_fn_c_check_func
"$LINENO" "getexecname" "ac_cv_func_getexecname"
13588 if test "x$ac_cv_func_getexecname" = xyes
; then :
13589 have_getexecname
=yes
13591 have_getexecname
=no
13595 if test "$have_getexecname" = "yes"; then
13597 $as_echo "#define HAVE_GETEXECNAME 1" >>confdefs.h
13601 # Check for _pgmptr variable, contains the executable filename on windows
13602 ac_fn_c_check_decl
"$LINENO" "_pgmptr" "ac_cv_have_decl__pgmptr" "$ac_includes_default"
13603 if test "x$ac_cv_have_decl__pgmptr" = xyes
; then :
13609 cat >>confdefs.h
<<_ACEOF
13610 #define HAVE_DECL__PGMPTR $ac_have_decl
13614 # Check for sysctl definitions.
13616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for KERN_PROC" >&5
13617 $as_echo_n "checking for KERN_PROC... " >&6; }
13618 if ${libbacktrace_cv_proc+:} false
; then :
13619 $as_echo_n "(cached) " >&6
13621 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13622 /* end confdefs.h. */
13624 #include <sys/types.h>
13625 #include <sys/sysctl.h>
13630 int mib0 = CTL_KERN; int mib1 = KERN_PROC; int mib2 = KERN_PROC_PATHNAME;
13635 if ac_fn_c_try_compile
"$LINENO"; then :
13636 libbacktrace_cv_proc
=yes
13638 libbacktrace_cv_proc
=no
13640 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libbacktrace_cv_proc" >&5
13643 $as_echo "$libbacktrace_cv_proc" >&6; }
13644 if test "$libbacktrace_cv_proc" = "yes"; then
13646 $as_echo "#define HAVE_KERN_PROC 1" >>confdefs.h
13650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for KERN_PROG_ARGS" >&5
13651 $as_echo_n "checking for KERN_PROG_ARGS... " >&6; }
13652 if ${libbacktrace_cv_procargs+:} false
; then :
13653 $as_echo_n "(cached) " >&6
13655 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13656 /* end confdefs.h. */
13658 #include <sys/types.h>
13659 #include <sys/sysctl.h>
13664 int mib0 = CTL_KERN; int mib1 = KERN_PROC_ARGS; int mib2 = KERN_PROC_PATHNAME;
13669 if ac_fn_c_try_compile
"$LINENO"; then :
13670 libbacktrace_cv_procargs
=yes
13672 libbacktrace_cv_procargs
=no
13674 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libbacktrace_cv_procargs" >&5
13677 $as_echo "$libbacktrace_cv_procargs" >&6; }
13678 if test "$libbacktrace_cv_procargs" = "yes"; then
13680 $as_echo "#define HAVE_KERN_PROC_ARGS 1" >>confdefs.h
13684 # Check for the clock_gettime function.
13685 for ac_func
in clock_gettime
13687 ac_fn_c_check_func
"$LINENO" "clock_gettime" "ac_cv_func_clock_gettime"
13688 if test "x$ac_cv_func_clock_gettime" = xyes
; then :
13689 cat >>confdefs.h
<<_ACEOF
13690 #define HAVE_CLOCK_GETTIME 1
13696 clock_gettime_link
=
13697 # At least for glibc, clock_gettime is in librt. But don't
13698 # pull that in if it still doesn't give us the function we want. This
13699 # test is copied from libgomp, and modified to not link in -lrt as
13700 # we're using this for test timing only.
13701 if test "$ac_cv_func_clock_gettime" = no
; then
13702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
13703 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
13704 if ${ac_cv_lib_rt_clock_gettime+:} false
; then :
13705 $as_echo_n "(cached) " >&6
13707 ac_check_lib_save_LIBS
=$LIBS
13709 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13710 /* end confdefs.h. */
13712 /* Override any GCC internal prototype to avoid an error.
13713 Use char because int might match the return type of a GCC
13714 builtin and then its argument prototype would still apply. */
13718 char clock_gettime ();
13722 return clock_gettime ();
13727 if ac_fn_c_try_link
"$LINENO"; then :
13728 ac_cv_lib_rt_clock_gettime
=yes
13730 ac_cv_lib_rt_clock_gettime
=no
13732 rm -f core conftest.err conftest.
$ac_objext \
13733 conftest
$ac_exeext conftest.
$ac_ext
13734 LIBS
=$ac_check_lib_save_LIBS
13736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
13737 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
13738 if test "x$ac_cv_lib_rt_clock_gettime" = xyes
; then :
13739 CLOCK_GETTIME_LINK
=-lrt
13741 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
13748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -pthread is supported" >&5
13749 $as_echo_n "checking whether -pthread is supported... " >&6; }
13750 if ${libgo_cv_lib_pthread+:} false
; then :
13751 $as_echo_n "(cached) " >&6
13753 CFLAGS_hold
=$CFLAGS
13754 CFLAGS
="$CFLAGS -pthread"
13755 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13756 /* end confdefs.h. */
13759 if ac_fn_c_try_compile
"$LINENO"; then :
13760 libgo_cv_lib_pthread
=yes
13762 libgo_cv_lib_pthread
=no
13764 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13765 CFLAGS
=$CFLAGS_hold
13767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_lib_pthread" >&5
13768 $as_echo "$libgo_cv_lib_pthread" >&6; }
13770 if test "$libgo_cv_lib_pthread" = yes; then
13771 PTHREAD_CFLAGS
=-pthread
13775 if test "$libgo_cv_lib_pthread" = yes; then
13777 HAVE_PTHREAD_FALSE
='#'
13779 HAVE_PTHREAD_TRUE
='#'
13780 HAVE_PTHREAD_FALSE
=
13784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -gdwarf-5 is supported" >&5
13785 $as_echo_n "checking whether -gdwarf-5 is supported... " >&6; }
13786 if ${libbacktrace_cv_lib_dwarf5+:} false
; then :
13787 $as_echo_n "(cached) " >&6
13789 CFLAGS_hold
=$CFLAGS
13790 CFLAGS
="$CFLAGS -gdwarf-5"
13791 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13792 /* end confdefs.h. */
13802 if ac_fn_c_try_link
"$LINENO"; then :
13803 libbacktrace_cv_lib_dwarf5
=yes
13805 libbacktrace_cv_lib_dwarf5
=no
13807 rm -f core conftest.err conftest.
$ac_objext \
13808 conftest
$ac_exeext conftest.
$ac_ext
13809 CFLAGS
=$CFLAGS_hold
13811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libbacktrace_cv_lib_dwarf5" >&5
13812 $as_echo "$libbacktrace_cv_lib_dwarf5" >&6; }
13813 if test "$libbacktrace_cv_lib_dwarf5" = yes; then
13815 HAVE_DWARF5_FALSE
='#'
13817 HAVE_DWARF5_TRUE
='#'
13822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compress in -lz" >&5
13823 $as_echo_n "checking for compress in -lz... " >&6; }
13824 if ${ac_cv_lib_z_compress+:} false
; then :
13825 $as_echo_n "(cached) " >&6
13827 ac_check_lib_save_LIBS
=$LIBS
13829 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13830 /* end confdefs.h. */
13832 /* Override any GCC internal prototype to avoid an error.
13833 Use char because int might match the return type of a GCC
13834 builtin and then its argument prototype would still apply. */
13842 return compress ();
13847 if ac_fn_c_try_link
"$LINENO"; then :
13848 ac_cv_lib_z_compress
=yes
13850 ac_cv_lib_z_compress
=no
13852 rm -f core conftest.err conftest.
$ac_objext \
13853 conftest
$ac_exeext conftest.
$ac_ext
13854 LIBS
=$ac_check_lib_save_LIBS
13856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_compress" >&5
13857 $as_echo "$ac_cv_lib_z_compress" >&6; }
13858 if test "x$ac_cv_lib_z_compress" = xyes
; then :
13860 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
13864 if test "$ac_cv_lib_z_compress" = yes; then
13866 HAVE_ZLIB_FALSE
='#'
13873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether --build-id is supported" >&5
13874 $as_echo_n "checking whether --build-id is supported... " >&6; }
13875 if ${libbacktrace_cv_ld_buildid+:} false
; then :
13876 $as_echo_n "(cached) " >&6
13878 LDFLAGS_hold
=$LDFLAGS
13879 LDFLAGS
="$LDFLAGS -Wl,--build-id"
13880 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13881 /* end confdefs.h. */
13891 if ac_fn_c_try_link
"$LINENO"; then :
13892 libbacktrace_cv_ld_buildid
=yes
13894 libbacktrace_cv_ld_buildid
=no
13896 rm -f core conftest.err conftest.
$ac_objext \
13897 conftest
$ac_exeext conftest.
$ac_ext
13898 LDFLAGS
=$LDFLAGS_hold
13900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libbacktrace_cv_ld_buildid" >&5
13901 $as_echo "$libbacktrace_cv_ld_buildid" >&6; }
13902 if test "$libbacktrace_cv_ld_buildid" = yes; then
13904 HAVE_BUILDID_FALSE
='#'
13906 HAVE_BUILDID_TRUE
='#'
13907 HAVE_BUILDID_FALSE
=
13911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether --compress-debug-sections is supported" >&5
13912 $as_echo_n "checking whether --compress-debug-sections is supported... " >&6; }
13913 if ${libgo_cv_ld_compress+:} false
; then :
13914 $as_echo_n "(cached) " >&6
13916 LDFLAGS_hold
=$LDFLAGS
13917 LDFLAGS
="$LDFLAGS -Wl,--compress-debug-sections=zlib-gnu"
13918 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13919 /* end confdefs.h. */
13929 if ac_fn_c_try_link
"$LINENO"; then :
13930 libgo_cv_ld_compress
=yes
13932 libgo_cv_ld_compress
=no
13934 rm -f core conftest.err conftest.
$ac_objext \
13935 conftest
$ac_exeext conftest.
$ac_ext
13936 LDFLAGS
=$LDFLAGS_hold
13938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_ld_compress" >&5
13939 $as_echo "$libgo_cv_ld_compress" >&6; }
13940 if test "$libgo_cv_ld_compress" = yes; then
13941 HAVE_COMPRESSED_DEBUG_TRUE
=
13942 HAVE_COMPRESSED_DEBUG_FALSE
='#'
13944 HAVE_COMPRESSED_DEBUG_TRUE
='#'
13945 HAVE_COMPRESSED_DEBUG_FALSE
=
13949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ZSTD_compress in -lzstd" >&5
13950 $as_echo_n "checking for ZSTD_compress in -lzstd... " >&6; }
13951 if ${ac_cv_lib_zstd_ZSTD_compress+:} false
; then :
13952 $as_echo_n "(cached) " >&6
13954 ac_check_lib_save_LIBS
=$LIBS
13955 LIBS
="-lzstd $LIBS"
13956 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13957 /* end confdefs.h. */
13959 /* Override any GCC internal prototype to avoid an error.
13960 Use char because int might match the return type of a GCC
13961 builtin and then its argument prototype would still apply. */
13965 char ZSTD_compress ();
13969 return ZSTD_compress ();
13974 if ac_fn_c_try_link
"$LINENO"; then :
13975 ac_cv_lib_zstd_ZSTD_compress
=yes
13977 ac_cv_lib_zstd_ZSTD_compress
=no
13979 rm -f core conftest.err conftest.
$ac_objext \
13980 conftest
$ac_exeext conftest.
$ac_ext
13981 LIBS
=$ac_check_lib_save_LIBS
13983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_zstd_ZSTD_compress" >&5
13984 $as_echo "$ac_cv_lib_zstd_ZSTD_compress" >&6; }
13985 if test "x$ac_cv_lib_zstd_ZSTD_compress" = xyes
; then :
13987 $as_echo "#define HAVE_ZSTD 1" >>confdefs.h
13991 if test "$ac_cv_lib_zstd_ZSTD_compress" = yes; then
13993 HAVE_ZSTD_FALSE
='#'
14000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether --compress-debug-sections=zstd is supported" >&5
14001 $as_echo_n "checking whether --compress-debug-sections=zstd is supported... " >&6; }
14002 if ${libgo_cv_ld_compress_zstd+:} false
; then :
14003 $as_echo_n "(cached) " >&6
14005 LDFLAGS_hold
=$LDFLAGS
14006 LDFLAGS
="$LDFLAGS -Wl,--compress-debug-sections=zstd"
14007 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14008 /* end confdefs.h. */
14018 if ac_fn_c_try_link
"$LINENO"; then :
14019 libgo_cv_ld_compress_zstd
=yes
14021 libgo_cv_ld_compress_zstd
=no
14023 rm -f core conftest.err conftest.
$ac_objext \
14024 conftest
$ac_exeext conftest.
$ac_ext
14025 LDFLAGS
=$LDFLAGS_hold
14027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_ld_compress_zstd" >&5
14028 $as_echo "$libgo_cv_ld_compress_zstd" >&6; }
14029 if test "$libgo_cv_ld_compress_zstd" = yes; then
14030 HAVE_COMPRESSED_DEBUG_ZSTD_TRUE
=
14031 HAVE_COMPRESSED_DEBUG_ZSTD_FALSE
='#'
14033 HAVE_COMPRESSED_DEBUG_ZSTD_TRUE
='#'
14034 HAVE_COMPRESSED_DEBUG_ZSTD_FALSE
=
14039 # Extract the first word of "objcopy", so it can be a program name with args.
14040 set dummy objcopy
; ac_word
=$2
14041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14042 $as_echo_n "checking for $ac_word... " >&6; }
14043 if ${ac_cv_prog_OBJCOPY+:} false
; then :
14044 $as_echo_n "(cached) " >&6
14046 if test -n "$OBJCOPY"; then
14047 ac_cv_prog_OBJCOPY
="$OBJCOPY" # Let the user override the test.
14049 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14050 for as_dir
in $PATH
14053 test -z "$as_dir" && as_dir
=.
14054 for ac_exec_ext
in '' $ac_executable_extensions; do
14055 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14056 ac_cv_prog_OBJCOPY
="objcopy"
14057 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14066 OBJCOPY
=$ac_cv_prog_OBJCOPY
14067 if test -n "$OBJCOPY"; then
14068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCOPY" >&5
14069 $as_echo "$OBJCOPY" >&6; }
14071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14072 $as_echo "no" >&6; }
14076 # Extract the first word of "readelf", so it can be a program name with args.
14077 set dummy readelf
; ac_word
=$2
14078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14079 $as_echo_n "checking for $ac_word... " >&6; }
14080 if ${ac_cv_prog_READELF+:} false
; then :
14081 $as_echo_n "(cached) " >&6
14083 if test -n "$READELF"; then
14084 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
14086 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14087 for as_dir
in $PATH
14090 test -z "$as_dir" && as_dir
=.
14091 for ac_exec_ext
in '' $ac_executable_extensions; do
14092 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14093 ac_cv_prog_READELF
="readelf"
14094 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14103 READELF
=$ac_cv_prog_READELF
14104 if test -n "$READELF"; then
14105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
14106 $as_echo "$READELF" >&6; }
14108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14109 $as_echo "no" >&6; }
14113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether objcopy supports debuglink" >&5
14114 $as_echo_n "checking whether objcopy supports debuglink... " >&6; }
14115 if ${libbacktrace_cv_objcopy_debuglink+:} false
; then :
14116 $as_echo_n "(cached) " >&6
14118 if test -n "${with_target_subdir}"; then
14119 libbacktrace_cv_objcopy_debuglink
=no
14120 elif ! test -n "${OBJCOPY}"; then
14121 libbacktrace_cv_objcopy_debuglink
=no
14122 elif ${OBJCOPY} --help |
grep add-gnu-debuglink
>/dev
/null
2>&1; then
14123 libbacktrace_cv_objcopy_debuglink
=yes
14125 libbacktrace_cv_objcopy_debuglink
=no
14128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libbacktrace_cv_objcopy_debuglink" >&5
14129 $as_echo "$libbacktrace_cv_objcopy_debuglink" >&6; }
14130 if test "$libbacktrace_cv_objcopy_debuglink" = yes; then
14131 HAVE_OBJCOPY_DEBUGLINK_TRUE
=
14132 HAVE_OBJCOPY_DEBUGLINK_FALSE
='#'
14134 HAVE_OBJCOPY_DEBUGLINK_TRUE
='#'
14135 HAVE_OBJCOPY_DEBUGLINK_FALSE
=
14140 # Extract the first word of "dsymutil", so it can be a program name with args.
14141 set dummy dsymutil
; ac_word
=$2
14142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14143 $as_echo_n "checking for $ac_word... " >&6; }
14144 if ${ac_cv_prog_DSYMUTIL+:} false
; then :
14145 $as_echo_n "(cached) " >&6
14147 if test -n "$DSYMUTIL"; then
14148 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
14150 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14151 for as_dir
in $PATH
14154 test -z "$as_dir" && as_dir
=.
14155 for ac_exec_ext
in '' $ac_executable_extensions; do
14156 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14157 ac_cv_prog_DSYMUTIL
="dsymutil"
14158 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14167 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
14168 if test -n "$DSYMUTIL"; then
14169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
14170 $as_echo "$DSYMUTIL" >&6; }
14172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14173 $as_echo "no" >&6; }
14177 if test -n "${DSYMUTIL}" -a "$FORMAT_FILE" = "macho.lo"; then
14179 USE_DSYMUTIL_FALSE
='#'
14181 USE_DSYMUTIL_TRUE
='#'
14182 USE_DSYMUTIL_FALSE
=
14187 # Extract the first word of "nm", so it can be a program name with args.
14188 set dummy nm
; ac_word
=$2
14189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14190 $as_echo_n "checking for $ac_word... " >&6; }
14191 if ${ac_cv_prog_NM+:} false
; then :
14192 $as_echo_n "(cached) " >&6
14194 if test -n "$NM"; then
14195 ac_cv_prog_NM
="$NM" # Let the user override the test.
14197 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14198 for as_dir
in $PATH
14201 test -z "$as_dir" && as_dir
=.
14202 for ac_exec_ext
in '' $ac_executable_extensions; do
14203 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14205 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14215 if test -n "$NM"; then
14216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
14217 $as_echo "$NM" >&6; }
14219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14220 $as_echo "no" >&6; }
14225 # Extract the first word of "xz", so it can be a program name with args.
14226 set dummy xz
; ac_word
=$2
14227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14228 $as_echo_n "checking for $ac_word... " >&6; }
14229 if ${ac_cv_prog_XZ+:} false
; then :
14230 $as_echo_n "(cached) " >&6
14232 if test -n "$XZ"; then
14233 ac_cv_prog_XZ
="$XZ" # Let the user override the test.
14235 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14236 for as_dir
in $PATH
14239 test -z "$as_dir" && as_dir
=.
14240 for ac_exec_ext
in '' $ac_executable_extensions; do
14241 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14243 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14253 if test -n "$XZ"; then
14254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XZ" >&5
14255 $as_echo "$XZ" >&6; }
14257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14258 $as_echo "no" >&6; }
14262 if test "$XZ" != ""; then
14270 # Extract the first word of "comm", so it can be a program name with args.
14271 set dummy
comm; ac_word
=$2
14272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14273 $as_echo_n "checking for $ac_word... " >&6; }
14274 if ${ac_cv_prog_COMM+:} false
; then :
14275 $as_echo_n "(cached) " >&6
14277 if test -n "$COMM"; then
14278 ac_cv_prog_COMM
="$COMM" # Let the user override the test.
14280 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14281 for as_dir
in $PATH
14284 test -z "$as_dir" && as_dir
=.
14285 for ac_exec_ext
in '' $ac_executable_extensions; do
14286 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14287 ac_cv_prog_COMM
="comm"
14288 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14297 COMM
=$ac_cv_prog_COMM
14298 if test -n "$COMM"; then
14299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $COMM" >&5
14300 $as_echo "$COMM" >&6; }
14302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14303 $as_echo "no" >&6; }
14307 if test "$COMM" != ""; then
14309 HAVE_COMM_FALSE
='#'
14316 if test "${with_target_subdir}" = "" -a "$FORMAT_FILE" = "elf.lo" -a "${OBJCOPY}" != "" -a "${NM}" != "" -a "${XZ}" != "" -a "${COMM}" != ""; then
14317 HAVE_MINIDEBUG_TRUE
=
14318 HAVE_MINIDEBUG_FALSE
='#'
14320 HAVE_MINIDEBUG_TRUE
='#'
14321 HAVE_MINIDEBUG_FALSE
=
14325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lzma_auto_decoder in -llzma" >&5
14326 $as_echo_n "checking for lzma_auto_decoder in -llzma... " >&6; }
14327 if ${ac_cv_lib_lzma_lzma_auto_decoder+:} false
; then :
14328 $as_echo_n "(cached) " >&6
14330 ac_check_lib_save_LIBS
=$LIBS
14331 LIBS
="-llzma $LIBS"
14332 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14333 /* end confdefs.h. */
14335 /* Override any GCC internal prototype to avoid an error.
14336 Use char because int might match the return type of a GCC
14337 builtin and then its argument prototype would still apply. */
14341 char lzma_auto_decoder ();
14345 return lzma_auto_decoder ();
14350 if ac_fn_c_try_link
"$LINENO"; then :
14351 ac_cv_lib_lzma_lzma_auto_decoder
=yes
14353 ac_cv_lib_lzma_lzma_auto_decoder
=no
14355 rm -f core conftest.err conftest.
$ac_objext \
14356 conftest
$ac_exeext conftest.
$ac_ext
14357 LIBS
=$ac_check_lib_save_LIBS
14359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lzma_lzma_auto_decoder" >&5
14360 $as_echo "$ac_cv_lib_lzma_lzma_auto_decoder" >&6; }
14361 if test "x$ac_cv_lib_lzma_lzma_auto_decoder" = xyes
; then :
14363 $as_echo "#define HAVE_LIBLZMA 1" >>confdefs.h
14367 if test "$ac_cv_lib_lzma_lzma_auto_decoder" = yes; then
14369 HAVE_LIBLZMA_FALSE
='#'
14371 HAVE_LIBLZMA_TRUE
='#'
14372 HAVE_LIBLZMA_FALSE
=
14376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether tests can run" >&5
14377 $as_echo_n "checking whether tests can run... " >&6; }
14378 if ${libbacktrace_cv_sys_native+:} false
; then :
14379 $as_echo_n "(cached) " >&6
14381 if test "$cross_compiling" = yes; then :
14382 libbacktrace_cv_sys_native
=no
14384 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14385 /* end confdefs.h. */
14395 if ac_fn_c_try_run
"$LINENO"; then :
14396 libbacktrace_cv_sys_native
=yes
14398 libbacktrace_cv_sys_native
=no
14400 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
14401 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libbacktrace_cv_sys_native" >&5
14406 $as_echo "$libbacktrace_cv_sys_native" >&6; }
14407 if test "$libbacktrace_cv_sys_native" = "yes"; then
14416 if test "${multilib}" = "yes"; then
14417 multilib_arg
="--enable-multilib"
14422 ac_config_files
="$ac_config_files Makefile backtrace-supported.h"
14424 ac_config_files
="$ac_config_files install-debuginfo-for-buildid.sh"
14427 # We need multilib support, but only if configuring for the target.
14428 ac_config_commands
="$ac_config_commands default"
14431 cat >confcache
<<\_ACEOF
14432 # This file is a shell script that caches the results of configure
14433 # tests run on this system so they can be shared between configure
14434 # scripts and configure runs, see configure's option --config-cache.
14435 # It is not useful on other systems. If it contains results you don't
14436 # want to keep, you may remove or edit it.
14438 # config.status only pays attention to the cache file if you give it
14439 # the --recheck option to rerun configure.
14441 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14442 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14443 # following values.
14447 # The following way of writing the cache mishandles newlines in values,
14448 # but we know of no workaround that is simple, portable, and efficient.
14449 # So, we kill variables containing newlines.
14450 # Ultrix sh set writes to stderr and can't be redirected directly,
14451 # and sets the high bit in the cache file unless we assign to the vars.
14453 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14454 eval ac_val
=\$
$ac_var
14458 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14459 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14462 _ | IFS | as_nl
) ;; #(
14463 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
14464 *) { eval $ac_var=; unset $ac_var;} ;;
14470 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14471 *${as_nl}ac_space
=\
*)
14472 # `set' does not quote correctly, so add quotes: double-quote
14473 # substitution turns \\\\ into \\, and sed turns \\ into \.
14476 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14479 # `set' quotes correctly as required by POSIX, so do not add quotes.
14480 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14489 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14491 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14493 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
14494 if test -w "$cache_file"; then
14495 if test "x$cache_file" != "x/dev/null"; then
14496 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14497 $as_echo "$as_me: updating cache $cache_file" >&6;}
14498 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
14499 cat confcache
>"$cache_file"
14501 case $cache_file in #(
14503 mv -f confcache
"$cache_file"$$
&&
14504 mv -f "$cache_file"$$
"$cache_file" ;; #(
14506 mv -f confcache
"$cache_file" ;;
14511 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14512 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14517 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
14518 # Let make expand exec_prefix.
14519 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
14521 DEFS
=-DHAVE_CONFIG_H
14526 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
14527 # 1. Remove the extension, and $U if already installed.
14528 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
14529 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
14530 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14531 # will be set to the directory where LIBOBJS objects are built.
14532 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14533 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
14535 LIBOBJS
=$ac_libobjs
14537 LTLIBOBJS
=$ac_ltlibobjs
14540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
14541 $as_echo_n "checking that generated files are newer than configure... " >&6; }
14542 if test -n "$am_sleep_pid"; then
14543 # Hide warnings about reused PIDs.
14544 wait $am_sleep_pid 2>/dev
/null
14546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
14547 $as_echo "done" >&6; }
14548 if test -n "$EXEEXT"; then
14550 am__EXEEXT_FALSE
='#'
14552 am__EXEEXT_TRUE
='#'
14556 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
14557 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
14558 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14560 if test -z "${HAVE_DWZ_TRUE}" && test -z "${HAVE_DWZ_FALSE}"; then
14561 as_fn_error $?
"conditional \"HAVE_DWZ\" was never defined.
14562 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14564 if test -z "${ENABLE_DARWIN_AT_RPATH_TRUE}" && test -z "${ENABLE_DARWIN_AT_RPATH_FALSE}"; then
14565 as_fn_error $?
"conditional \"ENABLE_DARWIN_AT_RPATH\" was never defined.
14566 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14568 if test -z "${HAVE_ELF_TRUE}" && test -z "${HAVE_ELF_FALSE}"; then
14569 as_fn_error $?
"conditional \"HAVE_ELF\" was never defined.
14570 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14572 if test -z "${HAVE_PTHREAD_TRUE}" && test -z "${HAVE_PTHREAD_FALSE}"; then
14573 as_fn_error $?
"conditional \"HAVE_PTHREAD\" was never defined.
14574 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14576 if test -z "${HAVE_DWARF5_TRUE}" && test -z "${HAVE_DWARF5_FALSE}"; then
14577 as_fn_error $?
"conditional \"HAVE_DWARF5\" was never defined.
14578 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14580 if test -z "${HAVE_ZLIB_TRUE}" && test -z "${HAVE_ZLIB_FALSE}"; then
14581 as_fn_error $?
"conditional \"HAVE_ZLIB\" was never defined.
14582 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14584 if test -z "${HAVE_BUILDID_TRUE}" && test -z "${HAVE_BUILDID_FALSE}"; then
14585 as_fn_error $?
"conditional \"HAVE_BUILDID\" was never defined.
14586 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14588 if test -z "${HAVE_COMPRESSED_DEBUG_TRUE}" && test -z "${HAVE_COMPRESSED_DEBUG_FALSE}"; then
14589 as_fn_error $?
"conditional \"HAVE_COMPRESSED_DEBUG\" was never defined.
14590 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14592 if test -z "${HAVE_ZSTD_TRUE}" && test -z "${HAVE_ZSTD_FALSE}"; then
14593 as_fn_error $?
"conditional \"HAVE_ZSTD\" was never defined.
14594 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14596 if test -z "${HAVE_COMPRESSED_DEBUG_ZSTD_TRUE}" && test -z "${HAVE_COMPRESSED_DEBUG_ZSTD_FALSE}"; then
14597 as_fn_error $?
"conditional \"HAVE_COMPRESSED_DEBUG_ZSTD\" was never defined.
14598 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14600 if test -z "${HAVE_OBJCOPY_DEBUGLINK_TRUE}" && test -z "${HAVE_OBJCOPY_DEBUGLINK_FALSE}"; then
14601 as_fn_error $?
"conditional \"HAVE_OBJCOPY_DEBUGLINK\" was never defined.
14602 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14604 if test -z "${USE_DSYMUTIL_TRUE}" && test -z "${USE_DSYMUTIL_FALSE}"; then
14605 as_fn_error $?
"conditional \"USE_DSYMUTIL\" was never defined.
14606 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14608 if test -z "${HAVE_XZ_TRUE}" && test -z "${HAVE_XZ_FALSE}"; then
14609 as_fn_error $?
"conditional \"HAVE_XZ\" was never defined.
14610 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14612 if test -z "${HAVE_COMM_TRUE}" && test -z "${HAVE_COMM_FALSE}"; then
14613 as_fn_error $?
"conditional \"HAVE_COMM\" was never defined.
14614 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14616 if test -z "${HAVE_MINIDEBUG_TRUE}" && test -z "${HAVE_MINIDEBUG_FALSE}"; then
14617 as_fn_error $?
"conditional \"HAVE_MINIDEBUG\" was never defined.
14618 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14620 if test -z "${HAVE_LIBLZMA_TRUE}" && test -z "${HAVE_LIBLZMA_FALSE}"; then
14621 as_fn_error $?
"conditional \"HAVE_LIBLZMA\" was never defined.
14622 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14624 if test -z "${NATIVE_TRUE}" && test -z "${NATIVE_FALSE}"; then
14625 as_fn_error $?
"conditional \"NATIVE\" was never defined.
14626 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14629 : "${CONFIG_STATUS=./config.status}"
14631 ac_clean_files_save
=$ac_clean_files
14632 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
14633 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14634 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14636 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14638 # Generated by $as_me.
14639 # Run this file to recreate the current configuration.
14640 # Compiler output produced by configure, useful for debugging
14641 # configure, is in config.log if it exists.
14644 ac_cs_recheck=false
14647 SHELL=\${CONFIG_SHELL-$SHELL}
14650 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
14651 ## -------------------- ##
14652 ## M4sh Initialization. ##
14653 ## -------------------- ##
14655 # Be more Bourne compatible
14656 DUALCASE
=1; export DUALCASE
# for MKS sh
14657 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
14660 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14661 # is contrary to our usage. Disable this feature.
14662 alias -g '${1+"$@"}'='"$@"'
14663 setopt NO_GLOB_SUBST
14665 case `(set -o) 2>/dev/null` in #(
14677 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14678 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14679 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14680 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14681 # Prefer a ksh shell builtin over an external printf program on Solaris,
14682 # but without wasting forks for bash or zsh.
14683 if test -z "$BASH_VERSION$ZSH_VERSION" \
14684 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14685 as_echo='print
-r --'
14686 as_echo_n='print
-rn --'
14687 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14688 as_echo='printf %s
\n'
14689 as_echo_n='printf %s
'
14691 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14692 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
14693 as_echo_n='/usr
/ucb
/echo -n'
14695 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14696 as_echo_n_body='eval
14700 expr "X$arg" : "X\\(.*\\)$as_nl";
14701 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14703 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
14705 export as_echo_n_body
14706 as_echo_n='sh
-c $as_echo_n_body as_echo
'
14708 export as_echo_body
14709 as_echo='sh
-c $as_echo_body as_echo
'
14712 # The user is always right.
14713 if test "${PATH_SEPARATOR+set}" != set; then
14715 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14716 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14723 # We need space, tab and new line, in precisely that order. Quoting is
14724 # there to prevent editors from complaining about space-tab.
14725 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14726 # splitting by setting IFS to empty value.)
14729 # Find who we are. Look in the path if we contain no directory separator.
14732 *[\\/]* ) as_myself=$0 ;;
14733 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14734 for as_dir in $PATH
14737 test -z "$as_dir" && as_dir=.
14738 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14744 # We did not find ourselves, most probably we were run as `sh COMMAND'
14745 # in which case we are not to be found in the path.
14746 if test "x$as_myself" = x
; then
14749 if test ! -f "$as_myself"; then
14750 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14754 # Unset variables that we do not need and which cause bugs (e.g. in
14755 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14756 # suppresses any "Segmentation fault" message there. '((' could
14757 # trigger a bug in pdksh 5.2.14.
14758 for as_var
in BASH_ENV ENV MAIL MAILPATH
14759 do eval test x\
${$as_var+set} = xset \
14760 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
14773 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
14776 # as_fn_error STATUS ERROR [LINENO LOG_FD]
14777 # ----------------------------------------
14778 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14779 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14780 # script with STATUS, using 1 if that was 0.
14783 as_status
=$1; test $as_status -eq 0 && as_status
=1
14785 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
14786 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
14788 $as_echo "$as_me: error: $2" >&2
14789 as_fn_exit
$as_status
14793 # as_fn_set_status STATUS
14794 # -----------------------
14795 # Set $? to STATUS, without forking.
14796 as_fn_set_status
()
14799 } # as_fn_set_status
14801 # as_fn_exit STATUS
14802 # -----------------
14803 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14807 as_fn_set_status
$1
14813 # Portably unset VAR.
14816 { eval $1=; unset $1;}
14818 as_unset
=as_fn_unset
14819 # as_fn_append VAR VALUE
14820 # ----------------------
14821 # Append the text in VALUE to the end of the definition contained in VAR. Take
14822 # advantage of any shell optimizations that allow amortized linear growth over
14823 # repeated appends, instead of the typical quadratic growth present in naive
14825 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
14826 eval 'as_fn_append ()
14837 # as_fn_arith ARG...
14838 # ------------------
14839 # Perform arithmetic evaluation on the ARGs, and store the result in the
14840 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14841 # must be portable across $(()) and expr.
14842 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
14843 eval 'as_fn_arith ()
14850 as_val
=`expr "$@" || test $? -eq 1`
14855 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
14856 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
14862 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14863 as_basename
=basename
14868 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
14874 as_me
=`$as_basename -- "$0" ||
14875 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14876 X"$0" : 'X\(//\)$' \| \
14877 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14879 sed '/^.*\/\([^/][^/]*\)\/*$/{
14893 # Avoid depending upon Character Ranges.
14894 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
14895 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14896 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
14897 as_cr_digits
='0123456789'
14898 as_cr_alnum
=$as_cr_Letters$as_cr_digits
14900 ECHO_C
= ECHO_N
= ECHO_T
=
14901 case `echo -n x` in #(((((
14903 case `echo 'xy\c'` in
14904 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
14906 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
14913 rm -f conf$$ conf$$.exe conf$$.
file
14914 if test -d conf$$.dir
; then
14915 rm -f conf$$.dir
/conf$$.
file
14918 mkdir conf$$.dir
2>/dev
/null
14920 if (echo >conf$$.
file) 2>/dev
/null
; then
14921 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
14923 # ... but there are two gotchas:
14924 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14925 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14926 # In both cases, we have to default to `cp -pR'.
14927 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
14929 elif ln conf$$.
file conf$$
2>/dev
/null
; then
14937 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
14938 rmdir conf$$.dir
2>/dev
/null
14943 # Create "$as_dir" as a directory, including parents if necessary.
14948 -*) as_dir
=.
/$as_dir;;
14950 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
14954 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14955 *) as_qdir
=$as_dir;;
14957 as_dirs
="'$as_qdir' $as_dirs"
14958 as_dir
=`$as_dirname -- "$as_dir" ||
14959 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14960 X"$as_dir" : 'X\(//\)[^/]' \| \
14961 X"$as_dir" : 'X\(//\)$' \| \
14962 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14963 $as_echo X"$as_dir" |
14964 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14968 /^X\(\/\/\)[^/].*/{
14981 test -d "$as_dir" && break
14983 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
14984 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
14988 if mkdir
-p .
2>/dev
/null
; then
14989 as_mkdir_p
='mkdir -p "$as_dir"'
14991 test -d .
/-p && rmdir .
/-p
14996 # as_fn_executable_p FILE
14997 # -----------------------
14998 # Test if FILE is an executable regular file.
14999 as_fn_executable_p
()
15001 test -f "$1" && test -x "$1"
15002 } # as_fn_executable_p
15003 as_test_x
='test -x'
15004 as_executable_p
=as_fn_executable_p
15006 # Sed expression to map a string onto a valid CPP name.
15007 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15009 # Sed expression to map a string onto a valid variable name.
15010 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15014 ## ----------------------------------- ##
15015 ## Main body of $CONFIG_STATUS script. ##
15016 ## ----------------------------------- ##
15018 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
15020 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15021 # Save the log message, to keep $0 and so on meaningful, and to
15022 # report actual input values of CONFIG_FILES etc. instead of their
15023 # values after options handling.
15025 This file was extended by package-unused $as_me version-unused, which was
15026 generated by GNU Autoconf 2.69. Invocation command line was
15028 CONFIG_FILES = $CONFIG_FILES
15029 CONFIG_HEADERS = $CONFIG_HEADERS
15030 CONFIG_LINKS = $CONFIG_LINKS
15031 CONFIG_COMMANDS = $CONFIG_COMMANDS
15034 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15039 case $ac_config_files in *"
15040 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
15043 case $ac_config_headers in *"
15044 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
15048 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15049 # Files that config.status was made for.
15050 config_files="$ac_config_files"
15051 config_headers="$ac_config_headers"
15052 config_commands="$ac_config_commands"
15056 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15058 \`$as_me' instantiates files and other configuration actions
15059 from templates according to the current configuration. Unless the files
15060 and actions are specified as TAGs, all are instantiated by default.
15062 Usage: $0 [OPTION]... [TAG]...
15064 -h, --help print this help, then exit
15065 -V, --version print version number and configuration settings, then exit
15066 --config print configuration, then exit
15067 -q, --quiet, --silent
15068 do not print progress messages
15069 -d, --debug don't remove temporary files
15070 --recheck update $as_me by reconfiguring in the same conditions
15071 --file=FILE[:TEMPLATE]
15072 instantiate the configuration file FILE
15073 --header=FILE[:TEMPLATE]
15074 instantiate the configuration header FILE
15076 Configuration files:
15079 Configuration headers:
15082 Configuration commands:
15085 Report bugs to the package provider."
15088 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15089 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15091 package-unused config.status version-unused
15092 configured by $0, generated by GNU Autoconf 2.69,
15093 with options \\"\$ac_cs_config\\"
15095 Copyright (C) 2012 Free Software Foundation, Inc.
15096 This config.status script is free software; the Free Software Foundation
15097 gives unlimited permission to copy, distribute and modify it."
15104 test -n "\$AWK" || AWK=awk
15107 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15108 # The default lists apply if the user does not specify any file.
15114 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15115 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
15119 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15131 # Handling of the options.
15132 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15134 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
15135 $as_echo "$ac_cs_version"; exit ;;
15136 --config |
--confi |
--conf |
--con |
--co |
--c )
15137 $as_echo "$ac_cs_config"; exit ;;
15138 --debug |
--debu |
--deb |
--de |
--d |
-d )
15140 --file |
--fil |
--fi |
--f )
15143 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15144 '') as_fn_error $?
"missing file argument" ;;
15146 as_fn_append CONFIG_FILES
" '$ac_optarg'"
15147 ac_need_defaults
=false
;;
15148 --header |
--heade |
--head |
--hea )
15151 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15153 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
15154 ac_need_defaults
=false
;;
15156 # Conflict between --help and --header
15157 as_fn_error $?
"ambiguous option: \`$1'
15158 Try \`$0 --help' for more information.";;
15159 --help |
--hel |
-h )
15160 $as_echo "$ac_cs_usage"; exit ;;
15161 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
15162 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15165 # This is an error.
15166 -*) as_fn_error $?
"unrecognized option: \`$1'
15167 Try \`$0 --help' for more information." ;;
15169 *) as_fn_append ac_config_targets
" $1"
15170 ac_need_defaults
=false
;;
15176 ac_configure_extra_args
=
15178 if $ac_cs_silent; then
15180 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15184 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15185 if \$ac_cs_recheck; then
15186 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15188 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15189 CONFIG_SHELL='$SHELL'
15190 export CONFIG_SHELL
15195 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15199 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15200 ## Running $as_me. ##
15206 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15214 with_multisubdir="$with_multisubdir"
15215 with_multisrctop="$with_multisrctop"
15216 with_target_subdir="$with_target_subdir"
15217 ac_configure_args="${multilib_arg} ${ac_configure_args}"
15218 multi_basedir="$multi_basedir"
15219 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
15222 GFORTRAN="$GFORTRAN"
15226 # The HP-UX ksh and POSIX shell print the target directory to stdout
15227 # if CDPATH is set.
15228 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15230 sed_quote_subst='$sed_quote_subst'
15231 double_quote_subst='$double_quote_subst'
15232 delay_variable_subst='$delay_variable_subst'
15233 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
15234 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
15235 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
15236 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
15237 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
15238 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
15239 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15240 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
15241 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
15242 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
15243 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
15244 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
15245 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
15246 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
15247 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
15248 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
15249 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
15250 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
15251 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
15252 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
15253 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
15254 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
15255 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
15256 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
15257 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
15258 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
15259 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15260 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
15261 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
15262 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
15263 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15264 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
15265 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
15266 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
15267 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
15268 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
15269 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
15270 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15271 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15272 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
15273 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
15274 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
15275 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
15276 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
15277 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
15278 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
15279 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
15280 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15281 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"`'
15282 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15283 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
15284 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
15285 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
15286 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
15287 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
15288 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
15289 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
15290 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
15291 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
15292 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
15293 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
15294 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
15295 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
15296 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
15297 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15298 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
15299 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
15300 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
15301 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
15302 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
15303 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
15304 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15305 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
15306 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15307 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
15308 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15309 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
15310 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15311 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15312 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
15313 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
15314 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15315 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15316 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
15317 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
15318 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
15319 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
15320 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
15321 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
15322 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
15323 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
15324 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
15325 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
15326 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
15327 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
15328 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
15329 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
15330 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
15331 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
15332 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
15333 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
15334 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
15335 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
15336 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
15337 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
15338 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
15339 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
15340 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15341 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15342 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
15343 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
15344 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
15345 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
15346 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
15347 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
15348 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
15349 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
15350 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
15351 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
15352 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
15355 LTCFLAGS='$LTCFLAGS'
15356 compiler='$compiler_DEFAULT'
15358 # A function that is used when there is no print builtin or printf.
15359 func_fallback_echo ()
15361 eval 'cat <<_LTECHO_EOF
15366 # Quote evaled strings.
15380 deplibs_check_method \
15389 lt_cv_sys_global_symbol_pipe \
15390 lt_cv_sys_global_symbol_to_cdecl \
15391 lt_cv_sys_global_symbol_to_c_name_address \
15392 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15393 lt_prog_compiler_no_builtin_flag \
15394 lt_prog_compiler_wl \
15395 lt_prog_compiler_pic \
15396 lt_prog_compiler_static \
15397 lt_cv_prog_compiler_c_o \
15405 export_dynamic_flag_spec \
15406 whole_archive_flag_spec \
15407 compiler_needs_object \
15409 allow_undefined_flag \
15410 no_undefined_flag \
15411 hardcode_libdir_flag_spec \
15412 hardcode_libdir_flag_spec_ld \
15413 hardcode_libdir_separator \
15418 variables_saved_for_relink \
15420 library_names_spec \
15422 install_override_mode \
15426 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15427 *[\\\\\\\`\\"\\\$]*)
15428 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
15431 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15436 # Double-quote double-evaled strings.
15437 for var in reload_cmds \
15438 old_postinstall_cmds \
15439 old_postuninstall_cmds \
15441 extract_expsyms_cmds \
15442 old_archive_from_new_cmds \
15443 old_archive_from_expsyms_cmds \
15445 archive_expsym_cmds \
15447 module_expsym_cmds \
15448 export_symbols_cmds \
15451 postuninstall_cmds \
15453 sys_lib_search_path_spec \
15454 sys_lib_dlsearch_path_spec; do
15455 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15456 *[\\\\\\\`\\"\\\$]*)
15457 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
15460 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15465 ac_aux_dir='$ac_aux_dir'
15466 xsi_shell='$xsi_shell'
15467 lt_shell_append='$lt_shell_append'
15469 # See if we are running on zsh, and set the options which allow our
15470 # commands through without removal of \ escapes INIT.
15471 if test -n "\${ZSH_VERSION+set}" ; then
15472 setopt NO_GLOB_SUBST
15478 TIMESTAMP='$TIMESTAMP'
15487 acx_cv_header_stdint="$acx_cv_header_stdint"
15488 acx_cv_type_int8_t="$acx_cv_type_int8_t"
15489 acx_cv_type_int16_t="$acx_cv_type_int16_t"
15490 acx_cv_type_int32_t="$acx_cv_type_int32_t"
15491 acx_cv_type_int64_t="$acx_cv_type_int64_t"
15492 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
15493 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
15494 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
15495 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
15496 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
15497 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
15498 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
15499 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
15500 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
15503 # Variables needed in config.status (file generation) which aren't already
15504 # passed by autoconf.
15510 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15512 # Handling of arguments.
15513 for ac_config_target
in $ac_config_targets
15515 case $ac_config_target in
15516 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
15517 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
15518 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
15519 "gstdint.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS gstdint.h" ;;
15520 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
15521 "backtrace-supported.h") CONFIG_FILES
="$CONFIG_FILES backtrace-supported.h" ;;
15522 "install-debuginfo-for-buildid.sh") CONFIG_FILES
="$CONFIG_FILES install-debuginfo-for-buildid.sh" ;;
15523 "default") CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
15525 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15530 # If the user did not use the arguments to specify the items to instantiate,
15531 # then the envvar interface is used. Set only those that are not.
15532 # We use the long form for the default assignment because of an extremely
15533 # bizarre bug on SunOS 4.1.3.
15534 if $ac_need_defaults; then
15535 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15536 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
15537 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
15540 # Have a temporary directory for convenience. Make it in the build tree
15541 # simply because there is no reason against having it here, and in addition,
15542 # creating and moving files from /tmp can sometimes cause problems.
15543 # Hook for its removal unless debugging.
15544 # Note that there is a small window in which the directory will not be cleaned:
15545 # after its creation but before its name has been assigned to `$tmp'.
15549 trap 'exit_status=$?
15550 : "${ac_tmp:=$tmp}"
15551 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15553 trap 'as_fn_exit 1' 1 2 13 15
15555 # Create a (secure) tmp directory for tmp files.
15558 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15562 tmp
=.
/conf$$
-$RANDOM
15563 (umask 077 && mkdir
"$tmp")
15564 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
15567 # Set up the scripts for CONFIG_FILES section.
15568 # No need to generate them if there are no CONFIG_FILES.
15569 # This happens for instance with `./config.status config.h'.
15570 if test -n "$CONFIG_FILES"; then
15573 ac_cr
=`echo X | tr X '\015'`
15574 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15575 # But we know of no other shell where ac_cr would be empty at this
15576 # point, so we can use a bashism as a fallback.
15577 if test "x$ac_cr" = x
; then
15578 eval ac_cr
=\$
\'\\r
\'
15580 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15581 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15584 ac_cs_awk_cr
=$ac_cr
15587 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15592 echo "cat >conf$$subs.awk <<_ACEOF" &&
15593 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15595 } >conf$$subs.sh ||
15596 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15597 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15599 for ac_last_try in false false false false false :; do
15600 . ./conf$$subs.sh ||
15601 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15603 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
15604 if test $ac_delim_n = $ac_delim_num; then
15606 elif $ac_last_try; then
15607 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15609 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15612 rm -f conf$$subs.sh
15614 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15615 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
15619 s/^/S["/; s
/!.
*/"]=/
15629 s/\(.\{148\}\)..*/\1/
15631 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
15636 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15643 s/\(.\{148\}\)..*/\1/
15645 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
15649 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15654 ' <conf$$subs.awk | sed '
15659 ' >>$CONFIG_STATUS || ac_write_fail=1
15660 rm -f conf$$subs.awk
15661 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15663 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
15664 for (key in S) S_is_set[key] = 1
15670 nfields = split(line, field, "@
")
15672 len = length(field[1])
15673 for (i = 2; i < nfields; i++) {
15675 keylen = length(key)
15676 if (S_is_set[key]) {
15678 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15679 len += length(value) + length(field[++i])
15690 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15691 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15692 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
15695 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
15696 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
15699 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15700 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
15701 # trailing colons and then remove the whole line if VPATH becomes empty
15702 # (actually we leave an empty line to preserve line numbers).
15703 if test "x
$srcdir" = x.; then
15704 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
15722 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15723 fi # test -n "$CONFIG_FILES"
15725 # Set up the scripts for CONFIG_HEADERS section.
15726 # No need to generate them if there are no CONFIG_HEADERS.
15727 # This happens for instance with `./config.status Makefile'.
15728 if test -n "$CONFIG_HEADERS"; then
15729 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
15733 # Transform confdefs.h into an awk script `defines.awk', embedded as
15734 # here-document in config.status, that substitutes the proper values into
15735 # config.h.in to produce config.h.
15737 # Create a delimiter string that does not exist in confdefs.h, to ease
15738 # handling of long lines.
15740 for ac_last_try in false false :; do
15741 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
15742 if test -z "$ac_tt"; then
15744 elif $ac_last_try; then
15745 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
15747 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15751 # For the awk script, D is an array of macro values keyed by name,
15752 # likewise P contains macro parameters if any. Preserve backslash
15753 # newline sequences.
15755 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15757 s/.\{148\}/&'"$ac_delim"'/g
15760 s/^[ ]*#[ ]*define[ ][ ]*/ /
15767 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
15769 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
15773 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
15774 D["\
1"]=" \
3\\\\\\n
"\\/p
15776 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
15781 s/.\{148\}/&'"$ac_delim"'/g
15786 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
15789 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
15791 ' <confdefs.h | sed '
15792 s/'"$ac_delim"'/"\\\
15793 "/g' >>$CONFIG_STATUS || ac_write_fail=1
15795 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15796 for (key in D) D_is_set[key] = 1
15799 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
15801 split(line, arg, " ")
15802 if (arg[1] == "#") {
15806 defundef
= substr
(arg
[1], 2)
15809 split(mac1
, mac2
, "(") #)
15811 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
15812 if (D_is_set
[macro
]) {
15813 # Preserve the white space surrounding the "#".
15814 print prefix
"define", macro P
[macro
] D
[macro
]
15817 # Replace #undef with comments. This is necessary, for example,
15818 # in the case of _POSIX_SOURCE, which is predefined and required
15819 # on some systems where configure will not decide to define it.
15820 if (defundef
== "undef") {
15821 print
"/*", prefix defundef
, macro
, "*/"
15829 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15830 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
15831 fi # test -n "$CONFIG_HEADERS"
15834 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
15839 :[FHLC
]) ac_mode
=$ac_tag; continue;;
15841 case $ac_mode$ac_tag in
15843 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
15844 :[FH
]-) ac_tag
=-:-;;
15845 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
15862 -) ac_f
="$ac_tmp/stdin";;
15863 *) # Look for the file first in the build tree, then in the source tree
15864 # (if the path is not absolute). The absolute path cannot be DOS-style,
15865 # because $ac_f cannot contain `:'.
15869 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
15871 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15873 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15874 as_fn_append ac_file_inputs
" '$ac_f'"
15877 # Let's still pretend it is `configure' which instantiates (i.e., don't
15878 # use $as_me), people would be surprised to read:
15879 # /* config.h. Generated by config.status. */
15880 configure_input
='Generated from '`
15881 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15883 if test x
"$ac_file" != x-
; then
15884 configure_input
="$ac_file. $configure_input"
15885 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15886 $as_echo "$as_me: creating $ac_file" >&6;}
15888 # Neutralize special characters interpreted by sed in replacement strings.
15889 case $configure_input in #(
15890 *\
&* |
*\|
* |
*\\* )
15891 ac_sed_conf_input
=`$as_echo "$configure_input" |
15892 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15893 *) ac_sed_conf_input
=$configure_input;;
15897 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
15898 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
15903 ac_dir
=`$as_dirname -- "$ac_file" ||
15904 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15905 X"$ac_file" : 'X\(//\)[^/]' \| \
15906 X"$ac_file" : 'X\(//\)$' \| \
15907 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15908 $as_echo X"$ac_file" |
15909 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15913 /^X\(\/\/\)[^/].*/{
15926 as_dir
="$ac_dir"; as_fn_mkdir_p
15930 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
15932 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15933 # A ".." for each directory in $ac_dir_suffix.
15934 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15935 case $ac_top_builddir_sub in
15936 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
15937 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
15940 ac_abs_top_builddir
=$ac_pwd
15941 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
15942 # for backward compatibility:
15943 ac_top_builddir
=$ac_top_build_prefix
15946 .
) # We are building in place.
15948 ac_top_srcdir
=$ac_top_builddir_sub
15949 ac_abs_top_srcdir
=$ac_pwd ;;
15950 [\\/]* | ?
:[\\/]* ) # Absolute name.
15951 ac_srcdir
=$srcdir$ac_dir_suffix;
15952 ac_top_srcdir
=$srcdir
15953 ac_abs_top_srcdir
=$srcdir ;;
15954 *) # Relative name.
15955 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
15956 ac_top_srcdir
=$ac_top_build_prefix$srcdir
15957 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
15959 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
15969 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
15970 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
15972 ac_MKDIR_P
=$MKDIR_P
15974 [\\/$
]* | ?
:[\\/]* ) ;;
15975 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
15979 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15980 # If the template does not know about datarootdir, expand it.
15981 # FIXME: This hack should be removed a few years after 2.60.
15982 ac_datarootdir_hack
=; ac_datarootdir_seen
=
15993 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15994 *datarootdir
*) ac_datarootdir_seen
=yes;;
15995 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
15996 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15997 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15999 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16000 ac_datarootdir_hack='
16001 s&@datadir@&$datadir&g
16002 s&@docdir@&$docdir&g
16003 s&@infodir@&$infodir&g
16004 s&@localedir@&$localedir&g
16005 s&@mandir@&$mandir&g
16006 s&\\\${datarootdir}&$datarootdir&g' ;;
16010 # Neutralize VPATH when `$srcdir' = `.'.
16011 # Shell code in configure.ac might set extrasub.
16012 # FIXME: do we really want to maintain this feature?
16013 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16014 ac_sed_extra="$ac_vpsub
16017 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16019 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
16020 s|@configure_input@|
$ac_sed_conf_input|
;t t
16021 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
16022 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
16023 s
&@srcdir@
&$ac_srcdir&;t t
16024 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
16025 s
&@top_srcdir@
&$ac_top_srcdir&;t t
16026 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
16027 s
&@builddir@
&$ac_builddir&;t t
16028 s
&@abs_builddir@
&$ac_abs_builddir&;t t
16029 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
16030 s
&@INSTALL@
&$ac_INSTALL&;t t
16031 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
16032 $ac_datarootdir_hack
16034 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
16035 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
16037 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16038 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
16039 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
16040 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
16041 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
16042 which seems to be undefined. Please make sure it is defined" >&5
16043 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
16044 which seems to be undefined. Please make sure it is defined" >&2;}
16046 rm -f "$ac_tmp/stdin"
16048 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16049 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16051 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16057 if test x"$ac_file" != x-; then
16059 $as_echo "/* $configure_input */" \
16060 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16061 } >"$ac_tmp/config.h" \
16062 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16063 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16064 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16065 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16068 mv "$ac_tmp/config.h" "$ac_file" \
16069 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16072 $as_echo "/* $configure_input */" \
16073 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16074 || as_fn_error $? "could not create -" "$LINENO" 5
16076 # Compute "$ac_file"'s index
in $config_headers.
16079 for _am_header
in $config_headers :; do
16080 case $_am_header in
16081 $_am_arg |
$_am_arg:* )
16084 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
16087 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
16088 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16089 X"$_am_arg" : 'X\(//\)[^/]' \| \
16090 X"$_am_arg" : 'X\(//\)$' \| \
16091 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
16092 $as_echo X"$_am_arg" |
16093 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16097 /^X\(\/\/\)[^/].*/{
16109 s/.*/./; q'`/stamp-h
$_am_stamp_count
16112 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16113 $as_echo "$as_me: executing $ac_file commands" >&6;}
16118 case $ac_file$ac_mode in
16120 # Only add multilib support code if we just rebuilt the top-level
16122 case " $CONFIG_FILES " in
16124 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
16129 # See if we are running on zsh, and set the options which allow our
16130 # commands through without removal of \ escapes.
16131 if test -n "${ZSH_VERSION+set}" ; then
16132 setopt NO_GLOB_SUBST
16135 cfgfile
="${ofile}T"
16136 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
16139 cat <<_LT_EOF >> "$cfgfile"
16142 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
16143 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
16144 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16145 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16147 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16148 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
16149 # Written by Gordon Matzigkeit, 1996
16151 # This file is part of GNU Libtool.
16153 # GNU Libtool is free software; you can redistribute it and/or
16154 # modify it under the terms of the GNU General Public License as
16155 # published by the Free Software Foundation; either version 2 of
16156 # the License, or (at your option) any later version.
16158 # As a special exception to the GNU General Public License,
16159 # if you distribute this file as part of a program or library that
16160 # is built using GNU Libtool, you may include this file under the
16161 # same distribution terms that you use for the rest of that program.
16163 # GNU Libtool is distributed in the hope that it will be useful,
16164 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16165 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16166 # GNU General Public License for more details.
16168 # You should have received a copy of the GNU General Public License
16169 # along with GNU Libtool; see the file COPYING. If not, a copy
16170 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
16171 # obtained by writing to the Free Software Foundation, Inc.,
16172 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16175 # The names of the tagged configurations supported by this script.
16178 # ### BEGIN LIBTOOL CONFIG
16180 # Which release of libtool.m4 was used?
16181 macro_version=$macro_version
16182 macro_revision=$macro_revision
16184 # Whether or not to build shared libraries.
16185 build_libtool_libs=$enable_shared
16187 # Whether or not to build static libraries.
16188 build_old_libs=$enable_static
16190 # What type of objects to build.
16193 # Whether or not to optimize for fast installation.
16194 fast_install=$enable_fast_install
16196 # Shell to use when invoking shell scripts.
16199 # An echo program that protects backslashes.
16203 host_alias=$host_alias
16207 # The build system.
16208 build_alias=$build_alias
16212 # A sed program that does not truncate output.
16215 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
16216 Xsed="\$SED -e 1s/^X//"
16218 # A grep program that handles long lines.
16224 # A literal string matcher.
16227 # A BSD- or MS-compatible name lister.
16230 # Whether we need soft or hard links.
16233 # What is the maximum length of a command?
16234 max_cmd_len=$max_cmd_len
16236 # Object file suffix (normally "o").
16239 # Executable file suffix (normally "").
16242 # whether the shell understands "unset".
16245 # turn spaces into newlines.
16248 # turn newlines into spaces.
16251 # An object symbol dumper.
16252 OBJDUMP=$lt_OBJDUMP
16254 # Method to check whether dependent libraries are shared objects.
16255 deplibs_check_method=$lt_deplibs_check_method
16257 # Command to use when deplibs_check_method == "file_magic".
16258 file_magic_cmd=$lt_file_magic_cmd
16262 AR_FLAGS=$lt_AR_FLAGS
16264 # A symbol stripping program.
16267 # Commands used to install an old-style archive.
16269 old_postinstall_cmds=$lt_old_postinstall_cmds
16270 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16272 # Whether to use a lock for old archive extraction.
16273 lock_old_archive_extraction=$lock_old_archive_extraction
16278 # LTCC compiler flags.
16279 LTCFLAGS=$lt_CFLAGS
16281 # Take the output of nm and produce a listing of raw symbols and C names.
16282 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16284 # Transform the output of nm in a proper C declaration.
16285 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16287 # Transform the output of nm in a C name address pair.
16288 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16290 # Transform the output of nm in a C name address pair when lib prefix is needed.
16291 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16293 # The name of the directory that contains temporary libtool files.
16296 # Used to examine libraries when file_magic_cmd begins with "file".
16297 MAGIC_CMD=$MAGIC_CMD
16299 # Must we lock files when doing compilation?
16300 need_locks=$lt_need_locks
16302 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16303 DSYMUTIL=$lt_DSYMUTIL
16305 # Tool to change global to local symbols on Mac OS X.
16308 # Tool to manipulate fat objects and archives on Mac OS X.
16311 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
16314 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
16315 OTOOL64=$lt_OTOOL64
16317 # Old archive suffix (normally "a").
16320 # Shared library suffix (normally ".so").
16321 shrext_cmds=$lt_shrext_cmds
16323 # The commands to extract the exported symbol list from a shared archive.
16324 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16326 # Variables whose values should be saved in libtool wrapper scripts and
16327 # restored at link time.
16328 variables_saved_for_relink=$lt_variables_saved_for_relink
16330 # Do we need the "lib" prefix for modules?
16331 need_lib_prefix=$need_lib_prefix
16333 # Do we need a version for libraries?
16334 need_version=$need_version
16336 # Library versioning type.
16337 version_type=$version_type
16339 # Shared library runtime path variable.
16340 runpath_var=$runpath_var
16342 # Shared library path variable.
16343 shlibpath_var=$shlibpath_var
16345 # Is shlibpath searched before the hard-coded library search path?
16346 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16348 # Format of library name prefix.
16349 libname_spec=$lt_libname_spec
16351 # List of archive names. First name is the real one, the rest are links.
16352 # The last name is the one that the linker finds with -lNAME
16353 library_names_spec=$lt_library_names_spec
16355 # The coded name of the library, if different from the real name.
16356 soname_spec=$lt_soname_spec
16358 # Permission mode override for installation of shared libraries.
16359 install_override_mode=$lt_install_override_mode
16361 # Command to use after installation of a shared archive.
16362 postinstall_cmds=$lt_postinstall_cmds
16364 # Command to use after uninstallation of a shared archive.
16365 postuninstall_cmds=$lt_postuninstall_cmds
16367 # Commands used to finish a libtool library installation in a directory.
16368 finish_cmds=$lt_finish_cmds
16370 # As "finish_cmds", except a single script fragment to be evaled but
16372 finish_eval=$lt_finish_eval
16374 # Whether we should hardcode library paths into libraries.
16375 hardcode_into_libs=$hardcode_into_libs
16377 # Compile-time system search path for libraries.
16378 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16380 # Run-time system search path for libraries.
16381 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16383 # Whether dlopen is supported.
16384 dlopen_support=$enable_dlopen
16386 # Whether dlopen of programs is supported.
16387 dlopen_self=$enable_dlopen_self
16389 # Whether dlopen of statically linked programs is supported.
16390 dlopen_self_static=$enable_dlopen_self_static
16392 # Commands to strip libraries.
16393 old_striplib=$lt_old_striplib
16394 striplib=$lt_striplib
16397 # The linker used to build libraries.
16400 # How to create reloadable object files.
16401 reload_flag=$lt_reload_flag
16402 reload_cmds=$lt_reload_cmds
16404 # Commands used to build an old-style archive.
16405 old_archive_cmds=$lt_old_archive_cmds
16407 # A language specific compiler.
16410 # Is the compiler the GNU compiler?
16413 # Compiler flag to turn off builtin functions.
16414 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16416 # How to pass a linker flag through the compiler.
16417 wl=$lt_lt_prog_compiler_wl
16419 # Additional compiler flags for building library objects.
16420 pic_flag=$lt_lt_prog_compiler_pic
16422 # Compiler flag to prevent dynamic linking.
16423 link_static_flag=$lt_lt_prog_compiler_static
16425 # Does compiler simultaneously support -c and -o options?
16426 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
16428 # Whether or not to add -lc for building shared libraries.
16429 build_libtool_need_lc=$archive_cmds_need_lc
16431 # Whether or not to disallow shared libs when runtime libs are static.
16432 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
16434 # Compiler flag to allow reflexive dlopens.
16435 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
16437 # Compiler flag to generate shared objects directly from archives.
16438 whole_archive_flag_spec=$lt_whole_archive_flag_spec
16440 # Whether the compiler copes with passing no objects directly.
16441 compiler_needs_object=$lt_compiler_needs_object
16443 # Create an old-style archive from a shared archive.
16444 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
16446 # Create a temporary old-style archive to link instead of a shared archive.
16447 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
16449 # Commands used to build a shared archive.
16450 archive_cmds=$lt_archive_cmds
16451 archive_expsym_cmds=$lt_archive_expsym_cmds
16453 # Commands used to build a loadable module if different from building
16454 # a shared archive.
16455 module_cmds=$lt_module_cmds
16456 module_expsym_cmds=$lt_module_expsym_cmds
16458 # Whether we are building with GNU ld or not.
16459 with_gnu_ld=$lt_with_gnu_ld
16461 # Flag that allows shared libraries with undefined symbols to be built.
16462 allow_undefined_flag=$lt_allow_undefined_flag
16464 # Flag that enforces no undefined symbols.
16465 no_undefined_flag=$lt_no_undefined_flag
16467 # Flag to hardcode \$libdir into a binary during linking.
16468 # This must work even if \$libdir does not exist
16469 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16471 # If ld is used when linking, flag to hardcode \$libdir into a binary
16472 # during linking. This must work even if \$libdir does not exist.
16473 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
16475 # Whether we need a single "-rpath" flag with a separated argument.
16476 hardcode_libdir_separator=$lt_hardcode_libdir_separator
16478 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16479 # DIR into the resulting binary.
16480 hardcode_direct=$hardcode_direct
16482 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16483 # DIR into the resulting binary and the resulting library dependency is
16484 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
16485 # library is relocated.
16486 hardcode_direct_absolute=$hardcode_direct_absolute
16488 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
16489 # into the resulting binary.
16490 hardcode_minus_L=$hardcode_minus_L
16492 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
16493 # into the resulting binary.
16494 hardcode_shlibpath_var=$hardcode_shlibpath_var
16496 # Set to "yes" if building a shared library automatically hardcodes DIR
16497 # into the library and all subsequent libraries and executables linked
16499 hardcode_automatic=$hardcode_automatic
16501 # Set to yes if linker adds runtime paths of dependent libraries
16502 # to runtime path list.
16503 inherit_rpath=$inherit_rpath
16505 # Whether libtool must link a program against all its dependency libraries.
16506 link_all_deplibs=$link_all_deplibs
16508 # Fix the shell variable \$srcfile for the compiler.
16509 fix_srcfile_path=$lt_fix_srcfile_path
16511 # Set to "yes" if exported symbols are required.
16512 always_export_symbols=$always_export_symbols
16514 # The commands to list exported symbols.
16515 export_symbols_cmds=$lt_export_symbols_cmds
16517 # Symbols that should not be listed in the preloaded symbols.
16518 exclude_expsyms=$lt_exclude_expsyms
16520 # Symbols that must always be exported.
16521 include_expsyms=$lt_include_expsyms
16523 # Commands necessary for linking programs (against libraries) with templates.
16524 prelink_cmds=$lt_prelink_cmds
16526 # Specify filename containing input files.
16527 file_list_spec=$lt_file_list_spec
16529 # How to hardcode a shared library path into an executable.
16530 hardcode_action=$hardcode_action
16532 # ### END LIBTOOL CONFIG
16538 cat <<\_LT_EOF
>> "$cfgfile"
16539 # AIX sometimes has problems with the GCC collect2 program. For some
16540 # reason, if we set the COLLECT_NAMES environment variable, the problems
16541 # vanish in a puff of smoke.
16542 if test "X${COLLECT_NAMES+set}" != Xset
; then
16544 export COLLECT_NAMES
16551 ltmain
="$ac_aux_dir/ltmain.sh"
16554 # We use sed instead of cat because bash on DJGPP gets confused if
16555 # if finds mixed CR/LF and LF-only lines. Since sed operates in
16556 # text mode, it properly converts lines to CR/LF. This bash problem
16557 # is reportedly fixed, but why not run on old versions too?
16558 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
16559 ||
(rm -f "$cfgfile"; exit 1)
16563 cat << \_LT_EOF
>> "$cfgfile"
16565 # func_dirname file append nondir_replacement
16566 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
16567 # otherwise set result to NONDIR_REPLACEMENT.
16571 */*) func_dirname_result
="${1%/*}${2}" ;;
16572 * ) func_dirname_result
="${3}" ;;
16576 # func_basename file
16579 func_basename_result
="${1##*/}"
16582 # func_dirname_and_basename file append nondir_replacement
16583 # perform func_basename and func_dirname in a single function
16585 # dirname: Compute the dirname of FILE. If nonempty,
16586 # add APPEND to the result, otherwise set result
16587 # to NONDIR_REPLACEMENT.
16588 # value returned in "$func_dirname_result"
16589 # basename: Compute filename of FILE.
16590 # value retuned in "$func_basename_result"
16591 # Implementation must be kept synchronized with func_dirname
16592 # and func_basename. For efficiency, we do not delegate to
16593 # those functions but instead duplicate the functionality here.
16594 func_dirname_and_basename
()
16597 */*) func_dirname_result
="${1%/*}${2}" ;;
16598 * ) func_dirname_result
="${3}" ;;
16600 func_basename_result
="${1##*/}"
16603 # func_stripname prefix suffix name
16604 # strip PREFIX and SUFFIX off of NAME.
16605 # PREFIX and SUFFIX must not contain globbing or regex special
16606 # characters, hashes, percent signs, but SUFFIX may contain a leading
16607 # dot (in which case that matches only a dot).
16610 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
16611 # positional parameters, so assign one to ordinary parameter first.
16612 func_stripname_result
=${3}
16613 func_stripname_result
=${func_stripname_result#"${1}"}
16614 func_stripname_result
=${func_stripname_result%"${2}"}
16620 func_opt_split_opt
=${1%%=*}
16621 func_opt_split_arg
=${1#*=}
16628 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
16629 *) func_lo2o_result
=${1} ;;
16633 # func_xform libobj-or-source
16636 func_xform_result
=${1%.*}.lo
16639 # func_arith arithmetic-term...
16642 func_arith_result
=$
(( $
* ))
16646 # STRING may not start with a hyphen.
16649 func_len_result
=${#1}
16654 *) # Bourne compatible functions.
16655 cat << \_LT_EOF
>> "$cfgfile"
16657 # func_dirname file append nondir_replacement
16658 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
16659 # otherwise set result to NONDIR_REPLACEMENT.
16662 # Extract subdirectory from the argument.
16663 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
16664 if test "X$func_dirname_result" = "X${1}"; then
16665 func_dirname_result
="${3}"
16667 func_dirname_result
="$func_dirname_result${2}"
16671 # func_basename file
16674 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
16678 # func_stripname prefix suffix name
16679 # strip PREFIX and SUFFIX off of NAME.
16680 # PREFIX and SUFFIX must not contain globbing or regex special
16681 # characters, hashes, percent signs, but SUFFIX may contain a leading
16682 # dot (in which case that matches only a dot).
16683 # func_strip_suffix prefix name
16687 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
16688 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
16693 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
16694 my_sed_long_arg
='1s/^-[^=]*=//'
16699 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
16700 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
16706 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
16709 # func_xform libobj-or-source
16712 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
16715 # func_arith arithmetic-term...
16718 func_arith_result
=`expr "$@"`
16722 # STRING may not start with a hyphen.
16725 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
16731 case $lt_shell_append in
16733 cat << \_LT_EOF
>> "$cfgfile"
16735 # func_append var value
16736 # Append VALUE to the end of shell variable VAR.
16744 cat << \_LT_EOF
>> "$cfgfile"
16746 # func_append var value
16747 # Append VALUE to the end of shell variable VAR.
16758 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
16759 ||
(rm -f "$cfgfile"; exit 1)
16761 mv -f "$cfgfile" "$ofile" ||
16762 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16767 if test "$GCC" = yes; then
16768 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
16770 echo "/* generated for $CC */" > tmp-stdint.h
16773 sed 's/^ *//' >> tmp-stdint.h
<<EOF
16775 #ifndef GCC_GENERATED_STDINT_H
16776 #define GCC_GENERATED_STDINT_H 1
16778 #include <sys/types.h>
16781 if test "$acx_cv_header_stdint" != stdint.h
; then
16782 echo "#include <stddef.h>" >> tmp-stdint.h
16784 if test "$acx_cv_header_stdint" != stddef.h
; then
16785 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
16788 sed 's/^ *//' >> tmp-stdint.h
<<EOF
16789 /* glibc uses these symbols as guards to prevent redefinitions. */
16790 #ifdef __int8_t_defined
16795 #ifdef __uint32_t_defined
16801 # ----------------- done header, emit basic int types -------------
16802 if test "$acx_cv_header_stdint" = stddef.h
; then
16803 sed 's/^ *//' >> tmp-stdint.h
<<EOF
16807 #ifndef __uint8_t_defined
16808 #define __uint8_t_defined
16810 typedef unsigned $acx_cv_type_int8_t uint8_t;
16817 #ifndef __uint16_t_defined
16818 #define __uint16_t_defined
16820 typedef unsigned $acx_cv_type_int16_t uint16_t;
16827 #ifndef __uint32_t_defined
16828 #define __uint32_t_defined
16830 typedef unsigned $acx_cv_type_int32_t uint32_t;
16837 #ifndef __int8_t_defined
16838 #define __int8_t_defined
16840 typedef $acx_cv_type_int8_t int8_t;
16847 #ifndef __int16_t_defined
16848 #define __int16_t_defined
16850 typedef $acx_cv_type_int16_t int16_t;
16857 #ifndef __int32_t_defined
16858 #define __int32_t_defined
16860 typedef $acx_cv_type_int32_t int32_t;
16865 elif test "$ac_cv_type_u_int32_t" = yes; then
16866 sed 's/^ *//' >> tmp-stdint.h
<<EOF
16868 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
16881 #ifndef __uint8_t_defined
16882 #define __uint8_t_defined
16884 typedef u_int8_t uint8_t;
16891 #ifndef __uint16_t_defined
16892 #define __uint16_t_defined
16894 typedef u_int16_t uint16_t;
16901 #ifndef __uint32_t_defined
16902 #define __uint32_t_defined
16904 typedef u_int32_t uint32_t;
16910 sed 's/^ *//' >> tmp-stdint.h
<<EOF
16912 /* Some systems have guard macros to prevent redefinitions, define them. */
16934 # ------------- done basic int types, emit int64_t types ------------
16935 if test "$ac_cv_type_uint64_t" = yes; then
16936 sed 's/^ *//' >> tmp-stdint.h
<<EOF
16938 /* system headers have good uint64_t and int64_t */
16946 elif test "$ac_cv_type_u_int64_t" = yes; then
16947 sed 's/^ *//' >> tmp-stdint.h
<<EOF
16949 /* system headers have an u_int64_t (and int64_t) */
16955 #ifndef __uint64_t_defined
16956 #define __uint64_t_defined
16958 typedef u_int64_t uint64_t;
16963 elif test -n "$acx_cv_type_int64_t"; then
16964 sed 's/^ *//' >> tmp-stdint.h
<<EOF
16966 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
16970 typedef $acx_cv_type_int64_t int64_t;
16975 #ifndef __uint64_t_defined
16976 #define __uint64_t_defined
16978 typedef unsigned $acx_cv_type_int64_t uint64_t;
16984 sed 's/^ *//' >> tmp-stdint.h
<<EOF
16986 /* some common heuristics for int64_t, using compiler-specific tests */
16987 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
16990 #ifndef __int64_t_defined
16992 typedef long long int64_t;
16999 typedef unsigned long long uint64_t;
17003 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
17004 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
17005 does not implement __extension__. But that compiler doesn't define
17007 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
17008 # define __extension__
17014 __extension__ typedef long long int64_t;
17020 __extension__ typedef unsigned long long uint64_t;
17024 #elif !defined __STRICT_ANSI__
17025 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
17030 typedef __int64 int64_t;
17036 typedef unsigned __int64 uint64_t;
17039 # endif /* compiler */
17041 #endif /* ANSI version */
17045 # ------------- done int64_t types, emit intptr types ------------
17046 if test "$ac_cv_type_uintptr_t" != yes; then
17047 sed 's/^ *//' >> tmp-stdint.h
<<EOF
17049 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
17050 #ifndef __uintptr_t_defined
17052 typedef u$acx_cv_type_intptr_t uintptr_t;
17055 #ifndef __intptr_t_defined
17057 typedef $acx_cv_type_intptr_t intptr_t;
17063 # ------------- done intptr types, emit int_least types ------------
17064 if test "$ac_cv_type_int_least32_t" != yes; then
17065 sed 's/^ *//' >> tmp-stdint.h
<<EOF
17067 /* Define int_least types */
17068 typedef int8_t int_least8_t;
17069 typedef int16_t int_least16_t;
17070 typedef int32_t int_least32_t;
17072 typedef int64_t int_least64_t;
17075 typedef uint8_t uint_least8_t;
17076 typedef uint16_t uint_least16_t;
17077 typedef uint32_t uint_least32_t;
17079 typedef uint64_t uint_least64_t;
17084 # ------------- done intptr types, emit int_fast types ------------
17085 if test "$ac_cv_type_int_fast32_t" != yes; then
17086 sed 's/^ *//' >> tmp-stdint.h
<<EOF
17088 /* Define int_fast types. short is often slow */
17089 typedef int8_t int_fast8_t;
17090 typedef int int_fast16_t;
17091 typedef int32_t int_fast32_t;
17093 typedef int64_t int_fast64_t;
17096 typedef uint8_t uint_fast8_t;
17097 typedef unsigned int uint_fast16_t;
17098 typedef uint32_t uint_fast32_t;
17100 typedef uint64_t uint_fast64_t;
17105 if test "$ac_cv_type_uintmax_t" != yes; then
17106 sed 's/^ *//' >> tmp-stdint.h
<<EOF
17108 /* Define intmax based on what we found */
17111 typedef int64_t intmax_t;
17113 typedef long intmax_t;
17118 typedef uint64_t uintmax_t;
17120 typedef unsigned long uintmax_t;
17126 sed 's/^ *//' >> tmp-stdint.h
<<EOF
17128 #endif /* GCC_GENERATED_STDINT_H */
17131 if test -r gstdint.h
&& cmp -s tmp-stdint.h gstdint.h
; then
17134 mv -f tmp-stdint.h gstdint.h
17138 "install-debuginfo-for-buildid.sh":F
) chmod +x install-debuginfo-for-buildid.sh
;;
17139 "default":C
) if test -n "$CONFIG_FILES"; then
17140 if test -n "${with_target_subdir}"; then
17141 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
17142 # that multilib installs will end up installed in the correct place.
17143 # The testsuite needs it for multilib-aware ABI baseline files.
17144 # To work around this not being passed down from config-ml.in ->
17145 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
17146 # append it here. Only modify Makefiles that have just been created.
17148 # Also, get rid of this simulated-VPATH thing that automake does.
17149 cat > vpsed
<< \_EOF
17150 s
!`test -f '$<' || echo '$(srcdir)/'`!!
17152 for i
in $SUBDIRS; do
17153 case $CONFIG_FILES in
17155 #echo "Adding MULTISUBDIR to $i/Makefile"
17156 sed -f vpsed
$i/Makefile
> tmp
17157 grep '^MULTISUBDIR =' Makefile
>> tmp
17173 ac_clean_files
=$ac_clean_files_save
17175 test $ac_write_fail = 0 ||
17176 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
17179 # configure is writing to config.log, and then calls config.status.
17180 # config.status does its own redirection, appending to config.log.
17181 # Unfortunately, on DOS this fails, as config.log is still kept open
17182 # by configure, so config.status won't be able to write to it; its
17183 # output is simply discarded. So we exec the FD to /dev/null,
17184 # effectively closing config.log, so it can be properly (re)opened and
17185 # appended to by config.status. When coming back to configure, we
17186 # need to make the FD available again.
17187 if test "$no_create" != yes; then
17189 ac_config_status_args
=
17190 test "$silent" = yes &&
17191 ac_config_status_args
="$ac_config_status_args --quiet"
17193 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
17195 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17196 # would make configure fail if this is the last instruction.
17197 $ac_cs_success || as_fn_exit
1
17199 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
17200 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17201 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}