2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for ld 2.41.50.
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.
590 PACKAGE_VERSION
='2.41.50'
591 PACKAGE_STRING
='ld 2.41.50'
595 ac_unique_file
="ldmain.c"
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>
633 ac_subst_vars
='am__EXEEXT_FALSE
646 elf_plt_unwind_list_options
647 elf_shlib_list_options
680 WARN_CFLAGS_FOR_BUILD
687 enable_initfini_array
690 TARGET_SYSTEM_ROOT_DEFINE
693 ENABLE_BFD_64_BIT_FALSE
694 ENABLE_BFD_64_BIT_TRUE
743 MAINTAINER_MODE_FALSE
757 INSTALL_STRIP_PROGRAM
811 program_transform_name
824 enable_option_checking
826 enable_maintainer_mode
827 enable_dependency_tracking
843 enable_compressed_debug_sections
844 enable_default_compressed_debug_sections_algorithm
849 enable_warn_execstack
850 enable_warn_rwx_segments
851 enable_default_execstack
852 enable_error_handling_script
853 enable_default_hash_style
854 enable_initfini_array
858 enable_build_warnings
863 ac_precious_vars
='build_alias
887 # Initialize some variables set by options.
889 ac_init_version
=false
890 ac_unrecognized_opts
=
892 # The variables have the same names as the options, with
893 # dashes changed to underlines.
901 program_transform_name
=s
,x
,x
,
909 # Installation directory options.
910 # These are left unexpanded so users can "make install exec_prefix=/foo"
911 # and all the variables that are supposed to be based on exec_prefix
912 # by default will actually change.
913 # Use braces instead of parens because sh, perl, etc. also accept them.
914 # (The list follows the same order as the GNU Coding Standards.)
915 bindir
='${exec_prefix}/bin'
916 sbindir
='${exec_prefix}/sbin'
917 libexecdir
='${exec_prefix}/libexec'
918 datarootdir
='${prefix}/share'
919 datadir
='${datarootdir}'
920 sysconfdir
='${prefix}/etc'
921 sharedstatedir
='${prefix}/com'
922 localstatedir
='${prefix}/var'
923 includedir
='${prefix}/include'
924 oldincludedir
='/usr/include'
925 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
926 infodir
='${datarootdir}/info'
931 libdir
='${exec_prefix}/lib'
932 localedir
='${datarootdir}/locale'
933 mandir
='${datarootdir}/man'
939 # If the previous option needs an argument, assign it.
940 if test -n "$ac_prev"; then
941 eval $ac_prev=\
$ac_option
947 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
952 # Accept the important Cygnus configure options, so we can diagnose typos.
954 case $ac_dashdash$ac_option in
958 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
960 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
963 -build |
--build |
--buil |
--bui |
--bu)
964 ac_prev
=build_alias
;;
965 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
966 build_alias
=$ac_optarg ;;
968 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
969 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
970 ac_prev
=cache_file
;;
971 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
972 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
973 cache_file
=$ac_optarg ;;
976 cache_file
=config.cache
;;
978 -datadir |
--datadir |
--datadi |
--datad)
980 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
981 datadir
=$ac_optarg ;;
983 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
984 |
--dataroo |
--dataro |
--datar)
985 ac_prev
=datarootdir
;;
986 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
987 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
988 datarootdir
=$ac_optarg ;;
990 -disable-* |
--disable-*)
991 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
992 # Reject names that are not valid shell variable names.
993 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
994 as_fn_error $?
"invalid feature name: $ac_useropt"
995 ac_useropt_orig
=$ac_useropt
996 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
997 case $ac_user_opts in
1001 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1002 ac_unrecognized_sep
=', ';;
1004 eval enable_
$ac_useropt=no
;;
1006 -docdir |
--docdir |
--docdi |
--doc |
--do)
1008 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1009 docdir
=$ac_optarg ;;
1011 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1013 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1014 dvidir
=$ac_optarg ;;
1016 -enable-* |
--enable-*)
1017 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1018 # Reject names that are not valid shell variable names.
1019 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1020 as_fn_error $?
"invalid feature name: $ac_useropt"
1021 ac_useropt_orig
=$ac_useropt
1022 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1023 case $ac_user_opts in
1025 "enable_
$ac_useropt"
1027 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1028 ac_unrecognized_sep
=', ';;
1030 eval enable_
$ac_useropt=\
$ac_optarg ;;
1032 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1033 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1034 |
--exec |
--exe |
--ex)
1035 ac_prev
=exec_prefix
;;
1036 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1037 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1038 |
--exec=* |
--exe=* |
--ex=*)
1039 exec_prefix
=$ac_optarg ;;
1041 -gas |
--gas |
--ga |
--g)
1042 # Obsolete; use --with-gas.
1045 -help |
--help |
--hel |
--he |
-h)
1046 ac_init_help
=long
;;
1047 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1048 ac_init_help
=recursive
;;
1049 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1050 ac_init_help
=short
;;
1052 -host |
--host |
--hos |
--ho)
1053 ac_prev
=host_alias
;;
1054 -host=* |
--host=* |
--hos=* |
--ho=*)
1055 host_alias
=$ac_optarg ;;
1057 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1059 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1061 htmldir
=$ac_optarg ;;
1063 -includedir |
--includedir |
--includedi |
--included |
--include \
1064 |
--includ |
--inclu |
--incl |
--inc)
1065 ac_prev
=includedir
;;
1066 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1067 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1068 includedir
=$ac_optarg ;;
1070 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1072 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1073 infodir
=$ac_optarg ;;
1075 -libdir |
--libdir |
--libdi |
--libd)
1077 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1078 libdir
=$ac_optarg ;;
1080 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1081 |
--libexe |
--libex |
--libe)
1082 ac_prev
=libexecdir
;;
1083 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1084 |
--libexe=* |
--libex=* |
--libe=*)
1085 libexecdir
=$ac_optarg ;;
1087 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1088 ac_prev
=localedir
;;
1089 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1090 localedir
=$ac_optarg ;;
1092 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1093 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1094 ac_prev
=localstatedir
;;
1095 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1096 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1097 localstatedir
=$ac_optarg ;;
1099 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1101 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1102 mandir
=$ac_optarg ;;
1104 -nfp |
--nfp |
--nf)
1105 # Obsolete; use --without-fp.
1108 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1109 |
--no-cr |
--no-c |
-n)
1112 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1113 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1116 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1117 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1118 |
--oldin |
--oldi |
--old |
--ol |
--o)
1119 ac_prev
=oldincludedir
;;
1120 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1121 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1122 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1123 oldincludedir
=$ac_optarg ;;
1125 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1127 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1128 prefix
=$ac_optarg ;;
1130 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1131 |
--program-pre |
--program-pr |
--program-p)
1132 ac_prev
=program_prefix
;;
1133 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1134 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1135 program_prefix
=$ac_optarg ;;
1137 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1138 |
--program-suf |
--program-su |
--program-s)
1139 ac_prev
=program_suffix
;;
1140 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1141 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1142 program_suffix
=$ac_optarg ;;
1144 -program-transform-name |
--program-transform-name \
1145 |
--program-transform-nam |
--program-transform-na \
1146 |
--program-transform-n |
--program-transform- \
1147 |
--program-transform |
--program-transfor \
1148 |
--program-transfo |
--program-transf \
1149 |
--program-trans |
--program-tran \
1150 |
--progr-tra |
--program-tr |
--program-t)
1151 ac_prev
=program_transform_name
;;
1152 -program-transform-name=* |
--program-transform-name=* \
1153 |
--program-transform-nam=* |
--program-transform-na=* \
1154 |
--program-transform-n=* |
--program-transform-=* \
1155 |
--program-transform=* |
--program-transfor=* \
1156 |
--program-transfo=* |
--program-transf=* \
1157 |
--program-trans=* |
--program-tran=* \
1158 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1159 program_transform_name
=$ac_optarg ;;
1161 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1163 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1164 pdfdir
=$ac_optarg ;;
1166 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1168 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1171 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1172 |
-silent |
--silent |
--silen |
--sile |
--sil)
1175 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1177 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1179 sbindir
=$ac_optarg ;;
1181 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1182 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1183 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1185 ac_prev
=sharedstatedir
;;
1186 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1187 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1188 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1190 sharedstatedir
=$ac_optarg ;;
1192 -site |
--site |
--sit)
1194 -site=* |
--site=* |
--sit=*)
1197 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1199 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1200 srcdir
=$ac_optarg ;;
1202 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1203 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1204 ac_prev
=sysconfdir
;;
1205 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1206 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1207 sysconfdir
=$ac_optarg ;;
1209 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1210 ac_prev
=target_alias
;;
1211 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1212 target_alias
=$ac_optarg ;;
1214 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1217 -version |
--version |
--versio |
--versi |
--vers |
-V)
1218 ac_init_version
=: ;;
1221 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1222 # Reject names that are not valid shell variable names.
1223 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1224 as_fn_error $?
"invalid package name: $ac_useropt"
1225 ac_useropt_orig
=$ac_useropt
1226 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1227 case $ac_user_opts in
1231 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1232 ac_unrecognized_sep
=', ';;
1234 eval with_
$ac_useropt=\
$ac_optarg ;;
1236 -without-* |
--without-*)
1237 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1238 # Reject names that are not valid shell variable names.
1239 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1240 as_fn_error $?
"invalid package name: $ac_useropt"
1241 ac_useropt_orig
=$ac_useropt
1242 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1243 case $ac_user_opts in
1247 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1248 ac_unrecognized_sep
=', ';;
1250 eval with_
$ac_useropt=no
;;
1253 # Obsolete; use --with-x.
1256 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1257 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1258 ac_prev
=x_includes
;;
1259 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1260 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1261 x_includes
=$ac_optarg ;;
1263 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1264 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1265 ac_prev
=x_libraries
;;
1266 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1267 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1268 x_libraries
=$ac_optarg ;;
1270 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1271 Try \`$0 --help' for more information"
1275 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1276 # Reject names that are not valid shell variable names.
1277 case $ac_envvar in #(
1278 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1279 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1281 eval $ac_envvar=\
$ac_optarg
1282 export $ac_envvar ;;
1285 # FIXME: should be removed in autoconf 3.0.
1286 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1287 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1288 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1289 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1295 if test -n "$ac_prev"; then
1296 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1297 as_fn_error $?
"missing argument to $ac_option"
1300 if test -n "$ac_unrecognized_opts"; then
1301 case $enable_option_checking in
1303 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1304 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1308 # Check all directory arguments for consistency.
1309 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1310 datadir sysconfdir sharedstatedir localstatedir includedir \
1311 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1312 libdir localedir mandir
1314 eval ac_val
=\$
$ac_var
1315 # Remove trailing slashes.
1318 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1319 eval $ac_var=\
$ac_val;;
1321 # Be sure to have absolute directory names.
1323 [\\/$
]* | ?
:[\\/]* ) continue;;
1324 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1326 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1329 # There might be people who depend on the old broken behavior: `$host'
1330 # used to hold the argument of --host etc.
1331 # FIXME: To remove some day.
1334 target
=$target_alias
1336 # FIXME: To remove some day.
1337 if test "x$host_alias" != x
; then
1338 if test "x$build_alias" = x
; then
1339 cross_compiling
=maybe
1340 elif test "x$build_alias" != "x$host_alias"; then
1346 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1348 test "$silent" = yes && exec 6>/dev
/null
1351 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1352 ac_ls_di
=`ls -di .` &&
1353 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1354 as_fn_error $?
"working directory cannot be determined"
1355 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1356 as_fn_error $?
"pwd does not report name of working directory"
1359 # Find the source files, if location was not specified.
1360 if test -z "$srcdir"; then
1361 ac_srcdir_defaulted
=yes
1362 # Try the directory containing this script, then the parent directory.
1363 ac_confdir
=`$as_dirname -- "$as_myself" ||
1364 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1365 X"$as_myself" : 'X\(//\)[^/]' \| \
1366 X"$as_myself" : 'X\(//\)$' \| \
1367 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1368 $as_echo X"$as_myself" |
1369 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1387 if test ! -r "$srcdir/$ac_unique_file"; then
1391 ac_srcdir_defaulted
=no
1393 if test ! -r "$srcdir/$ac_unique_file"; then
1394 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1395 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1397 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1399 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1401 # When building in place, set srcdir=.
1402 if test "$ac_abs_confdir" = "$ac_pwd"; then
1405 # Remove unnecessary trailing slashes from srcdir.
1406 # Double slashes in file names in object file debugging info
1407 # mess up M-x gdb in Emacs.
1409 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1411 for ac_var
in $ac_precious_vars; do
1412 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1413 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1414 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1415 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1419 # Report the --help message.
1421 if test "$ac_init_help" = "long"; then
1422 # Omit some internal or obsolete options to make the list less imposing.
1423 # This message is too long to be a string in the A/UX 3.1 sh.
1425 \`configure' configures ld 2.41.50 to adapt to many kinds of systems.
1427 Usage: $0 [OPTION]... [VAR=VALUE]...
1429 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1430 VAR=VALUE. See below for descriptions of some of the useful variables.
1432 Defaults for the options are specified in brackets.
1435 -h, --help display this help and exit
1436 --help=short display options specific to this package
1437 --help=recursive display the short help of all the included packages
1438 -V, --version display version information and exit
1439 -q, --quiet, --silent do not print \`checking ...' messages
1440 --cache-file=FILE cache test results in FILE [disabled]
1441 -C, --config-cache alias for \`--cache-file=config.cache'
1442 -n, --no-create do not create output files
1443 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1445 Installation directories:
1446 --prefix=PREFIX install architecture-independent files in PREFIX
1447 [$ac_default_prefix]
1448 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1451 By default, \`make install' will install all the files in
1452 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1453 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1454 for instance \`--prefix=\$HOME'.
1456 For better control, use the options below.
1458 Fine tuning of the installation directories:
1459 --bindir=DIR user executables [EPREFIX/bin]
1460 --sbindir=DIR system admin executables [EPREFIX/sbin]
1461 --libexecdir=DIR program executables [EPREFIX/libexec]
1462 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1463 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1464 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1465 --libdir=DIR object code libraries [EPREFIX/lib]
1466 --includedir=DIR C header files [PREFIX/include]
1467 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1468 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1469 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1470 --infodir=DIR info documentation [DATAROOTDIR/info]
1471 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1472 --mandir=DIR man documentation [DATAROOTDIR/man]
1473 --docdir=DIR documentation root [DATAROOTDIR/doc/ld]
1474 --htmldir=DIR html documentation [DOCDIR]
1475 --dvidir=DIR dvi documentation [DOCDIR]
1476 --pdfdir=DIR pdf documentation [DOCDIR]
1477 --psdir=DIR ps documentation [DOCDIR]
1483 --program-prefix=PREFIX prepend PREFIX to installed program names
1484 --program-suffix=SUFFIX append SUFFIX to installed program names
1485 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1488 --build=BUILD configure
for building on BUILD
[guessed
]
1489 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1490 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1494 if test -n "$ac_init_help"; then
1495 case $ac_init_help in
1496 short | recursive
) echo "Configuration of ld 2.41.50:";;
1501 --disable-option-checking ignore unrecognized
--enable/--with options
1502 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1503 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1504 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1505 --disable-silent-rules verbose build output
(undo
: "make V=0")
1506 --enable-maintainer-mode
1507 enable make rules and dependencies not useful
(and
1508 sometimes confusing
) to the casual installer
1509 --enable-dependency-tracking
1510 do not reject slow dependency extractors
1511 --disable-dependency-tracking
1512 speeds up one-time build
1513 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1514 --enable-static[=PKGS
] build static libraries
[default
=yes]
1515 --enable-fast-install[=PKGS
]
1516 optimize
for fast installation
[default
=yes]
1517 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1518 --enable-plugins Enable support
for plugins
1519 --disable-largefile omit support
for large files
1520 --enable-checking enable run-time checks
1521 --enable-targets alternative target configurations
1522 --enable-64-bit-bfd 64-bit support
(on hosts with narrower word sizes
)
1523 --enable-gold[=ARG
] build gold
[ARG
={default
,yes,no
}]
1524 --enable-got=<type> GOT handling scheme
(target
, single
, negative
,
1526 --enable-compressed-debug-sections={all
,ld
,none
}
1527 compress debug sections by default
]
1528 --enable-default-compressed-debug-sections-algorithm={zlib
,zstd
}
1529 Default compression algorithm
for
1530 --enable-compressed-debug-sections.
1531 --enable-new-dtags set DT_RUNPATH instead of DT_RPATH by default
]
1532 --enable-relro enable -z relro
in ELF linker by default
1533 --enable-textrel-check=[yes|no|warning|error
]
1534 enable DT_TEXTREL check
in ELF linker
1535 --enable-separate-code enable -z separate-code
in ELF linker by default
1536 --enable-warn-execstack enable warnings when creating an executable stack
1537 --enable-warn-rwx-segments
1538 enable warnings when creating segments with RWX
1540 --enable-default-execstack
1541 create an executable stack
if an input
file is
1542 missing a .note.GNU-stack section
1543 --enable-error-handling-script
1544 enable
/disable support
for the
1545 --error-handling-script option
1546 --enable-default-hash-style={sysv
,gnu
,both
}
1547 use this default
hash style
1548 --disable-initfini-array do not use .init_array
/.fini_array sections
1549 --enable-libctf Handle .ctf type-info sections
[default
=yes]
1550 --enable-jansson enable jansson
[default
=no
]
1551 --enable-werror treat compile warnings as errors
1552 --enable-build-warnings enable build-time compiler warnings
1553 --disable-nls do not use Native Language Support
1556 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1557 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1558 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1560 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1561 --with-lib-path=dir1
:dir2...
set default LIB_PATH
1562 --with-sysroot=DIR Search
for usr
/lib et al within DIR.
1563 --with-system-zlib use installed libz
1564 --with-zstd support zstd compressed debug sections
1567 Some influential environment variables
:
1568 CC C compiler
command
1569 CFLAGS C compiler flags
1570 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1571 nonstandard directory
<lib dir
>
1572 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1573 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1574 you have headers
in a nonstandard directory
<include dir
>
1575 CXX C
++ compiler
command
1576 CXXFLAGS C
++ compiler flags
1578 PKG_CONFIG path to pkg-config utility
1580 directories to add to pkg-config
's search path
1582 path overriding pkg-config's built-in search path
1583 CXXCPP C
++ preprocessor
1585 C compiler flags
for JANSSON
, overriding pkg-config
1587 linker flags
for JANSSON
, overriding pkg-config
1588 YACC The
`Yet Another Compiler Compiler' implementation to use.
1589 Defaults to the first program found out of: `bison
-y', `byacc',
1591 YFLAGS The list of arguments that will be passed by default to $YACC.
1592 This script will default YFLAGS to the empty string to avoid a
1593 default value of `-d' given by some make applications.
1594 ZSTD_CFLAGS C compiler flags for ZSTD, overriding pkg-config
1595 ZSTD_LIBS linker flags for ZSTD, overriding pkg-config
1597 Use these variables to override the choices made by `configure' or to
help
1598 it to
find libraries and programs with nonstandard names
/locations.
1600 Report bugs to the package provider.
1605 if test "$ac_init_help" = "recursive"; then
1606 # If there are subdirs, report their specific --help.
1607 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1608 test -d "$ac_dir" ||
1609 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1614 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1616 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1617 # A ".." for each directory in $ac_dir_suffix.
1618 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1619 case $ac_top_builddir_sub in
1620 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1621 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1624 ac_abs_top_builddir
=$ac_pwd
1625 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1626 # for backward compatibility:
1627 ac_top_builddir
=$ac_top_build_prefix
1630 .
) # We are building in place.
1632 ac_top_srcdir
=$ac_top_builddir_sub
1633 ac_abs_top_srcdir
=$ac_pwd ;;
1634 [\\/]* | ?
:[\\/]* ) # Absolute name.
1635 ac_srcdir
=$srcdir$ac_dir_suffix;
1636 ac_top_srcdir
=$srcdir
1637 ac_abs_top_srcdir
=$srcdir ;;
1639 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1640 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1641 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1643 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1645 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1646 # Check for guested configure.
1647 if test -f "$ac_srcdir/configure.gnu"; then
1649 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1650 elif test -f "$ac_srcdir/configure"; then
1652 $SHELL "$ac_srcdir/configure" --help=recursive
1654 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1656 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1660 test -n "$ac_init_help" && exit $ac_status
1661 if $ac_init_version; then
1663 ld configure
2.41.50
1664 generated by GNU Autoconf
2.69
1666 Copyright
(C
) 2012 Free Software Foundation
, Inc.
1667 This configure
script is free software
; the Free Software Foundation
1668 gives unlimited permission to copy
, distribute and modify it.
1673 ## ------------------------ ##
1674 ## Autoconf initialization. ##
1675 ## ------------------------ ##
1677 # ac_fn_c_try_compile LINENO
1678 # --------------------------
1679 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1680 ac_fn_c_try_compile
()
1682 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1683 rm -f conftest.
$ac_objext
1684 if { { ac_try
="$ac_compile"
1686 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1687 *) ac_try_echo=$ac_try;;
1689 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1690 $as_echo "$ac_try_echo"; } >&5
1691 (eval "$ac_compile") 2>conftest.err
1693 if test -s conftest.err; then
1694 grep -v '^ *+' conftest.err >conftest.er1
1695 cat conftest.er1 >&5
1696 mv -f conftest.er1 conftest.err
1698 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1699 test $ac_status = 0; } && {
1700 test -z "$ac_c_werror_flag" ||
1701 test ! -s conftest.err
1702 } && test -s conftest.$ac_objext; then :
1705 $as_echo "$as_me: failed program was:" >&5
1706 sed 's/^/| /' conftest.$ac_ext >&5
1710 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1711 as_fn_set_status $ac_retval
1713 } # ac_fn_c_try_compile
1715 # ac_fn_cxx_try_compile LINENO
1716 # ----------------------------
1717 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1718 ac_fn_cxx_try_compile ()
1720 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1721 rm -f conftest.$ac_objext
1722 if { { ac_try="$ac_compile"
1724 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1725 *) ac_try_echo
=$ac_try;;
1727 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1728 $as_echo "$ac_try_echo"; } >&5
1729 (eval "$ac_compile") 2>conftest.err
1731 if test -s conftest.err
; then
1732 grep -v '^ *+' conftest.err
>conftest.er1
1733 cat conftest.er1
>&5
1734 mv -f conftest.er1 conftest.err
1736 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1737 test $ac_status = 0; } && {
1738 test -z "$ac_cxx_werror_flag" ||
1739 test ! -s conftest.err
1740 } && test -s conftest.
$ac_objext; then :
1743 $as_echo "$as_me: failed program was:" >&5
1744 sed 's/^/| /' conftest.
$ac_ext >&5
1748 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1749 as_fn_set_status
$ac_retval
1751 } # ac_fn_cxx_try_compile
1753 # ac_fn_c_try_cpp LINENO
1754 # ----------------------
1755 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1758 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1759 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1761 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1762 *) ac_try_echo=$ac_try;;
1764 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1765 $as_echo "$ac_try_echo"; } >&5
1766 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1768 if test -s conftest.err; then
1769 grep -v '^ *+' conftest.err >conftest.er1
1770 cat conftest.er1 >&5
1771 mv -f conftest.er1 conftest.err
1773 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1774 test $ac_status = 0; } > conftest.i && {
1775 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1776 test ! -s conftest.err
1780 $as_echo "$as_me: failed program was:" >&5
1781 sed 's/^/| /' conftest.$ac_ext >&5
1785 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1786 as_fn_set_status $ac_retval
1790 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1791 # -------------------------------------------------------
1792 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1793 # the include files in INCLUDES and setting the cache variable VAR
1795 ac_fn_c_check_header_mongrel ()
1797 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1798 if eval \${$3+:} false; then :
1799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1800 $as_echo_n "checking for $2... " >&6; }
1801 if eval \${$3+:} false; then :
1802 $as_echo_n "(cached) " >&6
1805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1806 $as_echo "$ac_res" >&6; }
1808 # Is the header compilable?
1809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1810 $as_echo_n "checking $2 usability... " >&6; }
1811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1812 /* end confdefs.h. */
1816 if ac_fn_c_try_compile "$LINENO"; then :
1817 ac_header_compiler=yes
1819 ac_header_compiler=no
1821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1823 $as_echo "$ac_header_compiler" >&6; }
1825 # Is the header present?
1826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1827 $as_echo_n "checking $2 presence... " >&6; }
1828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1829 /* end confdefs.h. */
1832 if ac_fn_c_try_cpp "$LINENO"; then :
1833 ac_header_preproc=yes
1835 ac_header_preproc=no
1837 rm -f conftest.err conftest.i conftest.$ac_ext
1838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1839 $as_echo "$ac_header_preproc" >&6; }
1841 # So? What about this header?
1842 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1844 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1845 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1846 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1847 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1850 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1851 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1852 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1853 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1854 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1855 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1856 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1857 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1858 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1859 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1863 $as_echo_n "checking for $2... " >&6; }
1864 if eval \${$3+:} false; then :
1865 $as_echo_n "(cached) " >&6
1867 eval "$3=\$ac_header_compiler"
1870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1871 $as_echo "$ac_res" >&6; }
1873 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1875 } # ac_fn_c_check_header_mongrel
1877 # ac_fn_c_try_run LINENO
1878 # ----------------------
1879 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1880 # that executables *can* be run.
1883 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1884 if { { ac_try="$ac_link"
1886 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1887 *) ac_try_echo
=$ac_try;;
1889 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1890 $as_echo "$ac_try_echo"; } >&5
1891 (eval "$ac_link") 2>&5
1893 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1894 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1895 { { case "(($ac_try" in
1896 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1897 *) ac_try_echo=$ac_try;;
1899 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1900 $as_echo "$ac_try_echo"; } >&5
1901 (eval "$ac_try") 2>&5
1903 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1904 test $ac_status = 0; }; }; then :
1907 $as_echo "$as_me: program exited with status $ac_status" >&5
1908 $as_echo "$as_me: failed program was:" >&5
1909 sed 's/^/| /' conftest.$ac_ext >&5
1911 ac_retval=$ac_status
1913 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1914 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1915 as_fn_set_status $ac_retval
1919 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1920 # -------------------------------------------------------
1921 # Tests whether HEADER exists and can be compiled using the include files in
1922 # INCLUDES, setting the cache variable VAR accordingly.
1923 ac_fn_c_check_header_compile ()
1925 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1927 $as_echo_n "checking for $2... " >&6; }
1928 if eval \${$3+:} false; then :
1929 $as_echo_n "(cached) " >&6
1931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1932 /* end confdefs.h. */
1936 if ac_fn_c_try_compile "$LINENO"; then :
1941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1945 $as_echo "$ac_res" >&6; }
1946 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1948 } # ac_fn_c_check_header_compile
1950 # ac_fn_c_try_link LINENO
1951 # -----------------------
1952 # Try to link conftest.$ac_ext, and return whether this succeeded.
1955 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1956 rm -f conftest.$ac_objext conftest$ac_exeext
1957 if { { ac_try="$ac_link"
1959 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1960 *) ac_try_echo
=$ac_try;;
1962 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1963 $as_echo "$ac_try_echo"; } >&5
1964 (eval "$ac_link") 2>conftest.err
1966 if test -s conftest.err
; then
1967 grep -v '^ *+' conftest.err
>conftest.er1
1968 cat conftest.er1
>&5
1969 mv -f conftest.er1 conftest.err
1971 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1972 test $ac_status = 0; } && {
1973 test -z "$ac_c_werror_flag" ||
1974 test ! -s conftest.err
1975 } && test -s conftest
$ac_exeext && {
1976 test "$cross_compiling" = yes ||
1977 test -x conftest
$ac_exeext
1981 $as_echo "$as_me: failed program was:" >&5
1982 sed 's/^/| /' conftest.
$ac_ext >&5
1986 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1987 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1988 # interfere with the next link command; also delete a directory that is
1989 # left behind by Apple's compiler. We do this before executing the actions.
1990 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1991 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1992 as_fn_set_status
$ac_retval
1994 } # ac_fn_c_try_link
1996 # ac_fn_c_check_func LINENO FUNC VAR
1997 # ----------------------------------
1998 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1999 ac_fn_c_check_func
()
2001 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2003 $as_echo_n "checking for $2... " >&6; }
2004 if eval \
${$3+:} false
; then :
2005 $as_echo_n "(cached) " >&6
2007 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2008 /* end confdefs.h. */
2009 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2010 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2011 #define $2 innocuous_$2
2013 /* System header to define __stub macros and hopefully few prototypes,
2014 which can conflict with char $2 (); below.
2015 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2016 <limits.h> exists even on freestanding compilers. */
2019 # include <limits.h>
2021 # include <assert.h>
2026 /* Override any GCC internal prototype to avoid an error.
2027 Use char because int might match the return type of a GCC
2028 builtin and then its argument prototype would still apply. */
2033 /* The GNU C library defines this for functions which it implements
2034 to always fail with ENOSYS. Some functions are actually named
2035 something starting with __ and the normal name is an alias. */
2036 #if defined __stub_$2 || defined __stub___$2
2048 if ac_fn_c_try_link
"$LINENO"; then :
2053 rm -f core conftest.err conftest.
$ac_objext \
2054 conftest
$ac_exeext conftest.
$ac_ext
2057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2058 $as_echo "$ac_res" >&6; }
2059 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2061 } # ac_fn_c_check_func
2063 # ac_fn_cxx_try_cpp LINENO
2064 # ------------------------
2065 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2066 ac_fn_cxx_try_cpp
()
2068 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2069 if { { ac_try
="$ac_cpp conftest.$ac_ext"
2071 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2072 *) ac_try_echo=$ac_try;;
2074 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2075 $as_echo "$ac_try_echo"; } >&5
2076 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2078 if test -s conftest.err; then
2079 grep -v '^ *+' conftest.err >conftest.er1
2080 cat conftest.er1 >&5
2081 mv -f conftest.er1 conftest.err
2083 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2084 test $ac_status = 0; } > conftest.i && {
2085 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2086 test ! -s conftest.err
2090 $as_echo "$as_me: failed program was:" >&5
2091 sed 's/^/| /' conftest.$ac_ext >&5
2095 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2096 as_fn_set_status $ac_retval
2098 } # ac_fn_cxx_try_cpp
2100 # ac_fn_cxx_try_link LINENO
2101 # -------------------------
2102 # Try to link conftest.$ac_ext, and return whether this succeeded.
2103 ac_fn_cxx_try_link ()
2105 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2106 rm -f conftest.$ac_objext conftest$ac_exeext
2107 if { { ac_try="$ac_link"
2109 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2110 *) ac_try_echo
=$ac_try;;
2112 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2113 $as_echo "$ac_try_echo"; } >&5
2114 (eval "$ac_link") 2>conftest.err
2116 if test -s conftest.err
; then
2117 grep -v '^ *+' conftest.err
>conftest.er1
2118 cat conftest.er1
>&5
2119 mv -f conftest.er1 conftest.err
2121 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2122 test $ac_status = 0; } && {
2123 test -z "$ac_cxx_werror_flag" ||
2124 test ! -s conftest.err
2125 } && test -s conftest
$ac_exeext && {
2126 test "$cross_compiling" = yes ||
2127 test -x conftest
$ac_exeext
2131 $as_echo "$as_me: failed program was:" >&5
2132 sed 's/^/| /' conftest.
$ac_ext >&5
2136 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2137 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2138 # interfere with the next link command; also delete a directory that is
2139 # left behind by Apple's compiler. We do this before executing the actions.
2140 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2141 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2142 as_fn_set_status
$ac_retval
2144 } # ac_fn_cxx_try_link
2146 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2147 # --------------------------------------------
2148 # Tries to find the compile-time value of EXPR in a program that includes
2149 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2151 ac_fn_c_compute_int
()
2153 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2154 if test "$cross_compiling" = yes; then
2155 # Depending upon the size, compute the lo and hi bounds.
2156 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2157 /* end confdefs.h. */
2162 static int test_array [1 - 2 * !(($2) >= 0)];
2164 return test_array [0];
2170 if ac_fn_c_try_compile
"$LINENO"; then :
2173 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2174 /* end confdefs.h. */
2179 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2181 return test_array [0];
2187 if ac_fn_c_try_compile
"$LINENO"; then :
2188 ac_hi
=$ac_mid; break
2190 as_fn_arith
$ac_mid + 1 && ac_lo
=$as_val
2191 if test $ac_lo -le $ac_mid; then
2195 as_fn_arith
2 '*' $ac_mid + 1 && ac_mid
=$as_val
2197 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2200 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2201 /* end confdefs.h. */
2206 static int test_array [1 - 2 * !(($2) < 0)];
2208 return test_array [0];
2214 if ac_fn_c_try_compile
"$LINENO"; then :
2217 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2218 /* end confdefs.h. */
2223 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2225 return test_array [0];
2231 if ac_fn_c_try_compile
"$LINENO"; then :
2232 ac_lo
=$ac_mid; break
2234 as_fn_arith
'(' $ac_mid ')' - 1 && ac_hi
=$as_val
2235 if test $ac_mid -le $ac_hi; then
2239 as_fn_arith
2 '*' $ac_mid && ac_mid
=$as_val
2241 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2246 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2248 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2249 # Binary search between lo and hi bounds.
2250 while test "x$ac_lo" != "x$ac_hi"; do
2251 as_fn_arith
'(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid
=$as_val
2252 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2253 /* end confdefs.h. */
2258 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2260 return test_array [0];
2266 if ac_fn_c_try_compile
"$LINENO"; then :
2269 as_fn_arith
'(' $ac_mid ')' + 1 && ac_lo
=$as_val
2271 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2274 ?
*) eval "$3=\$ac_lo"; ac_retval
=0 ;;
2278 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2279 /* end confdefs.h. */
2281 static long int longval () { return $2; }
2282 static unsigned long int ulongval () { return $2; }
2289 FILE *f = fopen ("conftest.val", "w");
2294 long int i = longval ();
2297 fprintf (f, "%ld", i);
2301 unsigned long int i = ulongval ();
2304 fprintf (f, "%lu", i);
2306 /* Do not output a trailing newline, as this causes \r\n confusion
2307 on some platforms. */
2308 return ferror (f) || fclose (f) != 0;
2314 if ac_fn_c_try_run
"$LINENO"; then :
2315 echo >>conftest.val
; read $3 <conftest.val
; ac_retval
=0
2319 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
2320 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
2324 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2325 as_fn_set_status
$ac_retval
2327 } # ac_fn_c_compute_int
2329 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2330 # ---------------------------------------------
2331 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2333 ac_fn_c_check_decl
()
2335 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2336 as_decl_name
=`echo $2|sed 's/ *(.*//'`
2337 as_decl_use
=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2339 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2340 if eval \
${$3+:} false
; then :
2341 $as_echo_n "(cached) " >&6
2343 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2344 /* end confdefs.h. */
2349 #ifndef $as_decl_name
2351 (void) $as_decl_use;
2353 (void) $as_decl_name;
2361 if ac_fn_c_try_compile
"$LINENO"; then :
2366 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2370 $as_echo "$ac_res" >&6; }
2371 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2373 } # ac_fn_c_check_decl
2374 cat >config.log
<<_ACEOF
2375 This file contains any messages produced by compilers while
2376 running configure, to aid debugging if configure makes a mistake.
2378 It was created by ld $as_me 2.41.50, which was
2379 generated by GNU Autoconf 2.69. Invocation command line was
2391 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2392 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2393 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2394 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2395 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2397 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2398 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2400 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2401 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2402 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2403 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2404 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2405 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2406 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2410 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2414 test -z "$as_dir" && as_dir
=.
2415 $as_echo "PATH: $as_dir"
2431 # Keep a trace of the command line.
2432 # Strip out --no-create and --no-recursion so they do not pile up.
2433 # Strip out --silent because we don't want to record it for future runs.
2434 # Also quote any args containing shell meta-characters.
2435 # Make two passes to allow for proper duplicate-argument suppression.
2439 ac_must_keep_next
=false
2445 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2446 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2447 |
-silent |
--silent |
--silen |
--sile |
--sil)
2450 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2453 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2455 as_fn_append ac_configure_args1
" '$ac_arg'"
2456 if test $ac_must_keep_next = true
; then
2457 ac_must_keep_next
=false
# Got value, back to normal.
2460 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2461 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2462 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2463 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2464 case "$ac_configure_args0 " in
2465 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2468 -* ) ac_must_keep_next
=true
;;
2471 as_fn_append ac_configure_args
" '$ac_arg'"
2476 { ac_configure_args0
=; unset ac_configure_args0
;}
2477 { ac_configure_args1
=; unset ac_configure_args1
;}
2479 # When interrupted or exit'd, cleanup temporary files, and complete
2480 # config.log. We remove comments because anyway the quotes in there
2481 # would cause problems or look ugly.
2482 # WARNING: Use '\'' to represent an apostrophe within the trap.
2483 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2484 trap 'exit_status=$?
2485 # Save into config.log some information that might help in debugging.
2489 $as_echo "## ---------------- ##
2490 ## Cache variables. ##
2491 ## ---------------- ##"
2493 # The following way of writing the cache mishandles newlines in values,
2495 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2496 eval ac_val=\$$ac_var
2500 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2501 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2504 _ | IFS | as_nl) ;; #(
2505 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2506 *) { eval $ac_var=; unset $ac_var;} ;;
2511 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2512 *${as_nl}ac_space=\ *)
2514 "s/'\''/'\''\\\\'\'''\''/g;
2515 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2518 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2525 $as_echo "## ----------------- ##
2526 ## Output variables. ##
2527 ## ----------------- ##"
2529 for ac_var in $ac_subst_vars
2531 eval ac_val=\$$ac_var
2533 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2535 $as_echo "$ac_var='\''$ac_val'\''"
2539 if test -n "$ac_subst_files"; then
2540 $as_echo "## ------------------- ##
2541 ## File substitutions. ##
2542 ## ------------------- ##"
2544 for ac_var
in $ac_subst_files
2546 eval ac_val
=\$
$ac_var
2548 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2550 $as_echo "$ac_var='\''$ac_val'\''"
2555 if test -s confdefs.h; then
2556 $as_echo "## ----------- ##
2563 test "$ac_signal" != 0 &&
2564 $as_echo "$as_me: caught signal $ac_signal"
2565 $as_echo "$as_me: exit $exit_status"
2567 rm -f core *.core core.conftest.* &&
2568 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2571 for ac_signal
in 1 2 13 15; do
2572 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2576 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2577 rm -f -r conftest
* confdefs.h
2579 $as_echo "/* confdefs.h */" > confdefs.h
2581 # Predefined preprocessor variables.
2583 cat >>confdefs.h
<<_ACEOF
2584 #define PACKAGE_NAME "$PACKAGE_NAME"
2587 cat >>confdefs.h
<<_ACEOF
2588 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2591 cat >>confdefs.h
<<_ACEOF
2592 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2595 cat >>confdefs.h
<<_ACEOF
2596 #define PACKAGE_STRING "$PACKAGE_STRING"
2599 cat >>confdefs.h
<<_ACEOF
2600 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2603 cat >>confdefs.h
<<_ACEOF
2604 #define PACKAGE_URL "$PACKAGE_URL"
2608 # Let the site file select an alternate cache file if it wants to.
2609 # Prefer an explicitly selected file to automatically selected ones.
2612 if test -n "$CONFIG_SITE"; then
2613 # We do not want a PATH search for config.site.
2614 case $CONFIG_SITE in #((
2615 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2616 */*) ac_site_file1
=$CONFIG_SITE;;
2617 *) ac_site_file1
=.
/$CONFIG_SITE;;
2619 elif test "x$prefix" != xNONE
; then
2620 ac_site_file1
=$prefix/share
/config.site
2621 ac_site_file2
=$prefix/etc
/config.site
2623 ac_site_file1
=$ac_default_prefix/share
/config.site
2624 ac_site_file2
=$ac_default_prefix/etc
/config.site
2626 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2628 test "x$ac_site_file" = xNONE
&& continue
2629 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2630 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2631 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2632 sed 's/^/| /' "$ac_site_file" >&5
2634 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2635 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2636 as_fn_error $?
"failed to load site script $ac_site_file
2637 See \`config.log' for more details" "$LINENO" 5; }
2641 if test -r "$cache_file"; then
2642 # Some versions of bash will fail to source /dev/null (special files
2643 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2644 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2645 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2646 $as_echo "$as_me: loading cache $cache_file" >&6;}
2648 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2649 *) .
"./$cache_file";;
2653 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2654 $as_echo "$as_me: creating cache $cache_file" >&6;}
2658 as_fn_append ac_header_list
" stdlib.h"
2659 as_fn_append ac_header_list
" unistd.h"
2660 as_fn_append ac_header_list
" sys/param.h"
2661 # Check that the precious variables saved in the cache have kept the same
2663 ac_cache_corrupted
=false
2664 for ac_var
in $ac_precious_vars; do
2665 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2666 eval ac_new_set
=\
$ac_env_${ac_var}_set
2667 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2668 eval ac_new_val
=\
$ac_env_${ac_var}_value
2669 case $ac_old_set,$ac_new_set in
2671 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2672 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2673 ac_cache_corrupted
=: ;;
2675 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2676 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2677 ac_cache_corrupted
=: ;;
2680 if test "x$ac_old_val" != "x$ac_new_val"; then
2681 # differences in whitespace do not lead to failure.
2682 ac_old_val_w
=`echo x $ac_old_val`
2683 ac_new_val_w
=`echo x $ac_new_val`
2684 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2685 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2686 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2687 ac_cache_corrupted
=:
2689 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2690 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2691 eval $ac_var=\
$ac_old_val
2693 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2694 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2695 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2696 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2699 # Pass precious variables to config.status.
2700 if test "$ac_new_set" = set; then
2702 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2703 *) ac_arg
=$ac_var=$ac_new_val ;;
2705 case " $ac_configure_args " in
2706 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2707 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2711 if $ac_cache_corrupted; then
2712 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2713 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2714 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2715 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2716 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2718 ## -------------------- ##
2719 ## Main body of script. ##
2720 ## -------------------- ##
2723 ac_cpp
='$CPP $CPPFLAGS'
2724 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2725 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2726 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2735 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2736 if test -f "$ac_dir/install-sh"; then
2738 ac_install_sh
="$ac_aux_dir/install-sh -c"
2740 elif test -f "$ac_dir/install.sh"; then
2742 ac_install_sh
="$ac_aux_dir/install.sh -c"
2744 elif test -f "$ac_dir/shtool"; then
2746 ac_install_sh
="$ac_aux_dir/shtool install -c"
2750 if test -z "$ac_aux_dir"; then
2751 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2754 # These three variables are undocumented and unsupported,
2755 # and are intended to be withdrawn in a future Autoconf release.
2756 # They can cause serious problems if a builder's source tree is in a directory
2757 # whose full name contains unusual characters.
2758 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2759 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2760 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2763 # Make sure we can run config.sub.
2764 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2765 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2768 $as_echo_n "checking build system type... " >&6; }
2769 if ${ac_cv_build+:} false
; then :
2770 $as_echo_n "(cached) " >&6
2772 ac_build_alias
=$build_alias
2773 test "x$ac_build_alias" = x
&&
2774 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2775 test "x$ac_build_alias" = x
&&
2776 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2777 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2778 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2782 $as_echo "$ac_cv_build" >&6; }
2783 case $ac_cv_build in
2785 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2788 ac_save_IFS
=$IFS; IFS
='-'
2794 # Remember, the first character of IFS is used to create $*,
2795 # except with old shells:
2798 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2802 $as_echo_n "checking host system type... " >&6; }
2803 if ${ac_cv_host+:} false
; then :
2804 $as_echo_n "(cached) " >&6
2806 if test "x$host_alias" = x
; then
2807 ac_cv_host
=$ac_cv_build
2809 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2810 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2815 $as_echo "$ac_cv_host" >&6; }
2818 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2821 ac_save_IFS
=$IFS; IFS
='-'
2827 # Remember, the first character of IFS is used to create $*,
2828 # except with old shells:
2831 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2835 $as_echo_n "checking target system type... " >&6; }
2836 if ${ac_cv_target+:} false
; then :
2837 $as_echo_n "(cached) " >&6
2839 if test "x$target_alias" = x
; then
2840 ac_cv_target
=$ac_cv_host
2842 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2843 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2848 $as_echo "$ac_cv_target" >&6; }
2849 case $ac_cv_target in
2851 *) as_fn_error $?
"invalid value of canonical target" "$LINENO" 5;;
2853 target
=$ac_cv_target
2854 ac_save_IFS
=$IFS; IFS
='-'
2860 # Remember, the first character of IFS is used to create $*,
2861 # except with old shells:
2864 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2867 # The aliases save the names the user supplied, while $host etc.
2868 # will get canonicalized.
2869 test -n "$target_alias" &&
2870 test "$program_prefix$program_suffix$program_transform_name" = \
2872 program_prefix
=${target_alias}-
2875 am__api_version
='1.15'
2877 # Find a good install program. We prefer a C program (faster),
2878 # so one script is as good as another. But avoid the broken or
2879 # incompatible versions:
2880 # SysV /etc/install, /usr/sbin/install
2881 # SunOS /usr/etc/install
2882 # IRIX /sbin/install
2884 # AmigaOS /C/install, which installs bootblocks on floppy discs
2885 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2886 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2887 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2888 # OS/2's system install, which has a completely different semantic
2889 # ./install, which can be erroneously created by make from ./install.sh.
2890 # Reject install programs that cannot install multiple files.
2891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2892 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2893 if test -z "$INSTALL"; then
2894 if ${ac_cv_path_install+:} false
; then :
2895 $as_echo_n "(cached) " >&6
2897 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2901 test -z "$as_dir" && as_dir
=.
2902 # Account for people who put trailing slashes in PATH elements.
2903 case $as_dir/ in #((
2904 .
/ | .
// |
/[cC
]/* | \
2905 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2906 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2909 # OSF1 and SCO ODT 3.0 have their own names for install.
2910 # Don't use installbsd from OSF since it installs stuff as root
2912 for ac_prog
in ginstall scoinst
install; do
2913 for ac_exec_ext
in '' $ac_executable_extensions; do
2914 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
2915 if test $ac_prog = install &&
2916 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2917 # AIX install. It has an incompatible calling convention.
2919 elif test $ac_prog = install &&
2920 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2921 # program-specific install script used by HP pwplus--don't use.
2924 rm -rf conftest.one conftest.two conftest.dir
2925 echo one
> conftest.one
2926 echo two
> conftest.two
2928 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2929 test -s conftest.one
&& test -s conftest.two
&&
2930 test -s conftest.dir
/conftest.one
&&
2931 test -s conftest.dir
/conftest.two
2933 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2946 rm -rf conftest.one conftest.two conftest.dir
2949 if test "${ac_cv_path_install+set}" = set; then
2950 INSTALL
=$ac_cv_path_install
2952 # As a last resort, use the slow shell script. Don't cache a
2953 # value for INSTALL within a source directory, because that will
2954 # break other packages using the cache if that directory is
2955 # removed, or if the value is a relative name.
2956 INSTALL
=$ac_install_sh
2959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2960 $as_echo "$INSTALL" >&6; }
2962 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2963 # It thinks the first close brace ends the variable substitution.
2964 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2966 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2968 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2971 $as_echo_n "checking whether build environment is sane... " >&6; }
2972 # Reject unsafe characters in $srcdir or the absolute working directory
2973 # name. Accept space and tab only in the latter.
2977 *[\\\"\
#\$\&\'\`$am_lf]*)
2978 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2981 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2982 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2985 # Do 'set' in a subshell so we don't clobber the current shell's
2986 # arguments. Must try -L first in case configure is actually a
2987 # symlink; some systems play weird games with the mod time of symlinks
2988 # (eg FreeBSD returns the mod time of the symlink's containing
2992 for am_try
in 1 2; do
2993 echo "timestamp, slept: $am_has_slept" > conftest.
file
2994 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2995 if test "$*" = "X"; then
2997 set X
`ls -t "$srcdir/configure" conftest.file`
2999 if test "$*" != "X $srcdir/configure conftest.file" \
3000 && test "$*" != "X conftest.file $srcdir/configure"; then
3002 # If neither matched, then we have a broken ls. This can happen
3003 # if, for instance, CONFIG_SHELL is bash and it inherits a
3004 # broken ls alias from the environment. This has actually
3005 # happened. Such a system could not be considered "sane".
3006 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
3007 alias in your environment" "$LINENO" 5
3009 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
3016 test "$2" = conftest.
file
3022 as_fn_error $?
"newly created file is older than distributed files!
3023 Check your system clock" "$LINENO" 5
3025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3026 $as_echo "yes" >&6; }
3027 # If we didn't sleep, we still need to ensure time stamps of config.status and
3028 # generated files are strictly newer.
3030 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
3037 test "$program_prefix" != NONE
&&
3038 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
3039 # Use a double $ so make ignores it.
3040 test "$program_suffix" != NONE
&&
3041 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
3042 # Double any \ or $.
3043 # By default was `s,x,x', remove it if useless.
3044 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
3045 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
3047 # Expand $ac_aux_dir to an absolute path.
3048 am_aux_dir
=`cd "$ac_aux_dir" && pwd`
3050 if test x
"${MISSING+set}" != xset
; then
3053 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
3055 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
3058 # Use eval to expand $SHELL
3059 if eval "$MISSING --is-lightweight"; then
3060 am_missing_run
="$MISSING "
3063 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3064 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3067 if test x
"${install_sh+set}" != xset
; then
3070 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
3072 install_sh
="\${SHELL} $am_aux_dir/install-sh"
3076 # Installed binaries are usually stripped using 'strip' when the user
3077 # run "make install-strip". However 'strip' might not be the right
3078 # tool to use in cross-compilation environments, therefore Automake
3079 # will honor the 'STRIP' environment variable to overrule this program.
3080 if test "$cross_compiling" != no
; then
3081 if test -n "$ac_tool_prefix"; then
3082 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3083 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3085 $as_echo_n "checking for $ac_word... " >&6; }
3086 if ${ac_cv_prog_STRIP+:} false
; then :
3087 $as_echo_n "(cached) " >&6
3089 if test -n "$STRIP"; then
3090 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3092 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3096 test -z "$as_dir" && as_dir
=.
3097 for ac_exec_ext
in '' $ac_executable_extensions; do
3098 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3099 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3100 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3109 STRIP
=$ac_cv_prog_STRIP
3110 if test -n "$STRIP"; then
3111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3112 $as_echo "$STRIP" >&6; }
3114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3115 $as_echo "no" >&6; }
3120 if test -z "$ac_cv_prog_STRIP"; then
3122 # Extract the first word of "strip", so it can be a program name with args.
3123 set dummy strip
; ac_word
=$2
3124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3125 $as_echo_n "checking for $ac_word... " >&6; }
3126 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
3127 $as_echo_n "(cached) " >&6
3129 if test -n "$ac_ct_STRIP"; then
3130 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3132 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3136 test -z "$as_dir" && as_dir
=.
3137 for ac_exec_ext
in '' $ac_executable_extensions; do
3138 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3139 ac_cv_prog_ac_ct_STRIP
="strip"
3140 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3149 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3150 if test -n "$ac_ct_STRIP"; then
3151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3152 $as_echo "$ac_ct_STRIP" >&6; }
3154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3155 $as_echo "no" >&6; }
3158 if test "x$ac_ct_STRIP" = x
; then
3161 case $cross_compiling:$ac_tool_warned in
3163 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3164 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3165 ac_tool_warned
=yes ;;
3170 STRIP
="$ac_cv_prog_STRIP"
3174 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
3176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3177 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3178 if test -z "$MKDIR_P"; then
3179 if ${ac_cv_path_mkdir+:} false
; then :
3180 $as_echo_n "(cached) " >&6
3182 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3183 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3186 test -z "$as_dir" && as_dir
=.
3187 for ac_prog
in mkdir gmkdir
; do
3188 for ac_exec_ext
in '' $ac_executable_extensions; do
3189 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
3190 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3191 'mkdir (GNU coreutils) '* | \
3192 'mkdir (coreutils) '* | \
3193 'mkdir (fileutils) '4.1*)
3194 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3204 test -d .
/--version && rmdir .
/--version
3205 if test "${ac_cv_path_mkdir+set}" = set; then
3206 MKDIR_P
="$ac_cv_path_mkdir -p"
3208 # As a last resort, use the slow shell script. Don't cache a
3209 # value for MKDIR_P within a source directory, because that will
3210 # break other packages using the cache if that directory is
3211 # removed, or if the value is a relative name.
3212 MKDIR_P
="$ac_install_sh -d"
3215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3216 $as_echo "$MKDIR_P" >&6; }
3218 for ac_prog
in gawk mawk nawk
awk
3220 # Extract the first word of "$ac_prog", so it can be a program name with args.
3221 set dummy
$ac_prog; ac_word
=$2
3222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3223 $as_echo_n "checking for $ac_word... " >&6; }
3224 if ${ac_cv_prog_AWK+:} false
; then :
3225 $as_echo_n "(cached) " >&6
3227 if test -n "$AWK"; then
3228 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3230 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3234 test -z "$as_dir" && as_dir
=.
3235 for ac_exec_ext
in '' $ac_executable_extensions; do
3236 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3237 ac_cv_prog_AWK
="$ac_prog"
3238 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3248 if test -n "$AWK"; then
3249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3250 $as_echo "$AWK" >&6; }
3252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3253 $as_echo "no" >&6; }
3257 test -n "$AWK" && break
3260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3261 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3263 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3264 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3265 $as_echo_n "(cached) " >&6
3267 cat >conftest.
make <<\_ACEOF
3270 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3272 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3273 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3275 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3277 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3281 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3283 $as_echo "yes" >&6; }
3286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3287 $as_echo "no" >&6; }
3288 SET_MAKE
="MAKE=${MAKE-make}"
3291 rm -rf .tst
2>/dev
/null
3292 mkdir .tst
2>/dev
/null
3293 if test -d .tst
; then
3298 rmdir .tst
2>/dev
/null
3300 # Check whether --enable-silent-rules was given.
3301 if test "${enable_silent_rules+set}" = set; then :
3302 enableval
=$enable_silent_rules;
3305 case $enable_silent_rules in # (((
3306 yes) AM_DEFAULT_VERBOSITY
=0;;
3307 no
) AM_DEFAULT_VERBOSITY
=1;;
3308 *) AM_DEFAULT_VERBOSITY
=1;;
3310 am_make
=${MAKE-make}
3311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3312 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3313 if ${am_cv_make_support_nested_variables+:} false
; then :
3314 $as_echo_n "(cached) " >&6
3316 if $as_echo 'TRUE=$(BAR$(V))
3322 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
3323 am_cv_make_support_nested_variables
=yes
3325 am_cv_make_support_nested_variables
=no
3328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3329 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3330 if test $am_cv_make_support_nested_variables = yes; then
3332 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
3334 AM_V
=$AM_DEFAULT_VERBOSITY
3335 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
3339 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3340 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3341 # is not polluted with repeated "-I."
3342 am__isrc
=' -I$(srcdir)'
3343 # test to see if srcdir already configured
3344 if test -f $srcdir/config.status
; then
3345 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3349 # test whether we have cygpath
3350 if test -z "$CYGPATH_W"; then
3351 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3352 CYGPATH_W
='cygpath -w'
3359 # Define the identity of the package.
3364 cat >>confdefs.h
<<_ACEOF
3365 #define PACKAGE "$PACKAGE"
3369 cat >>confdefs.h
<<_ACEOF
3370 #define VERSION "$VERSION"
3373 # Some tools Automake needs.
3375 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3378 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3381 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3384 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3387 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3389 # For better backward compatibility. To be removed once Automake 1.9.x
3390 # dies out for good. For more background, see:
3391 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3392 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3393 mkdir_p
='$(MKDIR_P)'
3395 # We need awk for the "check" target (and possibly the TAP driver). The
3396 # system "awk" is bad on some platforms.
3397 # Always define AMTAR for backward compatibility. Yes, it's still used
3398 # in the wild :-( We should find a proper way to deprecate it ...
3402 # We'll loop over all known methods to create a tar archive until one works.
3403 _am_tools
='gnutar pax cpio none'
3405 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
3412 # POSIX will say in a future version that running "rm -f" with no argument
3413 # is OK; and we want to be able to make that assumption in our Makefile
3414 # recipes. So use an aggressive probe to check that the usage we want is
3415 # actually supported "in the wild" to an acceptable degree.
3416 # See automake bug#10828.
3417 # To make any issue more visible, cause the running configure to be aborted
3418 # by default if the 'rm' program in use doesn't match our expectations; the
3419 # user can still override this though.
3420 if rm -f && rm -fr && rm -rf; then : OK
; else
3424 Your 'rm' program seems unable to run without file operands specified
3425 on the command line, even when the '-f' option is present. This is contrary
3426 to the behaviour of most rm programs out there, and not conforming with
3427 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3429 Please tell bug-automake@gnu.org about your system, including the value
3430 of your $PATH and any error possibly output before this message. This
3431 can help us improve future automake versions.
3434 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
3435 echo 'Configuration will proceed anyway, since you have set the' >&2
3436 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3440 Aborting the configuration process, to ensure you take notice of the issue.
3442 You can download and install GNU coreutils to get an 'rm' implementation
3443 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3445 If you want to complete the configuration process using your problematic
3446 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3447 to "yes", and re-run configure.
3450 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
3454 # Check whether --enable-silent-rules was given.
3455 if test "${enable_silent_rules+set}" = set; then :
3456 enableval
=$enable_silent_rules;
3459 case $enable_silent_rules in # (((
3460 yes) AM_DEFAULT_VERBOSITY
=0;;
3461 no
) AM_DEFAULT_VERBOSITY
=1;;
3462 *) AM_DEFAULT_VERBOSITY
=0;;
3464 am_make
=${MAKE-make}
3465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3466 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3467 if ${am_cv_make_support_nested_variables+:} false
; then :
3468 $as_echo_n "(cached) " >&6
3470 if $as_echo 'TRUE=$(BAR$(V))
3476 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
3477 am_cv_make_support_nested_variables
=yes
3479 am_cv_make_support_nested_variables
=no
3482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3483 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3484 if test $am_cv_make_support_nested_variables = yes; then
3486 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
3488 AM_V
=$AM_DEFAULT_VERBOSITY
3489 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
3494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3495 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3496 # Check whether --enable-maintainer-mode was given.
3497 if test "${enable_maintainer_mode+set}" = set; then :
3498 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3500 USE_MAINTAINER_MODE=no
3503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3504 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3505 if test $USE_MAINTAINER_MODE = yes; then
3506 MAINTAINER_MODE_TRUE=
3507 MAINTAINER_MODE_FALSE='#'
3509 MAINTAINER_MODE_TRUE
='#'
3510 MAINTAINER_MODE_FALSE
=
3513 MAINT
=$MAINTAINER_MODE_TRUE
3518 ac_cpp
='$CPP $CPPFLAGS'
3519 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3520 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3521 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3522 if test -n "$ac_tool_prefix"; then
3523 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3524 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3526 $as_echo_n "checking for $ac_word... " >&6; }
3527 if ${ac_cv_prog_CC+:} false
; then :
3528 $as_echo_n "(cached) " >&6
3530 if test -n "$CC"; then
3531 ac_cv_prog_CC
="$CC" # Let the user override the test.
3533 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3537 test -z "$as_dir" && as_dir
=.
3538 for ac_exec_ext
in '' $ac_executable_extensions; do
3539 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3540 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3541 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3551 if test -n "$CC"; then
3552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3553 $as_echo "$CC" >&6; }
3555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3556 $as_echo "no" >&6; }
3561 if test -z "$ac_cv_prog_CC"; then
3563 # Extract the first word of "gcc", so it can be a program name with args.
3564 set dummy gcc
; ac_word
=$2
3565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3566 $as_echo_n "checking for $ac_word... " >&6; }
3567 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3568 $as_echo_n "(cached) " >&6
3570 if test -n "$ac_ct_CC"; then
3571 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3573 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3577 test -z "$as_dir" && as_dir
=.
3578 for ac_exec_ext
in '' $ac_executable_extensions; do
3579 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3580 ac_cv_prog_ac_ct_CC
="gcc"
3581 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3590 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3591 if test -n "$ac_ct_CC"; then
3592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3593 $as_echo "$ac_ct_CC" >&6; }
3595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3596 $as_echo "no" >&6; }
3599 if test "x$ac_ct_CC" = x
; then
3602 case $cross_compiling:$ac_tool_warned in
3604 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3605 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3606 ac_tool_warned
=yes ;;
3614 if test -z "$CC"; then
3615 if test -n "$ac_tool_prefix"; then
3616 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3617 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3619 $as_echo_n "checking for $ac_word... " >&6; }
3620 if ${ac_cv_prog_CC+:} false
; then :
3621 $as_echo_n "(cached) " >&6
3623 if test -n "$CC"; then
3624 ac_cv_prog_CC
="$CC" # Let the user override the test.
3626 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3630 test -z "$as_dir" && as_dir
=.
3631 for ac_exec_ext
in '' $ac_executable_extensions; do
3632 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3633 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3634 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3644 if test -n "$CC"; then
3645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3646 $as_echo "$CC" >&6; }
3648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3649 $as_echo "no" >&6; }
3655 if test -z "$CC"; then
3656 # Extract the first word of "cc", so it can be a program name with args.
3657 set dummy cc
; ac_word
=$2
3658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3659 $as_echo_n "checking for $ac_word... " >&6; }
3660 if ${ac_cv_prog_CC+:} false
; then :
3661 $as_echo_n "(cached) " >&6
3663 if test -n "$CC"; then
3664 ac_cv_prog_CC
="$CC" # Let the user override the test.
3667 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3671 test -z "$as_dir" && as_dir
=.
3672 for ac_exec_ext
in '' $ac_executable_extensions; do
3673 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3674 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3675 ac_prog_rejected
=yes
3679 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3686 if test $ac_prog_rejected = yes; then
3687 # We found a bogon in the path, so make sure we never use it.
3688 set dummy
$ac_cv_prog_CC
3690 if test $# != 0; then
3691 # We chose a different compiler from the bogus one.
3692 # However, it has the same basename, so the bogon will be chosen
3693 # first if we set CC to just the basename; use the full file name.
3695 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3701 if test -n "$CC"; then
3702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3703 $as_echo "$CC" >&6; }
3705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3706 $as_echo "no" >&6; }
3711 if test -z "$CC"; then
3712 if test -n "$ac_tool_prefix"; then
3713 for ac_prog
in cl.exe
3715 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3716 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3718 $as_echo_n "checking for $ac_word... " >&6; }
3719 if ${ac_cv_prog_CC+:} false
; then :
3720 $as_echo_n "(cached) " >&6
3722 if test -n "$CC"; then
3723 ac_cv_prog_CC
="$CC" # Let the user override the test.
3725 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3729 test -z "$as_dir" && as_dir
=.
3730 for ac_exec_ext
in '' $ac_executable_extensions; do
3731 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3732 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3733 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3743 if test -n "$CC"; then
3744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3745 $as_echo "$CC" >&6; }
3747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3748 $as_echo "no" >&6; }
3752 test -n "$CC" && break
3755 if test -z "$CC"; then
3757 for ac_prog
in cl.exe
3759 # Extract the first word of "$ac_prog", so it can be a program name with args.
3760 set dummy
$ac_prog; ac_word
=$2
3761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3762 $as_echo_n "checking for $ac_word... " >&6; }
3763 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3764 $as_echo_n "(cached) " >&6
3766 if test -n "$ac_ct_CC"; then
3767 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3769 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3773 test -z "$as_dir" && as_dir
=.
3774 for ac_exec_ext
in '' $ac_executable_extensions; do
3775 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3776 ac_cv_prog_ac_ct_CC
="$ac_prog"
3777 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3786 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3787 if test -n "$ac_ct_CC"; then
3788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3789 $as_echo "$ac_ct_CC" >&6; }
3791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3792 $as_echo "no" >&6; }
3796 test -n "$ac_ct_CC" && break
3799 if test "x$ac_ct_CC" = x
; then
3802 case $cross_compiling:$ac_tool_warned in
3804 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3805 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3806 ac_tool_warned
=yes ;;
3815 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3816 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3817 as_fn_error $?
"no acceptable C compiler found in \$PATH
3818 See \`config.log' for more details" "$LINENO" 5; }
3820 # Provide some information about the compiler.
3821 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3824 for ac_option
in --version -v -V -qversion; do
3825 { { ac_try
="$ac_compiler $ac_option >&5"
3827 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3828 *) ac_try_echo=$ac_try;;
3830 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3831 $as_echo "$ac_try_echo"; } >&5
3832 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3834 if test -s conftest.err; then
3836 ... rest of stderr output deleted ...
3837 10q' conftest.err >conftest.er1
3838 cat conftest.er1 >&5
3840 rm -f conftest.er1 conftest.err
3841 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3842 test $ac_status = 0; }
3845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3846 /* end confdefs.h. */
3856 ac_clean_files_save=$ac_clean_files
3857 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3858 # Try to create an executable without -o first, disregard a.out.
3859 # It will help us diagnose broken compilers, and finding out an intuition
3861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3862 $as_echo_n "checking whether the C compiler works... " >&6; }
3863 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3865 # The possible output files:
3866 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3869 for ac_file in $ac_files
3872 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3873 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3878 if { { ac_try="$ac_link_default"
3880 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3881 *) ac_try_echo
=$ac_try;;
3883 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3884 $as_echo "$ac_try_echo"; } >&5
3885 (eval "$ac_link_default") 2>&5
3887 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3888 test $ac_status = 0; }; then :
3889 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3890 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3891 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3892 # so that the user can short-circuit this test for compilers unknown to
3894 for ac_file
in $ac_files ''
3896 test -f "$ac_file" ||
continue
3898 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3901 # We found the default executable, but exeext='' is most
3905 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3907 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3909 # We set ac_cv_exeext here because the later test for it is not
3910 # safe: cross compilers may not add the suffix if given an `-o'
3911 # argument, so we may need to know it at that point already.
3912 # Even if this section looks crufty: it has the advantage of
3919 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3924 if test -z "$ac_file"; then :
3925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3926 $as_echo "no" >&6; }
3927 $as_echo "$as_me: failed program was:" >&5
3928 sed 's/^/| /' conftest.
$ac_ext >&5
3930 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3931 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3932 as_fn_error
77 "C compiler cannot create executables
3933 See \`config.log' for more details" "$LINENO" 5; }
3935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3936 $as_echo "yes" >&6; }
3938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3939 $as_echo_n "checking for C compiler default output file name... " >&6; }
3940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3941 $as_echo "$ac_file" >&6; }
3942 ac_exeext
=$ac_cv_exeext
3944 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3945 ac_clean_files
=$ac_clean_files_save
3946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3947 $as_echo_n "checking for suffix of executables... " >&6; }
3948 if { { ac_try
="$ac_link"
3950 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3951 *) ac_try_echo=$ac_try;;
3953 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3954 $as_echo "$ac_try_echo"; } >&5
3955 (eval "$ac_link") 2>&5
3957 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3958 test $ac_status = 0; }; then :
3959 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3960 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3961 # work properly (i.e., refer to `conftest.exe'), while it won't with
3963 for ac_file
in conftest.exe conftest conftest.
*; do
3964 test -f "$ac_file" ||
continue
3966 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3967 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3973 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3974 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3975 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3976 See \`config.log' for more details" "$LINENO" 5; }
3978 rm -f conftest conftest
$ac_cv_exeext
3979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3980 $as_echo "$ac_cv_exeext" >&6; }
3982 rm -f conftest.
$ac_ext
3983 EXEEXT
=$ac_cv_exeext
3985 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3986 /* end confdefs.h. */
3991 FILE *f = fopen ("conftest.out", "w");
3992 return ferror (f) || fclose (f) != 0;
3998 ac_clean_files
="$ac_clean_files conftest.out"
3999 # Check that the compiler produces executables we can run. If not, either
4000 # the compiler is broken, or we cross compile.
4001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4002 $as_echo_n "checking whether we are cross compiling... " >&6; }
4003 if test "$cross_compiling" != yes; then
4004 { { ac_try
="$ac_link"
4006 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4007 *) ac_try_echo=$ac_try;;
4009 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4010 $as_echo "$ac_try_echo"; } >&5
4011 (eval "$ac_link") 2>&5
4013 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4014 test $ac_status = 0; }
4015 if { ac_try='./conftest$ac_cv_exeext'
4016 { { case "(($ac_try" in
4017 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4018 *) ac_try_echo
=$ac_try;;
4020 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4021 $as_echo "$ac_try_echo"; } >&5
4022 (eval "$ac_try") 2>&5
4024 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4025 test $ac_status = 0; }; }; then
4028 if test "$cross_compiling" = maybe
; then
4031 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4032 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4033 as_fn_error $?
"cannot run C compiled programs.
4034 If you meant to cross compile, use \`--host'.
4035 See \`config.log' for more details" "$LINENO" 5; }
4039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4040 $as_echo "$cross_compiling" >&6; }
4042 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4043 ac_clean_files
=$ac_clean_files_save
4044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4045 $as_echo_n "checking for suffix of object files... " >&6; }
4046 if ${ac_cv_objext+:} false
; then :
4047 $as_echo_n "(cached) " >&6
4049 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4050 /* end confdefs.h. */
4060 rm -f conftest.o conftest.obj
4061 if { { ac_try
="$ac_compile"
4063 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4064 *) ac_try_echo=$ac_try;;
4066 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4067 $as_echo "$ac_try_echo"; } >&5
4068 (eval "$ac_compile") 2>&5
4070 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4071 test $ac_status = 0; }; then :
4072 for ac_file in conftest.o conftest.obj conftest.*; do
4073 test -f "$ac_file" || continue;
4075 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4076 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4081 $as_echo "$as_me: failed program was:" >&5
4082 sed 's/^/| /' conftest.$ac_ext >&5
4084 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4085 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4086 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4087 See \
`config.log' for more details" "$LINENO" 5; }
4089 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4092 $as_echo "$ac_cv_objext" >&6; }
4093 OBJEXT=$ac_cv_objext
4095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4096 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4097 if ${ac_cv_c_compiler_gnu+:} false; then :
4098 $as_echo_n "(cached) " >&6
4100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4101 /* end confdefs.h. */
4114 if ac_fn_c_try_compile "$LINENO"; then :
4119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4120 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4124 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4125 if test $ac_compiler_gnu = yes; then
4130 ac_test_CFLAGS=${CFLAGS+set}
4131 ac_save_CFLAGS=$CFLAGS
4132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4133 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4134 if ${ac_cv_prog_cc_g+:} false; then :
4135 $as_echo_n "(cached) " >&6
4137 ac_save_c_werror_flag=$ac_c_werror_flag
4138 ac_c_werror_flag=yes
4141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4142 /* end confdefs.h. */
4152 if ac_fn_c_try_compile "$LINENO"; then :
4156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4157 /* end confdefs.h. */
4167 if ac_fn_c_try_compile "$LINENO"; then :
4170 ac_c_werror_flag=$ac_save_c_werror_flag
4172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4173 /* end confdefs.h. */
4183 if ac_fn_c_try_compile "$LINENO"; then :
4186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4191 ac_c_werror_flag=$ac_save_c_werror_flag
4193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4194 $as_echo "$ac_cv_prog_cc_g" >&6; }
4195 if test "$ac_test_CFLAGS" = set; then
4196 CFLAGS=$ac_save_CFLAGS
4197 elif test $ac_cv_prog_cc_g = yes; then
4198 if test "$GCC" = yes; then
4204 if test "$GCC" = yes; then
4210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4211 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4212 if ${ac_cv_prog_cc_c89+:} false; then :
4213 $as_echo_n "(cached) " >&6
4215 ac_cv_prog_cc_c89=no
4217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4218 /* end confdefs.h. */
4222 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4223 struct buf { int x; };
4224 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4225 static char *e (p, i)
4231 static char *f (char * (*g) (char **, int), char **p, ...)
4236 s = g (p, va_arg (v,int));
4241 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4242 function prototypes and stuff, but not '\xHH' hex character constants.
4243 These don't provoke an error unfortunately, instead are silently treated
4244 as 'x'. The following induces an error, until -std is added to get
4245 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4246 array size at least. It's necessary to write '\x00'==0 to get something
4247 that's true only with -std. */
4248 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4250 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4251 inside strings and character constants. */
4253 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4255 int test (int i, double x);
4256 struct s1 {int (*f) (int a);};
4257 struct s2 {int (*f) (double a);};
4258 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4264 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4269 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4270 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4272 CC="$ac_save_CC $ac_arg"
4273 if ac_fn_c_try_compile "$LINENO"; then :
4274 ac_cv_prog_cc_c89=$ac_arg
4276 rm -f core conftest.err conftest.$ac_objext
4277 test "x$ac_cv_prog_cc_c89" != "xno" && break
4279 rm -f conftest.$ac_ext
4284 case "x$ac_cv_prog_cc_c89" in
4286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4287 $as_echo "none needed" >&6; } ;;
4289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4290 $as_echo "unsupported" >&6; } ;;
4292 CC="$CC $ac_cv_prog_cc_c89"
4293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4294 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4296 if test "x$ac_cv_prog_cc_c89" != xno; then :
4301 ac_cpp='$CPP $CPPFLAGS'
4302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4307 ac_cpp='$CPP $CPPFLAGS'
4308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4312 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4313 if ${am_cv_prog_cc_c_o+:} false; then :
4314 $as_echo_n "(cached) " >&6
4316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4317 /* end confdefs.h. */
4327 # Make sure it works both with $CC and with simple cc.
4328 # Following AC_PROG_CC_C_O, we do the test twice because some
4329 # compilers refuse to overwrite an existing .o file with -o,
4330 # though they will create one.
4331 am_cv_prog_cc_c_o=yes
4333 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4334 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4337 (exit $ac_status); } \
4338 && test -f conftest2.$ac_objext; then
4341 am_cv_prog_cc_c_o=no
4345 rm -f core conftest*
4348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4349 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4350 if test "$am_cv_prog_cc_c_o" != yes; then
4351 # Losing compiler, so override with the script.
4352 # FIXME: It is wrong to rewrite CC.
4353 # But if we don't then we get into trouble of one sort or another.
4354 # A longer-term fix would be to have automake use am__CC in this case,
4355 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4356 CC="$am_aux_dir/compile $CC"
4359 ac_cpp='$CPP $CPPFLAGS'
4360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4364 DEPDIR="${am__leading_dot}deps"
4366 ac_config_commands="$ac_config_commands depfiles"
4369 am_make=${MAKE-make}
4370 cat > confinc << 'END'
4372 @echo this is the am__doit target
4375 # If we don't find an include directive, just comment out the code.
4376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4377 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4381 # First try GNU make style include.
4382 echo "include confinc" > confmf
4383 # Ignore all kinds of additional output from 'make'.
4384 case `$am_make -s -f confmf
2> /dev
/null
` in #(
4385 *the\ am__doit\ target*)
4391 # Now try BSD make style include.
4392 if test "$am__include" = "#"; then
4393 echo '.include "confinc"' > confmf
4394 case `$am_make -s -f confmf
2> /dev
/null
` in #(
4395 *the\ am__doit\ target*)
4396 am__include=.include
4404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4405 $as_echo "$_am_result" >&6; }
4406 rm -f confinc confmf
4408 # Check whether --enable-dependency-tracking was given.
4409 if test "${enable_dependency_tracking+set}" = set; then :
4410 enableval=$enable_dependency_tracking;
4413 if test "x$enable_dependency_tracking" != xno; then
4414 am_depcomp="$ac_aux_dir/depcomp"
4418 if test "x$enable_dependency_tracking" != xno; then
4428 depcc="$CC" am_compiler_list=
4430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4431 $as_echo_n "checking dependency style of $depcc... " >&6; }
4432 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4433 $as_echo_n "(cached) " >&6
4435 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4436 # We make a subdir and do the tests there. Otherwise we can end up
4437 # making bogus files that we don't know about and never remove. For
4438 # instance it was reported that on HP-UX the gcc test will end up
4439 # making a dummy file named 'D' -- because '-MD' means "put the output
4443 # Copy depcomp to subdir because otherwise we won't find it if we're
4444 # using a relative directory.
4445 cp "$am_depcomp" conftest.dir
4447 # We will build objects and dependencies in a subdirectory because
4448 # it helps to detect inapplicable dependency modes. For instance
4449 # both Tru64's cc and ICC support -MD to output dependencies as a
4450 # side effect of compilation, but ICC will put the dependencies in
4451 # the current directory while Tru64 will put them in the object
4455 am_cv_CC_dependencies_compiler_type=none
4456 if test "$am_compiler_list" = ""; then
4457 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4460 case " $depcc " in #(
4461 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4464 for depmode in $am_compiler_list; do
4465 # Setup a source with many dependencies, because some compilers
4466 # like to wrap large dependency lists on column 80 (with \), and
4467 # we should not choose a depcomp mode which is confused by this.
4469 # We need to recreate these files for each test, as the compiler may
4470 # overwrite some of them when testing with obscure command lines.
4471 # This happens at least with the AIX C compiler.
4473 for i in 1 2 3 4 5 6; do
4474 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4475 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4476 # Solaris 10 /bin/sh.
4477 echo '/* dummy */' > sub/conftst$i.h
4479 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4481 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4482 # mode. It turns out that the SunPro C++ compiler does not properly
4483 # handle '-M -o', and we need to detect this. Also, some Intel
4484 # versions had trouble with output in subdirs.
4485 am__obj=sub/conftest.${OBJEXT-o}
4486 am__minus_obj="-o $am__obj"
4489 # This depmode causes a compiler race in universal mode.
4490 test "$am__universal" = false || continue
4493 # After this tag, mechanisms are not by side-effect, so they'll
4494 # only be used when explicitly requested.
4495 if test "x$enable_dependency_tracking" = xyes; then
4501 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4502 # This compiler won't grok '-c -o', but also, the minuso test has
4503 # not run yet. These depmodes are late enough in the game, and
4504 # so weak that their functioning should not be impacted.
4505 am__obj=conftest.${OBJEXT-o}
4510 if depmode=$depmode \
4511 source=sub/conftest.c object=$am__obj \
4512 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4513 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4514 >/dev/null 2>conftest.err &&
4515 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4516 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4517 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4518 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4519 # icc doesn't choke on unknown options, it will just issue warnings
4520 # or remarks (even with -Werror). So we grep stderr for any message
4521 # that says an option was ignored or not supported.
4522 # When given -MP, icc 7.0 and 7.1 complain thusly:
4523 # icc: Command line warning: ignoring option '-M'; no argument required
4524 # The diagnosis changed in icc 8.0:
4525 # icc: Command line remark: option '-MP' not supported
4526 if (grep 'ignoring option' conftest.err ||
4527 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4528 am_cv_CC_dependencies_compiler_type=$depmode
4537 am_cv_CC_dependencies_compiler_type=none
4541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4542 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4543 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4546 test "x$enable_dependency_tracking" != xno \
4547 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4549 am__fastdepCC_FALSE='#'
4551 am__fastdepCC_TRUE='#'
4552 am__fastdepCC_FALSE=
4557 ac_cpp='$CXXCPP $CPPFLAGS'
4558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4561 if test -z "$CXX"; then
4562 if test -n "$CCC"; then
4565 if test -n "$ac_tool_prefix"; then
4566 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4568 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4569 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4571 $as_echo_n "checking for $ac_word... " >&6; }
4572 if ${ac_cv_prog_CXX+:} false; then :
4573 $as_echo_n "(cached) " >&6
4575 if test -n "$CXX"; then
4576 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4578 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4582 test -z "$as_dir" && as_dir=.
4583 for ac_exec_ext in '' $ac_executable_extensions; do
4584 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4585 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4586 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4596 if test -n "$CXX"; then
4597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4598 $as_echo "$CXX" >&6; }
4600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4601 $as_echo "no" >&6; }
4605 test -n "$CXX" && break
4608 if test -z "$CXX"; then
4610 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4612 # Extract the first word of "$ac_prog", so it can be a program name with args.
4613 set dummy $ac_prog; ac_word=$2
4614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4615 $as_echo_n "checking for $ac_word... " >&6; }
4616 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4617 $as_echo_n "(cached) " >&6
4619 if test -n "$ac_ct_CXX"; then
4620 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4622 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4626 test -z "$as_dir" && as_dir=.
4627 for ac_exec_ext in '' $ac_executable_extensions; do
4628 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4629 ac_cv_prog_ac_ct_CXX="$ac_prog"
4630 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4639 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4640 if test -n "$ac_ct_CXX"; then
4641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4642 $as_echo "$ac_ct_CXX" >&6; }
4644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4645 $as_echo "no" >&6; }
4649 test -n "$ac_ct_CXX" && break
4652 if test "x$ac_ct_CXX" = x; then
4655 case $cross_compiling:$ac_tool_warned in
4657 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4658 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4659 ac_tool_warned=yes ;;
4667 # Provide some information about the compiler.
4668 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4671 for ac_option in --version -v -V -qversion; do
4672 { { ac_try="$ac_compiler $ac_option >&5"
4674 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4675 *) ac_try_echo
=$ac_try;;
4677 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4678 $as_echo "$ac_try_echo"; } >&5
4679 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4681 if test -s conftest.err
; then
4683 ... rest of stderr output deleted ...
4684 10q' conftest.err
>conftest.er1
4685 cat conftest.er1
>&5
4687 rm -f conftest.er1 conftest.err
4688 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4689 test $ac_status = 0; }
4692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4693 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4694 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
4695 $as_echo_n "(cached) " >&6
4697 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4698 /* end confdefs.h. */
4711 if ac_fn_cxx_try_compile
"$LINENO"; then :
4716 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4717 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4721 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4722 if test $ac_compiler_gnu = yes; then
4727 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4728 ac_save_CXXFLAGS
=$CXXFLAGS
4729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4730 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4731 if ${ac_cv_prog_cxx_g+:} false
; then :
4732 $as_echo_n "(cached) " >&6
4734 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4735 ac_cxx_werror_flag
=yes
4738 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4739 /* end confdefs.h. */
4749 if ac_fn_cxx_try_compile
"$LINENO"; then :
4750 ac_cv_prog_cxx_g
=yes
4753 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4754 /* end confdefs.h. */
4764 if ac_fn_cxx_try_compile
"$LINENO"; then :
4767 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4769 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4770 /* end confdefs.h. */
4780 if ac_fn_cxx_try_compile
"$LINENO"; then :
4781 ac_cv_prog_cxx_g
=yes
4783 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4785 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4787 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4788 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4791 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4792 if test "$ac_test_CXXFLAGS" = set; then
4793 CXXFLAGS
=$ac_save_CXXFLAGS
4794 elif test $ac_cv_prog_cxx_g = yes; then
4795 if test "$GXX" = yes; then
4801 if test "$GXX" = yes; then
4808 ac_cpp
='$CPP $CPPFLAGS'
4809 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4810 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4811 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4813 depcc
="$CXX" am_compiler_list
=
4815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4816 $as_echo_n "checking dependency style of $depcc... " >&6; }
4817 if ${am_cv_CXX_dependencies_compiler_type+:} false
; then :
4818 $as_echo_n "(cached) " >&6
4820 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4821 # We make a subdir and do the tests there. Otherwise we can end up
4822 # making bogus files that we don't know about and never remove. For
4823 # instance it was reported that on HP-UX the gcc test will end up
4824 # making a dummy file named 'D' -- because '-MD' means "put the output
4828 # Copy depcomp to subdir because otherwise we won't find it if we're
4829 # using a relative directory.
4830 cp "$am_depcomp" conftest.dir
4832 # We will build objects and dependencies in a subdirectory because
4833 # it helps to detect inapplicable dependency modes. For instance
4834 # both Tru64's cc and ICC support -MD to output dependencies as a
4835 # side effect of compilation, but ICC will put the dependencies in
4836 # the current directory while Tru64 will put them in the object
4840 am_cv_CXX_dependencies_compiler_type
=none
4841 if test "$am_compiler_list" = ""; then
4842 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4845 case " $depcc " in #(
4846 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4849 for depmode
in $am_compiler_list; do
4850 # Setup a source with many dependencies, because some compilers
4851 # like to wrap large dependency lists on column 80 (with \), and
4852 # we should not choose a depcomp mode which is confused by this.
4854 # We need to recreate these files for each test, as the compiler may
4855 # overwrite some of them when testing with obscure command lines.
4856 # This happens at least with the AIX C compiler.
4858 for i
in 1 2 3 4 5 6; do
4859 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4860 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4861 # Solaris 10 /bin/sh.
4862 echo '/* dummy */' > sub
/conftst
$i.h
4864 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4866 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4867 # mode. It turns out that the SunPro C++ compiler does not properly
4868 # handle '-M -o', and we need to detect this. Also, some Intel
4869 # versions had trouble with output in subdirs.
4870 am__obj
=sub
/conftest.
${OBJEXT-o}
4871 am__minus_obj
="-o $am__obj"
4874 # This depmode causes a compiler race in universal mode.
4875 test "$am__universal" = false ||
continue
4878 # After this tag, mechanisms are not by side-effect, so they'll
4879 # only be used when explicitly requested.
4880 if test "x$enable_dependency_tracking" = xyes
; then
4886 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
4887 # This compiler won't grok '-c -o', but also, the minuso test has
4888 # not run yet. These depmodes are late enough in the game, and
4889 # so weak that their functioning should not be impacted.
4890 am__obj
=conftest.
${OBJEXT-o}
4895 if depmode
=$depmode \
4896 source=sub
/conftest.c object
=$am__obj \
4897 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4898 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4899 >/dev
/null
2>conftest.err
&&
4900 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4901 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4902 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4903 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4904 # icc doesn't choke on unknown options, it will just issue warnings
4905 # or remarks (even with -Werror). So we grep stderr for any message
4906 # that says an option was ignored or not supported.
4907 # When given -MP, icc 7.0 and 7.1 complain thusly:
4908 # icc: Command line warning: ignoring option '-M'; no argument required
4909 # The diagnosis changed in icc 8.0:
4910 # icc: Command line remark: option '-MP' not supported
4911 if (grep 'ignoring option' conftest.err ||
4912 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4913 am_cv_CXX_dependencies_compiler_type
=$depmode
4922 am_cv_CXX_dependencies_compiler_type
=none
4926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4927 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4928 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
4931 test "x$enable_dependency_tracking" != xno \
4932 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
4933 am__fastdepCXX_TRUE
=
4934 am__fastdepCXX_FALSE
='#'
4936 am__fastdepCXX_TRUE
='#'
4937 am__fastdepCXX_FALSE
=
4941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4942 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4943 if ${ac_cv_path_GREP+:} false
; then :
4944 $as_echo_n "(cached) " >&6
4946 if test -z "$GREP"; then
4947 ac_path_GREP_found
=false
4948 # Loop through the user's path and test for each of PROGNAME-LIST
4949 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4950 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4953 test -z "$as_dir" && as_dir
=.
4954 for ac_prog
in grep ggrep
; do
4955 for ac_exec_ext
in '' $ac_executable_extensions; do
4956 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4957 as_fn_executable_p
"$ac_path_GREP" ||
continue
4958 # Check for GNU ac_path_GREP and select it if it is found.
4959 # Check for GNU $ac_path_GREP
4960 case `"$ac_path_GREP" --version 2>&1` in
4962 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4965 $as_echo_n 0123456789 >"conftest.in"
4968 cat "conftest.in" "conftest.in" >"conftest.tmp"
4969 mv "conftest.tmp" "conftest.in"
4970 cp "conftest.in" "conftest.nl"
4971 $as_echo 'GREP' >> "conftest.nl"
4972 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4973 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4974 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4975 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4976 # Best one so far, save it but keep looking for a better one
4977 ac_cv_path_GREP
="$ac_path_GREP"
4978 ac_path_GREP_max
=$ac_count
4980 # 10*(2^10) chars as input seems more than enough
4981 test $ac_count -gt 10 && break
4983 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4986 $ac_path_GREP_found && break 3
4991 if test -z "$ac_cv_path_GREP"; then
4992 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4995 ac_cv_path_GREP
=$GREP
4999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5000 $as_echo "$ac_cv_path_GREP" >&6; }
5001 GREP
="$ac_cv_path_GREP"
5006 ac_cpp
='$CPP $CPPFLAGS'
5007 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5008 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5009 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5011 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5012 # On Suns, sometimes $CPP names a directory.
5013 if test -n "$CPP" && test -d "$CPP"; then
5016 if test -z "$CPP"; then
5017 if ${ac_cv_prog_CPP+:} false
; then :
5018 $as_echo_n "(cached) " >&6
5020 # Double quotes because CPP needs to be expanded
5021 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5024 for ac_c_preproc_warn_flag
in '' yes
5026 # Use a header file that comes with gcc, so configuring glibc
5027 # with a fresh cross-compiler works.
5028 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5029 # <limits.h> exists even on freestanding compilers.
5030 # On the NeXT, cc -E runs the code through the compiler's parser,
5031 # not just through cpp. "Syntax error" is here to catch this case.
5032 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5033 /* end confdefs.h. */
5035 # include <limits.h>
5037 # include <assert.h>
5041 if ac_fn_c_try_cpp
"$LINENO"; then :
5044 # Broken: fails on valid input.
5047 rm -f conftest.err conftest.i conftest.
$ac_ext
5049 # OK, works on sane cases. Now check whether nonexistent headers
5050 # can be detected and how.
5051 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5052 /* end confdefs.h. */
5053 #include <ac_nonexistent.h>
5055 if ac_fn_c_try_cpp
"$LINENO"; then :
5056 # Broken: success on invalid input.
5059 # Passes both tests.
5063 rm -f conftest.err conftest.i conftest.
$ac_ext
5066 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5067 rm -f conftest.i conftest.err conftest.
$ac_ext
5068 if $ac_preproc_ok; then :
5080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5081 $as_echo "$CPP" >&6; }
5083 for ac_c_preproc_warn_flag
in '' yes
5085 # Use a header file that comes with gcc, so configuring glibc
5086 # with a fresh cross-compiler works.
5087 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5088 # <limits.h> exists even on freestanding compilers.
5089 # On the NeXT, cc -E runs the code through the compiler's parser,
5090 # not just through cpp. "Syntax error" is here to catch this case.
5091 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5092 /* end confdefs.h. */
5094 # include <limits.h>
5096 # include <assert.h>
5100 if ac_fn_c_try_cpp
"$LINENO"; then :
5103 # Broken: fails on valid input.
5106 rm -f conftest.err conftest.i conftest.
$ac_ext
5108 # OK, works on sane cases. Now check whether nonexistent headers
5109 # can be detected and how.
5110 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5111 /* end confdefs.h. */
5112 #include <ac_nonexistent.h>
5114 if ac_fn_c_try_cpp
"$LINENO"; then :
5115 # Broken: success on invalid input.
5118 # Passes both tests.
5122 rm -f conftest.err conftest.i conftest.
$ac_ext
5125 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5126 rm -f conftest.i conftest.err conftest.
$ac_ext
5127 if $ac_preproc_ok; then :
5130 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5131 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5132 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
5133 See \`config.log' for more details" "$LINENO" 5; }
5137 ac_cpp
='$CPP $CPPFLAGS'
5138 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5139 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5140 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5144 $as_echo_n "checking for egrep... " >&6; }
5145 if ${ac_cv_path_EGREP+:} false
; then :
5146 $as_echo_n "(cached) " >&6
5148 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5149 then ac_cv_path_EGREP
="$GREP -E"
5151 if test -z "$EGREP"; then
5152 ac_path_EGREP_found
=false
5153 # Loop through the user's path and test for each of PROGNAME-LIST
5154 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5155 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5158 test -z "$as_dir" && as_dir
=.
5159 for ac_prog
in egrep; do
5160 for ac_exec_ext
in '' $ac_executable_extensions; do
5161 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5162 as_fn_executable_p
"$ac_path_EGREP" ||
continue
5163 # Check for GNU ac_path_EGREP and select it if it is found.
5164 # Check for GNU $ac_path_EGREP
5165 case `"$ac_path_EGREP" --version 2>&1` in
5167 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5170 $as_echo_n 0123456789 >"conftest.in"
5173 cat "conftest.in" "conftest.in" >"conftest.tmp"
5174 mv "conftest.tmp" "conftest.in"
5175 cp "conftest.in" "conftest.nl"
5176 $as_echo 'EGREP' >> "conftest.nl"
5177 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5178 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5179 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5180 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5181 # Best one so far, save it but keep looking for a better one
5182 ac_cv_path_EGREP
="$ac_path_EGREP"
5183 ac_path_EGREP_max
=$ac_count
5185 # 10*(2^10) chars as input seems more than enough
5186 test $ac_count -gt 10 && break
5188 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5191 $ac_path_EGREP_found && break 3
5196 if test -z "$ac_cv_path_EGREP"; then
5197 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5200 ac_cv_path_EGREP
=$EGREP
5205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5206 $as_echo "$ac_cv_path_EGREP" >&6; }
5207 EGREP
="$ac_cv_path_EGREP"
5210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5211 $as_echo_n "checking for ANSI C header files... " >&6; }
5212 if ${ac_cv_header_stdc+:} false
; then :
5213 $as_echo_n "(cached) " >&6
5215 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5216 /* end confdefs.h. */
5230 if ac_fn_c_try_compile
"$LINENO"; then :
5231 ac_cv_header_stdc
=yes
5233 ac_cv_header_stdc
=no
5235 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5237 if test $ac_cv_header_stdc = yes; then
5238 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5239 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5240 /* end confdefs.h. */
5244 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5245 $EGREP "memchr" >/dev
/null
2>&1; then :
5248 ac_cv_header_stdc
=no
5254 if test $ac_cv_header_stdc = yes; then
5255 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5256 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5257 /* end confdefs.h. */
5261 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5262 $EGREP "free" >/dev
/null
2>&1; then :
5265 ac_cv_header_stdc
=no
5271 if test $ac_cv_header_stdc = yes; then
5272 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5273 if test "$cross_compiling" = yes; then :
5276 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5277 /* end confdefs.h. */
5280 #if ((' ' & 0x0FF) == 0x020)
5281 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5282 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5284 # define ISLOWER(c) \
5285 (('a' <= (c) && (c) <= 'i') \
5286 || ('j' <= (c) && (c) <= 'r') \
5287 || ('s' <= (c) && (c) <= 'z'))
5288 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5291 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5296 for (i = 0; i < 256; i++)
5297 if (XOR (islower (i), ISLOWER (i))
5298 || toupper (i) != TOUPPER (i))
5303 if ac_fn_c_try_run
"$LINENO"; then :
5306 ac_cv_header_stdc
=no
5308 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5309 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5315 $as_echo "$ac_cv_header_stdc" >&6; }
5316 if test $ac_cv_header_stdc = yes; then
5318 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5322 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5323 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5324 inttypes.h stdint.h unistd.h
5326 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5327 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5329 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5330 cat >>confdefs.h
<<_ACEOF
5331 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5340 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
5341 if test "x$ac_cv_header_minix_config_h" = xyes
; then :
5348 if test "$MINIX" = yes; then
5350 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
5353 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
5356 $as_echo "#define _MINIX 1" >>confdefs.h
5361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
5362 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
5363 if ${ac_cv_safe_to_define___extensions__+:} false
; then :
5364 $as_echo_n "(cached) " >&6
5366 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5367 /* end confdefs.h. */
5369 # define __EXTENSIONS__ 1
5370 $ac_includes_default
5379 if ac_fn_c_try_compile
"$LINENO"; then :
5380 ac_cv_safe_to_define___extensions__
=yes
5382 ac_cv_safe_to_define___extensions__
=no
5384 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
5387 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
5388 test $ac_cv_safe_to_define___extensions__ = yes &&
5389 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
5391 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
5393 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
5395 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
5397 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
5410 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
5411 if test -n "$ac_tool_prefix"; then
5412 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5413 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
5414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5415 $as_echo_n "checking for $ac_word... " >&6; }
5416 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
5417 $as_echo_n "(cached) " >&6
5421 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
5424 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5428 test -z "$as_dir" && as_dir
=.
5429 for ac_exec_ext
in '' $ac_executable_extensions; do
5430 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5431 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
5432 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5442 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
5443 if test -n "$PKG_CONFIG"; then
5444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5445 $as_echo "$PKG_CONFIG" >&6; }
5447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5448 $as_echo "no" >&6; }
5453 if test -z "$ac_cv_path_PKG_CONFIG"; then
5454 ac_pt_PKG_CONFIG
=$PKG_CONFIG
5455 # Extract the first word of "pkg-config", so it can be a program name with args.
5456 set dummy pkg-config
; ac_word
=$2
5457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5458 $as_echo_n "checking for $ac_word... " >&6; }
5459 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
5460 $as_echo_n "(cached) " >&6
5462 case $ac_pt_PKG_CONFIG in
5464 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
5467 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5471 test -z "$as_dir" && as_dir
=.
5472 for ac_exec_ext
in '' $ac_executable_extensions; do
5473 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5474 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
5475 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5485 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
5486 if test -n "$ac_pt_PKG_CONFIG"; then
5487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
5488 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
5490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5491 $as_echo "no" >&6; }
5494 if test "x$ac_pt_PKG_CONFIG" = x
; then
5497 case $cross_compiling:$ac_tool_warned in
5499 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5500 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5501 ac_tool_warned
=yes ;;
5503 PKG_CONFIG
=$ac_pt_PKG_CONFIG
5506 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
5510 if test -n "$PKG_CONFIG"; then
5511 _pkg_min_version
=0.9.0
5512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
5513 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
5514 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
5515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5516 $as_echo "yes" >&6; }
5518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5519 $as_echo "no" >&6; }
5526 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5527 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5532 macro_version
='2.2.7a'
5533 macro_revision
='1.3134'
5547 ltmain
="$ac_aux_dir/ltmain.sh"
5549 # Backslashify metacharacters that are still active within
5550 # double-quoted strings.
5551 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
5553 # Same as above, but do not quote variable references.
5554 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
5556 # Sed substitution to delay expansion of an escaped shell variable in a
5557 # double_quote_subst'ed string.
5558 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
5560 # Sed substitution to delay expansion of an escaped single quote.
5561 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
5563 # Sed substitution to avoid accidental globbing in evaled expressions
5564 no_glob_subst
='s/\*/\\\*/g'
5566 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5567 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5568 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5571 $as_echo_n "checking how to print strings... " >&6; }
5572 # Test print first, because it will be a builtin if present.
5573 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5574 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5576 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5579 # Use this function as a fallback that always works.
5580 func_fallback_echo ()
5582 eval 'cat <<_LTECHO_EOF
5586 ECHO='func_fallback_echo
'
5589 # func_echo_all arg...
5590 # Invoke $ECHO with all args, space-separated.
5597 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5598 $as_echo "printf" >&6; } ;;
5599 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5600 $as_echo "print -r" >&6; } ;;
5601 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5602 $as_echo "cat" >&6; } ;;
5618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5619 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5620 if ${ac_cv_path_SED+:} false; then :
5621 $as_echo_n "(cached) " >&6
5623 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5624 for ac_i in 1 2 3 4 5 6 7; do
5625 ac_script="$ac_script$as_nl$ac_script"
5627 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5628 { ac_script=; unset ac_script;}
5629 if test -z "$SED"; then
5630 ac_path_SED_found=false
5631 # Loop through the user's path and
test for each of PROGNAME-LIST
5632 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5636 test -z "$as_dir" && as_dir
=.
5637 for ac_prog
in sed gsed
; do
5638 for ac_exec_ext
in '' $ac_executable_extensions; do
5639 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
5640 as_fn_executable_p
"$ac_path_SED" ||
continue
5641 # Check for GNU ac_path_SED and select it if it is found.
5642 # Check for GNU $ac_path_SED
5643 case `"$ac_path_SED" --version 2>&1` in
5645 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
5648 $as_echo_n 0123456789 >"conftest.in"
5651 cat "conftest.in" "conftest.in" >"conftest.tmp"
5652 mv "conftest.tmp" "conftest.in"
5653 cp "conftest.in" "conftest.nl"
5654 $as_echo '' >> "conftest.nl"
5655 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5656 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5657 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5658 if test $ac_count -gt ${ac_path_SED_max-0}; then
5659 # Best one so far, save it but keep looking for a better one
5660 ac_cv_path_SED
="$ac_path_SED"
5661 ac_path_SED_max
=$ac_count
5663 # 10*(2^10) chars as input seems more than enough
5664 test $ac_count -gt 10 && break
5666 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5669 $ac_path_SED_found && break 3
5674 if test -z "$ac_cv_path_SED"; then
5675 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
5682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5683 $as_echo "$ac_cv_path_SED" >&6; }
5684 SED
="$ac_cv_path_SED"
5687 test -z "$SED" && SED
=sed
5688 Xsed
="$SED -e 1s/^X//"
5700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5701 $as_echo_n "checking for fgrep... " >&6; }
5702 if ${ac_cv_path_FGREP+:} false
; then :
5703 $as_echo_n "(cached) " >&6
5705 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
5706 then ac_cv_path_FGREP
="$GREP -F"
5708 if test -z "$FGREP"; then
5709 ac_path_FGREP_found
=false
5710 # Loop through the user's path and test for each of PROGNAME-LIST
5711 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5712 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5715 test -z "$as_dir" && as_dir
=.
5716 for ac_prog
in fgrep
; do
5717 for ac_exec_ext
in '' $ac_executable_extensions; do
5718 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
5719 as_fn_executable_p
"$ac_path_FGREP" ||
continue
5720 # Check for GNU ac_path_FGREP and select it if it is found.
5721 # Check for GNU $ac_path_FGREP
5722 case `"$ac_path_FGREP" --version 2>&1` in
5724 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
5727 $as_echo_n 0123456789 >"conftest.in"
5730 cat "conftest.in" "conftest.in" >"conftest.tmp"
5731 mv "conftest.tmp" "conftest.in"
5732 cp "conftest.in" "conftest.nl"
5733 $as_echo 'FGREP' >> "conftest.nl"
5734 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5735 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5736 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5737 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5738 # Best one so far, save it but keep looking for a better one
5739 ac_cv_path_FGREP
="$ac_path_FGREP"
5740 ac_path_FGREP_max
=$ac_count
5742 # 10*(2^10) chars as input seems more than enough
5743 test $ac_count -gt 10 && break
5745 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5748 $ac_path_FGREP_found && break 3
5753 if test -z "$ac_cv_path_FGREP"; then
5754 as_fn_error $?
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5757 ac_cv_path_FGREP
=$FGREP
5762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5763 $as_echo "$ac_cv_path_FGREP" >&6; }
5764 FGREP
="$ac_cv_path_FGREP"
5767 test -z "$GREP" && GREP
=grep
5787 # Check whether --with-gnu-ld was given.
5788 if test "${with_gnu_ld+set}" = set; then :
5789 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
5795 if test "$GCC" = yes; then
5796 # Check if gcc -print-prog-name=ld gives a path.
5797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5798 $as_echo_n "checking for ld used by $CC... " >&6; }
5801 # gcc leaves a trailing carriage return which upsets mingw
5802 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5804 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5807 # Accept absolute paths.
5809 re_direlt
='/[^/][^/]*/\.\./'
5810 # Canonicalize the pathname of ld
5811 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5812 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
5813 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5815 test -z "$LD" && LD
="$ac_prog"
5818 # If it fails, then pretend we aren't using GCC.
5822 # If it is relative, then search for the first ld in PATH.
5826 elif test "$with_gnu_ld" = yes; then
5827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5828 $as_echo_n "checking for GNU ld... " >&6; }
5830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5831 $as_echo_n "checking for non-GNU ld... " >&6; }
5833 if ${lt_cv_path_LD+:} false
; then :
5834 $as_echo_n "(cached) " >&6
5836 if test -z "$LD"; then
5837 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5838 for ac_dir
in $PATH; do
5840 test -z "$ac_dir" && ac_dir
=.
5841 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5842 lt_cv_path_LD
="$ac_dir/$ac_prog"
5843 # Check to see if the program is GNU ld. I'd rather use --version,
5844 # but apparently some variants of GNU ld only accept -v.
5845 # Break only if it was the GNU/non-GNU ld that we prefer.
5846 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5847 *GNU
* |
*'with BFD'*)
5848 test "$with_gnu_ld" != no
&& break
5851 test "$with_gnu_ld" != yes && break
5858 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
5863 if test -n "$LD"; then
5864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5865 $as_echo "$LD" >&6; }
5867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5868 $as_echo "no" >&6; }
5870 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
5871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5872 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5873 if ${lt_cv_prog_gnu_ld+:} false
; then :
5874 $as_echo_n "(cached) " >&6
5876 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5877 case `$LD -v 2>&1 </dev/null` in
5878 *GNU
* |
*'with BFD'*)
5879 lt_cv_prog_gnu_ld
=yes
5882 lt_cv_prog_gnu_ld
=no
5886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5887 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5888 with_gnu_ld
=$lt_cv_prog_gnu_ld
5898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5899 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5900 if ${lt_cv_path_NM+:} false
; then :
5901 $as_echo_n "(cached) " >&6
5903 if test -n "$NM"; then
5904 # Let the user override the nm to test.
5905 lt_nm_to_check
="$NM"
5907 lt_nm_to_check
="${ac_tool_prefix}nm"
5908 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5909 lt_nm_to_check
="$lt_nm_to_check nm"
5912 for lt_tmp_nm
in "$lt_nm_to_check"; do
5913 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5914 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
5916 test -z "$ac_dir" && ac_dir
=.
5917 # Strip out any user-provided options from the nm to test twice,
5918 # the first time to test to see if nm (rather than its options) has
5919 # an explicit path, the second time to yield a file which can be
5921 tmp_nm_path
="`$ECHO "$lt_tmp_nm" | sed 's, -.*$,,'`"
5922 case "$tmp_nm_path" in
5923 */*|
*\\*) tmp_nm
="$lt_tmp_nm";;
5924 *) tmp_nm
="$ac_dir/$lt_tmp_nm";;
5926 tmp_nm_to_nm
="`$ECHO "$tmp_nm" | sed 's, -.*$,,'`"
5927 if test -f "$tmp_nm_to_nm" ||
test -f "$tmp_nm_to_nm$ac_exeext" ; then
5928 # Check to see if the nm accepts a BSD-compat flag.
5929 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5930 # nm: unknown option "B" ignored
5931 case `"$tmp_nm" -B "$tmp_nm_to_nm" 2>&1 | grep -v '^ *$' | sed '1q'` in
5932 *$tmp_nm*) lt_cv_path_NM
="$tmp_nm -B"
5936 case `"$tmp_nm" -p "$tmp_nm_to_nm" 2>&1 | grep -v '^ *$' | sed '1q'` in
5938 lt_cv_path_NM
="$tmp_nm -p"
5942 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5943 continue # so that we can try to find one that supports BSD flags
5952 : ${lt_cv_path_NM=no}
5954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5955 $as_echo "$lt_cv_path_NM" >&6; }
5956 if test "$lt_cv_path_NM" != "no"; then
5959 # Didn't find any BSD compatible name lister, look for dumpbin.
5960 if test -n "$DUMPBIN"; then :
5961 # Let the user override the test.
5963 if test -n "$ac_tool_prefix"; then
5964 for ac_prog
in dumpbin
"link -dump"
5966 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5967 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5969 $as_echo_n "checking for $ac_word... " >&6; }
5970 if ${ac_cv_prog_DUMPBIN+:} false
; then :
5971 $as_echo_n "(cached) " >&6
5973 if test -n "$DUMPBIN"; then
5974 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
5976 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5980 test -z "$as_dir" && as_dir
=.
5981 for ac_exec_ext
in '' $ac_executable_extensions; do
5982 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5983 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
5984 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5993 DUMPBIN
=$ac_cv_prog_DUMPBIN
5994 if test -n "$DUMPBIN"; then
5995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5996 $as_echo "$DUMPBIN" >&6; }
5998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5999 $as_echo "no" >&6; }
6003 test -n "$DUMPBIN" && break
6006 if test -z "$DUMPBIN"; then
6007 ac_ct_DUMPBIN
=$DUMPBIN
6008 for ac_prog
in dumpbin
"link -dump"
6010 # Extract the first word of "$ac_prog", so it can be a program name with args.
6011 set dummy
$ac_prog; ac_word
=$2
6012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6013 $as_echo_n "checking for $ac_word... " >&6; }
6014 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false
; then :
6015 $as_echo_n "(cached) " >&6
6017 if test -n "$ac_ct_DUMPBIN"; then
6018 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
6020 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6024 test -z "$as_dir" && as_dir
=.
6025 for ac_exec_ext
in '' $ac_executable_extensions; do
6026 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6027 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
6028 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6037 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
6038 if test -n "$ac_ct_DUMPBIN"; then
6039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6040 $as_echo "$ac_ct_DUMPBIN" >&6; }
6042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6043 $as_echo "no" >&6; }
6047 test -n "$ac_ct_DUMPBIN" && break
6050 if test "x$ac_ct_DUMPBIN" = x
; then
6053 case $cross_compiling:$ac_tool_warned in
6055 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6056 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6057 ac_tool_warned
=yes ;;
6059 DUMPBIN
=$ac_ct_DUMPBIN
6063 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6065 DUMPBIN
="$DUMPBIN -symbols"
6073 if test "$DUMPBIN" != ":"; then
6077 test -z "$NM" && NM
=nm
6084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6085 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6086 if ${lt_cv_nm_interface+:} false
; then :
6087 $as_echo_n "(cached) " >&6
6089 lt_cv_nm_interface
="BSD nm"
6090 echo "int some_variable = 0;" > conftest.
$ac_ext
6091 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6092 (eval "$ac_compile" 2>conftest.err
)
6093 cat conftest.err
>&5
6094 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6095 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
6096 cat conftest.err
>&5
6097 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6098 cat conftest.out
>&5
6099 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
6100 lt_cv_nm_interface
="MS dumpbin"
6104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6105 $as_echo "$lt_cv_nm_interface" >&6; }
6107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6108 $as_echo_n "checking whether ln -s works... " >&6; }
6110 if test "$LN_S" = "ln -s"; then
6111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6112 $as_echo "yes" >&6; }
6114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6115 $as_echo "no, using $LN_S" >&6; }
6118 # find the maximum length of command line arguments
6119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6120 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6121 if ${lt_cv_sys_max_cmd_len+:} false
; then :
6122 $as_echo_n "(cached) " >&6
6129 # On DJGPP, this test can blow up pretty badly due to problems in libc
6130 # (any single argument exceeding 2000 bytes causes a buffer overrun
6131 # during glob expansion). Even if it were fixed, the result of this
6132 # check would be larger than it should be.
6133 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
6137 # Under GNU Hurd, this test is not required because there is
6138 # no limit to the length of command line arguments.
6139 # Libtool will interpret -1 as no limit whatsoever
6140 lt_cv_sys_max_cmd_len
=-1;
6143 cygwin
* | mingw
* | cegcc
*)
6144 # On Win9x/ME, this test blows up -- it succeeds, but takes
6145 # about 5 minutes as the teststring grows exponentially.
6146 # Worse, since 9x/ME are not pre-emptively multitasking,
6147 # you end up with a "frozen" computer, even though with patience
6148 # the test eventually succeeds (with a max line length of 256k).
6149 # Instead, let's just punt: use the minimum linelength reported by
6150 # all of the supported platforms: 8192 (on NT/2K/XP).
6151 lt_cv_sys_max_cmd_len
=8192;
6155 # On MiNT this can take a long time and run out of memory.
6156 lt_cv_sys_max_cmd_len
=8192;
6160 # On AmigaOS with pdksh, this test takes hours, literally.
6161 # So we just punt and use a minimum line length of 8192.
6162 lt_cv_sys_max_cmd_len
=8192;
6165 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
6166 # This has been around since 386BSD, at least. Likely further.
6167 if test -x /sbin
/sysctl
; then
6168 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
6169 elif test -x /usr
/sbin
/sysctl
; then
6170 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
6172 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
6174 # And add a safety zone
6175 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6176 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6180 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6181 lt_cv_sys_max_cmd_len
=196608
6185 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6186 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6187 # nice to cause kernel panics so lets avoid the loop below.
6188 # First set a reasonable default.
6189 lt_cv_sys_max_cmd_len
=16384
6191 if test -x /sbin
/sysconfig
; then
6192 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6193 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
6198 lt_cv_sys_max_cmd_len
=102400
6200 sysv5
* | sco5v6
* | sysv4.2uw2
*)
6201 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6202 if test -n "$kargmax"; then
6203 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
6205 lt_cv_sys_max_cmd_len
=32768
6209 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
6210 if test -n "$lt_cv_sys_max_cmd_len"; then
6211 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6212 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6214 # Make teststring a little bigger before we do anything with it.
6215 # a 1K string should be a reasonable start.
6216 for i
in 1 2 3 4 5 6 7 8 ; do
6217 teststring
=$teststring$teststring
6219 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
6220 # If test is not a shell built-in, we'll probably end up computing a
6221 # maximum length that is only half of the actual maximum length, but
6223 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6224 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
6225 test $i != 17 # 1/2 MB should be enough
6228 teststring
=$teststring$teststring
6230 # Only check the string length outside the loop.
6231 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
6233 # Add a significant safety factor because C++ compilers can tack on
6234 # massive amounts of additional arguments before passing them to the
6235 # linker. It appears as though 1/2 is a usable value.
6236 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
6243 if test -n $lt_cv_sys_max_cmd_len ; then
6244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6245 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6248 $as_echo "none" >&6; }
6250 max_cmd_len
=$lt_cv_sys_max_cmd_len
6261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6262 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6263 # Try some XSI features
6266 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6268 && eval 'test $(( 1 + 1 )) -eq 2 \
6269 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6271 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
6272 $as_echo "$xsi_shell" >&6; }
6275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
6276 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
6278 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
6280 && lt_shell_append=yes
6281 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
6282 $as_echo "$lt_shell_append" >&6; }
6285 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6295 # test EBCDIC or ASCII
6296 case `echo X|tr X '\101'` in
6297 A) # ASCII based system
6298 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6299 lt_SP2NL='tr \040 \012'
6300 lt_NL2SP='tr \015\012 \040\040'
6302 *) # EBCDIC based system
6303 lt_SP2NL='tr \100 \n'
6304 lt_NL2SP='tr \r\n \100\100'
6316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
6317 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
6318 if ${lt_cv_ld_reload_flag+:} false; then :
6319 $as_echo_n "(cached
) " >&6
6321 lt_cv_ld_reload_flag='-r'
6323 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
6324 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6325 reload_flag=$lt_cv_ld_reload_flag
6326 case $reload_flag in
6328 *) reload_flag=" $reload_flag" ;;
6330 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6333 if test "$GCC" = yes; then
6334 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6336 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6349 if test -n "$ac_tool_prefix"; then
6350 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
6351 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6353 $as_echo_n "checking
for $ac_word...
" >&6; }
6354 if ${ac_cv_prog_OBJDUMP+:} false; then :
6355 $as_echo_n "(cached
) " >&6
6357 if test -n "$OBJDUMP"; then
6358 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6360 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6364 test -z "$as_dir" && as_dir=.
6365 for ac_exec_ext in '' $ac_executable_extensions; do
6366 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6367 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
6368 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6377 OBJDUMP=$ac_cv_prog_OBJDUMP
6378 if test -n "$OBJDUMP"; then
6379 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
6380 $as_echo "$OBJDUMP" >&6; }
6382 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6383 $as_echo "no
" >&6; }
6388 if test -z "$ac_cv_prog_OBJDUMP"; then
6389 ac_ct_OBJDUMP=$OBJDUMP
6390 # Extract the first word of "objdump
", so it can be a program name with args.
6391 set dummy objdump; ac_word=$2
6392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6393 $as_echo_n "checking
for $ac_word...
" >&6; }
6394 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6395 $as_echo_n "(cached
) " >&6
6397 if test -n "$ac_ct_OBJDUMP"; then
6398 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6400 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6404 test -z "$as_dir" && as_dir=.
6405 for ac_exec_ext in '' $ac_executable_extensions; do
6406 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6407 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
6408 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6417 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6418 if test -n "$ac_ct_OBJDUMP"; then
6419 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
6420 $as_echo "$ac_ct_OBJDUMP" >&6; }
6422 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6423 $as_echo "no
" >&6; }
6426 if test "x
$ac_ct_OBJDUMP" = x; then
6429 case $cross_compiling:$ac_tool_warned in
6431 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6432 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6433 ac_tool_warned=yes ;;
6435 OBJDUMP=$ac_ct_OBJDUMP
6438 OBJDUMP="$ac_cv_prog_OBJDUMP"
6441 test -z "$OBJDUMP" && OBJDUMP=objdump
6451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
6452 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
6453 if ${lt_cv_deplibs_check_method+:} false; then :
6454 $as_echo_n "(cached
) " >&6
6456 lt_cv_file_magic_cmd='$MAGIC_CMD'
6457 lt_cv_file_magic_test_file=
6458 lt_cv_deplibs_check_method='unknown'
6459 # Need to set the preceding variable on all platforms that support
6460 # interlibrary dependencies.
6461 # 'none' -- dependencies not supported.
6462 # `unknown' -- same as none, but documents that we really don't know.
6463 # 'pass_all' -- all dependencies passed with no checks.
6464 # 'test_compile' -- check by making test program.
6465 # 'file_magic [[regex]]' -- check by looking for files in library path
6466 # which responds to the $file_magic_cmd with a given extended regex.
6467 # If you have `file' or equivalent on your system and you're not sure
6468 # whether `pass_all' will *always* work, you probably want this one.
6472 lt_cv_deplibs_check_method=pass_all
6476 lt_cv_deplibs_check_method=pass_all
6480 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6481 lt_cv_file_magic_cmd='/usr/bin/file -L'
6482 lt_cv_file_magic_test_file=/shlib/libc.so
6486 # func_win32_libid is a shell function defined in ltmain.sh
6487 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6488 lt_cv_file_magic_cmd='func_win32_libid'
6492 # Base MSYS/MinGW do not provide the 'file' command needed by
6493 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6494 # unless we find 'file', for example because we are cross-compiling.
6495 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6496 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
6497 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6498 lt_cv_file_magic_cmd='func_win32_libid'
6500 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6501 lt_cv_file_magic_cmd='$OBJDUMP -f'
6506 # use the weaker test based on 'objdump'. See mingw*.
6507 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6508 lt_cv_file_magic_cmd='$OBJDUMP -f'
6511 darwin* | rhapsody*)
6512 lt_cv_deplibs_check_method=pass_all
6515 freebsd* | dragonfly*)
6516 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6519 # Not sure whether the presence of OpenBSD here was a mistake.
6520 # Let's accept both of them until this is cleared up.
6521 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6522 lt_cv_file_magic_cmd=/usr/bin/file
6523 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6527 lt_cv_deplibs_check_method=pass_all
6532 lt_cv_deplibs_check_method=pass_all
6536 lt_cv_deplibs_check_method=pass_all
6539 hpux10.20* | hpux11*)
6540 lt_cv_file_magic_cmd=/usr/bin/file
6543 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6544 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6547 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]'
6548 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6551 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6552 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6558 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6559 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6562 irix5* | irix6* | nonstopux*)
6564 *-32|*"-32 ") libmagic=32-bit;;
6565 *-n32|*"-n32 ") libmagic=N32;;
6566 *-64|*"-64 ") libmagic=64-bit;;
6567 *) libmagic=never-match;;
6569 lt_cv_deplibs_check_method=pass_all
6572 # This must be Linux ELF.
6573 linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
6574 lt_cv_deplibs_check_method=pass_all
6578 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6579 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6581 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6586 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6587 lt_cv_file_magic_cmd=/usr/bin/file
6588 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6592 lt_cv_deplibs_check_method=pass_all
6596 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
6597 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6599 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6603 osf3* | osf4* | osf5*)
6604 lt_cv_deplibs_check_method=pass_all
6608 lt_cv_deplibs_check_method=pass_all
6612 lt_cv_deplibs_check_method=pass_all
6615 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6616 lt_cv_deplibs_check_method=pass_all
6620 case $host_vendor in
6622 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]'
6623 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6626 lt_cv_deplibs_check_method=pass_all
6629 lt_cv_file_magic_cmd='/bin/file'
6630 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6633 lt_cv_file_magic_cmd='/bin/file'
6634 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
6635 lt_cv_file_magic_test_file=/lib/libc.so
6638 lt_cv_deplibs_check_method=pass_all
6641 lt_cv_deplibs_check_method=pass_all
6647 lt_cv_deplibs_check_method=pass_all
6650 # Assume VxWorks cross toolchains are built on Linux, possibly
6651 # as canadian for Windows hosts.
6652 lt_cv_deplibs_check_method=pass_all
6657 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
6658 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6659 file_magic_cmd=$lt_cv_file_magic_cmd
6660 deplibs_check_method=$lt_cv_deplibs_check_method
6661 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6675 plugin_names="liblto_plugin.so liblto_plugin-0.dll cyglto_plugin-0.dll
"
6676 for plugin in $plugin_names; do
6677 plugin_so=`${CC} ${CFLAGS} --print-prog-name $plugin`
6678 if test x$plugin_so = x$plugin; then
6679 plugin_so=`${CC} ${CFLAGS} --print-file-name $plugin`
6681 if test x$plugin_so != x$plugin; then
6682 plugin_option="--plugin $plugin_so"
6687 if test -n "$ac_tool_prefix"; then
6688 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6689 set dummy ${ac_tool_prefix}ar; ac_word=$2
6690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6691 $as_echo_n "checking
for $ac_word...
" >&6; }
6692 if ${ac_cv_prog_AR+:} false; then :
6693 $as_echo_n "(cached
) " >&6
6695 if test -n "$AR"; then
6696 ac_cv_prog_AR="$AR" # Let the user override the test.
6698 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6702 test -z "$as_dir" && as_dir=.
6703 for ac_exec_ext in '' $ac_executable_extensions; do
6704 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6705 ac_cv_prog_AR="${ac_tool_prefix}ar"
6706 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6716 if test -n "$AR"; then
6717 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
6718 $as_echo "$AR" >&6; }
6720 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6721 $as_echo "no
" >&6; }
6726 if test -z "$ac_cv_prog_AR"; then
6728 # Extract the first word of "ar", so it can be a program name with args.
6729 set dummy ar; ac_word=$2
6730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6731 $as_echo_n "checking
for $ac_word...
" >&6; }
6732 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6733 $as_echo_n "(cached
) " >&6
6735 if test -n "$ac_ct_AR"; then
6736 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6742 test -z "$as_dir" && as_dir=.
6743 for ac_exec_ext in '' $ac_executable_extensions; do
6744 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6745 ac_cv_prog_ac_ct_AR="ar"
6746 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6755 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6756 if test -n "$ac_ct_AR"; then
6757 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
6758 $as_echo "$ac_ct_AR" >&6; }
6760 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6761 $as_echo "no
" >&6; }
6764 if test "x
$ac_ct_AR" = x; then
6767 case $cross_compiling:$ac_tool_warned in
6769 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6770 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6771 ac_tool_warned=yes ;;
6779 test -z "$AR" && AR=ar
6780 if test -n "$plugin_option"; then
6781 if $AR --help 2>&1 | grep -q "\
--plugin"; then
6783 $AR $plugin_option rc conftest.a conftest.c
6784 if test "$?
" != 0; then
6785 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: Failed
: $AR $plugin_option rc
" >&5
6786 $as_echo "$as_me: WARNING
: Failed
: $AR $plugin_option rc
" >&2;}
6788 AR="$AR $plugin_option"
6793 test -z "$AR_FLAGS" && AR_FLAGS=cru
6805 if test -n "$ac_tool_prefix"; then
6806 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6807 set dummy ${ac_tool_prefix}strip; ac_word=$2
6808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6809 $as_echo_n "checking
for $ac_word...
" >&6; }
6810 if ${ac_cv_prog_STRIP+:} false; then :
6811 $as_echo_n "(cached
) " >&6
6813 if test -n "$STRIP"; then
6814 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6820 test -z "$as_dir" && as_dir=.
6821 for ac_exec_ext in '' $ac_executable_extensions; do
6822 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6823 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6824 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6833 STRIP=$ac_cv_prog_STRIP
6834 if test -n "$STRIP"; then
6835 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
6836 $as_echo "$STRIP" >&6; }
6838 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6839 $as_echo "no
" >&6; }
6844 if test -z "$ac_cv_prog_STRIP"; then
6846 # Extract the first word of "strip
", so it can be a program name with args.
6847 set dummy strip; ac_word=$2
6848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6849 $as_echo_n "checking
for $ac_word...
" >&6; }
6850 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6851 $as_echo_n "(cached
) " >&6
6853 if test -n "$ac_ct_STRIP"; then
6854 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6856 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6860 test -z "$as_dir" && as_dir=.
6861 for ac_exec_ext in '' $ac_executable_extensions; do
6862 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6863 ac_cv_prog_ac_ct_STRIP="strip
"
6864 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6873 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6874 if test -n "$ac_ct_STRIP"; then
6875 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
6876 $as_echo "$ac_ct_STRIP" >&6; }
6878 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6879 $as_echo "no
" >&6; }
6882 if test "x
$ac_ct_STRIP" = x; then
6885 case $cross_compiling:$ac_tool_warned in
6887 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6888 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6889 ac_tool_warned=yes ;;
6894 STRIP="$ac_cv_prog_STRIP"
6897 test -z "$STRIP" && STRIP=:
6904 if test -n "$ac_tool_prefix"; then
6905 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6906 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6908 $as_echo_n "checking
for $ac_word...
" >&6; }
6909 if ${ac_cv_prog_RANLIB+:} false; then :
6910 $as_echo_n "(cached
) " >&6
6912 if test -n "$RANLIB"; then
6913 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6915 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6919 test -z "$as_dir" && as_dir=.
6920 for ac_exec_ext in '' $ac_executable_extensions; do
6921 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6922 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
6923 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6932 RANLIB=$ac_cv_prog_RANLIB
6933 if test -n "$RANLIB"; then
6934 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
6935 $as_echo "$RANLIB" >&6; }
6937 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6938 $as_echo "no
" >&6; }
6943 if test -z "$ac_cv_prog_RANLIB"; then
6944 ac_ct_RANLIB=$RANLIB
6945 # Extract the first word of "ranlib
", so it can be a program name with args.
6946 set dummy ranlib; ac_word=$2
6947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6948 $as_echo_n "checking
for $ac_word...
" >&6; }
6949 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6950 $as_echo_n "(cached
) " >&6
6952 if test -n "$ac_ct_RANLIB"; then
6953 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6955 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6959 test -z "$as_dir" && as_dir=.
6960 for ac_exec_ext in '' $ac_executable_extensions; do
6961 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6962 ac_cv_prog_ac_ct_RANLIB="ranlib
"
6963 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6972 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6973 if test -n "$ac_ct_RANLIB"; then
6974 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
6975 $as_echo "$ac_ct_RANLIB" >&6; }
6977 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6978 $as_echo "no
" >&6; }
6981 if test "x
$ac_ct_RANLIB" = x; then
6984 case $cross_compiling:$ac_tool_warned in
6986 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6987 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6988 ac_tool_warned=yes ;;
6990 RANLIB=$ac_ct_RANLIB
6993 RANLIB="$ac_cv_prog_RANLIB"
6996 test -z "$RANLIB" && RANLIB=:
6997 if test -n "$plugin_option" && test "$RANLIB" != ":"; then
6998 if $RANLIB --help 2>&1 | grep -q "\
--plugin"; then
6999 RANLIB="$RANLIB $plugin_option"
7008 # Determine commands to create old-style static archives.
7009 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7010 old_postinstall_cmds='chmod 644 $oldlib'
7011 old_postuninstall_cmds=
7013 if test -n "$RANLIB"; then
7016 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
7019 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
7022 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
7027 lock_old_archive_extraction=yes ;;
7029 lock_old_archive_extraction=no ;;
7070 # If no C compiler was specified, use CC.
7073 # If no C compiler flags were specified, use CFLAGS.
7074 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7076 # Allow CC to be a program name with arguments.
7080 # Check for command to grab the raw symbol name followed by C symbol from nm.
7081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
7082 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
7083 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7084 $as_echo_n "(cached
) " >&6
7087 # These are sane defaults that work on at least a few old systems.
7088 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7090 # Character class describing NM global symbol codes.
7091 symcode='[BCDEGRST]'
7093 # Regexp to match symbols that can be accessed directly from C.
7094 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7096 # Define system-specific variables.
7101 cygwin* | mingw* | pw32* | cegcc*)
7102 symcode='[ABCDGISTW]'
7105 if test "$host_cpu" = ia64; then
7106 symcode='[ABCDEGRST]'
7110 symcode='[BCDEGRST]'
7113 symcode='[BCDEGQRST]'
7124 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7132 # If we're using GNU nm, then use its standard symbol codes.
7133 case `$NM -V 2>&1` in
7134 *GNU* | *'with BFD'*)
7135 symcode='[ABCDGIRSTW]' ;;
7138 # Transform an extracted symbol line into a proper C declaration.
7139 # Some systems (esp. on ia64) link data and code symbols differently,
7140 # so use this general approach.
7141 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7143 # Transform an extracted symbol line into symbol name and symbol address
7144 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7145 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'"
7147 # Handle CRLF in mingw tool chain
7151 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7155 # Try without a prefix underscore, then with it.
7156 for ac_symprfx in "" "_
"; do
7158 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7159 symxfrm="\\1 $ac_symprfx\\2 \\2"
7161 # Write the raw and C identifiers.
7162 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
7163 # Fake it for dumpbin and say T for any non-static function
7164 # and D for any global variable.
7165 # Also find C++ and __fastcall symbols from MSVC++,
7166 # which start with @ or ?.
7167 lt_cv_sys_global_symbol_pipe="$AWK '"\
7168 " {last_section=section; section=\$ 3};"\
7169 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7170 " \$ 0!~/External *\|/{next};"\
7171 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7172 " {if(hide[section]) next};"\
7173 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7174 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7175 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7176 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7177 " ' prfx
=^
$ac_symprfx"
7179 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7182 # Check to see that the pipe works correctly.
7186 cat > conftest.$ac_ext <<_LT_EOF
7191 void nm_test_func(void);
7192 void nm_test_func(void){}
7196 int main(){nm_test_var='a';nm_test_func();return(0);}
7199 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7200 (eval $ac_compile) 2>&5
7202 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7203 test $ac_status = 0; }; then
7204 # Now try to grab the symbols.
7206 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
7207 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7209 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7210 test $ac_status = 0; } && test -s "$nlist"; then
7211 # Try sorting and uniquifying the output.
7212 if sort "$nlist" | uniq > "$nlist"T; then
7213 mv -f "$nlist"T "$nlist"
7218 # Make sure that we snagged all the symbols we need.
7219 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7220 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7221 cat <<_LT_EOF > conftest.$ac_ext
7227 # Now generate the symbol file.
7228 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7230 cat <<_LT_EOF >> conftest.$ac_ext
7232 /* The mapping between symbol names and symbols. */
7237 lt__PROGRAM__LTX_preloaded_symbols[] =
7239 { "@PROGRAM@
", (void *) 0 },
7241 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7242 cat <<\_LT_EOF >> conftest.$ac_ext
7246 /* This works around a problem in FreeBSD linker */
7247 #ifdef FREEBSD_WORKAROUND
7248 static const void *lt_preloaded_setup() {
7249 return lt__PROGRAM__LTX_preloaded_symbols;
7257 # Now try linking the two files.
7258 mv conftest.$ac_objext conftstm.$ac_objext
7259 lt_save_LIBS="$LIBS"
7260 lt_save_CFLAGS="$CFLAGS"
7261 LIBS="conftstm.
$ac_objext"
7262 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7263 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7264 (eval $ac_link) 2>&5
7266 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7267 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7270 LIBS="$lt_save_LIBS"
7271 CFLAGS="$lt_save_CFLAGS"
7273 echo "cannot
find nm_test_func
in $nlist" >&5
7276 echo "cannot
find nm_test_var
in $nlist" >&5
7279 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
7282 echo "$progname: failed program was
:" >&5
7283 cat conftest.$ac_ext >&5
7285 rm -rf conftest* conftst*
7287 # Do not use the global_symbol_pipe unless it works.
7288 if test "$pipe_works" = yes; then
7291 lt_cv_sys_global_symbol_pipe=
7297 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7298 lt_cv_sys_global_symbol_to_cdecl=
7300 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7301 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
7302 $as_echo "failed
" >&6; }
7304 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
7305 $as_echo "ok
" >&6; }
7329 # Check whether --enable-libtool-lock was given.
7330 if test "${enable_libtool_lock+set}" = set; then :
7331 enableval=$enable_libtool_lock;
7334 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
7336 # Some flags need to be propagated to the compiler or linker for good
7340 # Find out which ABI we are using.
7341 echo 'int i;' > conftest.$ac_ext
7342 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7343 (eval $ac_compile) 2>&5
7345 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7346 test $ac_status = 0; }; then
7347 case `/usr/bin/file conftest.$ac_objext` in
7359 # Find out which ABI we are using.
7360 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
7361 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7362 (eval $ac_compile) 2>&5
7364 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7365 test $ac_status = 0; }; then
7366 if test "$lt_cv_prog_gnu_ld" = yes; then
7367 case `/usr/bin/file conftest.$ac_objext` in
7369 LD="${LD-ld} -melf32bsmip"
7372 LD="${LD-ld} -melf32bmipn32"
7375 LD="${LD-ld} -melf64bmip"
7379 case `/usr/bin/file conftest.$ac_objext` in
7395 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7396 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7397 # Find out which ABI we are using.
7398 echo 'int i;' > conftest.$ac_ext
7399 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7400 (eval $ac_compile) 2>&5
7402 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7403 test $ac_status = 0; }; then
7404 case `/usr/bin/file conftest.o` in
7407 x86_64-*kfreebsd*-gnu)
7408 LD="${LD-ld} -m elf_i386_fbsd
"
7411 case `/usr/bin/file conftest.o` in
7413 LD="${LD-ld} -m elf32_x86_64
"
7416 LD="${LD-ld} -m elf_i386
"
7420 powerpc64le-*linux*)
7421 LD="${LD-ld} -m elf32lppclinux
"
7424 LD="${LD-ld} -m elf32ppclinux
"
7427 LD="${LD-ld} -m elf_s390
"
7430 LD="${LD-ld} -m elf32_sparc
"
7436 x86_64-*kfreebsd*-gnu)
7437 LD="${LD-ld} -m elf_x86_64_fbsd
"
7440 LD="${LD-ld} -m elf_x86_64
"
7443 LD="${LD-ld} -m elf64lppc
"
7446 LD="${LD-ld} -m elf64ppc
"
7448 s390*-*linux*|s390*-*tpf*)
7449 LD="${LD-ld} -m elf64_s390
"
7452 LD="${LD-ld} -m elf64_sparc
"
7462 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7463 SAVE_CFLAGS="$CFLAGS"
7464 CFLAGS="$CFLAGS -belf"
7465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
7466 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
7467 if ${lt_cv_cc_needs_belf+:} false; then :
7468 $as_echo_n "(cached
) " >&6
7471 ac_cpp='$CPP $CPPFLAGS'
7472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7477 /* end confdefs.h. */
7487 if ac_fn_c_try_link "$LINENO"; then :
7488 lt_cv_cc_needs_belf=yes
7490 lt_cv_cc_needs_belf=no
7492 rm -f core conftest.err conftest.$ac_objext \
7493 conftest$ac_exeext conftest.$ac_ext
7495 ac_cpp='$CPP $CPPFLAGS'
7496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7501 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
7502 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7503 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7504 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7505 CFLAGS="$SAVE_CFLAGS"
7509 # Find out which ABI we are using.
7510 echo 'int i;' > conftest.$ac_ext
7511 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7512 (eval $ac_compile) 2>&5
7514 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7515 test $ac_status = 0; }; then
7516 case `/usr/bin/file conftest.o` in
7518 case $lt_cv_prog_gnu_ld in
7519 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
7521 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7533 need_locks="$enable_libtool_lock"
7537 rhapsody* | darwin*)
7538 if test -n "$ac_tool_prefix"; then
7539 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
7540 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7542 $as_echo_n "checking
for $ac_word...
" >&6; }
7543 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7544 $as_echo_n "(cached
) " >&6
7546 if test -n "$DSYMUTIL"; then
7547 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7553 test -z "$as_dir" && as_dir=.
7554 for ac_exec_ext in '' $ac_executable_extensions; do
7555 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7556 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
7557 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7566 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7567 if test -n "$DSYMUTIL"; then
7568 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
7569 $as_echo "$DSYMUTIL" >&6; }
7571 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7572 $as_echo "no
" >&6; }
7577 if test -z "$ac_cv_prog_DSYMUTIL"; then
7578 ac_ct_DSYMUTIL=$DSYMUTIL
7579 # Extract the first word of "dsymutil
", so it can be a program name with args.
7580 set dummy dsymutil; ac_word=$2
7581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7582 $as_echo_n "checking
for $ac_word...
" >&6; }
7583 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7584 $as_echo_n "(cached
) " >&6
7586 if test -n "$ac_ct_DSYMUTIL"; then
7587 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7589 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7593 test -z "$as_dir" && as_dir=.
7594 for ac_exec_ext in '' $ac_executable_extensions; do
7595 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7596 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
7597 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7606 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7607 if test -n "$ac_ct_DSYMUTIL"; then
7608 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
7609 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7611 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7612 $as_echo "no
" >&6; }
7615 if test "x
$ac_ct_DSYMUTIL" = x; then
7618 case $cross_compiling:$ac_tool_warned in
7620 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7621 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7622 ac_tool_warned=yes ;;
7624 DSYMUTIL=$ac_ct_DSYMUTIL
7627 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7630 if test -n "$ac_tool_prefix"; then
7631 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
7632 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7634 $as_echo_n "checking
for $ac_word...
" >&6; }
7635 if ${ac_cv_prog_NMEDIT+:} false; then :
7636 $as_echo_n "(cached
) " >&6
7638 if test -n "$NMEDIT"; then
7639 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7641 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7645 test -z "$as_dir" && as_dir=.
7646 for ac_exec_ext in '' $ac_executable_extensions; do
7647 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7648 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
7649 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7658 NMEDIT=$ac_cv_prog_NMEDIT
7659 if test -n "$NMEDIT"; then
7660 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
7661 $as_echo "$NMEDIT" >&6; }
7663 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7664 $as_echo "no
" >&6; }
7669 if test -z "$ac_cv_prog_NMEDIT"; then
7670 ac_ct_NMEDIT=$NMEDIT
7671 # Extract the first word of "nmedit
", so it can be a program name with args.
7672 set dummy nmedit; ac_word=$2
7673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7674 $as_echo_n "checking
for $ac_word...
" >&6; }
7675 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7676 $as_echo_n "(cached
) " >&6
7678 if test -n "$ac_ct_NMEDIT"; then
7679 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7681 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7685 test -z "$as_dir" && as_dir=.
7686 for ac_exec_ext in '' $ac_executable_extensions; do
7687 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7688 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
7689 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7698 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7699 if test -n "$ac_ct_NMEDIT"; then
7700 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
7701 $as_echo "$ac_ct_NMEDIT" >&6; }
7703 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7704 $as_echo "no
" >&6; }
7707 if test "x
$ac_ct_NMEDIT" = x; then
7710 case $cross_compiling:$ac_tool_warned in
7712 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7713 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7714 ac_tool_warned=yes ;;
7716 NMEDIT=$ac_ct_NMEDIT
7719 NMEDIT="$ac_cv_prog_NMEDIT"
7722 if test -n "$ac_tool_prefix"; then
7723 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
7724 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7726 $as_echo_n "checking
for $ac_word...
" >&6; }
7727 if ${ac_cv_prog_LIPO+:} false; then :
7728 $as_echo_n "(cached
) " >&6
7730 if test -n "$LIPO"; then
7731 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7733 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7737 test -z "$as_dir" && as_dir=.
7738 for ac_exec_ext in '' $ac_executable_extensions; do
7739 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7740 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
7741 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7750 LIPO=$ac_cv_prog_LIPO
7751 if test -n "$LIPO"; then
7752 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
7753 $as_echo "$LIPO" >&6; }
7755 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7756 $as_echo "no
" >&6; }
7761 if test -z "$ac_cv_prog_LIPO"; then
7763 # Extract the first word of "lipo
", so it can be a program name with args.
7764 set dummy lipo; ac_word=$2
7765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7766 $as_echo_n "checking
for $ac_word...
" >&6; }
7767 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7768 $as_echo_n "(cached
) " >&6
7770 if test -n "$ac_ct_LIPO"; then
7771 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7773 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7777 test -z "$as_dir" && as_dir=.
7778 for ac_exec_ext in '' $ac_executable_extensions; do
7779 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7780 ac_cv_prog_ac_ct_LIPO="lipo
"
7781 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7790 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7791 if test -n "$ac_ct_LIPO"; then
7792 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
7793 $as_echo "$ac_ct_LIPO" >&6; }
7795 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7796 $as_echo "no
" >&6; }
7799 if test "x
$ac_ct_LIPO" = x; then
7802 case $cross_compiling:$ac_tool_warned in
7804 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7805 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7806 ac_tool_warned=yes ;;
7811 LIPO="$ac_cv_prog_LIPO"
7814 if test -n "$ac_tool_prefix"; then
7815 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
7816 set dummy ${ac_tool_prefix}otool; ac_word=$2
7817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7818 $as_echo_n "checking
for $ac_word...
" >&6; }
7819 if ${ac_cv_prog_OTOOL+:} false; then :
7820 $as_echo_n "(cached
) " >&6
7822 if test -n "$OTOOL"; then
7823 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7825 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7829 test -z "$as_dir" && as_dir=.
7830 for ac_exec_ext in '' $ac_executable_extensions; do
7831 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7832 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
7833 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7842 OTOOL=$ac_cv_prog_OTOOL
7843 if test -n "$OTOOL"; then
7844 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
7845 $as_echo "$OTOOL" >&6; }
7847 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7848 $as_echo "no
" >&6; }
7853 if test -z "$ac_cv_prog_OTOOL"; then
7855 # Extract the first word of "otool
", so it can be a program name with args.
7856 set dummy otool; ac_word=$2
7857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7858 $as_echo_n "checking
for $ac_word...
" >&6; }
7859 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7860 $as_echo_n "(cached
) " >&6
7862 if test -n "$ac_ct_OTOOL"; then
7863 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7869 test -z "$as_dir" && as_dir=.
7870 for ac_exec_ext in '' $ac_executable_extensions; do
7871 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7872 ac_cv_prog_ac_ct_OTOOL="otool
"
7873 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7882 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7883 if test -n "$ac_ct_OTOOL"; then
7884 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
7885 $as_echo "$ac_ct_OTOOL" >&6; }
7887 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7888 $as_echo "no
" >&6; }
7891 if test "x
$ac_ct_OTOOL" = x; then
7894 case $cross_compiling:$ac_tool_warned in
7896 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7897 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7898 ac_tool_warned=yes ;;
7903 OTOOL="$ac_cv_prog_OTOOL"
7906 if test -n "$ac_tool_prefix"; then
7907 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
7908 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7910 $as_echo_n "checking
for $ac_word...
" >&6; }
7911 if ${ac_cv_prog_OTOOL64+:} false; then :
7912 $as_echo_n "(cached
) " >&6
7914 if test -n "$OTOOL64"; then
7915 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7917 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7921 test -z "$as_dir" && as_dir=.
7922 for ac_exec_ext in '' $ac_executable_extensions; do
7923 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7924 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
7925 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7934 OTOOL64=$ac_cv_prog_OTOOL64
7935 if test -n "$OTOOL64"; then
7936 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
7937 $as_echo "$OTOOL64" >&6; }
7939 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7940 $as_echo "no
" >&6; }
7945 if test -z "$ac_cv_prog_OTOOL64"; then
7946 ac_ct_OTOOL64=$OTOOL64
7947 # Extract the first word of "otool64
", so it can be a program name with args.
7948 set dummy otool64; ac_word=$2
7949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7950 $as_echo_n "checking
for $ac_word...
" >&6; }
7951 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7952 $as_echo_n "(cached
) " >&6
7954 if test -n "$ac_ct_OTOOL64"; then
7955 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7957 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7961 test -z "$as_dir" && as_dir=.
7962 for ac_exec_ext in '' $ac_executable_extensions; do
7963 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7964 ac_cv_prog_ac_ct_OTOOL64="otool64
"
7965 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7974 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7975 if test -n "$ac_ct_OTOOL64"; then
7976 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
7977 $as_echo "$ac_ct_OTOOL64" >&6; }
7979 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7980 $as_echo "no
" >&6; }
7983 if test "x
$ac_ct_OTOOL64" = x; then
7986 case $cross_compiling:$ac_tool_warned in
7988 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7989 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7990 ac_tool_warned=yes ;;
7992 OTOOL64=$ac_ct_OTOOL64
7995 OTOOL64="$ac_cv_prog_OTOOL64"
8024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
8025 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
8026 if ${lt_cv_apple_cc_single_mod+:} false; then :
8027 $as_echo_n "(cached
) " >&6
8029 lt_cv_apple_cc_single_mod=no
8030 if test -z "${LT_MULTI_MODULE}"; then
8031 # By default we will add the -single_module flag. You can override
8032 # by either setting the environment variable LT_MULTI_MODULE
8033 # non-empty at configure time, or by adding -multi_module to the
8035 rm -rf libconftest.dylib*
8036 echo "int foo
(void
){return 1;}" > conftest.c
8037 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8038 -dynamiclib -Wl,-single_module conftest.c
" >&5
8039 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8040 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8042 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
8043 lt_cv_apple_cc_single_mod=yes
8045 cat conftest.err >&5
8047 rm -rf libconftest.dylib*
8051 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
8052 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
8054 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
8055 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8056 $as_echo_n "(cached
) " >&6
8058 lt_cv_ld_exported_symbols_list=no
8059 save_LDFLAGS=$LDFLAGS
8060 echo "_main
" > conftest.sym
8061 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
8062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8063 /* end confdefs.h. */
8073 if ac_fn_c_try_link "$LINENO"; then :
8074 lt_cv_ld_exported_symbols_list=yes
8076 lt_cv_ld_exported_symbols_list=no
8078 rm -f core conftest.err conftest.$ac_objext \
8079 conftest$ac_exeext conftest.$ac_ext
8080 LDFLAGS="$save_LDFLAGS"
8083 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
8084 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
8086 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
8087 if ${lt_cv_ld_force_load+:} false; then :
8088 $as_echo_n "(cached
) " >&6
8090 lt_cv_ld_force_load=no
8091 cat > conftest.c << _LT_EOF
8092 int forced_loaded() { return 2;}
8094 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
8095 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8096 echo "$AR cru libconftest.a conftest.o
" >&5
8097 $AR cru libconftest.a conftest.o 2>&5
8098 cat > conftest.c << _LT_EOF
8099 int main() { return 0;}
8101 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
8102 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8104 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
8105 lt_cv_ld_force_load=yes
8107 cat conftest.err >&5
8109 rm -f conftest.err libconftest.a conftest conftest.c
8110 rm -rf conftest.dSYM
8113 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
8114 $as_echo "$lt_cv_ld_force_load" >&6; }
8115 # Allow for Darwin 4-7 (macOS 10.0-10.3) although these are not expect to
8116 # build without first building modern cctools / linker.
8117 case $host_cpu-$host_os in
8118 *-rhapsody* | *-darwin1.[012])
8119 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8121 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8123 # darwin 5.x (macOS 10.1) onwards we only need to adjust when the
8124 # deployment target is forced to an earlier version.
8125 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host in
8126 UNSET,*-darwin[89]*|UNSET,*-darwin[12][0123456789]*)
8129 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8136 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8137 _lt_dar_single_mod='$single_module'
8139 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8140 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8142 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8144 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
8145 _lt_dsymutil='~$DSYMUTIL $lib || :'
8152 for ac_header in dlfcn.h
8154 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h
" "ac_cv_header_dlfcn_h
" "$ac_includes_default
8156 if test "x
$ac_cv_header_dlfcn_h" = xyes; then :
8157 cat >>confdefs.h <<_ACEOF
8158 #define HAVE_DLFCN_H 1
8180 # Check whether --enable-shared was given.
8181 if test "${enable_shared+set}" = set; then :
8182 enableval=$enable_shared; p=${PACKAGE-default}
8184 yes) enable_shared=yes ;;
8185 no) enable_shared=no ;;
8188 # Look at the argument we got. We use all the common list separators.
8189 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8190 for pkg in $enableval; do
8192 if test "X
$pkg" = "X
$p"; then
8211 # Check whether --enable-static was given.
8212 if test "${enable_static+set}" = set; then :
8213 enableval=$enable_static; p=${PACKAGE-default}
8215 yes) enable_static=yes ;;
8216 no) enable_static=no ;;
8219 # Look at the argument we got. We use all the common list separators.
8220 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8221 for pkg in $enableval; do
8223 if test "X
$pkg" = "X
$p"; then
8243 # Check whether --with-pic was given.
8244 if test "${with_pic+set}" = set; then :
8245 withval=$with_pic; pic_mode="$withval"
8251 test -z "$pic_mode" && pic_mode=default
8259 # Check whether --enable-fast-install was given.
8260 if test "${enable_fast_install+set}" = set; then :
8261 enableval=$enable_fast_install; p=${PACKAGE-default}
8263 yes) enable_fast_install=yes ;;
8264 no) enable_fast_install=no ;;
8266 enable_fast_install=no
8267 # Look at the argument we got. We use all the common list separators.
8268 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8269 for pkg in $enableval; do
8271 if test "X
$pkg" = "X
$p"; then
8272 enable_fast_install=yes
8279 enable_fast_install=yes
8292 # This can be used to rebuild libtool when needed
8293 LIBTOOL_DEPS="$ltmain"
8295 # Always use our own libtool.
8296 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8323 test -z "$LN_S" && LN_S="ln -s"
8338 if test -n "${ZSH_VERSION+set}" ; then
8339 setopt NO_GLOB_SUBST
8342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdir
" >&5
8343 $as_echo_n "checking
for objdir...
" >&6; }
8344 if ${lt_cv_objdir+:} false; then :
8345 $as_echo_n "(cached
) " >&6
8347 rm -f .libs 2>/dev/null
8348 mkdir .libs 2>/dev/null
8349 if test -d .libs; then
8352 # MS-DOS does not allow filenames that begin with a dot.
8355 rmdir .libs 2>/dev/null
8357 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_objdir" >&5
8358 $as_echo "$lt_cv_objdir" >&6; }
8359 objdir=$lt_cv_objdir
8365 cat >>confdefs.h <<_ACEOF
8366 #define LT_OBJDIR "$lt_cv_objdir/"
8374 # AIX sometimes has problems with the GCC collect2 program. For some
8375 # reason, if we set the COLLECT_NAMES environment variable, the problems
8376 # vanish in a puff of smoke.
8377 if test "X
${COLLECT_NAMES+set}" != Xset; then
8379 export COLLECT_NAMES
8386 can_build_shared=yes
8388 # All known linkers require a `.a' archive for static linking (except MSVC,
8389 # which needs '.lib').
8392 with_gnu_ld="$lt_cv_prog_gnu_ld"
8395 old_CFLAGS="$CFLAGS"
8397 # Set sane defaults for various variables
8398 test -z "$CC" && CC=cc
8399 test -z "$LTCC" && LTCC=$CC
8400 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8401 test -z "$LD" && LD=ld
8402 test -z "$ac_objext" && ac_objext=o
8404 for cc_temp in $compiler""; do
8406 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8407 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8412 cc_basename=`$ECHO "$cc_temp" | $SED "s
%.
*/%%; s
%^
$host_alias-%%"`
8415 # Only perform the check for file, if the check method requires it
8416 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8417 case $deplibs_check_method in
8419 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ac_tool_prefix}file" >&5
8421 $as_echo_n "checking
for ${ac_tool_prefix}file...
" >&6; }
8422 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8423 $as_echo_n "(cached
) " >&6
8427 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8430 lt_save_MAGIC_CMD="$MAGIC_CMD"
8431 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8432 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
8433 for ac_dir in $ac_dummy; do
8435 test -z "$ac_dir" && ac_dir=.
8436 if test -f $ac_dir/${ac_tool_prefix}file; then
8437 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8438 if test -n "$file_magic_test_file"; then
8439 case $deplibs_check_method in
8441 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
8442 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8443 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8444 $EGREP "$file_magic_regex" > /dev/null; then
8449 *** Warning: the command libtool uses to detect shared libraries,
8450 *** $file_magic_cmd, produces output that libtool cannot recognize.
8451 *** The result is that libtool may fail to recognize shared libraries
8452 *** as such. This will affect the creation of libtool libraries that
8453 *** depend on shared libraries, but programs linked with such libtool
8454 *** libraries will work regardless of this problem. Nevertheless, you
8455 *** may want to report the problem to your system manager and/or to
8456 *** bug-libtool@gnu.org
8466 MAGIC_CMD="$lt_save_MAGIC_CMD"
8471 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8472 if test -n "$MAGIC_CMD"; then
8473 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
8474 $as_echo "$MAGIC_CMD" >&6; }
8476 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8477 $as_echo "no
" >&6; }
8484 if test -z "$lt_cv_path_MAGIC_CMD"; then
8485 if test -n "$ac_tool_prefix"; then
8486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for file" >&5
8487 $as_echo_n "checking
for file...
" >&6; }
8488 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8489 $as_echo_n "(cached
) " >&6
8493 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8496 lt_save_MAGIC_CMD="$MAGIC_CMD"
8497 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8498 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
8499 for ac_dir in $ac_dummy; do
8501 test -z "$ac_dir" && ac_dir=.
8502 if test -f $ac_dir/file; then
8503 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8504 if test -n "$file_magic_test_file"; then
8505 case $deplibs_check_method in
8507 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
8508 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8509 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8510 $EGREP "$file_magic_regex" > /dev/null; then
8515 *** Warning: the command libtool uses to detect shared libraries,
8516 *** $file_magic_cmd, produces output that libtool cannot recognize.
8517 *** The result is that libtool may fail to recognize shared libraries
8518 *** as such. This will affect the creation of libtool libraries that
8519 *** depend on shared libraries, but programs linked with such libtool
8520 *** libraries will work regardless of this problem. Nevertheless, you
8521 *** may want to report the problem to your system manager and/or to
8522 *** bug-libtool@gnu.org
8532 MAGIC_CMD="$lt_save_MAGIC_CMD"
8537 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8538 if test -n "$MAGIC_CMD"; then
8539 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
8540 $as_echo "$MAGIC_CMD" >&6; }
8542 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8543 $as_echo "no
" >&6; }
8556 # Use C for the default configuration in the libtool script
8560 ac_cpp='$CPP $CPPFLAGS'
8561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8566 # Source file extension for C test sources.
8569 # Object file extension for compiled C test sources.
8573 # Code to be used in simple compile tests
8574 lt_simple_compile_test_code="int some_variable
= 0;"
8576 # Code to be used in simple link tests
8577 lt_simple_link_test_code='int main(){return(0);}'
8585 # If no C compiler was specified, use CC.
8588 # If no C compiler flags were specified, use CFLAGS.
8589 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8591 # Allow CC to be a program name with arguments.
8594 # Save the default compiler, since it gets overwritten when the other
8595 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8596 compiler_DEFAULT=$CC
8598 # save warnings/boilerplate of simple test code
8599 ac_outfile=conftest.$ac_objext
8600 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8601 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8602 _lt_compiler_boilerplate=`cat conftest.err`
8605 ac_outfile=conftest.$ac_objext
8606 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8607 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8608 _lt_linker_boilerplate=`cat conftest.err`
8613 ## There is no encapsulation within the following macros, do not change
8614 ## the running order or otherwise move them around unless you know exactly
8615 ## what you are doing...
8616 if test -n "$compiler"; then
8618 lt_prog_compiler_no_builtin_flag=
8620 if test "$GCC" = yes; then
8621 case $cc_basename in
8623 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8625 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-fno-rtti -fno-exceptions" >&5
8629 $as_echo_n "checking
if $compiler supports
-fno-rtti -fno-exceptions...
" >&6; }
8630 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8631 $as_echo_n "(cached
) " >&6
8633 lt_cv_prog_compiler_rtti_exceptions=no
8634 ac_outfile=conftest.$ac_objext
8635 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8636 lt_compiler_flag="-fno-rtti -fno-exceptions"
8637 # Insert the option either (1) after the last *FLAGS variable, or
8638 # (2) before a word containing "conftest.
", or (3) at the end.
8639 # Note that $ac_compile itself does not contain backslashes and begins
8640 # with a dollar sign (not a hyphen), so the echo should work correctly.
8641 # The option is referenced via a variable to avoid confusing sed.
8642 lt_compile=`echo "$ac_compile" | $SED \
8643 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8644 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8645 -e 's:$: $lt_compiler_flag:'`
8646 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
8647 (eval "$lt_compile" 2>conftest.err)
8649 cat conftest.err >&5
8650 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8651 if (exit $ac_status) && test -s "$ac_outfile"; then
8652 # The compiler can only warn and ignore the option if not recognized
8653 # So say no if there are warnings other than the usual output.
8654 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8655 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8656 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8657 lt_cv_prog_compiler_rtti_exceptions=yes
8663 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_rtti_exceptions" >&5
8664 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8666 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8667 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8679 lt_prog_compiler_wl=
8680 lt_prog_compiler_pic=
8681 lt_prog_compiler_static=
8683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $compiler option to produce PIC
" >&5
8684 $as_echo_n "checking
for $compiler option to produce PIC...
" >&6; }
8686 if test "$GCC" = yes; then
8687 lt_prog_compiler_wl='-Wl,'
8688 lt_prog_compiler_static='-static'
8692 # All AIX code is PIC.
8693 if test "$host_cpu" = ia64; then
8694 # AIX 5 now supports IA64 processor
8695 lt_prog_compiler_static='-Bstatic'
8697 lt_prog_compiler_pic='-fPIC'
8703 # see comment about AmigaOS4 .so support
8704 lt_prog_compiler_pic='-fPIC'
8707 # FIXME: we need at least 68020 code to build shared libraries, but
8708 # adding the `-m68020' flag to GCC prevents building anything better,
8710 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8715 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8716 # PIC is the default for these OSes.
8719 mingw* | cygwin* | pw32* | os2* | cegcc*)
8720 # This hack is so that the source file can tell whether it is being
8721 # built for inclusion in a dll (and should export symbols for example).
8722 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8723 # (--disable-auto-import) libraries
8724 lt_prog_compiler_pic='-DDLL_EXPORT'
8727 darwin* | rhapsody*)
8728 # PIC is the default on this platform
8729 # Common symbols not allowed in MH_DYLIB files
8730 lt_prog_compiler_pic='-fno-common'
8734 # PIC is the default for Haiku.
8735 # The "-static" flag exists, but is broken.
8736 lt_prog_compiler_static=
8740 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8741 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8742 # sets the default TLS model and affects inlining.
8748 lt_prog_compiler_pic='-fPIC'
8754 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8755 # Instead, we relocate shared libraries at runtime.
8759 # Just because we use GCC doesn't mean we suddenly get shared libraries
8760 # on systems that don't support them.
8761 lt_prog_compiler_can_build_shared=no
8766 # QNX uses GNU C++, but need to define -shared option too, otherwise
8768 lt_prog_compiler_pic='-fPIC -shared'
8772 if test -d /usr/nec; then
8773 lt_prog_compiler_pic=-Kconform_pic
8778 lt_prog_compiler_pic='-fPIC'
8782 case $cc_basename in
8783 nvcc*) # Cuda Compiler Driver 2.2
8784 lt_prog_compiler_wl='-Xlinker '
8785 lt_prog_compiler_pic='-Xcompiler -fPIC'
8789 # PORTME Check for flag to pass linker flags through the system compiler.
8792 lt_prog_compiler_wl='-Wl,'
8793 if test "$host_cpu" = ia64; then
8794 # AIX 5 now supports IA64 processor
8795 lt_prog_compiler_static='-Bstatic'
8797 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8801 mingw* | cygwin* | pw32* | os2* | cegcc*)
8802 # This hack is so that the source file can tell whether it is being
8803 # built for inclusion in a dll (and should export symbols for example).
8804 lt_prog_compiler_pic='-DDLL_EXPORT'
8807 hpux9* | hpux10* | hpux11*)
8808 lt_prog_compiler_wl='-Wl,'
8809 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8816 lt_prog_compiler_pic='+Z'
8819 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8820 lt_prog_compiler_static='${wl}-a ${wl}archive'
8823 irix5* | irix6* | nonstopux*)
8824 lt_prog_compiler_wl='-Wl,'
8825 # PIC (with -KPIC) is the default.
8826 lt_prog_compiler_static='-non_shared'
8829 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8830 case $cc_basename in
8831 # old Intel for x86_64 which still supported -KPIC.
8833 lt_prog_compiler_wl='-Wl,'
8834 lt_prog_compiler_pic='-KPIC'
8835 lt_prog_compiler_static='-static'
8837 # icc used to be incompatible with GCC.
8838 # ICC 10 doesn't accept -KPIC any more.
8840 lt_prog_compiler_wl='-Wl,'
8841 lt_prog_compiler_pic='-fPIC'
8842 lt_prog_compiler_static='-static'
8844 # Lahey Fortran 8.1.
8846 lt_prog_compiler_wl='-Wl,'
8847 lt_prog_compiler_pic='--shared'
8848 lt_prog_compiler_static='--static'
8850 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8851 # Portland Group compilers (*not* the Pentium gcc compiler,
8852 # which looks to be a dead project)
8853 lt_prog_compiler_wl='-Wl,'
8854 lt_prog_compiler_pic='-fpic'
8855 lt_prog_compiler_static='-Bstatic'
8858 lt_prog_compiler_wl='-Wl,'
8859 # All Alpha code is PIC.
8860 lt_prog_compiler_static='-non_shared'
8862 xl* | bgxl* | bgf* | mpixl*)
8863 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8864 lt_prog_compiler_wl='-Wl,'
8865 lt_prog_compiler_pic='-qpic'
8866 lt_prog_compiler_static='-qstaticlink'
8869 case `$CC -V 2>&1 | sed 5q` in
8870 *Sun\ F* | *Sun*Fortran*)
8871 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8872 lt_prog_compiler_pic='-KPIC'
8873 lt_prog_compiler_static='-Bstatic'
8874 lt_prog_compiler_wl=''
8878 lt_prog_compiler_pic='-KPIC'
8879 lt_prog_compiler_static='-Bstatic'
8880 lt_prog_compiler_wl='-Wl,'
8888 lt_prog_compiler_pic='-KPIC'
8889 lt_prog_compiler_static='-Bstatic'
8893 # QNX uses GNU C++, but need to define -shared option too, otherwise
8895 lt_prog_compiler_pic='-fPIC -shared'
8898 osf3* | osf4* | osf5*)
8899 lt_prog_compiler_wl='-Wl,'
8900 # All OSF/1 code is PIC.
8901 lt_prog_compiler_static='-non_shared'
8905 lt_prog_compiler_static='-non_shared'
8909 lt_prog_compiler_pic='-KPIC'
8910 lt_prog_compiler_static='-Bstatic'
8911 case $cc_basename in
8913 lt_prog_compiler_wl='-Qoption ld ';;
8915 lt_prog_compiler_wl='-Wl,';;
8920 lt_prog_compiler_wl='-Qoption ld '
8921 lt_prog_compiler_pic='-PIC'
8922 lt_prog_compiler_static='-Bstatic'
8925 sysv4 | sysv4.2uw2* | sysv4.3*)
8926 lt_prog_compiler_wl='-Wl,'
8927 lt_prog_compiler_pic='-KPIC'
8928 lt_prog_compiler_static='-Bstatic'
8932 if test -d /usr/nec ;then
8933 lt_prog_compiler_pic='-Kconform_pic'
8934 lt_prog_compiler_static='-Bstatic'
8938 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8939 lt_prog_compiler_wl='-Wl,'
8940 lt_prog_compiler_pic='-KPIC'
8941 lt_prog_compiler_static='-Bstatic'
8945 lt_prog_compiler_wl='-Wl,'
8946 lt_prog_compiler_can_build_shared=no
8950 lt_prog_compiler_pic='-pic'
8951 lt_prog_compiler_static='-Bstatic'
8955 lt_prog_compiler_can_build_shared=no
8961 # For platforms which do not support PIC, -DPIC is meaningless:
8963 lt_prog_compiler_pic=
8966 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8969 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_prog_compiler_pic" >&5
8970 $as_echo "$lt_prog_compiler_pic" >&6; }
8978 # Check to make sure the PIC flag actually works.
8980 if test -n "$lt_prog_compiler_pic"; then
8981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler PIC flag
$lt_prog_compiler_pic works
" >&5
8982 $as_echo_n "checking
if $compiler PIC flag
$lt_prog_compiler_pic works...
" >&6; }
8983 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8984 $as_echo_n "(cached
) " >&6
8986 lt_cv_prog_compiler_pic_works=no
8987 ac_outfile=conftest.$ac_objext
8988 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8989 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8990 # Insert the option either (1) after the last *FLAGS variable, or
8991 # (2) before a word containing "conftest.
", or (3) at the end.
8992 # Note that $ac_compile itself does not contain backslashes and begins
8993 # with a dollar sign (not a hyphen), so the echo should work correctly.
8994 # The option is referenced via a variable to avoid confusing sed.
8995 lt_compile=`echo "$ac_compile" | $SED \
8996 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8997 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8998 -e 's:$: $lt_compiler_flag:'`
8999 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
9000 (eval "$lt_compile" 2>conftest.err)
9002 cat conftest.err >&5
9003 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9004 if (exit $ac_status) && test -s "$ac_outfile"; then
9005 # The compiler can only warn and ignore the option if not recognized
9006 # So say no if there are warnings other than the usual output.
9007 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9008 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9009 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9010 lt_cv_prog_compiler_pic_works=yes
9016 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_pic_works" >&5
9017 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9019 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9020 case $lt_prog_compiler_pic in
9022 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9025 lt_prog_compiler_pic=
9026 lt_prog_compiler_can_build_shared=no
9037 # Check to make sure the static flag actually works.
9039 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler static flag
$lt_tmp_static_flag works
" >&5
9041 $as_echo_n "checking
if $compiler static flag
$lt_tmp_static_flag works...
" >&6; }
9042 if ${lt_cv_prog_compiler_static_works+:} false; then :
9043 $as_echo_n "(cached
) " >&6
9045 lt_cv_prog_compiler_static_works=no
9046 save_LDFLAGS="$LDFLAGS"
9047 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9048 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9049 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9050 # The linker can only warn and ignore the option if not recognized
9051 # So say no if there are warnings
9052 if test -s conftest.err; then
9053 # Append any errors to the config.log.
9054 cat conftest.err 1>&5
9055 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9056 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9057 if diff conftest.exp conftest.er2 >/dev/null; then
9058 lt_cv_prog_compiler_static_works=yes
9061 lt_cv_prog_compiler_static_works=yes
9065 LDFLAGS="$save_LDFLAGS"
9068 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_static_works" >&5
9069 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9071 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9074 lt_prog_compiler_static=
9083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
9084 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
9085 if ${lt_cv_prog_compiler_c_o+:} false; then :
9086 $as_echo_n "(cached
) " >&6
9088 lt_cv_prog_compiler_c_o=no
9089 $RM -r conftest 2>/dev/null
9093 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9095 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
9096 # Insert the option either (1) after the last *FLAGS variable, or
9097 # (2) before a word containing "conftest.
", or (3) at the end.
9098 # Note that $ac_compile itself does not contain backslashes and begins
9099 # with a dollar sign (not a hyphen), so the echo should work correctly.
9100 lt_compile=`echo "$ac_compile" | $SED \
9101 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9102 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9103 -e 's:$: $lt_compiler_flag:'`
9104 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
9105 (eval "$lt_compile" 2>out/conftest.err)
9107 cat out/conftest.err >&5
9108 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9109 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9111 # The compiler can only warn and ignore the option if not recognized
9112 # So say no if there are warnings
9113 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9114 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9115 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9116 lt_cv_prog_compiler_c_o=yes
9121 # SGI C++ compiler will create directory out/ii_files/ for
9122 # template instantiation
9123 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9124 $RM out/* && rmdir out
9130 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
9131 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
9139 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
9140 if ${lt_cv_prog_compiler_c_o+:} false; then :
9141 $as_echo_n "(cached
) " >&6
9143 lt_cv_prog_compiler_c_o=no
9144 $RM -r conftest 2>/dev/null
9148 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9150 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
9151 # Insert the option either (1) after the last *FLAGS variable, or
9152 # (2) before a word containing "conftest.
", or (3) at the end.
9153 # Note that $ac_compile itself does not contain backslashes and begins
9154 # with a dollar sign (not a hyphen), so the echo should work correctly.
9155 lt_compile=`echo "$ac_compile" | $SED \
9156 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9157 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9158 -e 's:$: $lt_compiler_flag:'`
9159 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
9160 (eval "$lt_compile" 2>out/conftest.err)
9162 cat out/conftest.err >&5
9163 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9164 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9166 # The compiler can only warn and ignore the option if not recognized
9167 # So say no if there are warnings
9168 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9169 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9170 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9171 lt_cv_prog_compiler_c_o=yes
9176 # SGI C++ compiler will create directory out/ii_files/ for
9177 # template instantiation
9178 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9179 $RM out/* && rmdir out
9185 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
9186 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9191 hard_links="nottested
"
9192 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9193 # do not overwrite the value of need_locks provided by the user
9194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if we can lock with hard links
" >&5
9195 $as_echo_n "checking
if we can lock with hard links...
" >&6; }
9198 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9200 ln conftest.a conftest.b 2>&5 || hard_links=no
9201 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9202 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $hard_links" >&5
9203 $as_echo "$hard_links" >&6; }
9204 if test "$hard_links" = no; then
9205 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&5
9206 $as_echo "$as_me: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&2;}
9218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the
$compiler linker
($LD) supports shared libraries
" >&5
9219 $as_echo_n "checking whether the
$compiler linker
($LD) supports shared libraries...
" >&6; }
9222 allow_undefined_flag=
9223 always_export_symbols=no
9225 archive_expsym_cmds=
9226 compiler_needs_object=no
9227 enable_shared_with_static_runtimes=no
9228 export_dynamic_flag_spec=
9229 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9230 hardcode_automatic=no
9232 hardcode_direct_absolute=no
9233 hardcode_libdir_flag_spec=
9234 hardcode_libdir_flag_spec_ld=
9235 hardcode_libdir_separator=
9237 hardcode_shlibpath_var=unsupported
9239 link_all_deplibs=unknown
9242 old_archive_from_new_cmds=
9243 old_archive_from_expsyms_cmds=
9244 thread_safe_flag_spec=
9245 whole_archive_flag_spec=
9246 # include_expsyms should be a list of space-separated symbols to be *always*
9247 # included in the symbol list
9249 # exclude_expsyms can be an extended regexp of symbols to exclude
9250 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9251 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9252 # as well as any symbol that contains `d'.
9253 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9254 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9255 # platforms (ab)use it in PIC code, but their linkers get confused if
9256 # the symbol is explicitly referenced. Since portable code cannot
9257 # rely on this symbol name, it's probably fine to never include it in
9258 # preloaded symbol tables.
9259 # Exclude shared library initialization/finalization symbols.
9260 extract_expsyms_cmds=
9263 cygwin* | mingw* | pw32* | cegcc*)
9264 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9265 # When not using gcc, we currently assume that we are using
9266 # Microsoft Visual C++.
9267 if test "$GCC" != yes; then
9272 # we just hope/assume this is gcc and not c89 (= MSVC++)
9282 # On some targets, GNU ld is compatible enough with the native linker
9283 # that we're better off using the native interface for both.
9284 lt_use_gnu_ld_interface=no
9285 if test "$with_gnu_ld" = yes; then
9288 # The AIX port of GNU ld has always aspired to compatibility
9289 # with the native linker. However, as the warning in the GNU ld
9290 # block says, versions before 2.19.5* couldn't really create working
9291 # shared libraries, regardless of the interface used.
9292 case `$LD -v 2>&1` in
9293 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9294 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9295 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9297 lt_use_gnu_ld_interface=yes
9302 lt_use_gnu_ld_interface=yes
9307 if test "$lt_use_gnu_ld_interface" = yes; then
9308 # If archive_cmds runs LD, not CC, wlarc should be empty
9311 # Set some defaults for GNU ld with shared library support. These
9312 # are reset later if shared libraries are not supported. Putting them
9313 # here allows them to be overridden if necessary.
9314 runpath_var=LD_RUN_PATH
9315 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9316 export_dynamic_flag_spec='${wl}--export-dynamic'
9317 # ancient GNU ld didn't support --whole-archive et. al.
9318 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9319 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9321 whole_archive_flag_spec=
9323 supports_anon_versioning=no
9324 case `$LD -v 2>&1` in
9325 *GNU\ gold*) supports_anon_versioning=yes ;;
9326 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9327 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9328 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9329 *\ 2.11.*) ;; # other 2.11 versions
9330 *) supports_anon_versioning=yes ;;
9333 # See if GNU ld supports shared libraries.
9336 # On AIX/PPC, the GNU linker is very broken
9337 if test "$host_cpu" != ia64; then
9341 *** Warning: the GNU linker, at least up to release 2.19, is reported
9342 *** to be unable to reliably create shared libraries on AIX.
9343 *** Therefore, libtool is disabling shared libraries support. If you
9344 *** really care for shared libraries, you may want to install binutils
9345 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9346 *** You will then need to restart the configuration process.
9355 # see comment about AmigaOS4 .so support
9356 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9357 archive_expsym_cmds=''
9360 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)'
9361 hardcode_libdir_flag_spec
='-L$libdir'
9362 hardcode_minus_L
=yes
9368 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9369 allow_undefined_flag
=unsupported
9370 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9371 # support --undefined. This deserves some investigation. FIXME
9372 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9378 cygwin
* | mingw
* | pw32
* | cegcc
*)
9379 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9380 # as there is no search path for DLLs.
9381 hardcode_libdir_flag_spec
='-L$libdir'
9382 export_dynamic_flag_spec
='${wl}--export-all-symbols'
9383 allow_undefined_flag
=unsupported
9384 always_export_symbols
=no
9385 enable_shared_with_static_runtimes
=yes
9386 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9388 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
9389 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9390 # If the export-symbols file already is a .def file (1st line
9391 # is EXPORTS), use it as is; otherwise, prepend...
9392 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9393 cp $export_symbols $output_objdir/$soname.def;
9395 echo EXPORTS > $output_objdir/$soname.def;
9396 cat $export_symbols >> $output_objdir/$soname.def;
9398 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9405 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9406 link_all_deplibs
=yes
9411 hardcode_shlibpath_var
=no
9412 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9413 export_dynamic_flag_spec
='${wl}-E'
9414 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9415 # Instead, shared libraries are loaded at an image base (0x10000000 by
9416 # default) and relocated if they conflict, which is a slow very memory
9417 # consuming and fragmenting process. To avoid this, we pick a random,
9418 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9419 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9420 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9421 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'
9424 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu | uclinuxfdpiceabi
)
9426 if test "$host_os" = linux-dietlibc
; then
9427 case $cc_basename in
9428 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9431 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
9432 && test "$tmp_diet" = no
9434 tmp_addflag
=' $pic_flag'
9435 tmp_sharedflag
='-shared'
9436 case $cc_basename,$host_cpu in
9437 pgcc
*) # Portland Group C compiler
9438 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'
9439 tmp_addflag
=' $pic_flag'
9441 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9442 # Portland Group f77 and f90 compilers
9443 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'
9444 tmp_addflag
=' $pic_flag -Mnomain' ;;
9445 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9446 tmp_addflag
=' -i_dynamic' ;;
9447 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9448 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9449 ifc
* | ifort
*) # Intel Fortran compiler
9450 tmp_addflag
=' -nofor_main' ;;
9451 lf95
*) # Lahey Fortran 8.1
9452 whole_archive_flag_spec
=
9453 tmp_sharedflag
='--shared' ;;
9454 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9455 tmp_sharedflag
='-qmkshrobj'
9457 nvcc
*) # Cuda Compiler Driver 2.2
9458 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'
9459 compiler_needs_object
=yes
9462 case `$CC -V 2>&1 | sed 5q` in
9463 *Sun\ C
*) # Sun C 5.9
9464 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'
9465 compiler_needs_object
=yes
9466 tmp_sharedflag
='-G' ;;
9467 *Sun\ F
*) # Sun Fortran 8.3
9468 tmp_sharedflag
='-G' ;;
9470 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9472 if test "x$supports_anon_versioning" = xyes
; then
9473 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9474 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9475 echo "local: *; };" >> $output_objdir/$libname.ver~
9476 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9479 case $cc_basename in
9480 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
9481 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9482 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9483 hardcode_libdir_flag_spec
=
9484 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
9485 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9486 if test "x$supports_anon_versioning" = xyes
; then
9487 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9488 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9489 echo "local: *; };" >> $output_objdir/$libname.ver~
9490 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9500 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9501 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9504 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9505 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9510 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
9514 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9515 *** create shared libraries on Solaris systems. Therefore, libtool
9516 *** is disabling shared libraries support. We urge you to upgrade GNU
9517 *** binutils to release 2.9.1 or newer. Another option is to modify
9518 *** your PATH or compiler configuration so that the native linker is
9519 *** used, and then restart.
9522 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9523 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9524 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9530 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9531 case `$LD -v 2>&1` in
9532 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9536 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9537 *** reliably create shared libraries on SCO systems. Therefore, libtool
9538 *** is disabling shared libraries support. We urge you to upgrade GNU
9539 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9540 *** your PATH or compiler configuration so that the native linker is
9541 *** used, and then restart.
9546 # For security reasons, it is highly recommended that you always
9547 # use absolute paths for naming shared libraries, and exclude the
9548 # DT_RUNPATH tag from executables and libraries. But doing so
9549 # requires that you compile everything twice, which is a pain.
9550 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9551 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9552 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9553 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9562 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9565 hardcode_shlibpath_var
=no
9569 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9570 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9571 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9578 if test "$ld_shlibs" = no
; then
9580 hardcode_libdir_flag_spec
=
9581 export_dynamic_flag_spec
=
9582 whole_archive_flag_spec
=
9585 # PORTME fill in a description of your system's linker (not GNU ld)
9588 allow_undefined_flag
=unsupported
9589 always_export_symbols
=yes
9590 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'
9591 # Note: this linker hardcodes the directories in LIBPATH if there
9592 # are no directories specified by -L.
9593 hardcode_minus_L
=yes
9594 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9595 # Neither direct hardcoding nor static linking is supported with a
9597 hardcode_direct
=unsupported
9602 if test "$host_cpu" = ia64
; then
9603 # On IA64, the linker does run time linking by default, so we don't
9604 # have to do anything special.
9605 aix_use_runtimelinking
=no
9606 exp_sym_flag
='-Bexport'
9609 # If we're using GNU nm, then we don't want the "-C" option.
9610 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9611 # Also, AIX nm treats weak defined symbols like other global
9612 # defined symbols, whereas GNU nm marks them as "W".
9613 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9614 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'
9616 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'
9618 aix_use_runtimelinking
=no
9620 # Test if we are trying to use run time linking or normal
9621 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9622 # need to do runtime linking.
9623 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9624 for ld_flag
in $LDFLAGS; do
9625 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9626 aix_use_runtimelinking
=yes
9633 exp_sym_flag
='-bexport'
9634 no_entry_flag
='-bnoentry'
9637 # When large executables or shared objects are built, AIX ld can
9638 # have problems creating the table of contents. If linking a library
9639 # or program results in "error TOC overflow" add -mminimal-toc to
9640 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9641 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9645 hardcode_direct_absolute
=yes
9646 hardcode_libdir_separator
=':'
9647 link_all_deplibs
=yes
9648 file_list_spec
='${wl}-f,'
9650 if test "$GCC" = yes; then
9651 case $host_os in aix4.
[012]|aix4.
[012].
*)
9652 # We only want to do this on AIX 4.2 and lower, the check
9653 # below for broken collect2 doesn't work under 4.3+
9654 collect2name
=`${CC} -print-prog-name=collect2`
9655 if test -f "$collect2name" &&
9656 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9658 # We have reworked collect2
9661 # We have old collect2
9662 hardcode_direct
=unsupported
9663 # It fails to find uninstalled libraries when the uninstalled
9664 # path is not listed in the libpath. Setting hardcode_minus_L
9665 # to unsupported forces relinking
9666 hardcode_minus_L
=yes
9667 hardcode_libdir_flag_spec
='-L$libdir'
9668 hardcode_libdir_separator
=
9672 shared_flag
='-shared'
9673 if test "$aix_use_runtimelinking" = yes; then
9674 shared_flag
="$shared_flag "'${wl}-G'
9678 if test "$host_cpu" = ia64
; then
9679 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9680 # chokes on -Wl,-G. The following line is correct:
9683 if test "$aix_use_runtimelinking" = yes; then
9684 shared_flag
='${wl}-G'
9686 shared_flag
='${wl}-bM:SRE'
9691 export_dynamic_flag_spec
='${wl}-bexpall'
9692 # It seems that -bexpall does not export symbols beginning with
9693 # underscore (_), so it is better to generate a list of symbols to export.
9694 always_export_symbols
=yes
9695 if test "$aix_use_runtimelinking" = yes; then
9696 # Warning - without using the other runtime loading flags (-brtl),
9697 # -berok will link without error, but may produce a broken library.
9698 allow_undefined_flag
='-berok'
9699 # Determine the default libpath from the value encoded in an
9701 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9702 /* end confdefs.h. */
9712 if ac_fn_c_try_link
"$LINENO"; then :
9714 lt_aix_libpath_sed
='
9715 /Import File Strings/,/^$/ {
9721 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9722 # Check for a 64-bit object if we didn't find anything.
9723 if test -z "$aix_libpath"; then
9724 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9727 rm -f core conftest.err conftest.
$ac_objext \
9728 conftest
$ac_exeext conftest.
$ac_ext
9729 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9731 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9732 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"
9734 if test "$host_cpu" = ia64
; then
9735 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9736 allow_undefined_flag
="-z nodefs"
9737 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"
9739 # Determine the default libpath from the value encoded in an
9741 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9742 /* end confdefs.h. */
9752 if ac_fn_c_try_link
"$LINENO"; then :
9754 lt_aix_libpath_sed
='
9755 /Import File Strings/,/^$/ {
9761 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9762 # Check for a 64-bit object if we didn't find anything.
9763 if test -z "$aix_libpath"; then
9764 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9767 rm -f core conftest.err conftest.
$ac_objext \
9768 conftest
$ac_exeext conftest.
$ac_ext
9769 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9771 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9772 # Warning - without using the other run time loading flags,
9773 # -berok will link without error, but may produce a broken library.
9774 no_undefined_flag
=' ${wl}-bernotok'
9775 allow_undefined_flag
=' ${wl}-berok'
9776 if test "$with_gnu_ld" = yes; then
9777 # We only use this code for GNU lds that support --whole-archive.
9778 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9780 # Exported symbols can be pulled into shared objects from archives
9781 whole_archive_flag_spec
='$convenience'
9783 archive_cmds_need_lc
=yes
9784 # This is similar to how AIX traditionally builds its shared libraries.
9785 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'
9793 # see comment about AmigaOS4 .so support
9794 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9795 archive_expsym_cmds
=''
9798 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)'
9799 hardcode_libdir_flag_spec
='-L$libdir'
9800 hardcode_minus_L
=yes
9806 export_dynamic_flag_spec
=-rdynamic
9809 cygwin
* | mingw
* | pw32
* | cegcc
*)
9810 # When not using gcc, we currently assume that we are using
9811 # Microsoft Visual C++.
9812 # hardcode_libdir_flag_spec is actually meaningless, as there is
9813 # no search path for DLLs.
9814 hardcode_libdir_flag_spec
=' '
9815 allow_undefined_flag
=unsupported
9816 # Tell ltmain to make .lib files, not .a files.
9818 # Tell ltmain to make .dll files, not .so files.
9820 # FIXME: Setting linknames here is a bad hack.
9821 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9822 # The linker will automatically build a .lib file if we build a DLL.
9823 old_archive_from_new_cmds
='true'
9824 # FIXME: Should let the user specify the lib program.
9825 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9826 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9827 enable_shared_with_static_runtimes
=yes
9830 darwin
* | rhapsody
*)
9833 archive_cmds_need_lc
=no
9835 hardcode_automatic
=yes
9836 hardcode_shlibpath_var
=unsupported
9837 if test "$lt_cv_ld_force_load" = "yes"; then
9838 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\"`'
9840 whole_archive_flag_spec
=''
9842 link_all_deplibs
=yes
9843 allow_undefined_flag
="$_lt_dar_allow_undefined"
9844 case $cc_basename in
9845 ifort
*) _lt_dar_can_shared
=yes ;;
9846 *) _lt_dar_can_shared
=$GCC ;;
9848 if test "$_lt_dar_can_shared" = "yes"; then
9849 output_verbose_link_cmd
=func_echo_all
9850 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9851 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9852 archive_expsym_cmds
="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
9853 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}"
9862 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9863 hardcode_libdir_flag_spec
='-L$libdir'
9864 hardcode_shlibpath_var
=no
9867 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9868 # support. Future versions do this automatically, but an explicit c++rt0.o
9869 # does not break anything, and helps significantly (at the cost of a little
9872 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9873 hardcode_libdir_flag_spec
='-R$libdir'
9875 hardcode_shlibpath_var
=no
9878 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9880 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9882 hardcode_minus_L
=yes
9883 hardcode_shlibpath_var
=no
9886 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9887 freebsd
* | dragonfly
*)
9888 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9889 hardcode_libdir_flag_spec
='-R$libdir'
9891 hardcode_shlibpath_var
=no
9895 if test "$GCC" = yes; then
9896 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'
9898 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'
9900 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9901 hardcode_libdir_separator
=:
9904 # hardcode_minus_L: Not really in the search PATH,
9905 # but as the default location of the library.
9906 hardcode_minus_L
=yes
9907 export_dynamic_flag_spec
='${wl}-E'
9911 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9912 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9914 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9916 if test "$with_gnu_ld" = no
; then
9917 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9918 hardcode_libdir_flag_spec_ld
='+b $libdir'
9919 hardcode_libdir_separator
=:
9921 hardcode_direct_absolute
=yes
9922 export_dynamic_flag_spec
='${wl}-E'
9923 # hardcode_minus_L: Not really in the search PATH,
9924 # but as the default location of the library.
9925 hardcode_minus_L
=yes
9930 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9933 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9936 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9939 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9945 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9948 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9952 # Older versions of the 11.00 compiler do not understand -b yet
9953 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9955 $as_echo_n "checking if $CC understands -b... " >&6; }
9956 if ${lt_cv_prog_compiler__b+:} false
; then :
9957 $as_echo_n "(cached) " >&6
9959 lt_cv_prog_compiler__b
=no
9960 save_LDFLAGS
="$LDFLAGS"
9961 LDFLAGS
="$LDFLAGS -b"
9962 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9963 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9964 # The linker can only warn and ignore the option if not recognized
9965 # So say no if there are warnings
9966 if test -s conftest.err
; then
9967 # Append any errors to the config.log.
9968 cat conftest.err
1>&5
9969 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9970 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9971 if diff conftest.exp conftest.er2
>/dev
/null
; then
9972 lt_cv_prog_compiler__b
=yes
9975 lt_cv_prog_compiler__b
=yes
9979 LDFLAGS
="$save_LDFLAGS"
9982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9983 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9985 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
9986 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9988 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9994 if test "$with_gnu_ld" = no
; then
9995 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9996 hardcode_libdir_separator
=:
10001 hardcode_shlibpath_var
=no
10004 hardcode_direct
=yes
10005 hardcode_direct_absolute
=yes
10006 export_dynamic_flag_spec
='${wl}-E'
10008 # hardcode_minus_L: Not really in the search PATH,
10009 # but as the default location of the library.
10010 hardcode_minus_L
=yes
10016 irix5
* | irix6
* | nonstopux
*)
10017 if test "$GCC" = yes; then
10018 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'
10019 # Try to use the -exported_symbol ld option, if it does not
10020 # work, assume that -exports_file does not work either and
10021 # implicitly export all symbols.
10022 save_LDFLAGS
="$LDFLAGS"
10023 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10024 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10025 /* end confdefs.h. */
10028 if ac_fn_c_try_link
"$LINENO"; then :
10029 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'
10032 rm -f core conftest.err conftest.
$ac_objext \
10033 conftest
$ac_exeext conftest.
$ac_ext
10034 LDFLAGS
="$save_LDFLAGS"
10036 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'
10037 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'
10039 archive_cmds_need_lc
='no'
10040 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10041 hardcode_libdir_separator
=:
10043 link_all_deplibs
=yes
10047 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10048 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10050 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10052 hardcode_libdir_flag_spec
='-R$libdir'
10053 hardcode_direct
=yes
10054 hardcode_shlibpath_var
=no
10058 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10059 hardcode_direct
=yes
10060 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10061 hardcode_libdir_separator
=:
10062 hardcode_shlibpath_var
=no
10069 if test -f /usr
/libexec
/ld.so
; then
10070 hardcode_direct
=yes
10071 hardcode_shlibpath_var
=no
10072 hardcode_direct_absolute
=yes
10073 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10074 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10075 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10076 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10077 export_dynamic_flag_spec
='${wl}-E'
10080 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
10081 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10082 hardcode_libdir_flag_spec
='-R$libdir'
10085 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10086 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10096 hardcode_libdir_flag_spec
='-L$libdir'
10097 hardcode_minus_L
=yes
10098 allow_undefined_flag
=unsupported
10099 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'
10100 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10104 if test "$GCC" = yes; then
10105 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10106 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'
10108 allow_undefined_flag
=' -expect_unresolved \*'
10109 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'
10111 archive_cmds_need_lc
='no'
10112 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10113 hardcode_libdir_separator
=:
10116 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10117 if test "$GCC" = yes; then
10118 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10119 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'
10120 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10122 allow_undefined_flag
=' -expect_unresolved \*'
10123 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'
10124 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~
10125 $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'
10127 # Both c and cxx compiler support -rpath directly
10128 hardcode_libdir_flag_spec
='-rpath $libdir'
10130 archive_cmds_need_lc
='no'
10131 hardcode_libdir_separator
=:
10135 no_undefined_flag
=' -z defs'
10136 if test "$GCC" = yes; then
10138 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10139 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10140 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10142 case `$CC -V 2>&1` in
10145 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10146 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10147 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10151 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10152 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10153 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10157 hardcode_libdir_flag_spec
='-R$libdir'
10158 hardcode_shlibpath_var
=no
10160 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10162 # The compiler driver will combine and reorder linker options,
10163 # but understands `-z linker_flag'. GCC discards it without `$wl',
10164 # but is careful enough not to reorder.
10165 # Supported since Solaris 2.6 (maybe 2.5.1?)
10166 if test "$GCC" = yes; then
10167 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10169 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10173 link_all_deplibs
=yes
10177 if test "x$host_vendor" = xsequent
; then
10178 # Use $CC to link under sequent, because it throws in some extra .o
10179 # files that make .init and .fini sections work.
10180 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10182 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10184 hardcode_libdir_flag_spec
='-L$libdir'
10185 hardcode_direct
=yes
10186 hardcode_minus_L
=yes
10187 hardcode_shlibpath_var
=no
10191 case $host_vendor in
10193 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10194 hardcode_direct
=yes # is this really true???
10197 ## LD is ld it makes a PLAMLIB
10198 ## CC just makes a GrossModule.
10199 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10200 reload_cmds
='$CC -r -o $output$reload_objs'
10204 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10205 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10208 runpath_var
='LD_RUN_PATH'
10209 hardcode_shlibpath_var
=no
10213 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10214 hardcode_shlibpath_var
=no
10215 export_dynamic_flag_spec
='-Bexport'
10219 if test -d /usr
/nec
; then
10220 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10221 hardcode_shlibpath_var
=no
10222 runpath_var
=LD_RUN_PATH
10223 hardcode_runpath_var
=yes
10228 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10229 no_undefined_flag
='${wl}-z,text'
10230 archive_cmds_need_lc
=no
10231 hardcode_shlibpath_var
=no
10232 runpath_var
='LD_RUN_PATH'
10234 if test "$GCC" = yes; then
10235 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10236 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10238 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10239 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10243 sysv5
* | sco3.2v5
* | sco5v6
*)
10244 # Note: We can NOT use -z defs as we might desire, because we do not
10245 # link with -lc, and that would cause any symbols used from libc to
10246 # always be unresolved, which means just about no library would
10247 # ever link correctly. If we're not using GNU ld we use -z text
10248 # though, which does catch some bad symbols but isn't as heavy-handed
10250 no_undefined_flag
='${wl}-z,text'
10251 allow_undefined_flag
='${wl}-z,nodefs'
10252 archive_cmds_need_lc
=no
10253 hardcode_shlibpath_var
=no
10254 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10255 hardcode_libdir_separator
=':'
10256 link_all_deplibs
=yes
10257 export_dynamic_flag_spec
='${wl}-Bexport'
10258 runpath_var
='LD_RUN_PATH'
10260 if test "$GCC" = yes; then
10261 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10262 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10264 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10265 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10270 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10271 hardcode_libdir_flag_spec
='-L$libdir'
10272 hardcode_shlibpath_var
=no
10280 if test x
$host_vendor = xsni
; then
10282 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10283 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10290 $as_echo "$ld_shlibs" >&6; }
10291 test "$ld_shlibs" = no
&& can_build_shared
=no
10293 with_gnu_ld
=$with_gnu_ld
10310 # Do we need to explicitly link libc?
10312 case "x$archive_cmds_need_lc" in
10314 # Assume -lc should be added
10315 archive_cmds_need_lc
=yes
10317 if test "$enable_shared" = yes && test "$GCC" = yes; then
10318 case $archive_cmds in
10320 # FIXME: we may have to deal with multi-command sequences.
10323 # Test whether the compiler implicitly links with -lc since on some
10324 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10325 # to ld, don't add -lc before -lgcc.
10326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10327 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10328 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
10329 $as_echo_n "(cached) " >&6
10332 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10334 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10335 (eval $ac_compile) 2>&5
10337 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10338 test $ac_status = 0; } 2>conftest.err
; then
10341 libobjs
=conftest.
$ac_objext
10343 wl
=$lt_prog_compiler_wl
10344 pic_flag
=$lt_prog_compiler_pic
10350 lt_save_allow_undefined_flag
=$allow_undefined_flag
10351 allow_undefined_flag
=
10352 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10353 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10355 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10356 test $ac_status = 0; }
10358 lt_cv_archive_cmds_need_lc
=no
10360 lt_cv_archive_cmds_need_lc
=yes
10362 allow_undefined_flag
=$lt_save_allow_undefined_flag
10364 cat conftest.err
1>&5
10369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10370 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10371 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
10534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10535 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10537 if test "$GCC" = yes; then
10539 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10540 *) lt_awk_arg
="/^libraries:/" ;;
10543 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
10544 *) lt_sed_strip_eq
="s,=/,/,g" ;;
10546 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10547 case $lt_search_path_spec in
10549 # if the path contains ";" then we assume it to be the separator
10550 # otherwise default to the standard path separator (i.e. ":") - it is
10551 # assumed that no part of a normal pathname contains ";" but that should
10552 # okay in the real world where ";" in dirpaths is itself problematic.
10553 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10556 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10559 # Ok, now we have the path, separated by spaces, we can step through it
10560 # and add multilib dir if necessary.
10561 lt_tmp_lt_search_path_spec
=
10562 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10563 for lt_sys_path
in $lt_search_path_spec; do
10564 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10565 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10567 test -d "$lt_sys_path" && \
10568 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10571 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10572 BEGIN {RS=" "; FS="/|\n";} {
10575 for (lt_i = NF; lt_i > 0; lt_i--) {
10576 if ($lt_i != "" && $lt_i != ".") {
10577 if ($lt_i == "..") {
10580 if (lt_count == 0) {
10581 lt_foo="/" $lt_i lt_foo;
10588 if (lt_foo != "") { lt_freq[lt_foo]++; }
10589 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10591 # AWK program above erroneously prepends '/' to C:/dos/paths
10594 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
10595 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10597 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10599 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10601 library_names_spec
=
10602 libname_spec
='lib$name'
10606 postuninstall_cmds
=
10610 shlibpath_overrides_runpath
=unknown
10612 dynamic_linker
="$host_os ld.so"
10613 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10614 need_lib_prefix
=unknown
10615 hardcode_into_libs
=no
10617 # when you set need_version to no, make sure it does not cause -set_version
10618 # flags to be left without arguments
10619 need_version
=unknown
10624 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10625 shlibpath_var
=LIBPATH
10627 # AIX 3 has no versioning support, so we append a major version to the name.
10628 soname_spec
='${libname}${release}${shared_ext}$major'
10635 hardcode_into_libs
=yes
10636 if test "$host_cpu" = ia64
; then
10637 # AIX 5 supports IA64
10638 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10639 shlibpath_var
=LD_LIBRARY_PATH
10641 # With GCC up to 2.95.x, collect2 would create an import file
10642 # for dependence libraries. The import file would start with
10643 # the line `#! .'. This would cause the generated library to
10644 # depend on `.', always an invalid library. This was fixed in
10645 # development snapshots of GCC prior to 3.0.
10647 aix4 | aix4.
[01] | aix4.
[01].
*)
10648 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10650 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10653 can_build_shared
=no
10657 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10658 # soname into executable. Probably we can add versioning support to
10659 # collect2, so additional links can be useful in future.
10660 if test "$aix_use_runtimelinking" = yes; then
10661 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10662 # instead of lib<name>.a to let people know that these are not
10663 # typical AIX shared libraries.
10664 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10666 # We preserve .a as extension for shared libraries through AIX4.2
10667 # and later when we are not doing run time linking.
10668 library_names_spec
='${libname}${release}.a $libname.a'
10669 soname_spec
='${libname}${release}${shared_ext}$major'
10671 shlibpath_var
=LIBPATH
10678 # Since July 2007 AmigaOS4 officially supports .so libraries.
10679 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10680 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10683 library_names_spec
='$libname.ixlibrary $libname.a'
10684 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10685 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'
10691 library_names_spec
='${libname}${shared_ext}'
10692 dynamic_linker
="$host_os ld.so"
10693 shlibpath_var
=LIBRARY_PATH
10699 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10700 soname_spec
='${libname}${release}${shared_ext}$major'
10701 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10702 shlibpath_var
=LD_LIBRARY_PATH
10703 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10704 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10705 # the default ld.so.conf also contains /usr/contrib/lib and
10706 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10707 # libtool to hard-code these into programs
10710 cygwin
* | mingw
* | pw32
* | cegcc
*)
10711 version_type
=windows
10716 case $GCC,$host_os in
10717 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
10718 library_names_spec
='$libname.dll.a'
10719 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10720 postinstall_cmds
='base_file=`basename \${file}`~
10721 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10722 dldir=$destdir/`dirname \$dlpath`~
10723 test -d \$dldir || mkdir -p \$dldir~
10724 $install_prog $dir/$dlname \$dldir/$dlname~
10725 chmod a+x \$dldir/$dlname~
10726 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10727 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10729 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10730 dlpath=$dir/\$dldll~
10732 shlibpath_overrides_runpath
=yes
10736 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10737 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10739 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
10742 # MinGW DLLs use traditional 'lib' prefix
10743 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10746 # pw32 DLLs use 'pw' prefix rather than 'lib'
10747 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10753 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10756 dynamic_linker
='Win32 ld.exe'
10757 # FIXME: first we should search . and the directory the executable is in
10761 darwin
* | rhapsody
*)
10762 dynamic_linker
="$host_os dyld"
10763 version_type
=darwin
10766 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10767 soname_spec
='${libname}${release}${major}$shared_ext'
10768 shlibpath_overrides_runpath
=yes
10769 shlibpath_var
=DYLD_LIBRARY_PATH
10770 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10772 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10773 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10780 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10781 soname_spec
='${libname}${release}${shared_ext}$major'
10782 shlibpath_var
=LD_LIBRARY_PATH
10785 freebsd
* | dragonfly
*)
10786 # DragonFly does not have aout. When/if they implement a new
10787 # versioning mechanism, adjust this.
10788 if test -x /usr
/bin
/objformat
; then
10789 objformat
=`/usr/bin/objformat`
10792 freebsd
[23].
*) objformat
=aout
;;
10793 *) objformat
=elf
;;
10796 version_type
=freebsd-
$objformat
10797 case $version_type in
10799 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10804 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10808 shlibpath_var
=LD_LIBRARY_PATH
10811 shlibpath_overrides_runpath
=yes
10813 freebsd3.
[01]* | freebsdelf3.
[01]*)
10814 shlibpath_overrides_runpath
=yes
10815 hardcode_into_libs
=yes
10817 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10818 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10819 shlibpath_overrides_runpath
=no
10820 hardcode_into_libs
=yes
10822 *) # from 4.6 on, and DragonFly
10823 shlibpath_overrides_runpath
=yes
10824 hardcode_into_libs
=yes
10833 dynamic_linker
="$host_os runtime_loader"
10834 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10835 soname_spec
='${libname}${release}${shared_ext}$major'
10836 shlibpath_var
=LIBRARY_PATH
10837 shlibpath_overrides_runpath
=yes
10838 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10839 hardcode_into_libs
=yes
10842 hpux9
* | hpux10
* | hpux11
*)
10843 # Give a soname corresponding to the major version so that dld.sl refuses to
10844 # link against other versions.
10851 hardcode_into_libs
=yes
10852 dynamic_linker
="$host_os dld.so"
10853 shlibpath_var
=LD_LIBRARY_PATH
10854 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10855 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10856 soname_spec
='${libname}${release}${shared_ext}$major'
10857 if test "X$HPUX_IA64_MODE" = X32
; then
10858 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10860 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10862 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10866 hardcode_into_libs
=yes
10867 dynamic_linker
="$host_os dld.sl"
10868 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10869 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10870 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10871 soname_spec
='${libname}${release}${shared_ext}$major'
10872 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10873 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10877 dynamic_linker
="$host_os dld.sl"
10878 shlibpath_var
=SHLIB_PATH
10879 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10880 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10881 soname_spec
='${libname}${release}${shared_ext}$major'
10884 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10885 postinstall_cmds
='chmod 555 $lib'
10886 # or fails outright, so override atomically:
10887 install_override_mode
=555
10894 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10895 soname_spec
='${libname}${release}${shared_ext}$major'
10896 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10897 shlibpath_var
=LD_LIBRARY_PATH
10898 shlibpath_overrides_runpath
=no
10899 hardcode_into_libs
=yes
10902 irix5
* | irix6
* | nonstopux
*)
10904 nonstopux
*) version_type
=nonstopux
;;
10906 if test "$lt_cv_prog_gnu_ld" = yes; then
10914 soname_spec
='${libname}${release}${shared_ext}$major'
10915 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10917 irix5
* | nonstopux
*)
10918 libsuff
= shlibsuff
=
10921 case $LD in # libtool.m4 will add one of these switches to LD
10922 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10923 libsuff
= shlibsuff
= libmagic
=32-bit;;
10924 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10925 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10926 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10927 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10928 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10932 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10933 shlibpath_overrides_runpath
=no
10934 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10935 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10936 hardcode_into_libs
=yes
10939 # No shared lib support for Linux oldld, aout, or coff.
10940 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10944 # This must be Linux ELF.
10946 # uclinux* changes (here and below) have been submitted to the libtool
10947 # project, but have not yet been accepted: they are GCC-local changes
10948 # for the time being. (See
10949 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
10950 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
* | uclinuxfdpiceabi
)
10954 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10955 soname_spec
='${libname}${release}${shared_ext}$major'
10956 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10957 shlibpath_var
=LD_LIBRARY_PATH
10958 shlibpath_overrides_runpath
=no
10960 # Some binutils ld are patched to set DT_RUNPATH
10961 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
10962 $as_echo_n "(cached) " >&6
10964 lt_cv_shlibpath_overrides_runpath
=no
10965 save_LDFLAGS
=$LDFLAGS
10966 save_libdir
=$libdir
10967 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10968 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10969 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10970 /* end confdefs.h. */
10980 if ac_fn_c_try_link
"$LINENO"; then :
10981 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
10982 lt_cv_shlibpath_overrides_runpath
=yes
10985 rm -f core conftest.err conftest.
$ac_objext \
10986 conftest
$ac_exeext conftest.
$ac_ext
10987 LDFLAGS
=$save_LDFLAGS
10988 libdir
=$save_libdir
10992 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
10994 # This implies no fast_install, which is unacceptable.
10995 # Some rework will be needed to allow for fast_install
10996 # before this can be enabled.
10997 hardcode_into_libs
=yes
10999 # Append ld.so.conf contents to the search path
11000 if test -f /etc
/ld.so.conf
; then
11001 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' ' '`
11002 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
11005 # We used to test for /lib/ld.so.1 and disable shared libraries on
11006 # powerpc, because MkLinux only supported shared libraries with the
11007 # GNU dynamic linker. Since this was broken with cross compilers,
11008 # most powerpc-linux boxes support dynamic linking these days and
11009 # people can always --disable-shared, the test was removed, and we
11010 # assume the GNU/Linux dynamic linker is in use.
11011 dynamic_linker
='GNU/Linux ld.so'
11018 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11019 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11020 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11021 dynamic_linker
='NetBSD (a.out) ld.so'
11023 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11024 soname_spec
='${libname}${release}${shared_ext}$major'
11025 dynamic_linker
='NetBSD ld.elf_so'
11027 shlibpath_var
=LD_LIBRARY_PATH
11028 shlibpath_overrides_runpath
=yes
11029 hardcode_into_libs
=yes
11034 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11035 shlibpath_var
=LD_LIBRARY_PATH
11036 shlibpath_overrides_runpath
=yes
11043 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11044 soname_spec
='${libname}${release}${shared_ext}$major'
11045 shlibpath_var
=LD_LIBRARY_PATH
11046 shlibpath_overrides_runpath
=no
11047 hardcode_into_libs
=yes
11048 dynamic_linker
='ldqnx.so'
11053 sys_lib_dlsearch_path_spec
="/usr/lib"
11055 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11057 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
11058 *) need_version
=no
;;
11060 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11061 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11062 shlibpath_var
=LD_LIBRARY_PATH
11063 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11065 openbsd2.
[89] | openbsd2.
[89].
*)
11066 shlibpath_overrides_runpath
=no
11069 shlibpath_overrides_runpath
=yes
11073 shlibpath_overrides_runpath
=yes
11078 libname_spec
='$name'
11081 library_names_spec
='$libname${shared_ext} $libname.a'
11082 dynamic_linker
='OS/2 ld.exe'
11083 shlibpath_var
=LIBPATH
11086 osf3
* | osf4
* | osf5
*)
11090 soname_spec
='${libname}${release}${shared_ext}$major'
11091 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11092 shlibpath_var
=LD_LIBRARY_PATH
11093 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11094 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
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 shlibpath_overrides_runpath
=yes
11109 hardcode_into_libs
=yes
11110 # ldd complains unless libraries are executable
11111 postinstall_cmds
='chmod +x $lib'
11116 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11117 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11118 shlibpath_var
=LD_LIBRARY_PATH
11119 shlibpath_overrides_runpath
=yes
11120 if test "$with_gnu_ld" = yes; then
11128 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11129 soname_spec
='${libname}${release}${shared_ext}$major'
11130 shlibpath_var
=LD_LIBRARY_PATH
11131 case $host_vendor in
11133 shlibpath_overrides_runpath
=no
11135 runpath_var
=LD_RUN_PATH
11143 shlibpath_overrides_runpath
=no
11144 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11150 if test -d /usr
/nec
;then
11152 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11153 soname_spec
='$libname${shared_ext}.$major'
11154 shlibpath_var
=LD_LIBRARY_PATH
11158 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11159 version_type
=freebsd-elf
11162 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11163 soname_spec
='${libname}${release}${shared_ext}$major'
11164 shlibpath_var
=LD_LIBRARY_PATH
11165 shlibpath_overrides_runpath
=yes
11166 hardcode_into_libs
=yes
11167 if test "$with_gnu_ld" = yes; then
11168 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11170 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11173 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11177 sys_lib_dlsearch_path_spec
='/usr/lib'
11181 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11185 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11186 shlibpath_var
=LD_LIBRARY_PATH
11187 shlibpath_overrides_runpath
=no
11188 hardcode_into_libs
=yes
11193 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11194 soname_spec
='${libname}${release}${shared_ext}$major'
11195 shlibpath_var
=LD_LIBRARY_PATH
11198 # Shared libraries for VwWorks, >= 7 only at this stage
11199 # and (fpic) still incompatible with "large" code models
11200 # in a few configurations. Only for RTP mode in any case,
11201 # and upon explicit request at configure time.
11204 case ${with_multisubdir}-${enable_shared} in
11211 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11212 soname_spec
='${libname}${release}${shared_ext}$major'
11213 dynamic_linker
="$host_os module_loader"
11221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11222 $as_echo "$dynamic_linker" >&6; }
11223 test "$dynamic_linker" = no
&& can_build_shared
=no
11225 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11226 if test "$GCC" = yes; then
11227 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11230 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11231 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
11233 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11234 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
11328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11329 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11331 if test -n "$hardcode_libdir_flag_spec" ||
11332 test -n "$runpath_var" ||
11333 test "X$hardcode_automatic" = "Xyes" ; then
11335 # We can hardcode non-existent directories.
11336 if test "$hardcode_direct" != no
&&
11337 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11338 # have to relink, otherwise we might link with an installed library
11339 # when we should be linking with a yet-to-be-installed one
11340 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11341 test "$hardcode_minus_L" != no
; then
11342 # Linking always hardcodes the temporary library directory.
11343 hardcode_action
=relink
11345 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11346 hardcode_action
=immediate
11349 # We cannot hardcode anything, or else we can only hardcode existing
11351 hardcode_action
=unsupported
11353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11354 $as_echo "$hardcode_action" >&6; }
11356 if test "$hardcode_action" = relink ||
11357 test "$inherit_rpath" = yes; then
11358 # Fast installation is not supported
11359 enable_fast_install
=no
11360 elif test "$shlibpath_overrides_runpath" = yes ||
11361 test "$enable_shared" = no
; then
11362 # Fast installation is not necessary
11363 enable_fast_install
=needless
11371 if test "x$enable_dlopen" != xyes
; then
11372 enable_dlopen
=unknown
11373 enable_dlopen_self
=unknown
11374 enable_dlopen_self_static
=unknown
11381 lt_cv_dlopen
="load_add_on"
11383 lt_cv_dlopen_self
=yes
11386 mingw
* | pw32
* | cegcc
*)
11387 lt_cv_dlopen
="LoadLibrary"
11392 lt_cv_dlopen
="dlopen"
11397 # if libdl is installed we need to link against it
11398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11399 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11400 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11401 $as_echo_n "(cached) " >&6
11403 ac_check_lib_save_LIBS
=$LIBS
11405 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11406 /* end confdefs.h. */
11408 /* Override any GCC internal prototype to avoid an error.
11409 Use char because int might match the return type of a GCC
11410 builtin and then its argument prototype would still apply. */
11423 if ac_fn_c_try_link
"$LINENO"; then :
11424 ac_cv_lib_dl_dlopen
=yes
11426 ac_cv_lib_dl_dlopen
=no
11428 rm -f core conftest.err conftest.
$ac_objext \
11429 conftest
$ac_exeext conftest.
$ac_ext
11430 LIBS
=$ac_check_lib_save_LIBS
11432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11433 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11434 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11435 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11438 lt_cv_dlopen
="dyld"
11440 lt_cv_dlopen_self
=yes
11447 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
11448 if test "x$ac_cv_func_shl_load" = xyes
; then :
11449 lt_cv_dlopen
="shl_load"
11451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11452 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11453 if ${ac_cv_lib_dld_shl_load+:} false
; then :
11454 $as_echo_n "(cached) " >&6
11456 ac_check_lib_save_LIBS
=$LIBS
11458 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11459 /* end confdefs.h. */
11461 /* Override any GCC internal prototype to avoid an error.
11462 Use char because int might match the return type of a GCC
11463 builtin and then its argument prototype would still apply. */
11471 return shl_load ();
11476 if ac_fn_c_try_link
"$LINENO"; then :
11477 ac_cv_lib_dld_shl_load
=yes
11479 ac_cv_lib_dld_shl_load
=no
11481 rm -f core conftest.err conftest.
$ac_objext \
11482 conftest
$ac_exeext conftest.
$ac_ext
11483 LIBS
=$ac_check_lib_save_LIBS
11485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11486 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11487 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
11488 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
11490 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
11491 if test "x$ac_cv_func_dlopen" = xyes
; then :
11492 lt_cv_dlopen
="dlopen"
11494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11495 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11496 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11497 $as_echo_n "(cached) " >&6
11499 ac_check_lib_save_LIBS
=$LIBS
11501 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11502 /* end confdefs.h. */
11504 /* Override any GCC internal prototype to avoid an error.
11505 Use char because int might match the return type of a GCC
11506 builtin and then its argument prototype would still apply. */
11519 if ac_fn_c_try_link
"$LINENO"; then :
11520 ac_cv_lib_dl_dlopen
=yes
11522 ac_cv_lib_dl_dlopen
=no
11524 rm -f core conftest.err conftest.
$ac_objext \
11525 conftest
$ac_exeext conftest.
$ac_ext
11526 LIBS
=$ac_check_lib_save_LIBS
11528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11529 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11530 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11531 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11534 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11535 if ${ac_cv_lib_svld_dlopen+:} false
; then :
11536 $as_echo_n "(cached) " >&6
11538 ac_check_lib_save_LIBS
=$LIBS
11539 LIBS
="-lsvld $LIBS"
11540 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11541 /* end confdefs.h. */
11543 /* Override any GCC internal prototype to avoid an error.
11544 Use char because int might match the return type of a GCC
11545 builtin and then its argument prototype would still apply. */
11558 if ac_fn_c_try_link
"$LINENO"; then :
11559 ac_cv_lib_svld_dlopen
=yes
11561 ac_cv_lib_svld_dlopen
=no
11563 rm -f core conftest.err conftest.
$ac_objext \
11564 conftest
$ac_exeext conftest.
$ac_ext
11565 LIBS
=$ac_check_lib_save_LIBS
11567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11568 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11569 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
11570 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11573 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11574 if ${ac_cv_lib_dld_dld_link+:} false
; then :
11575 $as_echo_n "(cached) " >&6
11577 ac_check_lib_save_LIBS
=$LIBS
11579 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11580 /* end confdefs.h. */
11582 /* Override any GCC internal prototype to avoid an error.
11583 Use char because int might match the return type of a GCC
11584 builtin and then its argument prototype would still apply. */
11592 return dld_link ();
11597 if ac_fn_c_try_link
"$LINENO"; then :
11598 ac_cv_lib_dld_dld_link
=yes
11600 ac_cv_lib_dld_dld_link
=no
11602 rm -f core conftest.err conftest.
$ac_objext \
11603 conftest
$ac_exeext conftest.
$ac_ext
11604 LIBS
=$ac_check_lib_save_LIBS
11606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11607 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11608 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
11609 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11630 if test "x$lt_cv_dlopen" != xno
; then
11636 case $lt_cv_dlopen in
11638 save_CPPFLAGS
="$CPPFLAGS"
11639 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11641 save_LDFLAGS
="$LDFLAGS"
11642 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11645 LIBS
="$lt_cv_dlopen_libs $LIBS"
11647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11648 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11649 if ${lt_cv_dlopen_self+:} false
; then :
11650 $as_echo_n "(cached) " >&6
11652 if test "$cross_compiling" = yes; then :
11653 lt_cv_dlopen_self
=cross
11655 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11656 lt_status
=$lt_dlunknown
11657 cat > conftest.
$ac_ext <<_LT_EOF
11658 #line 11658 "configure"
11659 #include "confdefs.h"
11668 # define LT_DLGLOBAL RTLD_GLOBAL
11671 # define LT_DLGLOBAL DL_GLOBAL
11673 # define LT_DLGLOBAL 0
11677 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11678 find out it does not work in some platform. */
11679 #ifndef LT_DLLAZY_OR_NOW
11681 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11684 # define LT_DLLAZY_OR_NOW DL_LAZY
11687 # define LT_DLLAZY_OR_NOW RTLD_NOW
11690 # define LT_DLLAZY_OR_NOW DL_NOW
11692 # define LT_DLLAZY_OR_NOW 0
11699 /* When -fvisbility=hidden is used, assume the code has been annotated
11700 correspondingly for the symbols needed. */
11701 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11702 void fnord () __attribute__((visibility("default")));
11705 void fnord () { int i=42; }
11708 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11709 int status = $lt_dlunknown;
11713 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11716 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11717 else puts (dlerror ());
11719 /* dlclose (self); */
11727 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11728 (eval $ac_link) 2>&5
11730 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11731 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11732 (.
/conftest
; exit; ) >&5 2>/dev
/null
11734 case x
$lt_status in
11735 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11736 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11737 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11740 # compilation failed
11741 lt_cv_dlopen_self
=no
11748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11749 $as_echo "$lt_cv_dlopen_self" >&6; }
11751 if test "x$lt_cv_dlopen_self" = xyes
; then
11752 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11754 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11755 if ${lt_cv_dlopen_self_static+:} false
; then :
11756 $as_echo_n "(cached) " >&6
11758 if test "$cross_compiling" = yes; then :
11759 lt_cv_dlopen_self_static
=cross
11761 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11762 lt_status
=$lt_dlunknown
11763 cat > conftest.
$ac_ext <<_LT_EOF
11764 #line 11764 "configure"
11765 #include "confdefs.h"
11774 # define LT_DLGLOBAL RTLD_GLOBAL
11777 # define LT_DLGLOBAL DL_GLOBAL
11779 # define LT_DLGLOBAL 0
11783 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11784 find out it does not work in some platform. */
11785 #ifndef LT_DLLAZY_OR_NOW
11787 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11790 # define LT_DLLAZY_OR_NOW DL_LAZY
11793 # define LT_DLLAZY_OR_NOW RTLD_NOW
11796 # define LT_DLLAZY_OR_NOW DL_NOW
11798 # define LT_DLLAZY_OR_NOW 0
11805 /* When -fvisbility=hidden is used, assume the code has been annotated
11806 correspondingly for the symbols needed. */
11807 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11808 void fnord () __attribute__((visibility("default")));
11811 void fnord () { int i=42; }
11814 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11815 int status = $lt_dlunknown;
11819 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11822 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11823 else puts (dlerror ());
11825 /* dlclose (self); */
11833 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11834 (eval $ac_link) 2>&5
11836 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11837 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11838 (.
/conftest
; exit; ) >&5 2>/dev
/null
11840 case x
$lt_status in
11841 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11842 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11843 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11846 # compilation failed
11847 lt_cv_dlopen_self_static
=no
11854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11855 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11858 CPPFLAGS
="$save_CPPFLAGS"
11859 LDFLAGS
="$save_LDFLAGS"
11864 case $lt_cv_dlopen_self in
11865 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11866 *) enable_dlopen_self
=unknown
;;
11869 case $lt_cv_dlopen_self_static in
11870 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11871 *) enable_dlopen_self_static
=unknown
;;
11893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11894 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11895 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11896 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11897 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11899 $as_echo "yes" >&6; }
11901 # FIXME - insert some real tests, host_os isn't really good enough
11904 if test -n "$STRIP" ; then
11905 striplib
="$STRIP -x"
11906 old_striplib
="$STRIP -S"
11907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11908 $as_echo "yes" >&6; }
11910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11911 $as_echo "no" >&6; }
11915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11916 $as_echo "no" >&6; }
11932 # Report which library types will actually be built
11933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11934 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11936 $as_echo "$can_build_shared" >&6; }
11938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11939 $as_echo_n "checking whether to build shared libraries... " >&6; }
11940 test "$can_build_shared" = "no" && enable_shared
=no
11942 # On AIX, shared libraries and static libraries use the same namespace, and
11943 # are all built from PIC.
11946 test "$enable_shared" = yes && enable_static
=no
11947 if test -n "$RANLIB"; then
11948 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11949 postinstall_cmds
='$RANLIB $lib'
11954 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11955 test "$enable_shared" = yes && enable_static
=no
11959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11960 $as_echo "$enable_shared" >&6; }
11962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11963 $as_echo_n "checking whether to build static libraries... " >&6; }
11964 # Make sure either enable_shared or enable_static is yes.
11965 test "$enable_shared" = yes || enable_static
=yes
11966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11967 $as_echo "$enable_static" >&6; }
11974 ac_cpp
='$CPP $CPPFLAGS'
11975 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11976 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11977 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11981 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11982 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11983 (test "X$CXX" != "Xg++"))) ; then
11985 ac_cpp
='$CXXCPP $CPPFLAGS'
11986 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11987 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11988 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11990 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11991 if test -z "$CXXCPP"; then
11992 if ${ac_cv_prog_CXXCPP+:} false
; then :
11993 $as_echo_n "(cached) " >&6
11995 # Double quotes because CXXCPP needs to be expanded
11996 for CXXCPP
in "$CXX -E" "/lib/cpp"
11998 ac_preproc_ok
=false
11999 for ac_cxx_preproc_warn_flag
in '' yes
12001 # Use a header file that comes with gcc, so configuring glibc
12002 # with a fresh cross-compiler works.
12003 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12004 # <limits.h> exists even on freestanding compilers.
12005 # On the NeXT, cc -E runs the code through the compiler's parser,
12006 # not just through cpp. "Syntax error" is here to catch this case.
12007 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12008 /* end confdefs.h. */
12010 # include <limits.h>
12012 # include <assert.h>
12016 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12019 # Broken: fails on valid input.
12022 rm -f conftest.err conftest.i conftest.
$ac_ext
12024 # OK, works on sane cases. Now check whether nonexistent headers
12025 # can be detected and how.
12026 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12027 /* end confdefs.h. */
12028 #include <ac_nonexistent.h>
12030 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12031 # Broken: success on invalid input.
12034 # Passes both tests.
12038 rm -f conftest.err conftest.i conftest.
$ac_ext
12041 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12042 rm -f conftest.i conftest.err conftest.
$ac_ext
12043 if $ac_preproc_ok; then :
12048 ac_cv_prog_CXXCPP
=$CXXCPP
12051 CXXCPP
=$ac_cv_prog_CXXCPP
12053 ac_cv_prog_CXXCPP
=$CXXCPP
12055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12056 $as_echo "$CXXCPP" >&6; }
12057 ac_preproc_ok
=false
12058 for ac_cxx_preproc_warn_flag
in '' yes
12060 # Use a header file that comes with gcc, so configuring glibc
12061 # with a fresh cross-compiler works.
12062 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12063 # <limits.h> exists even on freestanding compilers.
12064 # On the NeXT, cc -E runs the code through the compiler's parser,
12065 # not just through cpp. "Syntax error" is here to catch this case.
12066 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12067 /* end confdefs.h. */
12069 # include <limits.h>
12071 # include <assert.h>
12075 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12078 # Broken: fails on valid input.
12081 rm -f conftest.err conftest.i conftest.
$ac_ext
12083 # OK, works on sane cases. Now check whether nonexistent headers
12084 # can be detected and how.
12085 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12086 /* end confdefs.h. */
12087 #include <ac_nonexistent.h>
12089 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12090 # Broken: success on invalid input.
12093 # Passes both tests.
12097 rm -f conftest.err conftest.i conftest.
$ac_ext
12100 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12101 rm -f conftest.i conftest.err conftest.
$ac_ext
12102 if $ac_preproc_ok; then :
12105 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12106 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12107 as_fn_error $?
"C++ preprocessor \"$CXXCPP\" fails sanity check
12108 See \`config.log' for more details" "$LINENO" 5; }
12112 ac_cpp
='$CPP $CPPFLAGS'
12113 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12114 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12115 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12118 _lt_caught_CXX_error
=yes
12122 ac_cpp
='$CXXCPP $CPPFLAGS'
12123 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12124 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12125 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12127 archive_cmds_need_lc_CXX
=no
12128 allow_undefined_flag_CXX
=
12129 always_export_symbols_CXX
=no
12130 archive_expsym_cmds_CXX
=
12131 compiler_needs_object_CXX
=no
12132 export_dynamic_flag_spec_CXX
=
12133 hardcode_direct_CXX
=no
12134 hardcode_direct_absolute_CXX
=no
12135 hardcode_libdir_flag_spec_CXX
=
12136 hardcode_libdir_flag_spec_ld_CXX
=
12137 hardcode_libdir_separator_CXX
=
12138 hardcode_minus_L_CXX
=no
12139 hardcode_shlibpath_var_CXX
=unsupported
12140 hardcode_automatic_CXX
=no
12141 inherit_rpath_CXX
=no
12143 module_expsym_cmds_CXX
=
12144 link_all_deplibs_CXX
=unknown
12145 old_archive_cmds_CXX
=$old_archive_cmds
12146 reload_flag_CXX
=$reload_flag
12147 reload_cmds_CXX
=$reload_cmds
12148 no_undefined_flag_CXX
=
12149 whole_archive_flag_spec_CXX
=
12150 enable_shared_with_static_runtimes_CXX
=no
12152 # Source file extension for C++ test sources.
12155 # Object file extension for compiled C++ test sources.
12159 # No sense in running all these tests if we already determined that
12160 # the CXX compiler isn't working. Some variables (like enable_shared)
12161 # are currently assumed to apply to all compilers on this platform,
12162 # and will be corrupted by setting them based on a non-working compiler.
12163 if test "$_lt_caught_CXX_error" != yes; then
12164 # Code to be used in simple compile tests
12165 lt_simple_compile_test_code
="int some_variable = 0;"
12167 # Code to be used in simple link tests
12168 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
12170 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12177 # If no C compiler was specified, use CC.
12180 # If no C compiler flags were specified, use CFLAGS.
12181 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
12183 # Allow CC to be a program name with arguments.
12187 # save warnings/boilerplate of simple test code
12188 ac_outfile
=conftest.
$ac_objext
12189 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
12190 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12191 _lt_compiler_boilerplate
=`cat conftest.err`
12194 ac_outfile
=conftest.
$ac_objext
12195 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
12196 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12197 _lt_linker_boilerplate
=`cat conftest.err`
12201 # Allow CC to be a program name with arguments.
12206 lt_save_with_gnu_ld
=$with_gnu_ld
12207 lt_save_path_LD
=$lt_cv_path_LD
12208 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12209 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
12211 $as_unset lt_cv_prog_gnu_ld
12213 if test -n "${lt_cv_path_LDCXX+set}"; then
12214 lt_cv_path_LD
=$lt_cv_path_LDCXX
12216 $as_unset lt_cv_path_LD
12218 test -z "${LDCXX+set}" || LD
=$LDCXX
12222 for cc_temp
in $compiler""; do
12224 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
12225 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
12230 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12233 if test -n "$compiler"; then
12234 # We don't want -fno-exception when compiling C++ code, so set the
12235 # no_builtin_flag separately
12236 if test "$GXX" = yes; then
12237 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
12239 lt_prog_compiler_no_builtin_flag_CXX
=
12242 if test "$GXX" = yes; then
12243 # Set up default GNU C++ configuration
12247 # Check whether --with-gnu-ld was given.
12248 if test "${with_gnu_ld+set}" = set; then :
12249 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
12255 if test "$GCC" = yes; then
12256 # Check if gcc -print-prog-name=ld gives a path.
12257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12258 $as_echo_n "checking for ld used by $CC... " >&6; }
12261 # gcc leaves a trailing carriage return which upsets mingw
12262 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12264 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
12267 # Accept absolute paths.
12269 re_direlt
='/[^/][^/]*/\.\./'
12270 # Canonicalize the pathname of ld
12271 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12272 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
12273 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12275 test -z "$LD" && LD
="$ac_prog"
12278 # If it fails, then pretend we aren't using GCC.
12282 # If it is relative, then search for the first ld in PATH.
12283 with_gnu_ld
=unknown
12286 elif test "$with_gnu_ld" = yes; then
12287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12288 $as_echo_n "checking for GNU ld... " >&6; }
12290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12291 $as_echo_n "checking for non-GNU ld... " >&6; }
12293 if ${lt_cv_path_LD+:} false
; then :
12294 $as_echo_n "(cached) " >&6
12296 if test -z "$LD"; then
12297 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
12298 for ac_dir
in $PATH; do
12300 test -z "$ac_dir" && ac_dir
=.
12301 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
12302 lt_cv_path_LD
="$ac_dir/$ac_prog"
12303 # Check to see if the program is GNU ld. I'd rather use --version,
12304 # but apparently some variants of GNU ld only accept -v.
12305 # Break only if it was the GNU/non-GNU ld that we prefer.
12306 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12307 *GNU
* |
*'with BFD'*)
12308 test "$with_gnu_ld" != no
&& break
12311 test "$with_gnu_ld" != yes && break
12318 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
12322 LD
="$lt_cv_path_LD"
12323 if test -n "$LD"; then
12324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12325 $as_echo "$LD" >&6; }
12327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12328 $as_echo "no" >&6; }
12330 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
12331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12332 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12333 if ${lt_cv_prog_gnu_ld+:} false
; then :
12334 $as_echo_n "(cached) " >&6
12336 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12337 case `$LD -v 2>&1 </dev/null` in
12338 *GNU
* |
*'with BFD'*)
12339 lt_cv_prog_gnu_ld
=yes
12342 lt_cv_prog_gnu_ld
=no
12346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12347 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12348 with_gnu_ld
=$lt_cv_prog_gnu_ld
12356 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12357 # archiving commands below assume that GNU ld is being used.
12358 if test "$with_gnu_ld" = yes; then
12359 archive_cmds_CXX
='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12360 archive_expsym_cmds_CXX
='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12362 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12363 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12365 # If archive_cmds runs LD, not CC, wlarc should be empty
12366 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12367 # investigate it a little bit more. (MM)
12370 # ancient GNU ld didn't support --whole-archive et. al.
12371 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12372 $GREP 'no-whole-archive' > /dev
/null
; then
12373 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12375 whole_archive_flag_spec_CXX
=
12381 # A generic and very simple default shared library creation
12382 # command for GNU C++ for the case where it uses the native
12383 # linker, instead of GNU ld. If possible, this setting should
12384 # overridden to take advantage of the native linker features on
12385 # the platform it is being used on.
12386 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12389 # Commands to make compiler produce verbose output that lists
12390 # what "hidden" libraries, object files and flags are used when
12391 # linking a shared library.
12392 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12400 # PORTME: fill in a description of your system's C++ link characteristics
12401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12402 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12406 # FIXME: insert proper C++ library support
12410 if test "$host_cpu" = ia64
; then
12411 # On IA64, the linker does run time linking by default, so we don't
12412 # have to do anything special.
12413 aix_use_runtimelinking
=no
12414 exp_sym_flag
='-Bexport'
12417 aix_use_runtimelinking
=no
12419 # Test if we are trying to use run time linking or normal
12420 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12421 # need to do runtime linking.
12422 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
12423 for ld_flag
in $LDFLAGS; do
12426 aix_use_runtimelinking
=yes
12434 exp_sym_flag
='-bexport'
12435 no_entry_flag
='-bnoentry'
12438 # When large executables or shared objects are built, AIX ld can
12439 # have problems creating the table of contents. If linking a library
12440 # or program results in "error TOC overflow" add -mminimal-toc to
12441 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12442 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12444 archive_cmds_CXX
=''
12445 hardcode_direct_CXX
=yes
12446 hardcode_direct_absolute_CXX
=yes
12447 hardcode_libdir_separator_CXX
=':'
12448 link_all_deplibs_CXX
=yes
12449 file_list_spec_CXX
='${wl}-f,'
12451 if test "$GXX" = yes; then
12452 case $host_os in aix4.
[012]|aix4.
[012].
*)
12453 # We only want to do this on AIX 4.2 and lower, the check
12454 # below for broken collect2 doesn't work under 4.3+
12455 collect2name
=`${CC} -print-prog-name=collect2`
12456 if test -f "$collect2name" &&
12457 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
12459 # We have reworked collect2
12462 # We have old collect2
12463 hardcode_direct_CXX
=unsupported
12464 # It fails to find uninstalled libraries when the uninstalled
12465 # path is not listed in the libpath. Setting hardcode_minus_L
12466 # to unsupported forces relinking
12467 hardcode_minus_L_CXX
=yes
12468 hardcode_libdir_flag_spec_CXX
='-L$libdir'
12469 hardcode_libdir_separator_CXX
=
12472 shared_flag
='-shared'
12473 if test "$aix_use_runtimelinking" = yes; then
12474 shared_flag
="$shared_flag "'${wl}-G'
12478 if test "$host_cpu" = ia64
; then
12479 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12480 # chokes on -Wl,-G. The following line is correct:
12483 if test "$aix_use_runtimelinking" = yes; then
12484 shared_flag
='${wl}-G'
12486 shared_flag
='${wl}-bM:SRE'
12491 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
12492 # It seems that -bexpall does not export symbols beginning with
12493 # underscore (_), so it is better to generate a list of symbols to
12495 always_export_symbols_CXX
=yes
12496 if test "$aix_use_runtimelinking" = yes; then
12497 # Warning - without using the other runtime loading flags (-brtl),
12498 # -berok will link without error, but may produce a broken library.
12499 allow_undefined_flag_CXX
='-berok'
12500 # Determine the default libpath from the value encoded in an empty
12502 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12503 /* end confdefs.h. */
12513 if ac_fn_cxx_try_link
"$LINENO"; then :
12515 lt_aix_libpath_sed
='
12516 /Import File Strings/,/^$/ {
12522 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12523 # Check for a 64-bit object if we didn't find anything.
12524 if test -z "$aix_libpath"; then
12525 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12528 rm -f core conftest.err conftest.
$ac_objext \
12529 conftest
$ac_exeext conftest.
$ac_ext
12530 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12532 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
12534 archive_expsym_cmds_CXX
='$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"
12536 if test "$host_cpu" = ia64
; then
12537 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
12538 allow_undefined_flag_CXX
="-z nodefs"
12539 archive_expsym_cmds_CXX
="\$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"
12541 # Determine the default libpath from the value encoded in an
12542 # empty executable.
12543 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12544 /* end confdefs.h. */
12554 if ac_fn_cxx_try_link
"$LINENO"; then :
12556 lt_aix_libpath_sed
='
12557 /Import File Strings/,/^$/ {
12563 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12564 # Check for a 64-bit object if we didn't find anything.
12565 if test -z "$aix_libpath"; then
12566 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12569 rm -f core conftest.err conftest.
$ac_objext \
12570 conftest
$ac_exeext conftest.
$ac_ext
12571 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12573 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
12574 # Warning - without using the other run time loading flags,
12575 # -berok will link without error, but may produce a broken library.
12576 no_undefined_flag_CXX
=' ${wl}-bernotok'
12577 allow_undefined_flag_CXX
=' ${wl}-berok'
12578 if test "$with_gnu_ld" = yes; then
12579 # We only use this code for GNU lds that support --whole-archive.
12580 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12582 # Exported symbols can be pulled into shared objects from archives
12583 whole_archive_flag_spec_CXX
='$convenience'
12585 archive_cmds_need_lc_CXX
=yes
12586 # This is similar to how AIX traditionally builds its shared
12588 archive_expsym_cmds_CXX
="\$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'
12594 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12595 allow_undefined_flag_CXX
=unsupported
12596 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12597 # support --undefined. This deserves some investigation. FIXME
12598 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12605 case $cc_basename in
12607 # FIXME: insert proper C++ library support
12613 cygwin
* | mingw
* | pw32
* | cegcc
*)
12614 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12615 # as there is no search path for DLLs.
12616 hardcode_libdir_flag_spec_CXX
='-L$libdir'
12617 export_dynamic_flag_spec_CXX
='${wl}--export-all-symbols'
12618 allow_undefined_flag_CXX
=unsupported
12619 always_export_symbols_CXX
=no
12620 enable_shared_with_static_runtimes_CXX
=yes
12622 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
12623 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12624 # If the export-symbols file already is a .def file (1st line
12625 # is EXPORTS), use it as is; otherwise, prepend...
12626 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12627 cp $export_symbols $output_objdir/$soname.def;
12629 echo EXPORTS > $output_objdir/$soname.def;
12630 cat $export_symbols >> $output_objdir/$soname.def;
12632 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12637 darwin
* | rhapsody
*)
12640 archive_cmds_need_lc_CXX
=no
12641 hardcode_direct_CXX
=no
12642 hardcode_automatic_CXX
=yes
12643 hardcode_shlibpath_var_CXX
=unsupported
12644 if test "$lt_cv_ld_force_load" = "yes"; then
12645 whole_archive_flag_spec_CXX
='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
12647 whole_archive_flag_spec_CXX
=''
12649 link_all_deplibs_CXX
=yes
12650 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
12651 case $cc_basename in
12652 ifort
*) _lt_dar_can_shared
=yes ;;
12653 *) _lt_dar_can_shared
=$GCC ;;
12655 if test "$_lt_dar_can_shared" = "yes"; then
12656 output_verbose_link_cmd
=func_echo_all
12657 archive_cmds_CXX
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
12658 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12659 archive_expsym_cmds_CXX
="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
12660 module_expsym_cmds_CXX
="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}"
12661 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12662 archive_cmds_CXX
="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
12663 archive_expsym_cmds_CXX
="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
12673 case $cc_basename in
12675 # FIXME: insert proper C++ library support
12679 # Green Hills C++ Compiler
12680 # FIXME: insert proper C++ library support
12684 # FIXME: insert proper C++ library support
12691 # C++ shared libraries reported to be fairly broken before
12697 archive_cmds_need_lc_CXX
=no
12700 freebsd
* | dragonfly
*)
12701 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12710 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12711 link_all_deplibs_CXX
=yes
12715 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
12716 hardcode_libdir_separator_CXX
=:
12717 export_dynamic_flag_spec_CXX
='${wl}-E'
12718 hardcode_direct_CXX
=yes
12719 hardcode_minus_L_CXX
=yes # Not in the search PATH,
12720 # but as the default
12721 # location of the library.
12723 case $cc_basename in
12725 # FIXME: insert proper C++ library support
12729 archive_cmds_CXX
='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12730 # Commands to make compiler produce verbose output that lists
12731 # what "hidden" libraries, object files and flags are used when
12732 # linking a shared library.
12734 # There doesn't appear to be a way to prevent this compiler from
12735 # explicitly linking system object files so we need to strip them
12736 # from the output so that they don't get included in the library
12738 output_verbose_link_cmd
='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
12741 if test "$GXX" = yes; then
12742 archive_cmds_CXX
='$RM $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12744 # FIXME: insert proper C++ library support
12752 if test $with_gnu_ld = no
; then
12753 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
12754 hardcode_libdir_separator_CXX
=:
12760 export_dynamic_flag_spec_CXX
='${wl}-E'
12766 hardcode_direct_CXX
=no
12767 hardcode_shlibpath_var_CXX
=no
12770 hardcode_direct_CXX
=yes
12771 hardcode_direct_absolute_CXX
=yes
12772 hardcode_minus_L_CXX
=yes # Not in the search PATH,
12773 # but as the default
12774 # location of the library.
12778 case $cc_basename in
12780 # FIXME: insert proper C++ library support
12786 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12789 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12792 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12795 # Commands to make compiler produce verbose output that lists
12796 # what "hidden" libraries, object files and flags are used when
12797 # linking a shared library.
12799 # There doesn't appear to be a way to prevent this compiler from
12800 # explicitly linking system object files so we need to strip them
12801 # from the output so that they don't get included in the library
12803 output_verbose_link_cmd
='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
12806 if test "$GXX" = yes; then
12807 if test $with_gnu_ld = no
; then
12810 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12813 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12816 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12821 # FIXME: insert proper C++ library support
12829 hardcode_direct_CXX
=no
12830 hardcode_shlibpath_var_CXX
=no
12831 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12832 export_dynamic_flag_spec_CXX
='${wl}-E'
12833 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12834 # Instead, shared libraries are loaded at an image base (0x10000000 by
12835 # default) and relocated if they conflict, which is a slow very memory
12836 # consuming and fragmenting process. To avoid this, we pick a random,
12837 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12838 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12839 archive_cmds_CXX
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
12840 archive_expsym_cmds_CXX
='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'
12843 case $cc_basename in
12846 archive_cmds_CXX
='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
12848 # Archives containing C++ object files must be created using
12849 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12850 # necessary to make sure instantiated templates are included
12852 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
12855 if test "$GXX" = yes; then
12856 if test "$with_gnu_ld" = no
; then
12857 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $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'
12859 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
12862 link_all_deplibs_CXX
=yes
12865 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12866 hardcode_libdir_separator_CXX
=:
12867 inherit_rpath_CXX
=yes
12870 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
12871 case $cc_basename in
12873 # Kuck and Associates, Inc. (KAI) C++ Compiler
12875 # KCC will only create a shared library if the output file
12876 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12877 # to its proper name (with version) after linking.
12878 archive_cmds_CXX
='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
12879 archive_expsym_cmds_CXX
='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
12880 # Commands to make compiler produce verbose output that lists
12881 # what "hidden" libraries, object files and flags are used when
12882 # linking a shared library.
12884 # There doesn't appear to be a way to prevent this compiler from
12885 # explicitly linking system object files so we need to strip them
12886 # from the output so that they don't get included in the library
12888 output_verbose_link_cmd
='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
12890 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12891 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12893 # Archives containing C++ object files must be created using
12894 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12895 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
12900 # version 8.0 and above of icpc choke on multiply defined symbols
12901 # if we add $predep_objects and $postdep_objects, however 7.1 and
12902 # earlier do not add the objects themselves.
12903 case `$CC -V 2>&1` in
12905 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12906 archive_expsym_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12908 *) # Version 8.0 or newer
12911 ia64
*) tmp_idyn
=' -i_dynamic';;
12913 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12914 archive_expsym_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12917 archive_cmds_need_lc_CXX
=no
12918 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12919 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12920 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12923 # Portland Group C++ compiler
12925 *pgCC\
[1-5].
* |
*pgcpp\
[1-5].
*)
12926 prelink_cmds_CXX
='tpldir=Template.dir~
12928 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12929 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
12930 old_archive_cmds_CXX
='tpldir=Template.dir~
12932 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12933 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
12935 archive_cmds_CXX
='tpldir=Template.dir~
12937 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12938 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12939 archive_expsym_cmds_CXX
='tpldir=Template.dir~
12941 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12942 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
12944 *) # Version 6 and above use weak symbols
12945 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12946 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
12950 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
12951 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12952 whole_archive_flag_spec_CXX
='${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'
12956 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12957 archive_expsym_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
12959 runpath_var
=LD_RUN_PATH
12960 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
12961 hardcode_libdir_separator_CXX
=:
12963 # Commands to make compiler produce verbose output that lists
12964 # what "hidden" libraries, object files and flags are used when
12965 # linking a shared library.
12967 # There doesn't appear to be a way to prevent this compiler from
12968 # explicitly linking system object files so we need to strip them
12969 # from the output so that they don't get included in the library
12971 output_verbose_link_cmd
='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
12973 xl
* | mpixl
* | bgxl
*)
12974 # IBM XL 8.0 on PPC, with GNU ld
12975 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12976 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12977 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12978 if test "x$supports_anon_versioning" = xyes
; then
12979 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
12980 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12981 echo "local: *; };" >> $output_objdir/$libname.ver~
12982 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12986 case `$CC -V 2>&1 | sed 5q` in
12989 no_undefined_flag_CXX
=' -zdefs'
12990 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12991 archive_expsym_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
12992 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12993 whole_archive_flag_spec_CXX
='${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'
12994 compiler_needs_object_CXX
=yes
12996 # Not sure whether something based on
12997 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12999 output_verbose_link_cmd
='func_echo_all'
13001 # Archives containing C++ object files must be created using
13002 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13003 # necessary to make sure instantiated templates are included
13005 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13013 # FIXME: insert proper C++ library support
13018 # FIXME: insert proper C++ library support
13023 case $cc_basename in
13025 # FIXME: insert proper C++ library support
13029 # FIXME: insert proper C++ library support
13036 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
13037 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13039 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13040 hardcode_direct_CXX
=yes
13041 hardcode_shlibpath_var_CXX
=no
13043 # Workaround some broken pre-1.5 toolchains
13044 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13052 # C++ shared libraries are fairly broken
13057 if test -f /usr
/libexec
/ld.so
; then
13058 hardcode_direct_CXX
=yes
13059 hardcode_shlibpath_var_CXX
=no
13060 hardcode_direct_absolute_CXX
=yes
13061 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13062 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13063 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13064 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13065 export_dynamic_flag_spec_CXX
='${wl}-E'
13066 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13068 output_verbose_link_cmd
=func_echo_all
13074 osf3
* | osf4
* | osf5
*)
13075 case $cc_basename in
13077 # Kuck and Associates, Inc. (KAI) C++ Compiler
13079 # KCC will only create a shared library if the output file
13080 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13081 # to its proper name (with version) after linking.
13082 archive_cmds_CXX
='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
13084 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13085 hardcode_libdir_separator_CXX
=:
13087 # Archives containing C++ object files must be created using
13088 # the KAI C++ compiler.
13090 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
13091 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
13095 # Rational C++ 2.4.1
13096 # FIXME: insert proper C++ library support
13102 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13103 archive_cmds_CXX
='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
13104 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13107 allow_undefined_flag_CXX
=' -expect_unresolved \*'
13108 archive_cmds_CXX
='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
13109 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13110 echo "-hidden">> $lib.exp~
13111 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~
13113 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13117 hardcode_libdir_separator_CXX
=:
13119 # Commands to make compiler produce verbose output that lists
13120 # what "hidden" libraries, object files and flags are used when
13121 # linking a shared library.
13123 # There doesn't appear to be a way to prevent this compiler from
13124 # explicitly linking system object files so we need to strip them
13125 # from the output so that they don't get included in the library
13127 output_verbose_link_cmd
='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
13130 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13131 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13134 archive_cmds_CXX
='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $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'
13137 archive_cmds_CXX
='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $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'
13141 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13142 hardcode_libdir_separator_CXX
=:
13144 # Commands to make compiler produce verbose output that lists
13145 # what "hidden" libraries, object files and flags are used when
13146 # linking a shared library.
13147 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13150 # FIXME: insert proper C++ library support
13158 # FIXME: insert proper C++ library support
13163 case $cc_basename in
13166 # FIXME: insert proper C++ library support
13171 # FIXME: insert proper C++ library support
13175 # FIXME: insert proper C++ library support
13182 case $cc_basename in
13184 # Sun C++ 4.2, 5.x and Centerline C++
13185 archive_cmds_need_lc_CXX
=yes
13186 no_undefined_flag_CXX
=' -zdefs'
13187 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13188 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13189 $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13191 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13192 hardcode_shlibpath_var_CXX
=no
13194 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13196 # The compiler driver will combine and reorder linker options,
13197 # but understands `-z linker_flag'.
13198 # Supported since Solaris 2.6 (maybe 2.5.1?)
13199 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
13202 link_all_deplibs_CXX
=yes
13204 output_verbose_link_cmd
='func_echo_all'
13206 # Archives containing C++ object files must be created using
13207 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13208 # necessary to make sure instantiated templates are included
13210 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13213 # Green Hills C++ Compiler
13214 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13216 # The C++ compiler must be used to create the archive.
13217 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13220 # GNU C++ compiler with Solaris linker
13221 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13222 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
13223 if $CC --version |
$GREP -v '^2\.7' > /dev
/null
; then
13224 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13225 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13226 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13228 # Commands to make compiler produce verbose output that lists
13229 # what "hidden" libraries, object files and flags are used when
13230 # linking a shared library.
13231 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13233 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13235 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13236 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13237 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13239 # Commands to make compiler produce verbose output that lists
13240 # what "hidden" libraries, object files and flags are used when
13241 # linking a shared library.
13242 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13245 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
13247 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13249 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13257 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
13258 no_undefined_flag_CXX
='${wl}-z,text'
13259 archive_cmds_need_lc_CXX
=no
13260 hardcode_shlibpath_var_CXX
=no
13261 runpath_var
='LD_RUN_PATH'
13263 case $cc_basename in
13265 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13266 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13269 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13270 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13275 sysv5
* | sco3.2v5
* | sco5v6
*)
13276 # Note: We can NOT use -z defs as we might desire, because we do not
13277 # link with -lc, and that would cause any symbols used from libc to
13278 # always be unresolved, which means just about no library would
13279 # ever link correctly. If we're not using GNU ld we use -z text
13280 # though, which does catch some bad symbols but isn't as heavy-handed
13282 no_undefined_flag_CXX
='${wl}-z,text'
13283 allow_undefined_flag_CXX
='${wl}-z,nodefs'
13284 archive_cmds_need_lc_CXX
=no
13285 hardcode_shlibpath_var_CXX
=no
13286 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
13287 hardcode_libdir_separator_CXX
=':'
13288 link_all_deplibs_CXX
=yes
13289 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
13290 runpath_var
='LD_RUN_PATH'
13292 case $cc_basename in
13294 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13295 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13296 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
13297 '"$old_archive_cmds_CXX"
13298 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
13299 '"$reload_cmds_CXX"
13302 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13303 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13309 case $cc_basename in
13311 # NonStop-UX NCC 3.20
13312 # FIXME: insert proper C++ library support
13316 # FIXME: insert proper C++ library support
13323 # For VxWorks ports, we assume the use of a GNU linker with
13324 # standard elf conventions.
13329 # FIXME: insert proper C++ library support
13334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13335 $as_echo "$ld_shlibs_CXX" >&6; }
13336 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
13342 ## There is no encapsulation within the following macros, do not change
13343 ## the running order or otherwise move them around unless you know exactly
13344 ## what you are doing...
13345 # Dependencies to place before and after the object being linked:
13346 predep_objects_CXX
=
13347 postdep_objects_CXX
=
13350 compiler_lib_search_path_CXX
=
13352 cat > conftest.
$ac_ext <<_LT_EOF
13356 Foo (void) { a = 0; }
13362 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13363 (eval $ac_compile) 2>&5
13365 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13366 test $ac_status = 0; }; then
13367 # Parse the compiler output and extract the necessary
13368 # objects, libraries and library flags.
13370 # Sentinel used to keep track of whether or not we are before
13371 # the conftest object file.
13372 pre_test_object_deps_done
=no
13374 for p
in `eval "$output_verbose_link_cmd"`; do
13378 # Some compilers place space between "-{L,R}" and the path.
13379 # Remove the space.
13380 if test $p = "-L" ||
13381 test $p = "-R"; then
13388 if test "$pre_test_object_deps_done" = no
; then
13391 # Internal compiler library paths should come after those
13392 # provided the user. The postdeps already come after the
13393 # user supplied libs so there is no need to process them.
13394 if test -z "$compiler_lib_search_path_CXX"; then
13395 compiler_lib_search_path_CXX
="${prev}${p}"
13397 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
13400 # The "-l" case would never come before the object being
13401 # linked, so don't bother handling this case.
13404 if test -z "$postdeps_CXX"; then
13405 postdeps_CXX
="${prev}${p}"
13407 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
13413 # This assumes that the test object file only shows up
13414 # once in the compiler output.
13415 if test "$p" = "conftest.$objext"; then
13416 pre_test_object_deps_done
=yes
13420 if test "$pre_test_object_deps_done" = no
; then
13421 if test -z "$predep_objects_CXX"; then
13422 predep_objects_CXX
="$p"
13424 predep_objects_CXX
="$predep_objects_CXX $p"
13427 if test -z "$postdep_objects_CXX"; then
13428 postdep_objects_CXX
="$p"
13430 postdep_objects_CXX
="$postdep_objects_CXX $p"
13435 *) ;; # Ignore the rest.
13443 echo "libtool.m4: error: problem compiling CXX test program"
13446 $RM -f confest.
$objext
13448 # PORTME: override above test on systems where it is broken
13451 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13452 # hack all around it, let's just trust "g++" to DTRT.
13453 predep_objects_CXX
=
13454 postdep_objects_CXX
=
13459 case `$CC -V 2>&1 | sed 5q` in
13463 # The more standards-conforming stlport4 library is
13464 # incompatible with the Cstd library. Avoid specifying
13465 # it if it's in CXXFLAGS. Ignore libCrun as
13466 # -library=stlport4 depends on it.
13467 case " $CXX $CXXFLAGS " in
13468 *" -library=stlport4 "*)
13469 solaris_use_stlport4
=yes
13473 if test "$solaris_use_stlport4" != yes; then
13474 postdeps_CXX
='-library=Cstd -library=Crun'
13481 case $cc_basename in
13483 # The more standards-conforming stlport4 library is
13484 # incompatible with the Cstd library. Avoid specifying
13485 # it if it's in CXXFLAGS. Ignore libCrun as
13486 # -library=stlport4 depends on it.
13487 case " $CXX $CXXFLAGS " in
13488 *" -library=stlport4 "*)
13489 solaris_use_stlport4
=yes
13493 # Adding this requires a known-good setup of shared libraries for
13494 # Sun compiler versions before 5.6, else PIC objects from an old
13495 # archive will be linked into the output, leading to subtle bugs.
13496 if test "$solaris_use_stlport4" != yes; then
13497 postdeps_CXX
='-library=Cstd -library=Crun'
13505 case " $postdeps_CXX " in
13506 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
13508 compiler_lib_search_dirs_CXX
=
13509 if test -n "${compiler_lib_search_path_CXX}"; then
13510 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13543 lt_prog_compiler_wl_CXX
=
13544 lt_prog_compiler_pic_CXX
=
13545 lt_prog_compiler_static_CXX
=
13547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13548 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13550 # C++ specific cases for pic, static, wl, etc.
13551 if test "$GXX" = yes; then
13552 lt_prog_compiler_wl_CXX
='-Wl,'
13553 lt_prog_compiler_static_CXX
='-static'
13557 # All AIX code is PIC.
13558 if test "$host_cpu" = ia64
; then
13559 # AIX 5 now supports IA64 processor
13560 lt_prog_compiler_static_CXX
='-Bstatic'
13562 lt_prog_compiler_pic_CXX
='-fPIC'
13568 # see comment about AmigaOS4 .so support
13569 lt_prog_compiler_pic_CXX
='-fPIC'
13572 # FIXME: we need at least 68020 code to build shared libraries, but
13573 # adding the `-m68020' flag to GCC prevents building anything better,
13575 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
13580 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13581 # PIC is the default for these OSes.
13583 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
13584 # This hack is so that the source file can tell whether it is being
13585 # built for inclusion in a dll (and should export symbols for example).
13586 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13587 # (--disable-auto-import) libraries
13588 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
13590 darwin
* | rhapsody
*)
13591 # PIC is the default on this platform
13592 # Common symbols not allowed in MH_DYLIB files
13593 lt_prog_compiler_pic_CXX
='-fno-common'
13596 # DJGPP does not support shared libraries at all
13597 lt_prog_compiler_pic_CXX
=
13600 # PIC is the default for Haiku.
13601 # The "-static" flag exists, but is broken.
13602 lt_prog_compiler_static_CXX
=
13605 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13606 # Instead, we relocate shared libraries at runtime.
13609 if test -d /usr
/nec
; then
13610 lt_prog_compiler_pic_CXX
=-Kconform_pic
13614 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13615 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13616 # sets the default TLS model and affects inlining.
13621 lt_prog_compiler_pic_CXX
='-fPIC'
13626 # QNX uses GNU C++, but need to define -shared option too, otherwise
13627 # it will coredump.
13628 lt_prog_compiler_pic_CXX
='-fPIC -shared'
13631 lt_prog_compiler_pic_CXX
='-fPIC'
13637 # All AIX code is PIC.
13638 if test "$host_cpu" = ia64
; then
13639 # AIX 5 now supports IA64 processor
13640 lt_prog_compiler_static_CXX
='-Bstatic'
13642 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
13646 case $cc_basename in
13648 # Green Hills C++ Compiler
13649 # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
13654 case $cc_basename in
13656 lt_prog_compiler_pic_CXX
='-KPIC'
13659 # Green Hills C++ Compiler
13660 lt_prog_compiler_pic_CXX
='-pic'
13666 freebsd
* | dragonfly
*)
13667 # FreeBSD uses GNU C++
13669 hpux9
* | hpux10
* | hpux11
*)
13670 case $cc_basename in
13672 lt_prog_compiler_wl_CXX
='-Wl,'
13673 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
13674 if test "$host_cpu" != ia64
; then
13675 lt_prog_compiler_pic_CXX
='+Z'
13679 lt_prog_compiler_wl_CXX
='-Wl,'
13680 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
13686 lt_prog_compiler_pic_CXX
='+Z'
13695 # This is c89, which is MS Visual C++ (no shared libs)
13696 # Anyone wants to do a port?
13698 irix5
* | irix6
* | nonstopux
*)
13699 case $cc_basename in
13701 lt_prog_compiler_wl_CXX
='-Wl,'
13702 lt_prog_compiler_static_CXX
='-non_shared'
13703 # CC pic flag -KPIC is the default.
13709 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13710 case $cc_basename in
13713 lt_prog_compiler_wl_CXX
='--backend -Wl,'
13714 lt_prog_compiler_pic_CXX
='-fPIC'
13717 # old Intel C++ for x86_64 which still supported -KPIC.
13718 lt_prog_compiler_wl_CXX
='-Wl,'
13719 lt_prog_compiler_pic_CXX
='-KPIC'
13720 lt_prog_compiler_static_CXX
='-static'
13723 # Intel C++, used to be incompatible with GCC.
13724 # ICC 10 doesn't accept -KPIC any more.
13725 lt_prog_compiler_wl_CXX
='-Wl,'
13726 lt_prog_compiler_pic_CXX
='-fPIC'
13727 lt_prog_compiler_static_CXX
='-static'
13730 # Portland Group C++ compiler
13731 lt_prog_compiler_wl_CXX
='-Wl,'
13732 lt_prog_compiler_pic_CXX
='-fpic'
13733 lt_prog_compiler_static_CXX
='-Bstatic'
13737 # Make sure the PIC flag is empty. It appears that all Alpha
13738 # Linux and Compaq Tru64 Unix objects are PIC.
13739 lt_prog_compiler_pic_CXX
=
13740 lt_prog_compiler_static_CXX
='-non_shared'
13742 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
13743 # IBM XL 8.0, 9.0 on PPC and BlueGene
13744 lt_prog_compiler_wl_CXX
='-Wl,'
13745 lt_prog_compiler_pic_CXX
='-qpic'
13746 lt_prog_compiler_static_CXX
='-qstaticlink'
13749 case `$CC -V 2>&1 | sed 5q` in
13752 lt_prog_compiler_pic_CXX
='-KPIC'
13753 lt_prog_compiler_static_CXX
='-Bstatic'
13754 lt_prog_compiler_wl_CXX
='-Qoption ld '
13765 case $cc_basename in
13767 lt_prog_compiler_pic_CXX
='-W c,exportall'
13776 # QNX uses GNU C++, but need to define -shared option too, otherwise
13777 # it will coredump.
13778 lt_prog_compiler_pic_CXX
='-fPIC -shared'
13780 osf3
* | osf4
* | osf5
*)
13781 case $cc_basename in
13783 lt_prog_compiler_wl_CXX
='--backend -Wl,'
13786 # Rational C++ 2.4.1
13787 lt_prog_compiler_pic_CXX
='-pic'
13790 # Digital/Compaq C++
13791 lt_prog_compiler_wl_CXX
='-Wl,'
13792 # Make sure the PIC flag is empty. It appears that all Alpha
13793 # Linux and Compaq Tru64 Unix objects are PIC.
13794 lt_prog_compiler_pic_CXX
=
13795 lt_prog_compiler_static_CXX
='-non_shared'
13804 case $cc_basename in
13806 # Sun C++ 4.2, 5.x and Centerline C++
13807 lt_prog_compiler_pic_CXX
='-KPIC'
13808 lt_prog_compiler_static_CXX
='-Bstatic'
13809 lt_prog_compiler_wl_CXX
='-Qoption ld '
13812 # Green Hills C++ Compiler
13813 lt_prog_compiler_pic_CXX
='-PIC'
13820 case $cc_basename in
13823 lt_prog_compiler_pic_CXX
='-pic'
13824 lt_prog_compiler_static_CXX
='-Bstatic'
13828 lt_prog_compiler_pic_CXX
='-pic'
13834 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
13835 case $cc_basename in
13837 lt_prog_compiler_wl_CXX
='-Wl,'
13838 lt_prog_compiler_pic_CXX
='-KPIC'
13839 lt_prog_compiler_static_CXX
='-Bstatic'
13844 case $cc_basename in
13846 # NonStop-UX NCC 3.20
13847 lt_prog_compiler_pic_CXX
='-KPIC'
13856 lt_prog_compiler_can_build_shared_CXX
=no
13862 # For platforms which do not support PIC, -DPIC is meaningless:
13864 lt_prog_compiler_pic_CXX
=
13867 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
13870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13871 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13876 # Check to make sure the PIC flag actually works.
13878 if test -n "$lt_prog_compiler_pic_CXX"; then
13879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13880 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13881 if ${lt_cv_prog_compiler_pic_works_CXX+:} false
; then :
13882 $as_echo_n "(cached) " >&6
13884 lt_cv_prog_compiler_pic_works_CXX
=no
13885 ac_outfile
=conftest.
$ac_objext
13886 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13887 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
13888 # Insert the option either (1) after the last *FLAGS variable, or
13889 # (2) before a word containing "conftest.", or (3) at the end.
13890 # Note that $ac_compile itself does not contain backslashes and begins
13891 # with a dollar sign (not a hyphen), so the echo should work correctly.
13892 # The option is referenced via a variable to avoid confusing sed.
13893 lt_compile
=`echo "$ac_compile" | $SED \
13894 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13895 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13896 -e 's:$: $lt_compiler_flag:'`
13897 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13898 (eval "$lt_compile" 2>conftest.err
)
13900 cat conftest.err
>&5
13901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13902 if (exit $ac_status) && test -s "$ac_outfile"; then
13903 # The compiler can only warn and ignore the option if not recognized
13904 # So say no if there are warnings other than the usual output.
13905 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
13906 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13907 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
13908 lt_cv_prog_compiler_pic_works_CXX
=yes
13914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13915 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13917 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
13918 case $lt_prog_compiler_pic_CXX in
13920 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
13923 lt_prog_compiler_pic_CXX
=
13924 lt_prog_compiler_can_build_shared_CXX
=no
13932 # Check to make sure the static flag actually works.
13934 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
13935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13936 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13937 if ${lt_cv_prog_compiler_static_works_CXX+:} false
; then :
13938 $as_echo_n "(cached) " >&6
13940 lt_cv_prog_compiler_static_works_CXX
=no
13941 save_LDFLAGS
="$LDFLAGS"
13942 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
13943 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
13944 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
13945 # The linker can only warn and ignore the option if not recognized
13946 # So say no if there are warnings
13947 if test -s conftest.err
; then
13948 # Append any errors to the config.log.
13949 cat conftest.err
1>&5
13950 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
13951 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13952 if diff conftest.exp conftest.er2
>/dev
/null
; then
13953 lt_cv_prog_compiler_static_works_CXX
=yes
13956 lt_cv_prog_compiler_static_works_CXX
=yes
13960 LDFLAGS
="$save_LDFLAGS"
13963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13964 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13966 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
13969 lt_prog_compiler_static_CXX
=
13975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13976 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13977 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
13978 $as_echo_n "(cached) " >&6
13980 lt_cv_prog_compiler_c_o_CXX
=no
13981 $RM -r conftest
2>/dev
/null
13985 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13987 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13988 # Insert the option either (1) after the last *FLAGS variable, or
13989 # (2) before a word containing "conftest.", or (3) at the end.
13990 # Note that $ac_compile itself does not contain backslashes and begins
13991 # with a dollar sign (not a hyphen), so the echo should work correctly.
13992 lt_compile
=`echo "$ac_compile" | $SED \
13993 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13994 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13995 -e 's:$: $lt_compiler_flag:'`
13996 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13997 (eval "$lt_compile" 2>out
/conftest.err
)
13999 cat out
/conftest.err
>&5
14000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14001 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14003 # The compiler can only warn and ignore the option if not recognized
14004 # So say no if there are warnings
14005 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
14006 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14007 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14008 lt_cv_prog_compiler_c_o_CXX
=yes
14013 # SGI C++ compiler will create directory out/ii_files/ for
14014 # template instantiation
14015 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14016 $RM out
/* && rmdir out
14022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14023 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14028 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14029 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
14030 $as_echo_n "(cached) " >&6
14032 lt_cv_prog_compiler_c_o_CXX
=no
14033 $RM -r conftest
2>/dev
/null
14037 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14039 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14040 # Insert the option either (1) after the last *FLAGS variable, or
14041 # (2) before a word containing "conftest.", or (3) at the end.
14042 # Note that $ac_compile itself does not contain backslashes and begins
14043 # with a dollar sign (not a hyphen), so the echo should work correctly.
14044 lt_compile
=`echo "$ac_compile" | $SED \
14045 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14046 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14047 -e 's:$: $lt_compiler_flag:'`
14048 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14049 (eval "$lt_compile" 2>out
/conftest.err
)
14051 cat out
/conftest.err
>&5
14052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14053 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14055 # The compiler can only warn and ignore the option if not recognized
14056 # So say no if there are warnings
14057 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
14058 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14059 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14060 lt_cv_prog_compiler_c_o_CXX
=yes
14065 # SGI C++ compiler will create directory out/ii_files/ for
14066 # template instantiation
14067 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14068 $RM out
/* && rmdir out
14074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14075 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14080 hard_links
="nottested"
14081 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
14082 # do not overwrite the value of need_locks provided by the user
14083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14084 $as_echo_n "checking if we can lock with hard links... " >&6; }
14087 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14089 ln conftest.a conftest.b
2>&5 || hard_links
=no
14090 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14092 $as_echo "$hard_links" >&6; }
14093 if test "$hard_links" = no
; then
14094 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14095 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14105 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14107 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14110 # If we're using GNU nm, then we don't want the "-C" option.
14111 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14112 # Also, AIX nm treats weak defined symbols like other global defined
14113 # symbols, whereas GNU nm marks them as "W".
14114 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
14115 export_symbols_cmds_CXX
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14117 export_symbols_cmds_CXX
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14121 export_symbols_cmds_CXX
="$ltdll_cmds"
14123 cygwin
* | mingw
* | cegcc
*)
14124 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
14127 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14130 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14133 $as_echo "$ld_shlibs_CXX" >&6; }
14134 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
14136 with_gnu_ld_CXX
=$with_gnu_ld
14144 # Do we need to explicitly link libc?
14146 case "x$archive_cmds_need_lc_CXX" in
14148 # Assume -lc should be added
14149 archive_cmds_need_lc_CXX
=yes
14151 if test "$enable_shared" = yes && test "$GCC" = yes; then
14152 case $archive_cmds_CXX in
14154 # FIXME: we may have to deal with multi-command sequences.
14157 # Test whether the compiler implicitly links with -lc since on some
14158 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14159 # to ld, don't add -lc before -lgcc.
14160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14161 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14162 if ${lt_cv_archive_cmds_need_lc_CXX+:} false
; then :
14163 $as_echo_n "(cached) " >&6
14166 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14168 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14169 (eval $ac_compile) 2>&5
14171 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14172 test $ac_status = 0; } 2>conftest.err
; then
14175 libobjs
=conftest.
$ac_objext
14177 wl
=$lt_prog_compiler_wl_CXX
14178 pic_flag
=$lt_prog_compiler_pic_CXX
14184 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
14185 allow_undefined_flag_CXX
=
14186 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14187 (eval $archive_cmds_CXX 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
14189 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14190 test $ac_status = 0; }
14192 lt_cv_archive_cmds_need_lc_CXX
=no
14194 lt_cv_archive_cmds_need_lc_CXX
=yes
14196 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
14198 cat conftest.err
1>&5
14203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14204 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14205 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
14275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14276 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14278 library_names_spec
=
14279 libname_spec
='lib$name'
14283 postuninstall_cmds
=
14287 shlibpath_overrides_runpath
=unknown
14289 dynamic_linker
="$host_os ld.so"
14290 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
14291 need_lib_prefix
=unknown
14292 hardcode_into_libs
=no
14294 # when you set need_version to no, make sure it does not cause -set_version
14295 # flags to be left without arguments
14296 need_version
=unknown
14301 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
14302 shlibpath_var
=LIBPATH
14304 # AIX 3 has no versioning support, so we append a major version to the name.
14305 soname_spec
='${libname}${release}${shared_ext}$major'
14312 hardcode_into_libs
=yes
14313 if test "$host_cpu" = ia64
; then
14314 # AIX 5 supports IA64
14315 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14316 shlibpath_var
=LD_LIBRARY_PATH
14318 # With GCC up to 2.95.x, collect2 would create an import file
14319 # for dependence libraries. The import file would start with
14320 # the line `#! .'. This would cause the generated library to
14321 # depend on `.', always an invalid library. This was fixed in
14322 # development snapshots of GCC prior to 3.0.
14324 aix4 | aix4.
[01] | aix4.
[01].
*)
14325 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14327 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
14330 can_build_shared
=no
14334 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14335 # soname into executable. Probably we can add versioning support to
14336 # collect2, so additional links can be useful in future.
14337 if test "$aix_use_runtimelinking" = yes; then
14338 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14339 # instead of lib<name>.a to let people know that these are not
14340 # typical AIX shared libraries.
14341 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14343 # We preserve .a as extension for shared libraries through AIX4.2
14344 # and later when we are not doing run time linking.
14345 library_names_spec
='${libname}${release}.a $libname.a'
14346 soname_spec
='${libname}${release}${shared_ext}$major'
14348 shlibpath_var
=LIBPATH
14355 # Since July 2007 AmigaOS4 officially supports .so libraries.
14356 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14357 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14360 library_names_spec
='$libname.ixlibrary $libname.a'
14361 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14362 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'
14368 library_names_spec
='${libname}${shared_ext}'
14369 dynamic_linker
="$host_os ld.so"
14370 shlibpath_var
=LIBRARY_PATH
14376 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14377 soname_spec
='${libname}${release}${shared_ext}$major'
14378 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
14379 shlibpath_var
=LD_LIBRARY_PATH
14380 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14381 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
14382 # the default ld.so.conf also contains /usr/contrib/lib and
14383 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14384 # libtool to hard-code these into programs
14387 cygwin
* | mingw
* | pw32
* | cegcc
*)
14388 version_type
=windows
14393 case $GCC,$host_os in
14394 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
14395 library_names_spec
='$libname.dll.a'
14396 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14397 postinstall_cmds
='base_file=`basename \${file}`~
14398 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14399 dldir=$destdir/`dirname \$dlpath`~
14400 test -d \$dldir || mkdir -p \$dldir~
14401 $install_prog $dir/$dlname \$dldir/$dlname~
14402 chmod a+x \$dldir/$dlname~
14403 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14404 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14406 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14407 dlpath=$dir/\$dldll~
14409 shlibpath_overrides_runpath
=yes
14413 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14414 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14418 # MinGW DLLs use traditional 'lib' prefix
14419 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14422 # pw32 DLLs use 'pw' prefix rather than 'lib'
14423 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14429 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14432 dynamic_linker
='Win32 ld.exe'
14433 # FIXME: first we should search . and the directory the executable is in
14437 darwin
* | rhapsody
*)
14438 dynamic_linker
="$host_os dyld"
14439 version_type
=darwin
14442 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14443 soname_spec
='${libname}${release}${major}$shared_ext'
14444 shlibpath_overrides_runpath
=yes
14445 shlibpath_var
=DYLD_LIBRARY_PATH
14446 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
14448 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
14455 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14456 soname_spec
='${libname}${release}${shared_ext}$major'
14457 shlibpath_var
=LD_LIBRARY_PATH
14460 freebsd
* | dragonfly
*)
14461 # DragonFly does not have aout. When/if they implement a new
14462 # versioning mechanism, adjust this.
14463 if test -x /usr
/bin
/objformat
; then
14464 objformat
=`/usr/bin/objformat`
14467 freebsd
[23].
*) objformat
=aout
;;
14468 *) objformat
=elf
;;
14471 version_type
=freebsd-
$objformat
14472 case $version_type in
14474 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14479 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14483 shlibpath_var
=LD_LIBRARY_PATH
14486 shlibpath_overrides_runpath
=yes
14488 freebsd3.
[01]* | freebsdelf3.
[01]*)
14489 shlibpath_overrides_runpath
=yes
14490 hardcode_into_libs
=yes
14492 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
14493 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
14494 shlibpath_overrides_runpath
=no
14495 hardcode_into_libs
=yes
14497 *) # from 4.6 on, and DragonFly
14498 shlibpath_overrides_runpath
=yes
14499 hardcode_into_libs
=yes
14508 dynamic_linker
="$host_os runtime_loader"
14509 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14510 soname_spec
='${libname}${release}${shared_ext}$major'
14511 shlibpath_var
=LIBRARY_PATH
14512 shlibpath_overrides_runpath
=yes
14513 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
14514 hardcode_into_libs
=yes
14517 hpux9
* | hpux10
* | hpux11
*)
14518 # Give a soname corresponding to the major version so that dld.sl refuses to
14519 # link against other versions.
14526 hardcode_into_libs
=yes
14527 dynamic_linker
="$host_os dld.so"
14528 shlibpath_var
=LD_LIBRARY_PATH
14529 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14530 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14531 soname_spec
='${libname}${release}${shared_ext}$major'
14532 if test "X$HPUX_IA64_MODE" = X32
; then
14533 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14535 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
14537 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14541 hardcode_into_libs
=yes
14542 dynamic_linker
="$host_os dld.sl"
14543 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
14544 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14545 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14546 soname_spec
='${libname}${release}${shared_ext}$major'
14547 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14548 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14552 dynamic_linker
="$host_os dld.sl"
14553 shlibpath_var
=SHLIB_PATH
14554 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
14555 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14556 soname_spec
='${libname}${release}${shared_ext}$major'
14559 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14560 postinstall_cmds
='chmod 555 $lib'
14561 # or fails outright, so override atomically:
14562 install_override_mode
=555
14569 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14570 soname_spec
='${libname}${release}${shared_ext}$major'
14571 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
14572 shlibpath_var
=LD_LIBRARY_PATH
14573 shlibpath_overrides_runpath
=no
14574 hardcode_into_libs
=yes
14577 irix5
* | irix6
* | nonstopux
*)
14579 nonstopux
*) version_type
=nonstopux
;;
14581 if test "$lt_cv_prog_gnu_ld" = yes; then
14589 soname_spec
='${libname}${release}${shared_ext}$major'
14590 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14592 irix5
* | nonstopux
*)
14593 libsuff
= shlibsuff
=
14596 case $LD in # libtool.m4 will add one of these switches to LD
14597 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
14598 libsuff
= shlibsuff
= libmagic
=32-bit;;
14599 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
14600 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
14601 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
14602 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
14603 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
14607 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
14608 shlibpath_overrides_runpath
=no
14609 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14610 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
14611 hardcode_into_libs
=yes
14614 # No shared lib support for Linux oldld, aout, or coff.
14615 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
14619 # This must be Linux ELF.
14621 # uclinux* changes (here and below) have been submitted to the libtool
14622 # project, but have not yet been accepted: they are GCC-local changes
14623 # for the time being. (See
14624 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
14625 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
* | uclinuxfdpiceabi
)
14629 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14630 soname_spec
='${libname}${release}${shared_ext}$major'
14631 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14632 shlibpath_var
=LD_LIBRARY_PATH
14633 shlibpath_overrides_runpath
=no
14635 # Some binutils ld are patched to set DT_RUNPATH
14636 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
14637 $as_echo_n "(cached) " >&6
14639 lt_cv_shlibpath_overrides_runpath
=no
14640 save_LDFLAGS
=$LDFLAGS
14641 save_libdir
=$libdir
14642 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14643 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14644 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14645 /* end confdefs.h. */
14655 if ac_fn_cxx_try_link
"$LINENO"; then :
14656 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
14657 lt_cv_shlibpath_overrides_runpath
=yes
14660 rm -f core conftest.err conftest.
$ac_objext \
14661 conftest
$ac_exeext conftest.
$ac_ext
14662 LDFLAGS
=$save_LDFLAGS
14663 libdir
=$save_libdir
14667 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
14669 # This implies no fast_install, which is unacceptable.
14670 # Some rework will be needed to allow for fast_install
14671 # before this can be enabled.
14672 hardcode_into_libs
=yes
14674 # Append ld.so.conf contents to the search path
14675 if test -f /etc
/ld.so.conf
; then
14676 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' ' '`
14677 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
14680 # We used to test for /lib/ld.so.1 and disable shared libraries on
14681 # powerpc, because MkLinux only supported shared libraries with the
14682 # GNU dynamic linker. Since this was broken with cross compilers,
14683 # most powerpc-linux boxes support dynamic linking these days and
14684 # people can always --disable-shared, the test was removed, and we
14685 # assume the GNU/Linux dynamic linker is in use.
14686 dynamic_linker
='GNU/Linux ld.so'
14693 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
14694 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14695 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14696 dynamic_linker
='NetBSD (a.out) ld.so'
14698 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14699 soname_spec
='${libname}${release}${shared_ext}$major'
14700 dynamic_linker
='NetBSD ld.elf_so'
14702 shlibpath_var
=LD_LIBRARY_PATH
14703 shlibpath_overrides_runpath
=yes
14704 hardcode_into_libs
=yes
14709 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14710 shlibpath_var
=LD_LIBRARY_PATH
14711 shlibpath_overrides_runpath
=yes
14718 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14719 soname_spec
='${libname}${release}${shared_ext}$major'
14720 shlibpath_var
=LD_LIBRARY_PATH
14721 shlibpath_overrides_runpath
=no
14722 hardcode_into_libs
=yes
14723 dynamic_linker
='ldqnx.so'
14728 sys_lib_dlsearch_path_spec
="/usr/lib"
14730 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14732 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
14733 *) need_version
=no
;;
14735 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14736 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14737 shlibpath_var
=LD_LIBRARY_PATH
14738 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14740 openbsd2.
[89] | openbsd2.
[89].
*)
14741 shlibpath_overrides_runpath
=no
14744 shlibpath_overrides_runpath
=yes
14748 shlibpath_overrides_runpath
=yes
14753 libname_spec
='$name'
14756 library_names_spec
='$libname${shared_ext} $libname.a'
14757 dynamic_linker
='OS/2 ld.exe'
14758 shlibpath_var
=LIBPATH
14761 osf3
* | osf4
* | osf5
*)
14765 soname_spec
='${libname}${release}${shared_ext}$major'
14766 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14767 shlibpath_var
=LD_LIBRARY_PATH
14768 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14769 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
14780 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14781 soname_spec
='${libname}${release}${shared_ext}$major'
14782 shlibpath_var
=LD_LIBRARY_PATH
14783 shlibpath_overrides_runpath
=yes
14784 hardcode_into_libs
=yes
14785 # ldd complains unless libraries are executable
14786 postinstall_cmds
='chmod +x $lib'
14791 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14792 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14793 shlibpath_var
=LD_LIBRARY_PATH
14794 shlibpath_overrides_runpath
=yes
14795 if test "$with_gnu_ld" = yes; then
14803 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14804 soname_spec
='${libname}${release}${shared_ext}$major'
14805 shlibpath_var
=LD_LIBRARY_PATH
14806 case $host_vendor in
14808 shlibpath_overrides_runpath
=no
14810 runpath_var
=LD_RUN_PATH
14818 shlibpath_overrides_runpath
=no
14819 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
14825 if test -d /usr
/nec
;then
14827 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14828 soname_spec
='$libname${shared_ext}.$major'
14829 shlibpath_var
=LD_LIBRARY_PATH
14833 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
14834 version_type
=freebsd-elf
14837 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14838 soname_spec
='${libname}${release}${shared_ext}$major'
14839 shlibpath_var
=LD_LIBRARY_PATH
14840 shlibpath_overrides_runpath
=yes
14841 hardcode_into_libs
=yes
14842 if test "$with_gnu_ld" = yes; then
14843 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14845 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
14848 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
14852 sys_lib_dlsearch_path_spec
='/usr/lib'
14856 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14860 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14861 shlibpath_var
=LD_LIBRARY_PATH
14862 shlibpath_overrides_runpath
=no
14863 hardcode_into_libs
=yes
14868 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14869 soname_spec
='${libname}${release}${shared_ext}$major'
14870 shlibpath_var
=LD_LIBRARY_PATH
14873 # Shared libraries for VwWorks, >= 7 only at this stage
14874 # and (fpic) still incompatible with "large" code models
14875 # in a few configurations. Only for RTP mode in any case,
14876 # and upon explicit request at configure time.
14879 case ${with_multisubdir}-${enable_shared} in
14886 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14887 soname_spec
='${libname}${release}${shared_ext}$major'
14888 dynamic_linker
="$host_os module_loader"
14896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14897 $as_echo "$dynamic_linker" >&6; }
14898 test "$dynamic_linker" = no
&& can_build_shared
=no
14900 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
14901 if test "$GCC" = yes; then
14902 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14905 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14906 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
14908 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14909 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
14949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14950 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14951 hardcode_action_CXX
=
14952 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14953 test -n "$runpath_var_CXX" ||
14954 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14956 # We can hardcode non-existent directories.
14957 if test "$hardcode_direct_CXX" != no
&&
14958 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14959 # have to relink, otherwise we might link with an installed library
14960 # when we should be linking with a yet-to-be-installed one
14961 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14962 test "$hardcode_minus_L_CXX" != no
; then
14963 # Linking always hardcodes the temporary library directory.
14964 hardcode_action_CXX
=relink
14966 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14967 hardcode_action_CXX
=immediate
14970 # We cannot hardcode anything, or else we can only hardcode existing
14972 hardcode_action_CXX
=unsupported
14974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14975 $as_echo "$hardcode_action_CXX" >&6; }
14977 if test "$hardcode_action_CXX" = relink ||
14978 test "$inherit_rpath_CXX" = yes; then
14979 # Fast installation is not supported
14980 enable_fast_install
=no
14981 elif test "$shlibpath_overrides_runpath" = yes ||
14982 test "$enable_shared" = no
; then
14983 # Fast installation is not necessary
14984 enable_fast_install
=needless
14993 fi # test -n "$compiler"
14999 with_gnu_ld
=$lt_save_with_gnu_ld
15000 lt_cv_path_LDCXX
=$lt_cv_path_LD
15001 lt_cv_path_LD
=$lt_save_path_LD
15002 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
15003 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
15004 fi # test "$_lt_caught_CXX_error" != yes
15007 ac_cpp
='$CPP $CPPFLAGS'
15008 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15009 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15010 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15024 ac_config_commands
="$ac_config_commands libtool"
15029 # Only expand once:
15033 # The tests for host and target for $enable_largefile require
15038 # As the $enable_largefile decision depends on --enable-plugins we must set it
15039 # even in directories otherwise not depending on the $plugins option.
15043 for ac_header
in dlfcn.h
15045 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
15047 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
15048 cat >>confdefs.h
<<_ACEOF
15049 #define HAVE_DLFCN_H 1
15056 for ac_header
in windows.h
15058 ac_fn_c_check_header_compile
"$LINENO" "windows.h" "ac_cv_header_windows_h" "$ac_includes_default
15060 if test "x$ac_cv_header_windows_h" = xyes
; then :
15061 cat >>confdefs.h
<<_ACEOF
15062 #define HAVE_WINDOWS_H 1
15070 # Check whether --enable-plugins was given.
15071 if test "${enable_plugins+set}" = set; then :
15072 enableval
=$enable_plugins; case "${enableval}" in
15075 if test "$maybe_plugins" != "yes" ; then
15076 as_fn_error $?
"Building with plugin support requires a host that supports dlopen." "$LINENO" 5
15080 plugins
=$maybe_plugins
15084 if test "$plugins" = "yes"; then
15085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlsym" >&5
15086 $as_echo_n "checking for library containing dlsym... " >&6; }
15087 if ${ac_cv_search_dlsym+:} false
; then :
15088 $as_echo_n "(cached) " >&6
15090 ac_func_search_save_LIBS
=$LIBS
15091 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15092 /* end confdefs.h. */
15094 /* Override any GCC internal prototype to avoid an error.
15095 Use char because int might match the return type of a GCC
15096 builtin and then its argument prototype would still apply. */
15109 for ac_lib
in '' dl
; do
15110 if test -z "$ac_lib"; then
15111 ac_res
="none required"
15114 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15116 if ac_fn_c_try_link
"$LINENO"; then :
15117 ac_cv_search_dlsym
=$ac_res
15119 rm -f core conftest.err conftest.
$ac_objext \
15121 if ${ac_cv_search_dlsym+:} false
; then :
15125 if ${ac_cv_search_dlsym+:} false
; then :
15128 ac_cv_search_dlsym
=no
15130 rm conftest.
$ac_ext
15131 LIBS
=$ac_func_search_save_LIBS
15133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlsym" >&5
15134 $as_echo "$ac_cv_search_dlsym" >&6; }
15135 ac_res
=$ac_cv_search_dlsym
15136 if test "$ac_res" != no
; then :
15137 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15145 sparc-
*-solaris*|i?
86-*-solaris*)
15146 # On native 32-bit Solaris/SPARC and x86, large-file and procfs support
15147 # were mutually exclusive until Solaris 11.3. Without procfs support,
15148 # the bfd/ elf module cannot provide certain routines such as
15149 # elfcore_write_prpsinfo or elfcore_write_prstatus. So unless the user
15150 # explicitly requested large-file support through the
15151 # --enable-largefile switch, disable large-file support in favor of
15154 # Check if <sys/procfs.h> is incompatible with large-file support.
15155 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15156 /* end confdefs.h. */
15157 #define _FILE_OFFSET_BITS 64
15158 #define _STRUCTURED_PROC 1
15159 #include <sys/procfs.h>
15168 if ac_fn_c_try_compile
"$LINENO"; then :
15169 acx_cv_procfs_lfs
=yes
15171 acx_cv_procfs_lfs
=no
15173 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15175 # Forcefully disable large-file support only if necessary, gdb is in
15176 # tree and enabled.
15177 if test "${target}" = "${host}" -a "$acx_cv_procfs_lfs" = no \
15178 -a -d $srcdir/..
/gdb
-a "$enable_gdb" != no
; then
15179 : ${enable_largefile="no"}
15180 if test "$plugins" = yes; then
15181 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
15182 plugin support disabled; require large-file support which is incompatible with GDB." >&5
15183 $as_echo "$as_me: WARNING:
15184 plugin support disabled; require large-file support which is incompatible with GDB." >&2;}
15189 # Explicitly undef _FILE_OFFSET_BITS if enable_largefile=no for the
15190 # benefit of g++ 9+ which predefines it on Solaris.
15191 if test "$enable_largefile" = no
; then
15192 LARGEFILE_CPPFLAGS
="-U_FILE_OFFSET_BITS"
15198 # Check whether --enable-largefile was given.
15199 if test "${enable_largefile+set}" = set; then :
15200 enableval
=$enable_largefile;
15203 if test "$enable_largefile" != no
; then
15205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
15206 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
15207 if ${ac_cv_sys_largefile_CC+:} false
; then :
15208 $as_echo_n "(cached) " >&6
15210 ac_cv_sys_largefile_CC
=no
15211 if test "$GCC" != yes; then
15214 # IRIX 6.2 and later do not support large files by default,
15215 # so use the C compiler's -n32 option if that helps.
15216 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15217 /* end confdefs.h. */
15218 #include <sys/types.h>
15219 /* Check that off_t can represent 2**63 - 1 correctly.
15220 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15221 since some C++ compilers masquerading as C compilers
15222 incorrectly reject 9223372036854775807. */
15223 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15224 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15225 && LARGE_OFF_T % 2147483647 == 1)
15235 if ac_fn_c_try_compile
"$LINENO"; then :
15238 rm -f core conftest.err conftest.
$ac_objext
15240 if ac_fn_c_try_compile
"$LINENO"; then :
15241 ac_cv_sys_largefile_CC
=' -n32'; break
15243 rm -f core conftest.err conftest.
$ac_objext
15247 rm -f conftest.
$ac_ext
15250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
15251 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
15252 if test "$ac_cv_sys_largefile_CC" != no
; then
15253 CC
=$CC$ac_cv_sys_largefile_CC
15256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
15257 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
15258 if ${ac_cv_sys_file_offset_bits+:} false
; then :
15259 $as_echo_n "(cached) " >&6
15262 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15263 /* end confdefs.h. */
15264 #include <sys/types.h>
15265 /* Check that off_t can represent 2**63 - 1 correctly.
15266 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15267 since some C++ compilers masquerading as C compilers
15268 incorrectly reject 9223372036854775807. */
15269 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15270 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15271 && LARGE_OFF_T % 2147483647 == 1)
15281 if ac_fn_c_try_compile
"$LINENO"; then :
15282 ac_cv_sys_file_offset_bits
=no
; break
15284 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15285 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15286 /* end confdefs.h. */
15287 #define _FILE_OFFSET_BITS 64
15288 #include <sys/types.h>
15289 /* Check that off_t can represent 2**63 - 1 correctly.
15290 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15291 since some C++ compilers masquerading as C compilers
15292 incorrectly reject 9223372036854775807. */
15293 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15294 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15295 && LARGE_OFF_T % 2147483647 == 1)
15305 if ac_fn_c_try_compile
"$LINENO"; then :
15306 ac_cv_sys_file_offset_bits
=64; break
15308 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15309 ac_cv_sys_file_offset_bits
=unknown
15313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
15314 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
15315 case $ac_cv_sys_file_offset_bits in #(
15318 cat >>confdefs.h
<<_ACEOF
15319 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
15324 if test $ac_cv_sys_file_offset_bits = unknown
; then
15325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
15326 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
15327 if ${ac_cv_sys_large_files+:} false
; then :
15328 $as_echo_n "(cached) " >&6
15331 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15332 /* end confdefs.h. */
15333 #include <sys/types.h>
15334 /* Check that off_t can represent 2**63 - 1 correctly.
15335 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15336 since some C++ compilers masquerading as C compilers
15337 incorrectly reject 9223372036854775807. */
15338 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15339 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15340 && LARGE_OFF_T % 2147483647 == 1)
15350 if ac_fn_c_try_compile
"$LINENO"; then :
15351 ac_cv_sys_large_files
=no
; break
15353 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15354 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15355 /* end confdefs.h. */
15356 #define _LARGE_FILES 1
15357 #include <sys/types.h>
15358 /* Check that off_t can represent 2**63 - 1 correctly.
15359 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15360 since some C++ compilers masquerading as C compilers
15361 incorrectly reject 9223372036854775807. */
15362 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15363 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15364 && LARGE_OFF_T % 2147483647 == 1)
15374 if ac_fn_c_try_compile
"$LINENO"; then :
15375 ac_cv_sys_large_files
=1; break
15377 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15378 ac_cv_sys_large_files
=unknown
15382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
15383 $as_echo "$ac_cv_sys_large_files" >&6; }
15384 case $ac_cv_sys_large_files in #(
15387 cat >>confdefs.h
<<_ACEOF
15388 #define _LARGE_FILES $ac_cv_sys_large_files
15401 .
${srcdir}/..
/bfd
/development.sh
15402 test "$development" = true
&& ac_checking
=yes
15403 # Check whether --enable-checking was given.
15404 if test "${enable_checking+set}" = set; then :
15405 enableval
=$enable_checking; case "${enableval}" in
15406 no|none
) ac_checking
= ;;
15407 *) ac_checking
=yes ;;
15410 if test x
$ac_checking != x
; then
15412 $as_echo "#define ENABLE_CHECKING 1" >>confdefs.h
15417 # Check whether --with-lib-path was given.
15418 if test "${with_lib_path+set}" = set; then :
15419 withval
=$with_lib_path; LIB_PATH
=$withval
15422 # Check whether --enable-targets was given.
15423 if test "${enable_targets+set}" = set; then :
15424 enableval
=$enable_targets; case "${enableval}" in
15425 yes |
"") as_fn_error $?
"enable-targets option must specify target names or 'all'" "$LINENO" 5
15427 no
) enable_targets
= ;;
15428 *) enable_targets
=$enableval ;;
15432 # Check whether --enable-64-bit-bfd was given.
15433 if test "${enable_64_bit_bfd+set}" = set; then :
15434 enableval
=$enable_64_bit_bfd; case $enableval in #(
15438 as_fn_error $?
"bad value ${enableval} for 64-bit-bfd option" "$LINENO" 5 ;; #(
15443 enable_64_bit_bfd
=no
15447 if test "x$enable_64_bit_bfd" = "xno"; then :
15448 # The cast to long int works around a bug in the HP C Compiler
15449 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15450 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15451 # This bug is HP SR number 8606223364.
15452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
15453 $as_echo_n "checking size of void *... " >&6; }
15454 if ${ac_cv_sizeof_void_p+:} false
; then :
15455 $as_echo_n "(cached) " >&6
15457 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
15460 if test "$ac_cv_type_void_p" = yes; then
15461 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15462 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15463 as_fn_error
77 "cannot compute sizeof (void *)
15464 See \`config.log' for more details" "$LINENO" 5; }
15466 ac_cv_sizeof_void_p
=0
15471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
15472 $as_echo "$ac_cv_sizeof_void_p" >&6; }
15476 cat >>confdefs.h
<<_ACEOF
15477 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
15481 if test "x$ac_cv_sizeof_void_p" = "x8"; then :
15482 enable_64_bit_bfd
=yes
15487 if test "x$enable_64_bit_bfd" = "xyes"; then
15488 ENABLE_BFD_64_BIT_TRUE
=
15489 ENABLE_BFD_64_BIT_FALSE
='#'
15491 ENABLE_BFD_64_BIT_TRUE
='#'
15492 ENABLE_BFD_64_BIT_FALSE
=
15498 # Check whether --with-sysroot was given.
15499 if test "${with_sysroot+set}" = set; then :
15500 withval
=$with_sysroot;
15501 case ${with_sysroot} in
15502 yes) TARGET_SYSTEM_ROOT
='${exec_prefix}/${target_alias}/sys-root' ;;
15503 *) TARGET_SYSTEM_ROOT
=$with_sysroot ;;
15506 TARGET_SYSTEM_ROOT_DEFINE
='-DTARGET_SYSTEM_ROOT=\"$(TARGET_SYSTEM_ROOT)\"'
15509 if test "x$prefix" = xNONE
; then
15510 test_prefix
=/usr
/local
15512 test_prefix
=$prefix
15514 if test "x$exec_prefix" = xNONE
; then
15515 test_exec_prefix
=$test_prefix
15517 test_exec_prefix
=$exec_prefix
15519 case ${TARGET_SYSTEM_ROOT} in
15520 "${test_prefix}"|
"${test_prefix}/"*|\
15521 "${test_exec_prefix}"|
"${test_exec_prefix}/"*|\
15522 '${prefix}'|
'${prefix}/'*|\
15523 '${exec_prefix}'|
'${exec_prefix}/'*)
15524 t
="$TARGET_SYSTEM_ROOT_DEFINE -DTARGET_SYSTEM_ROOT_RELOCATABLE"
15525 TARGET_SYSTEM_ROOT_DEFINE
="$t"
15532 TARGET_SYSTEM_ROOT
=
15533 TARGET_SYSTEM_ROOT_DEFINE
='-DTARGET_SYSTEM_ROOT=\"\"'
15541 # Check whether --enable-gold was given.
15542 if test "${enable_gold+set}" = set; then :
15543 enableval
=$enable_gold; case "${enableval}" in
15545 install_as_default
=no
15546 installed_linker
=ld.bfd
15549 install_as_default
=yes
15550 installed_linker
=ld.bfd
15553 as_fn_error $?
"invalid --enable-gold argument" "$LINENO" 5
15557 install_as_default
=yes
15558 installed_linker
=ld.bfd
15564 # Check whether --enable-got was given.
15565 if test "${enable_got+set}" = set; then :
15566 enableval
=$enable_got; case "${enableval}" in
15567 target | single | negative | multigot
) got_handling
=$enableval ;;
15568 *) as_fn_error $?
"bad value ${enableval} for --enable-got option" "$LINENO" 5 ;;
15571 got_handling
=target
15575 case "${got_handling}" in
15578 $as_echo "#define GOT_HANDLING_DEFAULT GOT_HANDLING_TARGET_DEFAULT" >>confdefs.h
15582 $as_echo "#define GOT_HANDLING_DEFAULT GOT_HANDLING_SINGLE" >>confdefs.h
15586 $as_echo "#define GOT_HANDLING_DEFAULT GOT_HANDLING_NEGATIVE" >>confdefs.h
15590 $as_echo "#define GOT_HANDLING_DEFAULT GOT_HANDLING_MULTIGOT" >>confdefs.h
15592 *) as_fn_error $?
"bad value ${got_handling} for --enable-got option" "$LINENO" 5 ;;
15596 # Decide the default method for compressing debug sections.
15597 ac_default_compressed_debug_sections
=unset
15598 # Provide a configure time option to override our default.
15599 # Check whether --enable-compressed_debug_sections was given.
15600 if test "${enable_compressed_debug_sections+set}" = set; then :
15601 enableval
=$enable_compressed_debug_sections; case ,"${enableval}", in
15602 ,yes, |
,all
, |
*,ld
,*) ac_default_compressed_debug_sections
=yes ;;
15603 ,no
, |
,none
,) ac_default_compressed_debug_sections
=no
;;
15607 # Select default compression algorithm.
15608 ac_default_compressed_debug_sections_algorithm
=COMPRESS_DEBUG_GABI_ZLIB
15609 # Check whether --enable-default_compressed_debug_sections_algorithm was given.
15610 if test "${enable_default_compressed_debug_sections_algorithm+set}" = set; then :
15611 enableval
=$enable_default_compressed_debug_sections_algorithm; case "${enableval}" in
15612 zstd
) ac_default_compressed_debug_sections_algorithm
=COMPRESS_DEBUG_ZSTD
;;
15616 # Decide setting DT_RUNPATH instead of DT_RPATH by default
15617 ac_default_new_dtags
=unset
15618 # Provide a configure time option to override our default.
15619 # Check whether --enable-new_dtags was given.
15620 if test "${enable_new_dtags+set}" = set; then :
15621 enableval
=$enable_new_dtags; case "${enableval}" in
15622 yes) ac_default_new_dtags
=1 ;;
15623 no
) ac_default_new_dtags
=0 ;;
15627 # Decide if -z relro should be enabled in ELF linker by default.
15628 ac_default_ld_z_relro
=unset
15629 # Provide a configure time option to override our default.
15630 # Check whether --enable-relro was given.
15631 if test "${enable_relro+set}" = set; then :
15632 enableval
=$enable_relro; case "${enableval}" in
15633 yes) ac_default_ld_z_relro
=1 ;;
15634 no
) ac_default_ld_z_relro
=0 ;;
15638 # Decide if DT_TEXTREL check should be enabled in ELF linker.
15639 ac_default_ld_textrel_check
=unset
15640 # Check whether --enable-textrel-check was given.
15641 if test "${enable_textrel_check+set}" = set; then :
15642 enableval
=$enable_textrel_check; case "${enableval}" in
15643 yes|no|warning|error
) ac_default_ld_textrel_check
=${enableval} ;;
15648 # Decide if -z separate-code should be enabled in ELF linker by default.
15649 ac_default_ld_z_separate_code
=unset
15650 # Check whether --enable-separate-code was given.
15651 if test "${enable_separate_code+set}" = set; then :
15652 enableval
=$enable_separate_code; case "${enableval}" in
15653 yes) ac_default_ld_z_separate_code
=1 ;;
15654 no
) ac_default_ld_z_separate_code
=0 ;;
15660 # By default warn when an executable stack is created due to object files
15661 # requesting such, not when the user specifies -z execstack.
15662 ac_default_ld_warn_execstack
=2
15663 # Check whether --enable-warn-execstack was given.
15664 if test "${enable_warn_execstack+set}" = set; then :
15665 enableval
=$enable_warn_execstack; case "${enableval}" in
15666 yes) ac_default_ld_warn_execstack
=1 ;;
15667 no
) ac_default_ld_warn_execstack
=0 ;;
15672 ac_default_ld_warn_rwx_segments
=unset
15673 # Check whether --enable-warn-rwx-segments was given.
15674 if test "${enable_warn_rwx_segments+set}" = set; then :
15675 enableval
=$enable_warn_rwx_segments; case "${enableval}" in
15676 yes) ac_default_ld_warn_rwx_segments
=1 ;;
15677 no
) ac_default_ld_warn_rwx_segments
=0 ;;
15682 ac_default_ld_default_execstack
=unset
15683 # Check whether --enable-default-execstack was given.
15684 if test "${enable_default_execstack+set}" = set; then :
15685 enableval
=$enable_default_execstack; case "${enableval}" in
15686 yes) ac_default_ld_default_execstack
=1 ;;
15687 no
) ac_default_ld_default_execstack
=0 ;;
15693 # Decide if --error-handling-script should be supported.
15694 ac_support_error_handling_script
=unset
15695 # Check whether --enable-error-handling-script was given.
15696 if test "${enable_error_handling_script+set}" = set; then :
15697 enableval
=$enable_error_handling_script; case "${enableval}" in
15698 yes) ac_support_error_handling_script
=1 ;;
15699 no
) ac_support_error_handling_script
=0 ;;
15704 # Decide which "--hash-style" to use by default
15705 # Provide a configure time option to override our default.
15706 # Check whether --enable-default-hash-style was given.
15707 if test "${enable_default_hash_style+set}" = set; then :
15708 enableval
=$enable_default_hash_style; case "${enable_default_hash_style}" in
15709 sysv | gnu | both
) ;;
15710 *) as_fn_error $?
"bad value ${enable_default_hash_style} for enable-default-hash-style option" "$LINENO" 5 ;;
15713 case "${target}" in
15714 # Enable gnu hash only on GNU targets, but not mips
15715 mips
*-*-*) enable_default_hash_style
=sysv
;;
15716 *-*-gnu* |
*-*-linux* |
*-*-nacl*) enable_default_hash_style
=both
;;
15717 *) enable_default_hash_style
=sysv
;;
15722 case "${enable_default_hash_style}" in
15723 sysv | both
) ac_default_emit_sysv_hash
=1 ;;
15724 *) ac_default_emit_sysv_hash
=0 ;;
15727 case "${enable_default_hash_style}" in
15728 gnu | both
) ac_default_emit_gnu_hash
=1 ;;
15729 *) ac_default_emit_gnu_hash
=0 ;;
15732 # Check whether --enable-initfini-array was given.
15733 if test "${enable_initfini_array+set}" = set; then :
15734 enableval
=$enable_initfini_array; case "${enableval}" in
15736 *) as_fn_error $?
"invalid --enable-initfini-array argument" "$LINENO" 5 ;;
15739 enable_initfini_array
=yes
15743 if test $enable_initfini_array = yes; then
15745 $as_echo "#define HAVE_INITFINI_ARRAY 1" >>confdefs.h
15749 # Check whether --enable-libctf was given.
15750 if test "${enable_libctf+set}" = set; then :
15751 enableval
=$enable_libctf;
15752 case "$enableval" in
15754 *) as_fn_error $?
"Argument to enable/disable libctf must be yes or no" "$LINENO" 5 ;;
15762 if test "${enable_libctf}" = yes; then
15764 $as_echo "#define ENABLE_LIBCTF 1" >>confdefs.h
15767 if test "${enable_libctf}" = yes; then
15768 ENABLE_LIBCTF_TRUE
=
15769 ENABLE_LIBCTF_FALSE
='#'
15771 ENABLE_LIBCTF_TRUE
='#'
15772 ENABLE_LIBCTF_FALSE
=
15777 # Used to validate --package-metadata= input. Disabled by default.
15778 # Check whether --enable-jansson was given.
15779 if test "${enable_jansson+set}" = set; then :
15780 enableval
=$enable_jansson; enable_jansson
=$enableval
15782 enable_jansson
="no"
15786 if test "x$enable_jansson" != "xno"; then :
15789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jansson" >&5
15790 $as_echo_n "checking for jansson... " >&6; }
15792 if test -n "$JANSSON_CFLAGS"; then
15793 pkg_cv_JANSSON_CFLAGS
="$JANSSON_CFLAGS"
15794 elif test -n "$PKG_CONFIG"; then
15795 if test -n "$PKG_CONFIG" && \
15796 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"jansson\""; } >&5
15797 ($PKG_CONFIG --exists --print-errors "jansson") 2>&5
15799 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15800 test $ac_status = 0; }; then
15801 pkg_cv_JANSSON_CFLAGS
=`$PKG_CONFIG --cflags "jansson" 2>/dev/null`
15802 test "x$?" != "x0" && pkg_failed
=yes
15809 if test -n "$JANSSON_LIBS"; then
15810 pkg_cv_JANSSON_LIBS
="$JANSSON_LIBS"
15811 elif test -n "$PKG_CONFIG"; then
15812 if test -n "$PKG_CONFIG" && \
15813 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"jansson\""; } >&5
15814 ($PKG_CONFIG --exists --print-errors "jansson") 2>&5
15816 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15817 test $ac_status = 0; }; then
15818 pkg_cv_JANSSON_LIBS
=`$PKG_CONFIG --libs "jansson" 2>/dev/null`
15819 test "x$?" != "x0" && pkg_failed
=yes
15827 if test $pkg_failed = no
; then
15828 pkg_save_LDFLAGS
="$LDFLAGS"
15829 LDFLAGS
="$LDFLAGS $pkg_cv_JANSSON_LIBS"
15830 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15831 /* end confdefs.h. */
15841 if ac_fn_c_try_link
"$LINENO"; then :
15846 rm -f core conftest.err conftest.
$ac_objext \
15847 conftest
$ac_exeext conftest.
$ac_ext
15848 LDFLAGS
=$pkg_save_LDFLAGS
15853 if test $pkg_failed = yes; then
15854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15855 $as_echo "no" >&6; }
15857 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15858 _pkg_short_errors_supported
=yes
15860 _pkg_short_errors_supported
=no
15862 if test $_pkg_short_errors_supported = yes; then
15863 JANSSON_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "jansson" 2>&1`
15865 JANSSON_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "jansson" 2>&1`
15867 # Put the nasty error message in config.log where it belongs
15868 echo "$JANSSON_PKG_ERRORS" >&5
15870 as_fn_error $?
"Cannot find jansson library" "$LINENO" 5
15871 elif test $pkg_failed = untried
; then
15872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15873 $as_echo "no" >&6; }
15874 as_fn_error $?
"Cannot find jansson library" "$LINENO" 5
15876 JANSSON_CFLAGS
=$pkg_cv_JANSSON_CFLAGS
15877 JANSSON_LIBS
=$pkg_cv_JANSSON_LIBS
15878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15879 $as_echo "yes" >&6; }
15882 $as_echo "#define HAVE_JANSSON 1" >>confdefs.h
15892 # Set the 'development' global.
15893 .
$srcdir/..
/bfd
/development.sh
15895 # Set acp_cpp_for_build variable
15896 ac_cpp_for_build
="$CC_FOR_BUILD -E $CPPFLAGS_FOR_BUILD"
15898 # Default set of GCC warnings to enable.
15899 GCC_WARN_CFLAGS
="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
15900 GCC_WARN_CFLAGS_FOR_BUILD
="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
15902 # Add -Wshadow if the compiler is a sufficiently recent version of GCC.
15903 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15904 /* end confdefs.h. */
15907 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15908 $EGREP "(^[0-3]$|^__GNUC__$)" >/dev
/null
2>&1; then :
15911 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Wshadow"
15916 # Add -Wstack-usage if the compiler is a sufficiently recent version of GCC.
15917 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15918 /* end confdefs.h. */
15921 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15922 $EGREP "(^[0-4]$|^__GNUC__$)" >/dev
/null
2>&1; then :
15925 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15926 /* end confdefs.h. */
15929 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15930 $EGREP "^__clang__$" >/dev
/null
2>&1; then :
15931 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Wstack-usage=262144"
15939 # Set WARN_WRITE_STRINGS if the compiler supports -Wwrite-strings.
15940 WARN_WRITE_STRINGS
=""
15941 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15942 /* end confdefs.h. */
15945 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15946 $EGREP "(^[0-3]$|^__GNUC__$)" >/dev
/null
2>&1; then :
15949 WARN_WRITE_STRINGS
="-Wwrite-strings"
15954 # Verify CC_FOR_BUILD to be compatible with warning flags
15956 # Add -Wshadow if the compiler is a sufficiently recent version of GCC.
15957 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15958 /* end confdefs.h. */
15961 if (eval "$ac_cpp_for_build conftest.$ac_ext") 2>&5 |
15962 $EGREP "(^[0-3]$|^__GNUC__$)" >/dev
/null
2>&1; then :
15965 GCC_WARN_CFLAGS_FOR_BUILD
="$GCC_WARN_CFLAGS_FOR_BUILD -Wshadow"
15970 # Add -Wstack-usage if the compiler is a sufficiently recent version of GCC.
15971 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15972 /* end confdefs.h. */
15975 if (eval "$ac_cpp_for_build conftest.$ac_ext") 2>&5 |
15976 $EGREP "(^[0-4]$|^__GNUC__$)" >/dev
/null
2>&1; then :
15979 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15980 /* end confdefs.h. */
15983 if (eval "$ac_cpp_for_build conftest.$ac_ext") 2>&5 |
15984 $EGREP "^__clang__$" >/dev
/null
2>&1; then :
15985 GCC_WARN_CFLAGS_FOR_BUILD
="$GCC_WARN_CFLAGS_FOR_BUILD -Wstack-usage=262144"
15993 # Check whether --enable-werror was given.
15994 if test "${enable_werror+set}" = set; then :
15995 enableval
=$enable_werror; case "${enableval}" in
15996 yes | y
) ERROR_ON_WARNING
="yes" ;;
15997 no | n
) ERROR_ON_WARNING
="no" ;;
15998 *) as_fn_error $?
"bad value ${enableval} for --enable-werror" "$LINENO" 5 ;;
16003 # Disable -Wformat by default when using gcc on mingw
16006 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
16007 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Wno-format"
16008 GCC_WARN_CFLAGS_FOR_BUILD
="$GCC_WARN_CFLAGS_FOR_BUILD -Wno-format"
16014 # Enable -Werror by default when using gcc. Turn it off for releases.
16015 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" -a "$development" = true
; then
16016 ERROR_ON_WARNING
=yes
16020 if test "${ERROR_ON_WARNING}" = yes ; then
16021 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Werror"
16022 GCC_WARN_CFLAGS_FOR_BUILD
="$GCC_WARN_CFLAGS_FOR_BUILD -Werror"
16023 NO_WERROR
="-Wno-error"
16026 if test "${GCC}" = yes ; then
16027 WARN_CFLAGS
="${GCC_WARN_CFLAGS}"
16028 WARN_CFLAGS_FOR_BUILD
="${GCC_WARN_CFLAGS_FOR_BUILD}"
16031 # Check whether --enable-build-warnings was given.
16032 if test "${enable_build_warnings+set}" = set; then :
16033 enableval
=$enable_build_warnings; case "${enableval}" in
16034 yes) WARN_CFLAGS
="${GCC_WARN_CFLAGS}"
16035 WARN_CFLAGS_FOR_BUILD
="${GCC_WARN_CFLAGS_FOR_BUILD}";;
16036 no
) if test "${GCC}" = yes ; then
16038 WARN_CFLAGS_FOR_BUILD
="-w"
16040 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
16041 WARN_CFLAGS
="${GCC_WARN_CFLAGS} ${t}"
16042 WARN_CFLAGS_FOR_BUILD
="${GCC_WARN_CFLAGS_FOR_BUILD} ${t}";;
16043 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
16044 WARN_CFLAGS
="${t} ${GCC_WARN_CFLAGS}"
16045 WARN_CFLAGS_FOR_BUILD
="${t} ${GCC_WARN_CFLAGS_FOR_BUILD}";;
16046 *) WARN_CFLAGS
=`echo "${enableval}" | sed -e "s/,/ /g"`
16047 WARN_CFLAGS_FOR_BUILD
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
16052 if test x
"$silent" != x
"yes" && test x
"$WARN_CFLAGS" != x
""; then
16053 echo "Setting warning flags = $WARN_CFLAGS" 6>&1
16063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
16064 $as_echo_n "checking for LC_MESSAGES... " >&6; }
16065 if ${am_cv_val_LC_MESSAGES+:} false
; then :
16066 $as_echo_n "(cached) " >&6
16068 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16069 /* end confdefs.h. */
16070 #include <locale.h>
16079 if ac_fn_c_try_link
"$LINENO"; then :
16080 am_cv_val_LC_MESSAGES
=yes
16082 am_cv_val_LC_MESSAGES
=no
16084 rm -f core conftest.err conftest.
$ac_objext \
16085 conftest
$ac_exeext conftest.
$ac_ext
16087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
16088 $as_echo "$am_cv_val_LC_MESSAGES" >&6; }
16089 if test $am_cv_val_LC_MESSAGES = yes; then
16091 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
16096 ac_config_headers
="$ac_config_headers config.h:config.in"
16102 if test -z "$target" ; then
16103 as_fn_error $?
"Unrecognized target system type; please check config.sub." "$LINENO" 5
16105 if test -z "$host" ; then
16106 as_fn_error $?
"Unrecognized host system type; please check config.sub." "$LINENO" 5
16109 # host-specific stuff:
16111 ALL_LINGUAS
="bg da de es fi fr ga id it ja pt_BR ru sr sv tr uk vi zh_CN zh_TW"
16112 # If we haven't got the data from the intl directory,
16113 # assume NLS is disabled.
16122 if test -f ..
/intl
/config.intl
; then
16123 . ..
/intl
/config.intl
16125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
16126 $as_echo_n "checking whether NLS is requested... " >&6; }
16127 if test x
"$USE_NLS" != xyes
; then
16128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16129 $as_echo "no" >&6; }
16131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16132 $as_echo "yes" >&6; }
16134 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
16137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
16138 $as_echo_n "checking for catalogs to be installed... " >&6; }
16139 # Look for .po and .gmo files in the source directory.
16142 for cat in $srcdir/po
/*.gmo
$srcdir/po
/*.po
; do
16143 # If there aren't any .gmo files the shell will give us the
16144 # literal string "../path/to/srcdir/po/*.gmo" which has to be
16146 case "$cat" in *\
**)
16149 # The quadruple backslash is collapsed to a double backslash
16150 # by the backticks, then collapsed again by the double quotes,
16151 # leaving us with one backslash in the sed expression (right
16152 # before the dot that mustn't act as a wildcard).
16153 cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
16154 lang
=`echo $cat | sed -e "s!\\\\.gmo!!"`
16155 # The user is allowed to set LINGUAS to a list of languages to
16156 # install catalogs for. If it's empty that means "all of them."
16157 if test "x$LINGUAS" = x
; then
16158 CATALOGS
="$CATALOGS $cat"
16159 XLINGUAS
="$XLINGUAS $lang"
16161 case "$LINGUAS" in *$lang*)
16162 CATALOGS
="$CATALOGS $cat"
16163 XLINGUAS
="$XLINGUAS $lang"
16168 LINGUAS
="$XLINGUAS"
16169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
16170 $as_echo "$LINGUAS" >&6; }
16184 if test -n "$ac_aux_dir"; then
16185 case "$ac_aux_dir" in
16186 /*) MKINSTALLDIRS
="$ac_aux_dir/mkinstalldirs" ;;
16187 *) MKINSTALLDIRS
="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
16190 if test -z "$MKINSTALLDIRS"; then
16191 MKINSTALLDIRS
="\$(top_srcdir)/mkinstalldirs"
16196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
16197 $as_echo_n "checking whether NLS is requested... " >&6; }
16198 # Check whether --enable-nls was given.
16199 if test "${enable_nls+set}" = set; then :
16200 enableval
=$enable_nls; USE_NLS
=$enableval
16205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
16206 $as_echo "$USE_NLS" >&6; }
16213 # Prepare PATH_SEPARATOR.
16214 # The user is always right.
16215 if test "${PATH_SEPARATOR+set}" != set; then
16216 echo "#! /bin/sh" >conf$$.sh
16217 echo "exit 0" >>conf$$.sh
16219 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
16227 # Find out how to test for executable files. Don't use a zero-byte file,
16228 # as systems may use methods other than mode bits to determine executability.
16229 cat >conf$$.
file <<_ASEOF
16233 chmod +x conf$$.
file
16234 if test -x conf$$.
file >/dev
/null
2>&1; then
16235 ac_executable_p
="test -x"
16237 ac_executable_p
="test -f"
16241 # Extract the first word of "msgfmt", so it can be a program name with args.
16242 set dummy msgfmt
; ac_word
=$2
16243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16244 $as_echo_n "checking for $ac_word... " >&6; }
16245 if ${ac_cv_path_MSGFMT+:} false
; then :
16246 $as_echo_n "(cached) " >&6
16250 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
16253 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
16254 for ac_dir
in $PATH; do
16256 test -z "$ac_dir" && ac_dir
=.
16257 for ac_exec_ext
in '' $ac_executable_extensions; do
16258 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
16259 if $ac_dir/$ac_word --statistics /dev
/null
>/dev
/null
2>&1 &&
16260 (if $ac_dir/$ac_word --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
16261 ac_cv_path_MSGFMT
="$ac_dir/$ac_word$ac_exec_ext"
16268 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
16272 MSGFMT
="$ac_cv_path_MSGFMT"
16273 if test "$MSGFMT" != ":"; then
16274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
16275 $as_echo "$MSGFMT" >&6; }
16277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16278 $as_echo "no" >&6; }
16281 # Extract the first word of "gmsgfmt", so it can be a program name with args.
16282 set dummy gmsgfmt
; ac_word
=$2
16283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16284 $as_echo_n "checking for $ac_word... " >&6; }
16285 if ${ac_cv_path_GMSGFMT+:} false
; then :
16286 $as_echo_n "(cached) " >&6
16290 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
16293 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16294 for as_dir
in $PATH
16297 test -z "$as_dir" && as_dir
=.
16298 for ac_exec_ext
in '' $ac_executable_extensions; do
16299 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16300 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
16301 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16308 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
16312 GMSGFMT
=$ac_cv_path_GMSGFMT
16313 if test -n "$GMSGFMT"; then
16314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
16315 $as_echo "$GMSGFMT" >&6; }
16317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16318 $as_echo "no" >&6; }
16324 # Prepare PATH_SEPARATOR.
16325 # The user is always right.
16326 if test "${PATH_SEPARATOR+set}" != set; then
16327 echo "#! /bin/sh" >conf$$.sh
16328 echo "exit 0" >>conf$$.sh
16330 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
16338 # Find out how to test for executable files. Don't use a zero-byte file,
16339 # as systems may use methods other than mode bits to determine executability.
16340 cat >conf$$.
file <<_ASEOF
16344 chmod +x conf$$.
file
16345 if test -x conf$$.
file >/dev
/null
2>&1; then
16346 ac_executable_p
="test -x"
16348 ac_executable_p
="test -f"
16352 # Extract the first word of "xgettext", so it can be a program name with args.
16353 set dummy xgettext
; ac_word
=$2
16354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16355 $as_echo_n "checking for $ac_word... " >&6; }
16356 if ${ac_cv_path_XGETTEXT+:} false
; then :
16357 $as_echo_n "(cached) " >&6
16359 case "$XGETTEXT" in
16361 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
16364 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
16365 for ac_dir
in $PATH; do
16367 test -z "$ac_dir" && ac_dir
=.
16368 for ac_exec_ext
in '' $ac_executable_extensions; do
16369 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
16370 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
16371 (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
16372 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word$ac_exec_ext"
16379 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
16383 XGETTEXT
="$ac_cv_path_XGETTEXT"
16384 if test "$XGETTEXT" != ":"; then
16385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
16386 $as_echo "$XGETTEXT" >&6; }
16388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16389 $as_echo "no" >&6; }
16395 # Prepare PATH_SEPARATOR.
16396 # The user is always right.
16397 if test "${PATH_SEPARATOR+set}" != set; then
16398 echo "#! /bin/sh" >conf$$.sh
16399 echo "exit 0" >>conf$$.sh
16401 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
16409 # Find out how to test for executable files. Don't use a zero-byte file,
16410 # as systems may use methods other than mode bits to determine executability.
16411 cat >conf$$.
file <<_ASEOF
16415 chmod +x conf$$.
file
16416 if test -x conf$$.
file >/dev
/null
2>&1; then
16417 ac_executable_p
="test -x"
16419 ac_executable_p
="test -f"
16423 # Extract the first word of "msgmerge", so it can be a program name with args.
16424 set dummy msgmerge
; ac_word
=$2
16425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16426 $as_echo_n "checking for $ac_word... " >&6; }
16427 if ${ac_cv_path_MSGMERGE+:} false
; then :
16428 $as_echo_n "(cached) " >&6
16430 case "$MSGMERGE" in
16432 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
16435 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
16436 for ac_dir
in $PATH; do
16438 test -z "$ac_dir" && ac_dir
=.
16439 for ac_exec_ext
in '' $ac_executable_extensions; do
16440 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
16441 if $ac_dir/$ac_word --update -q /dev
/null
/dev
/null
>/dev
/null
2>&1; then
16442 ac_cv_path_MSGMERGE
="$ac_dir/$ac_word$ac_exec_ext"
16449 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE
=":"
16453 MSGMERGE
="$ac_cv_path_MSGMERGE"
16454 if test "$MSGMERGE" != ":"; then
16455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
16456 $as_echo "$MSGMERGE" >&6; }
16458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16459 $as_echo "no" >&6; }
16463 if test "$GMSGFMT" != ":"; then
16464 if $GMSGFMT --statistics /dev
/null
>/dev
/null
2>&1 &&
16465 (if $GMSGFMT --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
16468 GMSGFMT
=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
16469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
16470 $as_echo "found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; }
16475 if test "$XGETTEXT" != ":"; then
16476 if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
16477 (if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
16480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
16481 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
16487 ac_config_commands
="$ac_config_commands default-1"
16493 for ac_prog
in 'bison -y' byacc
16495 # Extract the first word of "$ac_prog", so it can be a program name with args.
16496 set dummy
$ac_prog; ac_word
=$2
16497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16498 $as_echo_n "checking for $ac_word... " >&6; }
16499 if ${ac_cv_prog_YACC+:} false
; then :
16500 $as_echo_n "(cached) " >&6
16502 if test -n "$YACC"; then
16503 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
16505 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16506 for as_dir
in $PATH
16509 test -z "$as_dir" && as_dir
=.
16510 for ac_exec_ext
in '' $ac_executable_extensions; do
16511 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16512 ac_cv_prog_YACC
="$ac_prog"
16513 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16522 YACC
=$ac_cv_prog_YACC
16523 if test -n "$YACC"; then
16524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
16525 $as_echo "$YACC" >&6; }
16527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16528 $as_echo "no" >&6; }
16532 test -n "$YACC" && break
16534 test -n "$YACC" || YACC
="yacc"
16536 for ac_prog
in flex
lex
16538 # Extract the first word of "$ac_prog", so it can be a program name with args.
16539 set dummy
$ac_prog; ac_word
=$2
16540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16541 $as_echo_n "checking for $ac_word... " >&6; }
16542 if ${ac_cv_prog_LEX+:} false
; then :
16543 $as_echo_n "(cached) " >&6
16545 if test -n "$LEX"; then
16546 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
16548 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16549 for as_dir
in $PATH
16552 test -z "$as_dir" && as_dir
=.
16553 for ac_exec_ext
in '' $ac_executable_extensions; do
16554 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16555 ac_cv_prog_LEX
="$ac_prog"
16556 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16565 LEX
=$ac_cv_prog_LEX
16566 if test -n "$LEX"; then
16567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
16568 $as_echo "$LEX" >&6; }
16570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16571 $as_echo "no" >&6; }
16575 test -n "$LEX" && break
16577 test -n "$LEX" || LEX
=":"
16581 *) cat >conftest.l
<<_ACEOF
16587 e { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument. */
16588 yyless ((input () != 0)); }
16589 f { unput (yytext[0]); }
16590 . { BEGIN INITIAL; }
16592 #ifdef YYTEXT_POINTER
16593 extern char *yytext;
16598 return ! yylex () + ! yywrap ();
16601 { { ac_try
="$LEX conftest.l"
16602 case "(($ac_try" in
16603 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16604 *) ac_try_echo=$ac_try;;
16606 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16607 $as_echo "$ac_try_echo"; } >&5
16608 (eval "$LEX conftest.l") 2>&5
16610 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16611 test $ac_status = 0; }
16612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
16613 $as_echo_n "checking lex output file root... " >&6; }
16614 if ${ac_cv_prog_lex_root+:} false; then :
16615 $as_echo_n "(cached) " >&6
16618 if test -f lex.yy.c; then
16619 ac_cv_prog_lex_root=lex.yy
16620 elif test -f lexyy.c; then
16621 ac_cv_prog_lex_root=lexyy
16623 as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5
16626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
16627 $as_echo "$ac_cv_prog_lex_root" >&6; }
16628 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
16630 if test -z "${LEXLIB+set}"; then
16631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
16632 $as_echo_n "checking lex library... " >&6; }
16633 if ${ac_cv_lib_lex+:} false; then :
16634 $as_echo_n "(cached) " >&6
16638 ac_cv_lib_lex='none needed'
16639 for ac_lib in '' -lfl -ll; do
16640 LIBS="$ac_lib $ac_save_LIBS"
16641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16642 /* end confdefs.h. */
16643 `cat $LEX_OUTPUT_ROOT.c
`
16645 if ac_fn_c_try_link "$LINENO"; then :
16646 ac_cv_lib_lex=$ac_lib
16648 rm -f core conftest.err conftest.$ac_objext \
16649 conftest$ac_exeext conftest.$ac_ext
16650 test "$ac_cv_lib_lex" != 'none needed' && break
16655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5
16656 $as_echo "$ac_cv_lib_lex" >&6; }
16657 test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
16661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
16662 $as_echo_n "checking whether yytext is a pointer... " >&6; }
16663 if ${ac_cv_prog_lex_yytext_pointer+:} false; then :
16664 $as_echo_n "(cached) " >&6
16666 # POSIX says lex can declare yytext either as a pointer or an array; the
16667 # default is implementation-dependent. Figure out which it is, since
16668 # not all implementations provide the %pointer and %array declarations.
16669 ac_cv_prog_lex_yytext_pointer=no
16671 LIBS="$LEXLIB $ac_save_LIBS"
16672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16673 /* end confdefs.h. */
16675 #define YYTEXT_POINTER 1
16676 `cat $LEX_OUTPUT_ROOT.c
`
16678 if ac_fn_c_try_link "$LINENO"; then :
16679 ac_cv_prog_lex_yytext_pointer=yes
16681 rm -f core conftest.err conftest.$ac_objext \
16682 conftest$ac_exeext conftest.$ac_ext
16686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5
16687 $as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
16688 if test $ac_cv_prog_lex_yytext_pointer = yes; then
16690 $as_echo "#define YYTEXT_POINTER 1" >>confdefs.h
16693 rm -f conftest.l $LEX_OUTPUT_ROOT.c
16696 if test "$LEX" = :; then
16697 LEX=${am_missing_run}flex
16701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
16702 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
16703 # Check whether --enable-maintainer-mode was given.
16704 if test "${enable_maintainer_mode+set}" = set; then :
16705 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
16707 USE_MAINTAINER_MODE=no
16710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
16711 $as_echo "$USE_MAINTAINER_MODE" >&6; }
16712 if test $USE_MAINTAINER_MODE = yes; then
16713 MAINTAINER_MODE_TRUE=
16714 MAINTAINER_MODE_FALSE='#'
16716 MAINTAINER_MODE_TRUE='#'
16717 MAINTAINER_MODE_FALSE=
16720 MAINT=$MAINTAINER_MODE_TRUE
16724 GENINSRC_NEVER_TRUE=
16725 GENINSRC_NEVER_FALSE='#'
16727 GENINSRC_NEVER_TRUE='#'
16728 GENINSRC_NEVER_FALSE=
16731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to compare bootstrapped objects" >&5
16732 $as_echo_n "checking how to compare bootstrapped objects... " >&6; }
16733 if ${gcc_cv_prog_cmp_skip+:} false; then :
16734 $as_echo_n "(cached) " >&6
16738 gcc_cv_prog_cmp_skip='tail -c +17 $$f1 > tmp-foo1; tail -c +17 $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
16739 if cmp t1 t2 2 2 > /dev/null 2>&1; then
16740 if cmp t1 t2 1 1 > /dev/null 2>&1; then
16743 gcc_cv_prog_cmp_skip='cmp $$f1 $$f2 16 16'
16746 if cmp --ignore-initial=2 t1 t2 > /dev/null 2>&1; then
16747 if cmp --ignore-initial=1 t1 t2 > /dev/null 2>&1; then
16750 gcc_cv_prog_cmp_skip='cmp --ignore-initial=16 $$f1 $$f2'
16756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_cmp_skip" >&5
16757 $as_echo "$gcc_cv_prog_cmp_skip" >&6; }
16758 do_compare="$gcc_cv_prog_cmp_skip"
16762 . ${srcdir}/configure.host
16767 # We use headers from include/ that check various HAVE_*_H macros, thus
16768 # should ensure they are set by configure. This is true even when C99
16769 # guarantees they are available.
16770 # sha1.h and md4.h test HAVE_LIMITS_H, HAVE_SYS_TYPES_H and HAVE_STDINT_H
16771 # plugin-api.h tests HAVE_STDINT_H and HAVE_INTTYPES_H
16772 # Besides those, we need to check anything used in ld/ not in C99.
16773 for ac_header in fcntl.h elf-hints.h limits.h inttypes.h stdint.h \
16774 sys/file.h sys/mman.h sys/param.h sys/stat.h sys/time.h \
16775 sys/types.h unistd.h
16777 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
16778 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16779 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16780 cat >>confdefs.h <<_ACEOF
16781 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
16788 for ac_func in close glob lseek mkstemp open realpath waitpid
16790 as_ac_var=`$as_echo "ac_cv_func_$ac_func" |
$as_tr_sh`
16791 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16792 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16793 cat >>confdefs.h <<_ACEOF
16794 #define `$as_echo "HAVE_$ac_func" |
$as_tr_cpp` 1
16803 *-*-msdos* | *-*-go32* | *-*-mingw32* | *-*-cygwin* | *-*-windows*)
16805 $as_echo "#define USE_BINARY_FOPEN 1" >>confdefs.h
16809 ac_fn_c_check_decl "$LINENO" "asprintf" "ac_cv_have_decl_asprintf" "$ac_includes_default"
16810 if test "x$ac_cv_have_decl_asprintf" = xyes; then :
16816 cat >>confdefs.h <<_ACEOF
16817 #define HAVE_DECL_ASPRINTF $ac_have_decl
16819 ac_fn_c_check_decl "$LINENO" "environ" "ac_cv_have_decl_environ" "$ac_includes_default"
16820 if test "x$ac_cv_have_decl_environ" = xyes; then :
16826 cat >>confdefs.h <<_ACEOF
16827 #define HAVE_DECL_ENVIRON $ac_have_decl
16829 ac_fn_c_check_decl "$LINENO" "stpcpy" "ac_cv_have_decl_stpcpy" "$ac_includes_default"
16830 if test "x$ac_cv_have_decl_stpcpy" = xyes; then :
16836 cat >>confdefs.h <<_ACEOF
16837 #define HAVE_DECL_STPCPY $ac_have_decl
16844 for ac_header in $ac_header_list
16846 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
16847 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
16849 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16850 cat >>confdefs.h <<_ACEOF
16851 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
16865 for ac_func in getpagesize
16867 ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize"
16868 if test "x$ac_cv_func_getpagesize" = xyes; then :
16869 cat >>confdefs.h <<_ACEOF
16870 #define HAVE_GETPAGESIZE 1
16876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
16877 $as_echo_n "checking for working mmap... " >&6; }
16878 if ${ac_cv_func_mmap_fixed_mapped+:} false; then :
16879 $as_echo_n "(cached) " >&6
16881 if test "$cross_compiling" = yes; then :
16882 ac_cv_func_mmap_fixed_mapped=no
16884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16885 /* end confdefs.h. */
16886 $ac_includes_default
16887 /* malloc might have been renamed as rpl_malloc. */
16890 /* Thanks to Mike Haertel and Jim Avera for this test.
16891 Here is a matrix of mmap possibilities:
16892 mmap private not fixed
16893 mmap private fixed at somewhere currently unmapped
16894 mmap private fixed at somewhere already mapped
16895 mmap shared not fixed
16896 mmap shared fixed at somewhere currently unmapped
16897 mmap shared fixed at somewhere already mapped
16898 For private mappings, we should verify that changes cannot be read()
16899 back from the file, nor mmap's back from the file at a different
16900 address. (There have been systems where private was not correctly
16901 implemented like the infamous i386 svr4.0, and systems where the
16902 VM page cache was not coherent with the file system buffer cache
16903 like early versions of FreeBSD and possibly contemporary NetBSD.)
16904 For shared mappings, we should conversely verify that changes get
16905 propagated back to all the places they're supposed to be.
16907 Grep wants private fixed already mapped.
16908 The main things grep needs to know about mmap are:
16909 * does it exist and is it safe to write into the mmap'd area
16910 * how to use it (BSD variants) */
16913 #include <sys/mman.h>
16915 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
16919 /* This mess was copied from the GNU getpagesize.h. */
16920 #ifndef HAVE_GETPAGESIZE
16921 # ifdef _SC_PAGESIZE
16922 # define getpagesize() sysconf(_SC_PAGESIZE)
16923 # else /* no _SC_PAGESIZE */
16924 # ifdef HAVE_SYS_PARAM_H
16925 # include <sys/param.h>
16926 # ifdef EXEC_PAGESIZE
16927 # define getpagesize() EXEC_PAGESIZE
16928 # else /* no EXEC_PAGESIZE */
16930 # define getpagesize() NBPG * CLSIZE
16933 # endif /* no CLSIZE */
16934 # else /* no NBPG */
16936 # define getpagesize() NBPC
16937 # else /* no NBPC */
16939 # define getpagesize() PAGESIZE
16940 # endif /* PAGESIZE */
16941 # endif /* no NBPC */
16942 # endif /* no NBPG */
16943 # endif /* no EXEC_PAGESIZE */
16944 # else /* no HAVE_SYS_PARAM_H */
16945 # define getpagesize() 8192 /* punt totally */
16946 # endif /* no HAVE_SYS_PARAM_H */
16947 # endif /* no _SC_PAGESIZE */
16949 #endif /* no HAVE_GETPAGESIZE */
16954 char *data, *data2, *data3;
16955 const char *cdata2;
16959 pagesize = getpagesize ();
16961 /* First, make a file with some known garbage in it. */
16962 data = (char *) malloc (pagesize);
16965 for (i = 0; i < pagesize; ++i)
16966 *(data + i) = rand ();
16968 fd = creat ("conftest.mmap", 0600);
16971 if (write (fd, data, pagesize) != pagesize)
16975 /* Next, check that the tail of a page is zero-filled. File must have
16976 non-zero length, otherwise we risk SIGBUS for entire page. */
16977 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
16981 if (write (fd2, cdata2, 1) != 1)
16983 data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
16984 if (data2 == MAP_FAILED)
16986 for (i = 0; i < pagesize; ++i)
16990 if (munmap (data2, pagesize))
16993 /* Next, try to mmap the file at a fixed address which already has
16994 something else allocated at it. If we can, also make sure that
16995 we see the same garbage. */
16996 fd = open ("conftest.mmap", O_RDWR);
16999 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
17000 MAP_PRIVATE | MAP_FIXED, fd, 0L))
17002 for (i = 0; i < pagesize; ++i)
17003 if (*(data + i) != *(data2 + i))
17006 /* Finally, make sure that changes to the mapped area do not
17007 percolate back to the file as seen by read(). (This is a bug on
17008 some variants of i386 svr4.0.) */
17009 for (i = 0; i < pagesize; ++i)
17010 *(data2 + i) = *(data2 + i) + 1;
17011 data3 = (char *) malloc (pagesize);
17014 if (read (fd, data3, pagesize) != pagesize)
17016 for (i = 0; i < pagesize; ++i)
17017 if (*(data + i) != *(data3 + i))
17023 if ac_fn_c_try_run "$LINENO"; then :
17024 ac_cv_func_mmap_fixed_mapped=yes
17026 ac_cv_func_mmap_fixed_mapped=no
17028 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
17029 conftest.$ac_objext conftest.beam conftest.$ac_ext
17033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
17034 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
17035 if test $ac_cv_func_mmap_fixed_mapped = yes; then
17037 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
17040 rm -f conftest.mmap conftest.txt
17043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
17044 $as_echo_n "checking for library containing dlopen... " >&6; }
17045 if ${ac_cv_search_dlopen+:} false; then :
17046 $as_echo_n "(cached) " >&6
17048 ac_func_search_save_LIBS=$LIBS
17049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17050 /* end confdefs.h. */
17052 /* Override any GCC internal prototype to avoid an error.
17053 Use char because int might match the return type of a GCC
17054 builtin and then its argument prototype would still apply. */
17067 for ac_lib in '' dl; do
17068 if test -z "$ac_lib"; then
17069 ac_res="none required"
17072 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17074 if ac_fn_c_try_link "$LINENO"; then :
17075 ac_cv_search_dlopen=$ac_res
17077 rm -f core conftest.err conftest.$ac_objext \
17079 if ${ac_cv_search_dlopen+:} false; then :
17083 if ${ac_cv_search_dlopen+:} false; then :
17086 ac_cv_search_dlopen=no
17088 rm conftest.$ac_ext
17089 LIBS=$ac_func_search_save_LIBS
17091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
17092 $as_echo "$ac_cv_search_dlopen" >&6; }
17093 ac_res=$ac_cv_search_dlopen
17094 if test "$ac_res" != no; then :
17095 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a known getopt prototype in unistd.h" >&5
17101 $as_echo_n "checking for a known getopt prototype in unistd.h... " >&6; }
17102 if ${ld_cv_decl_getopt_unistd_h+:} false; then :
17103 $as_echo_n "(cached) " >&6
17105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17106 /* end confdefs.h. */
17107 #include <unistd.h>
17111 extern int getopt (int, char *const*, const char *);
17116 if ac_fn_c_try_compile "$LINENO"; then :
17117 ld_cv_decl_getopt_unistd_h=yes
17119 ld_cv_decl_getopt_unistd_h=no
17121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_cv_decl_getopt_unistd_h" >&5
17125 $as_echo "$ld_cv_decl_getopt_unistd_h" >&6; }
17126 if test $ld_cv_decl_getopt_unistd_h = yes; then
17128 $as_echo "#define HAVE_DECL_GETOPT 1" >>confdefs.h
17132 # Link in zlib/zstd if we can. This allows us to read and write
17133 # compressed debug sections.
17135 # Use the system's zlib library.
17136 zlibdir="-L\$(top_builddir)/../zlib"
17137 zlibinc="-I\$(top_srcdir)/../zlib"
17139 # Check whether --with-system-zlib was given.
17140 if test "${with_system_zlib+set}" = set; then :
17141 withval=$with_system_zlib; if test x$with_system_zlib = xyes ; then
17153 # Check whether --with-zstd was given.
17154 if test "${with_zstd+set}" = set; then :
17155 withval=$with_zstd;
17161 if test "$with_zstd" != no; then :
17164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libzstd >= 1.4.0" >&5
17165 $as_echo_n "checking for libzstd >= 1.4.0... " >&6; }
17167 if test -n "$ZSTD_CFLAGS"; then
17168 pkg_cv_ZSTD_CFLAGS="$ZSTD_CFLAGS"
17169 elif test -n "$PKG_CONFIG"; then
17170 if test -n "$PKG_CONFIG" && \
17171 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libzstd >= 1.4.0\""; } >&5
17172 ($PKG_CONFIG --exists --print-errors "libzstd >= 1.4.0") 2>&5
17174 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17175 test $ac_status = 0; }; then
17176 pkg_cv_ZSTD_CFLAGS=`$PKG_CONFIG --cflags "libzstd >= 1.4.0" 2>/dev
/null
`
17177 test "x$?" != "x0" && pkg_failed=yes
17184 if test -n "$ZSTD_LIBS"; then
17185 pkg_cv_ZSTD_LIBS="$ZSTD_LIBS"
17186 elif test -n "$PKG_CONFIG"; then
17187 if test -n "$PKG_CONFIG" && \
17188 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libzstd >= 1.4.0\""; } >&5
17189 ($PKG_CONFIG --exists --print-errors "libzstd >= 1.4.0") 2>&5
17191 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17192 test $ac_status = 0; }; then
17193 pkg_cv_ZSTD_LIBS=`$PKG_CONFIG --libs "libzstd >= 1.4.0" 2>/dev
/null
`
17194 test "x$?" != "x0" && pkg_failed=yes
17202 if test $pkg_failed = no; then
17203 pkg_save_LDFLAGS="$LDFLAGS"
17204 LDFLAGS="$LDFLAGS $pkg_cv_ZSTD_LIBS"
17205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17206 /* end confdefs.h. */
17216 if ac_fn_c_try_link "$LINENO"; then :
17221 rm -f core conftest.err conftest.$ac_objext \
17222 conftest$ac_exeext conftest.$ac_ext
17223 LDFLAGS=$pkg_save_LDFLAGS
17228 if test $pkg_failed = yes; then
17229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17230 $as_echo "no" >&6; }
17232 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17233 _pkg_short_errors_supported=yes
17235 _pkg_short_errors_supported=no
17237 if test $_pkg_short_errors_supported = yes; then
17238 ZSTD_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libzstd >= 1.4.0" 2>&1`
17240 ZSTD_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libzstd >= 1.4.0" 2>&1`
17242 # Put the nasty error message in config.log where it belongs
17243 echo "$ZSTD_PKG_ERRORS" >&5
17246 if test "$with_zstd" = yes; then
17247 as_fn_error $? "--with-zstd was given, but pkgconfig/libzstd.pc is not found" "$LINENO" 5
17250 elif test $pkg_failed = untried; then
17251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17252 $as_echo "no" >&6; }
17254 if test "$with_zstd" = yes; then
17255 as_fn_error $? "--with-zstd was given, but pkgconfig/libzstd.pc is not found" "$LINENO" 5
17259 ZSTD_CFLAGS=$pkg_cv_ZSTD_CFLAGS
17260 ZSTD_LIBS=$pkg_cv_ZSTD_LIBS
17261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17262 $as_echo "yes" >&6; }
17265 $as_echo "#define HAVE_ZSTD 1" >>confdefs.h
17273 # target-specific stuff:
17282 elf_list_options=false
17283 elf_shlib_list_options=false
17284 elf_plt_unwind_list_options=false
17285 for targ_alias in `echo $target_alias $enable_targets |
sed 's/,/ /g'`
17287 if test "$targ_alias" = "all"; then
17289 elf_list_options=true
17290 elf_shlib_list_options=true
17291 elf_plt_unwind_list_options=true
17293 # Canonicalize the secondary target names.
17294 result=`$ac_config_sub $targ_alias 2>/dev
/null
`
17295 if test -n "$result"; then
17301 . ${srcdir}/configure.tgt
17303 if test "$targ" = "$target"; then
17307 if test x${enable_64_bit_bfd} = xno; then
17308 . ${srcdir}/../bfd/config.bfd
17311 if test x${enable_64_bit_bfd} = xyes; then
17312 targ_extra_emuls="$targ_extra_emuls $targ64_extra_emuls"
17313 targ_extra_libpath="$targ_extra_libpath $targ64_extra_libpath"
17316 for i in $targ_emul $targ_extra_emuls $targ_extra_libpath; do
17317 case " $all_emuls " in
17320 all_emuls="$all_emuls e${i}.o"
17321 eval result=\$tdir_$i
17322 test -z "$result" && result=$targ_alias
17327 elf_list_options=true
17330 if $GREP "TEMPLATE_NAME=elf" ${srcdir}/emulparams/${i}.sh >/dev/null 2>/dev/null; then
17331 elf_list_options=true
17335 if test "$elf_list_options" = "true"; then
17340 source_sh ${srcdir}/emulparams/${i}.sh
17341 if test x${GENERATE_SHLIB_SCRIPT} = xyes; then
17342 elf_shlib_list_options=true
17344 if test x${PLT_UNWIND} = xyes; then
17345 elf_plt_unwind_list_options=true
17352 for i in $targ_emul $targ_extra_libpath; do
17353 case " $all_libpath " in
17356 if test -z "$all_libpath"; then
17359 all_libpath="$all_libpath ${i}"
17365 for i in $targ_extra_ofiles; do
17366 case " $all_emul_extras " in
17369 all_emul_extras="$all_emul_extras ${i}"
17377 if test x$ac_default_compressed_debug_sections = xyes ; then
17379 $as_echo "#define DEFAULT_FLAG_COMPRESS_DEBUG 1" >>confdefs.h
17384 cat >>confdefs.h <<_ACEOF
17385 #define DEFAULT_COMPRESSED_DEBUG_ALGORITHM $ac_default_compressed_debug_sections_algorithm
17389 if test "${ac_default_new_dtags}" = unset; then
17390 ac_default_new_dtags=0
17393 cat >>confdefs.h <<_ACEOF
17394 #define DEFAULT_NEW_DTAGS $ac_default_new_dtags
17398 if test "${ac_default_ld_z_relro}" = unset; then
17399 ac_default_ld_z_relro=0
17402 cat >>confdefs.h <<_ACEOF
17403 #define DEFAULT_LD_Z_RELRO $ac_default_ld_z_relro
17407 ac_default_ld_textrel_check_warning=0
17408 case "${ac_default_ld_textrel_check}" in
17410 ac_default_ld_textrel_check=textrel_check_none
17413 ac_default_ld_textrel_check=textrel_check_warning
17414 ac_default_ld_textrel_check_warning=1
17417 ac_default_ld_textrel_check=textrel_check_error
17421 cat >>confdefs.h <<_ACEOF
17422 #define DEFAULT_LD_TEXTREL_CHECK $ac_default_ld_textrel_check
17426 cat >>confdefs.h <<_ACEOF
17427 #define DEFAULT_LD_TEXTREL_CHECK_WARNING $ac_default_ld_textrel_check_warning
17431 if test "${ac_default_ld_z_separate_code}" = unset; then
17432 ac_default_ld_z_separate_code=0
17435 cat >>confdefs.h <<_ACEOF
17436 #define DEFAULT_LD_Z_SEPARATE_CODE $ac_default_ld_z_separate_code
17442 cat >>confdefs.h <<_ACEOF
17443 #define DEFAULT_LD_WARN_EXECSTACK $ac_default_ld_warn_execstack
17447 if test "${ac_default_ld_warn_rwx_segments}" = unset; then
17448 ac_default_ld_warn_rwx_segments=1
17451 cat >>confdefs.h <<_ACEOF
17452 #define DEFAULT_LD_WARN_RWX_SEGMENTS $ac_default_ld_warn_rwx_segments
17456 if test "${ac_default_ld_default_execstack}" = unset; then
17457 ac_default_ld_default_execstack=1
17460 cat >>confdefs.h <<_ACEOF
17461 #define DEFAULT_LD_EXECSTACK $ac_default_ld_default_execstack
17466 if test "${ac_support_error_handling_script}" = unset; then
17467 ac_support_error_handling_script=1
17470 cat >>confdefs.h <<_ACEOF
17471 #define SUPPORT_ERROR_HANDLING_SCRIPT $ac_support_error_handling_script
17476 cat >>confdefs.h <<_ACEOF
17477 #define DEFAULT_EMIT_SYSV_HASH $ac_default_emit_sysv_hash
17482 cat >>confdefs.h <<_ACEOF
17483 #define DEFAULT_EMIT_GNU_HASH $ac_default_emit_gnu_hash
17495 if test x${all_targets} = xtrue; then
17496 if test x${enable_64_bit_bfd} = xyes; then
17497 EMULATION_OFILES='$(ALL_EMULATIONS) $(ALL_64_EMULATIONS)'
17498 EMUL_EXTRA_OFILES='$(ALL_EMUL_EXTRA_OFILES) $(ALL_64_EMUL_EXTRA_OFILES)'
17500 EMULATION_OFILES='$(ALL_EMULATIONS)'
17501 EMUL_EXTRA_OFILES='$(ALL_EMUL_EXTRA_OFILES)'
17504 EMULATION_OFILES=$all_emuls
17505 EMUL_EXTRA_OFILES=$all_emul_extras
17511 EMULATION_LIBPATH=$all_libpath
17514 if test x${enable_static} = xno; then
17515 TESTBFDLIB="-Wl,--rpath,../bfd/.libs ../bfd/.libs/libbfd.so"
17516 TESTCTFLIB="-Wl,--rpath,../libctf/.libs ../libctf/.libs/libctf.so"
17517 TESTSFRAMELIB="-Wl,--rpath,../libsframe/.libs ../libsframe/.libs/libsframe.so"
17519 TESTBFDLIB="../bfd/.libs/libbfd.a"
17520 TESTCTFLIB="../libctf/.libs/libctf.a"
17521 TESTSFRAMELIB="../libsframe/.libs/libsframe.a"
17523 if test "${enable_libctf}" = no; then
17530 target_vendor=${target_vendor=$host_vendor}
17531 case "$target_vendor" in
17532 hp) EXTRA_SHLIB_EXTENSION=".sl" ;;
17533 *) EXTRA_SHLIB_EXTENSION= ;;
17536 case "$target_os" in
17537 lynxos) EXTRA_SHLIB_EXTENSION=".a" ;;
17540 if test x${EXTRA_SHLIB_EXTENSION} != x ; then
17542 cat >>confdefs.h <<_ACEOF
17543 #define EXTRA_SHLIB_EXTENSION "$EXTRA_SHLIB_EXTENSION"
17548 ac_config_commands="$ac_config_commands default"
17556 ac_config_files="$ac_config_files Makefile po/Makefile.in:po/Make-in"
17558 cat >confcache <<\_ACEOF
17559 # This file is a shell script that caches the results of configure
17560 # tests run on this system so they can be shared between configure
17561 # scripts and configure runs, see configure's option --config-cache.
17562 # It is not useful on other systems. If it contains results you don't
17563 # want to keep, you may remove or edit it.
17565 # config.status only pays attention to the cache file if you give it
17566 # the --recheck option to rerun configure.
17568 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
17569 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17570 # following values.
17574 # The following way of writing the cache mishandles newlines in values,
17575 # but we know of no workaround that is simple, portable, and efficient.
17576 # So, we kill variables containing newlines.
17577 # Ultrix sh set writes to stderr and can't be redirected directly,
17578 # and sets the high bit in the cache file unless we assign to the vars.
17580 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17581 eval ac_val
=\$
$ac_var
17585 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17586 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17589 _ | IFS | as_nl
) ;; #(
17590 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
17591 *) { eval $ac_var=; unset $ac_var;} ;;
17597 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17598 *${as_nl}ac_space
=\
*)
17599 # `set' does not quote correctly, so add quotes: double-quote
17600 # substitution turns \\\\ into \\, and sed turns \\ into \.
17603 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17606 # `set' quotes correctly as required by POSIX, so do not add quotes.
17607 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17616 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17618 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17620 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
17621 if test -w "$cache_file"; then
17622 if test "x$cache_file" != "x/dev/null"; then
17623 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17624 $as_echo "$as_me: updating cache $cache_file" >&6;}
17625 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
17626 cat confcache
>"$cache_file"
17628 case $cache_file in #(
17630 mv -f confcache
"$cache_file"$$
&&
17631 mv -f "$cache_file"$$
"$cache_file" ;; #(
17633 mv -f confcache
"$cache_file" ;;
17638 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17639 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17644 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
17645 # Let make expand exec_prefix.
17646 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
17648 DEFS
=-DHAVE_CONFIG_H
17653 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
17654 # 1. Remove the extension, and $U if already installed.
17655 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
17656 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
17657 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17658 # will be set to the directory where LIBOBJS objects are built.
17659 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17660 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
17662 LIBOBJS
=$ac_libobjs
17664 LTLIBOBJS
=$ac_ltlibobjs
17667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
17668 $as_echo_n "checking that generated files are newer than configure... " >&6; }
17669 if test -n "$am_sleep_pid"; then
17670 # Hide warnings about reused PIDs.
17671 wait $am_sleep_pid 2>/dev
/null
17673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
17674 $as_echo "done" >&6; }
17675 if test -n "$EXEEXT"; then
17677 am__EXEEXT_FALSE
='#'
17679 am__EXEEXT_TRUE
='#'
17683 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
17684 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
17685 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17687 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
17688 as_fn_error $?
"conditional \"AMDEP\" was never defined.
17689 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17691 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
17692 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
17693 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17695 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
17696 as_fn_error $?
"conditional \"am__fastdepCXX\" was never defined.
17697 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17699 if test -z "${ENABLE_BFD_64_BIT_TRUE}" && test -z "${ENABLE_BFD_64_BIT_FALSE}"; then
17700 as_fn_error $?
"conditional \"ENABLE_BFD_64_BIT\" was never defined.
17701 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17703 if test -z "${ENABLE_LIBCTF_TRUE}" && test -z "${ENABLE_LIBCTF_FALSE}"; then
17704 as_fn_error $?
"conditional \"ENABLE_LIBCTF\" was never defined.
17705 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17707 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
17708 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
17709 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17711 if test -z "${GENINSRC_NEVER_TRUE}" && test -z "${GENINSRC_NEVER_FALSE}"; then
17712 as_fn_error $?
"conditional \"GENINSRC_NEVER\" was never defined.
17713 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17716 : "${CONFIG_STATUS=./config.status}"
17718 ac_clean_files_save
=$ac_clean_files
17719 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
17720 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17721 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17723 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17725 # Generated by $as_me.
17726 # Run this file to recreate the current configuration.
17727 # Compiler output produced by configure, useful for debugging
17728 # configure, is in config.log if it exists.
17731 ac_cs_recheck=false
17734 SHELL=\${CONFIG_SHELL-$SHELL}
17737 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
17738 ## -------------------- ##
17739 ## M4sh Initialization. ##
17740 ## -------------------- ##
17742 # Be more Bourne compatible
17743 DUALCASE
=1; export DUALCASE
# for MKS sh
17744 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
17747 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17748 # is contrary to our usage. Disable this feature.
17749 alias -g '${1+"$@"}'='"$@"'
17750 setopt NO_GLOB_SUBST
17752 case `(set -o) 2>/dev/null` in #(
17764 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17765 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17766 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17767 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17768 # Prefer a ksh shell builtin over an external printf program on Solaris,
17769 # but without wasting forks for bash or zsh.
17770 if test -z "$BASH_VERSION$ZSH_VERSION" \
17771 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17772 as_echo='print
-r --'
17773 as_echo_n='print
-rn --'
17774 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17775 as_echo='printf %s
\n'
17776 as_echo_n='printf %s
'
17778 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17779 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
17780 as_echo_n='/usr
/ucb
/echo -n'
17782 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17783 as_echo_n_body='eval
17787 expr "X$arg" : "X\\(.*\\)$as_nl";
17788 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17790 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
17792 export as_echo_n_body
17793 as_echo_n='sh
-c $as_echo_n_body as_echo
'
17795 export as_echo_body
17796 as_echo='sh
-c $as_echo_body as_echo
'
17799 # The user is always right.
17800 if test "${PATH_SEPARATOR+set}" != set; then
17802 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17803 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17810 # We need space, tab and new line, in precisely that order. Quoting is
17811 # there to prevent editors from complaining about space-tab.
17812 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17813 # splitting by setting IFS to empty value.)
17816 # Find who we are. Look in the path if we contain no directory separator.
17819 *[\\/]* ) as_myself=$0 ;;
17820 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17821 for as_dir in $PATH
17824 test -z "$as_dir" && as_dir=.
17825 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17831 # We did not find ourselves, most probably we were run as `sh COMMAND'
17832 # in which case we are not to be found in the path.
17833 if test "x$as_myself" = x
; then
17836 if test ! -f "$as_myself"; then
17837 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17841 # Unset variables that we do not need and which cause bugs (e.g. in
17842 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
17843 # suppresses any "Segmentation fault" message there. '((' could
17844 # trigger a bug in pdksh 5.2.14.
17845 for as_var
in BASH_ENV ENV MAIL MAILPATH
17846 do eval test x\
${$as_var+set} = xset \
17847 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
17860 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
17863 # as_fn_error STATUS ERROR [LINENO LOG_FD]
17864 # ----------------------------------------
17865 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17866 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17867 # script with STATUS, using 1 if that was 0.
17870 as_status
=$1; test $as_status -eq 0 && as_status
=1
17872 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
17873 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17875 $as_echo "$as_me: error: $2" >&2
17876 as_fn_exit
$as_status
17880 # as_fn_set_status STATUS
17881 # -----------------------
17882 # Set $? to STATUS, without forking.
17883 as_fn_set_status
()
17886 } # as_fn_set_status
17888 # as_fn_exit STATUS
17889 # -----------------
17890 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17894 as_fn_set_status
$1
17900 # Portably unset VAR.
17903 { eval $1=; unset $1;}
17905 as_unset
=as_fn_unset
17906 # as_fn_append VAR VALUE
17907 # ----------------------
17908 # Append the text in VALUE to the end of the definition contained in VAR. Take
17909 # advantage of any shell optimizations that allow amortized linear growth over
17910 # repeated appends, instead of the typical quadratic growth present in naive
17912 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
17913 eval 'as_fn_append ()
17924 # as_fn_arith ARG...
17925 # ------------------
17926 # Perform arithmetic evaluation on the ARGs, and store the result in the
17927 # global $as_val. Take advantage of shells that can avoid forks. The arguments
17928 # must be portable across $(()) and expr.
17929 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
17930 eval 'as_fn_arith ()
17937 as_val
=`expr "$@" || test $? -eq 1`
17942 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
17943 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
17949 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17950 as_basename
=basename
17955 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
17961 as_me
=`$as_basename -- "$0" ||
17962 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17963 X"$0" : 'X\(//\)$' \| \
17964 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17966 sed '/^.*\/\([^/][^/]*\)\/*$/{
17980 # Avoid depending upon Character Ranges.
17981 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
17982 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17983 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
17984 as_cr_digits
='0123456789'
17985 as_cr_alnum
=$as_cr_Letters$as_cr_digits
17987 ECHO_C
= ECHO_N
= ECHO_T
=
17988 case `echo -n x` in #(((((
17990 case `echo 'xy\c'` in
17991 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
17993 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
18000 rm -f conf$$ conf$$.exe conf$$.
file
18001 if test -d conf$$.dir
; then
18002 rm -f conf$$.dir
/conf$$.
file
18005 mkdir conf$$.dir
2>/dev
/null
18007 if (echo >conf$$.
file) 2>/dev
/null
; then
18008 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
18010 # ... but there are two gotchas:
18011 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18012 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18013 # In both cases, we have to default to `cp -pR'.
18014 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
18016 elif ln conf$$.
file conf$$
2>/dev
/null
; then
18024 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
18025 rmdir conf$$.dir
2>/dev
/null
18030 # Create "$as_dir" as a directory, including parents if necessary.
18035 -*) as_dir
=.
/$as_dir;;
18037 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
18041 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18042 *) as_qdir
=$as_dir;;
18044 as_dirs
="'$as_qdir' $as_dirs"
18045 as_dir
=`$as_dirname -- "$as_dir" ||
18046 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18047 X"$as_dir" : 'X\(//\)[^/]' \| \
18048 X"$as_dir" : 'X\(//\)$' \| \
18049 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18050 $as_echo X"$as_dir" |
18051 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18055 /^X\(\/\/\)[^/].*/{
18068 test -d "$as_dir" && break
18070 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
18071 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
18075 if mkdir
-p .
2>/dev
/null
; then
18076 as_mkdir_p
='mkdir -p "$as_dir"'
18078 test -d .
/-p && rmdir .
/-p
18083 # as_fn_executable_p FILE
18084 # -----------------------
18085 # Test if FILE is an executable regular file.
18086 as_fn_executable_p
()
18088 test -f "$1" && test -x "$1"
18089 } # as_fn_executable_p
18090 as_test_x
='test -x'
18091 as_executable_p
=as_fn_executable_p
18093 # Sed expression to map a string onto a valid CPP name.
18094 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18096 # Sed expression to map a string onto a valid variable name.
18097 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18101 ## ----------------------------------- ##
18102 ## Main body of $CONFIG_STATUS script. ##
18103 ## ----------------------------------- ##
18105 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
18107 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18108 # Save the log message, to keep $0 and so on meaningful, and to
18109 # report actual input values of CONFIG_FILES etc. instead of their
18110 # values after options handling.
18112 This file was extended by ld $as_me 2.41.50, which was
18113 generated by GNU Autoconf 2.69. Invocation command line was
18115 CONFIG_FILES = $CONFIG_FILES
18116 CONFIG_HEADERS = $CONFIG_HEADERS
18117 CONFIG_LINKS = $CONFIG_LINKS
18118 CONFIG_COMMANDS = $CONFIG_COMMANDS
18121 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18126 case $ac_config_files in *"
18127 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
18130 case $ac_config_headers in *"
18131 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
18135 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18136 # Files that config.status was made for.
18137 config_files="$ac_config_files"
18138 config_headers="$ac_config_headers"
18139 config_commands="$ac_config_commands"
18143 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18145 \`$as_me' instantiates files and other configuration actions
18146 from templates according to the current configuration. Unless the files
18147 and actions are specified as TAGs, all are instantiated by default.
18149 Usage: $0 [OPTION]... [TAG]...
18151 -h, --help print this help, then exit
18152 -V, --version print version number and configuration settings, then exit
18153 --config print configuration, then exit
18154 -q, --quiet, --silent
18155 do not print progress messages
18156 -d, --debug don't remove temporary files
18157 --recheck update $as_me by reconfiguring in the same conditions
18158 --file=FILE[:TEMPLATE]
18159 instantiate the configuration file FILE
18160 --header=FILE[:TEMPLATE]
18161 instantiate the configuration header FILE
18163 Configuration files:
18166 Configuration headers:
18169 Configuration commands:
18172 Report bugs to the package provider."
18175 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18176 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18178 ld config.status 2.41.50
18179 configured by $0, generated by GNU Autoconf 2.69,
18180 with options \\"\$ac_cs_config\\"
18182 Copyright (C) 2012 Free Software Foundation, Inc.
18183 This config.status script is free software; the Free Software Foundation
18184 gives unlimited permission to copy, distribute and modify it."
18191 test -n "\$AWK" || AWK=awk
18194 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18195 # The default lists apply if the user does not specify any file.
18201 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18202 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
18206 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18218 # Handling of the options.
18219 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
18221 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
18222 $as_echo "$ac_cs_version"; exit ;;
18223 --config |
--confi |
--conf |
--con |
--co |
--c )
18224 $as_echo "$ac_cs_config"; exit ;;
18225 --debug |
--debu |
--deb |
--de |
--d |
-d )
18227 --file |
--fil |
--fi |
--f )
18230 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18231 '') as_fn_error $?
"missing file argument" ;;
18233 as_fn_append CONFIG_FILES
" '$ac_optarg'"
18234 ac_need_defaults
=false
;;
18235 --header |
--heade |
--head |
--hea )
18238 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18240 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
18241 ac_need_defaults
=false
;;
18243 # Conflict between --help and --header
18244 as_fn_error $?
"ambiguous option: \`$1'
18245 Try \`$0 --help' for more information.";;
18246 --help |
--hel |
-h )
18247 $as_echo "$ac_cs_usage"; exit ;;
18248 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
18249 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
18252 # This is an error.
18253 -*) as_fn_error $?
"unrecognized option: \`$1'
18254 Try \`$0 --help' for more information." ;;
18256 *) as_fn_append ac_config_targets
" $1"
18257 ac_need_defaults
=false
;;
18263 ac_configure_extra_args
=
18265 if $ac_cs_silent; then
18267 ac_configure_extra_args
="$ac_configure_extra_args --silent"
18271 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18272 if \$ac_cs_recheck; then
18273 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18275 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18276 CONFIG_SHELL='$SHELL'
18277 export CONFIG_SHELL
18282 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18286 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18287 ## Running $as_me. ##
18293 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18297 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
18300 # The HP-UX ksh and POSIX shell print the target directory to stdout
18301 # if CDPATH is set.
18302 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18304 sed_quote_subst='$sed_quote_subst'
18305 double_quote_subst='$double_quote_subst'
18306 delay_variable_subst='$delay_variable_subst'
18307 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
18308 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
18309 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
18310 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
18311 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
18312 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
18313 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
18314 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
18315 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
18316 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
18317 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
18318 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
18319 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
18320 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
18321 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
18322 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
18323 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
18324 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
18325 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
18326 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
18327 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
18328 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
18329 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
18330 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
18331 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
18332 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
18333 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
18334 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
18335 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
18336 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
18337 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
18338 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
18339 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
18340 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
18341 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
18342 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
18343 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
18344 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
18345 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
18346 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
18347 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
18348 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
18349 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
18350 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
18351 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
18352 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
18353 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
18354 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
18355 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"`'
18356 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
18357 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
18358 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
18359 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
18360 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
18361 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
18362 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
18363 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
18364 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
18365 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
18366 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
18367 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
18368 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
18369 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
18370 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
18371 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
18372 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
18373 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
18374 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
18375 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
18376 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
18377 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
18378 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
18379 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
18380 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
18381 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
18382 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
18383 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
18384 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
18385 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
18386 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
18387 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
18388 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
18389 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
18390 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
18391 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
18392 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
18393 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
18394 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
18395 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
18396 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
18397 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
18398 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
18399 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
18400 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
18401 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
18402 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
18403 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
18404 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
18405 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
18406 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
18407 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
18408 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
18409 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
18410 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
18411 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
18412 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
18413 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
18414 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
18415 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
18416 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
18417 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
18418 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
18419 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
18420 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
18421 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
18422 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
18423 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
18424 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
18425 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
18426 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
18427 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
18428 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
18429 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
18430 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
18431 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
18432 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
18433 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
18434 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
18435 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18436 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18437 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
18438 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
18439 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
18440 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
18441 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
18442 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
18443 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
18444 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
18445 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
18446 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
18447 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
18448 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
18449 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18450 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18451 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18452 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18453 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18454 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18455 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
18456 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
18457 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
18458 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
18459 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
18460 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
18461 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
18462 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
18463 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
18464 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
18465 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
18466 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
18467 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
18468 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
18469 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
18470 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18471 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
18472 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
18473 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18474 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
18475 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
18476 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
18477 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
18478 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
18479 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
18480 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
18481 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
18484 LTCFLAGS='$LTCFLAGS'
18485 compiler='$compiler_DEFAULT'
18487 # A function that is used when there is no print builtin or printf.
18488 func_fallback_echo ()
18490 eval 'cat <<_LTECHO_EOF
18495 # Quote evaled strings.
18509 deplibs_check_method \
18518 lt_cv_sys_global_symbol_pipe \
18519 lt_cv_sys_global_symbol_to_cdecl \
18520 lt_cv_sys_global_symbol_to_c_name_address \
18521 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
18522 lt_prog_compiler_no_builtin_flag \
18523 lt_prog_compiler_wl \
18524 lt_prog_compiler_pic \
18525 lt_prog_compiler_static \
18526 lt_cv_prog_compiler_c_o \
18534 export_dynamic_flag_spec \
18535 whole_archive_flag_spec \
18536 compiler_needs_object \
18538 allow_undefined_flag \
18539 no_undefined_flag \
18540 hardcode_libdir_flag_spec \
18541 hardcode_libdir_flag_spec_ld \
18542 hardcode_libdir_separator \
18547 variables_saved_for_relink \
18549 library_names_spec \
18551 install_override_mode \
18555 compiler_lib_search_dirs \
18560 compiler_lib_search_path \
18564 lt_prog_compiler_no_builtin_flag_CXX \
18565 lt_prog_compiler_wl_CXX \
18566 lt_prog_compiler_pic_CXX \
18567 lt_prog_compiler_static_CXX \
18568 lt_cv_prog_compiler_c_o_CXX \
18569 export_dynamic_flag_spec_CXX \
18570 whole_archive_flag_spec_CXX \
18571 compiler_needs_object_CXX \
18573 allow_undefined_flag_CXX \
18574 no_undefined_flag_CXX \
18575 hardcode_libdir_flag_spec_CXX \
18576 hardcode_libdir_flag_spec_ld_CXX \
18577 hardcode_libdir_separator_CXX \
18578 fix_srcfile_path_CXX \
18579 exclude_expsyms_CXX \
18580 include_expsyms_CXX \
18581 file_list_spec_CXX \
18582 compiler_lib_search_dirs_CXX \
18583 predep_objects_CXX \
18584 postdep_objects_CXX \
18587 compiler_lib_search_path_CXX; do
18588 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18589 *[\\\\\\\`\\"\\\$]*)
18590 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
18593 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18598 # Double-quote double-evaled strings.
18599 for var in reload_cmds \
18600 old_postinstall_cmds \
18601 old_postuninstall_cmds \
18603 extract_expsyms_cmds \
18604 old_archive_from_new_cmds \
18605 old_archive_from_expsyms_cmds \
18607 archive_expsym_cmds \
18609 module_expsym_cmds \
18610 export_symbols_cmds \
18613 postuninstall_cmds \
18615 sys_lib_search_path_spec \
18616 sys_lib_dlsearch_path_spec \
18618 old_archive_cmds_CXX \
18619 old_archive_from_new_cmds_CXX \
18620 old_archive_from_expsyms_cmds_CXX \
18622 archive_expsym_cmds_CXX \
18624 module_expsym_cmds_CXX \
18625 export_symbols_cmds_CXX \
18626 prelink_cmds_CXX; do
18627 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18628 *[\\\\\\\`\\"\\\$]*)
18629 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
18632 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18637 ac_aux_dir='$ac_aux_dir'
18638 xsi_shell='$xsi_shell'
18639 lt_shell_append='$lt_shell_append'
18641 # See if we are running on zsh, and set the options which allow our
18642 # commands through without removal of \ escapes INIT.
18643 if test -n "\${ZSH_VERSION+set}" ; then
18644 setopt NO_GLOB_SUBST
18650 TIMESTAMP='$TIMESTAMP'
18658 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
18659 # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
18661 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
18662 # Capture the value of LINGUAS because we need it to compute CATALOGS.
18663 LINGUAS="${LINGUAS-%UNSET%}"
18669 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18671 # Handling of arguments.
18672 for ac_config_target
in $ac_config_targets
18674 case $ac_config_target in
18675 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
18676 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
18677 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
18678 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
18679 "default") CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
18680 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
18681 "po/Makefile.in") CONFIG_FILES
="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
18683 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18688 # If the user did not use the arguments to specify the items to instantiate,
18689 # then the envvar interface is used. Set only those that are not.
18690 # We use the long form for the default assignment because of an extremely
18691 # bizarre bug on SunOS 4.1.3.
18692 if $ac_need_defaults; then
18693 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
18694 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
18695 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
18698 # Have a temporary directory for convenience. Make it in the build tree
18699 # simply because there is no reason against having it here, and in addition,
18700 # creating and moving files from /tmp can sometimes cause problems.
18701 # Hook for its removal unless debugging.
18702 # Note that there is a small window in which the directory will not be cleaned:
18703 # after its creation but before its name has been assigned to `$tmp'.
18707 trap 'exit_status=$?
18708 : "${ac_tmp:=$tmp}"
18709 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18711 trap 'as_fn_exit 1' 1 2 13 15
18713 # Create a (secure) tmp directory for tmp files.
18716 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18720 tmp
=.
/conf$$
-$RANDOM
18721 (umask 077 && mkdir
"$tmp")
18722 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
18725 # Set up the scripts for CONFIG_FILES section.
18726 # No need to generate them if there are no CONFIG_FILES.
18727 # This happens for instance with `./config.status config.h'.
18728 if test -n "$CONFIG_FILES"; then
18731 ac_cr
=`echo X | tr X '\015'`
18732 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18733 # But we know of no other shell where ac_cr would be empty at this
18734 # point, so we can use a bashism as a fallback.
18735 if test "x$ac_cr" = x
; then
18736 eval ac_cr
=\$
\'\\r
\'
18738 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18739 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18742 ac_cs_awk_cr
=$ac_cr
18745 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18750 echo "cat >conf$$subs.awk <<_ACEOF" &&
18751 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18753 } >conf$$subs.sh ||
18754 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18755 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18757 for ac_last_try in false false false false false :; do
18758 . ./conf$$subs.sh ||
18759 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18761 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
18762 if test $ac_delim_n = $ac_delim_num; then
18764 elif $ac_last_try; then
18765 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18767 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18770 rm -f conf$$subs.sh
18772 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18773 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
18777 s/^/S["/; s
/!.
*/"]=/
18787 s/\(.\{148\}\)..*/\1/
18789 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
18794 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18801 s/\(.\{148\}\)..*/\1/
18803 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
18807 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18812 ' <conf$$subs.awk | sed '
18817 ' >>$CONFIG_STATUS || ac_write_fail=1
18818 rm -f conf$$subs.awk
18819 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18821 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
18822 for (key in S) S_is_set[key] = 1
18828 nfields = split(line, field, "@
")
18830 len = length(field[1])
18831 for (i = 2; i < nfields; i++) {
18833 keylen = length(key)
18834 if (S_is_set[key]) {
18836 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18837 len += length(value) + length(field[++i])
18848 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18849 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18850 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
18853 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
18854 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
18857 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18858 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
18859 # trailing colons and then remove the whole line if VPATH becomes empty
18860 # (actually we leave an empty line to preserve line numbers).
18861 if test "x
$srcdir" = x.; then
18862 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18880 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18881 fi # test -n "$CONFIG_FILES"
18883 # Set up the scripts for CONFIG_HEADERS section.
18884 # No need to generate them if there are no CONFIG_HEADERS.
18885 # This happens for instance with `./config.status Makefile'.
18886 if test -n "$CONFIG_HEADERS"; then
18887 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
18891 # Transform confdefs.h into an awk script `defines.awk', embedded as
18892 # here-document in config.status, that substitutes the proper values into
18893 # config.h.in to produce config.h.
18895 # Create a delimiter string that does not exist in confdefs.h, to ease
18896 # handling of long lines.
18898 for ac_last_try in false false :; do
18899 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
18900 if test -z "$ac_tt"; then
18902 elif $ac_last_try; then
18903 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
18905 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18909 # For the awk script, D is an array of macro values keyed by name,
18910 # likewise P contains macro parameters if any. Preserve backslash
18911 # newline sequences.
18913 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18915 s/.\{148\}/&'"$ac_delim"'/g
18918 s/^[ ]*#[ ]*define[ ][ ]*/ /
18925 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
18927 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
18931 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
18932 D["\
1"]=" \
3\\\\\\n
"\\/p
18934 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
18939 s/.\{148\}/&'"$ac_delim"'/g
18944 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
18947 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
18949 ' <confdefs.h | sed '
18950 s/'"$ac_delim"'/"\\\
18951 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18953 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18954 for (key in D) D_is_set[key] = 1
18957 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18959 split(line, arg, " ")
18960 if (arg[1] == "#") {
18964 defundef
= substr
(arg
[1], 2)
18967 split(mac1
, mac2
, "(") #)
18969 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
18970 if (D_is_set
[macro
]) {
18971 # Preserve the white space surrounding the "#".
18972 print prefix
"define", macro P
[macro
] D
[macro
]
18975 # Replace #undef with comments. This is necessary, for example,
18976 # in the case of _POSIX_SOURCE, which is predefined and required
18977 # on some systems where configure will not decide to define it.
18978 if (defundef
== "undef") {
18979 print
"/*", prefix defundef
, macro
, "*/"
18987 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18988 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
18989 fi # test -n "$CONFIG_HEADERS"
18992 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
18997 :[FHLC
]) ac_mode
=$ac_tag; continue;;
18999 case $ac_mode$ac_tag in
19001 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
19002 :[FH
]-) ac_tag
=-:-;;
19003 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
19020 -) ac_f
="$ac_tmp/stdin";;
19021 *) # Look for the file first in the build tree, then in the source tree
19022 # (if the path is not absolute). The absolute path cannot be DOS-style,
19023 # because $ac_f cannot contain `:'.
19027 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
19029 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19031 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19032 as_fn_append ac_file_inputs
" '$ac_f'"
19035 # Let's still pretend it is `configure' which instantiates (i.e., don't
19036 # use $as_me), people would be surprised to read:
19037 # /* config.h. Generated by config.status. */
19038 configure_input
='Generated from '`
19039 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19041 if test x
"$ac_file" != x-
; then
19042 configure_input
="$ac_file. $configure_input"
19043 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19044 $as_echo "$as_me: creating $ac_file" >&6;}
19046 # Neutralize special characters interpreted by sed in replacement strings.
19047 case $configure_input in #(
19048 *\
&* |
*\|
* |
*\\* )
19049 ac_sed_conf_input
=`$as_echo "$configure_input" |
19050 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19051 *) ac_sed_conf_input
=$configure_input;;
19055 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
19056 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
19061 ac_dir
=`$as_dirname -- "$ac_file" ||
19062 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19063 X"$ac_file" : 'X\(//\)[^/]' \| \
19064 X"$ac_file" : 'X\(//\)$' \| \
19065 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19066 $as_echo X"$ac_file" |
19067 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19071 /^X\(\/\/\)[^/].*/{
19084 as_dir
="$ac_dir"; as_fn_mkdir_p
19088 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
19090 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19091 # A ".." for each directory in $ac_dir_suffix.
19092 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19093 case $ac_top_builddir_sub in
19094 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
19095 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
19098 ac_abs_top_builddir
=$ac_pwd
19099 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
19100 # for backward compatibility:
19101 ac_top_builddir
=$ac_top_build_prefix
19104 .
) # We are building in place.
19106 ac_top_srcdir
=$ac_top_builddir_sub
19107 ac_abs_top_srcdir
=$ac_pwd ;;
19108 [\\/]* | ?
:[\\/]* ) # Absolute name.
19109 ac_srcdir
=$srcdir$ac_dir_suffix;
19110 ac_top_srcdir
=$srcdir
19111 ac_abs_top_srcdir
=$srcdir ;;
19112 *) # Relative name.
19113 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
19114 ac_top_srcdir
=$ac_top_build_prefix$srcdir
19115 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
19117 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
19127 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
19128 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
19130 ac_MKDIR_P
=$MKDIR_P
19132 [\\/$
]* | ?
:[\\/]* ) ;;
19133 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
19137 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19138 # If the template does not know about datarootdir, expand it.
19139 # FIXME: This hack should be removed a few years after 2.60.
19140 ac_datarootdir_hack
=; ac_datarootdir_seen
=
19151 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19152 *datarootdir
*) ac_datarootdir_seen
=yes;;
19153 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
19154 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19155 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19157 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19158 ac_datarootdir_hack='
19159 s&@datadir@&$datadir&g
19160 s&@docdir@&$docdir&g
19161 s&@infodir@&$infodir&g
19162 s&@localedir@&$localedir&g
19163 s&@mandir@&$mandir&g
19164 s&\\\${datarootdir}&$datarootdir&g' ;;
19168 # Neutralize VPATH when `$srcdir' = `.'.
19169 # Shell code in configure.ac might set extrasub.
19170 # FIXME: do we really want to maintain this feature?
19171 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19172 ac_sed_extra="$ac_vpsub
19175 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19177 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
19178 s|@configure_input@|
$ac_sed_conf_input|
;t t
19179 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
19180 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
19181 s
&@srcdir@
&$ac_srcdir&;t t
19182 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
19183 s
&@top_srcdir@
&$ac_top_srcdir&;t t
19184 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
19185 s
&@builddir@
&$ac_builddir&;t t
19186 s
&@abs_builddir@
&$ac_abs_builddir&;t t
19187 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
19188 s
&@INSTALL@
&$ac_INSTALL&;t t
19189 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
19190 $ac_datarootdir_hack
19192 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
19193 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
19195 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19196 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
19197 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19198 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
19199 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
19200 which seems to be undefined. Please make sure it is defined" >&5
19201 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
19202 which seems to be undefined. Please make sure it is defined" >&2;}
19204 rm -f "$ac_tmp/stdin"
19206 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19207 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19209 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19215 if test x"$ac_file" != x-; then
19217 $as_echo "/* $configure_input */" \
19218 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19219 } >"$ac_tmp/config.h" \
19220 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19221 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19222 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19223 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19226 mv "$ac_tmp/config.h" "$ac_file" \
19227 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19230 $as_echo "/* $configure_input */" \
19231 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19232 || as_fn_error $? "could not create -" "$LINENO" 5
19234 # Compute "$ac_file"'s index
in $config_headers.
19237 for _am_header
in $config_headers :; do
19238 case $_am_header in
19239 $_am_arg |
$_am_arg:* )
19242 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
19245 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
19246 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19247 X"$_am_arg" : 'X\(//\)[^/]' \| \
19248 X"$_am_arg" : 'X\(//\)$' \| \
19249 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
19250 $as_echo X"$_am_arg" |
19251 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19255 /^X\(\/\/\)[^/].*/{
19267 s/.*/./; q'`/stamp-h
$_am_stamp_count
19270 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19271 $as_echo "$as_me: executing $ac_file commands" >&6;}
19276 case $ac_file$ac_mode in
19277 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
19278 # Older Autoconf quotes --file arguments for eval, but not when files
19279 # are listed without --file. Let's play safe and only enable the eval
19280 # if we detect the quoting.
19281 case $CONFIG_FILES in
19282 *\'*) eval set x
"$CONFIG_FILES" ;;
19283 *) set x
$CONFIG_FILES ;;
19288 # Strip MF so we end up with the name of the file.
19289 mf
=`echo "$mf" | sed -e 's/:.*$//'`
19290 # Check whether this is an Automake generated Makefile or not.
19291 # We used to match only the files named 'Makefile.in', but
19292 # some people rename them; so instead we look at the file content.
19293 # Grep'ing the first line is not enough: some people post-process
19294 # each Makefile.in and add a new line on top of each file to say so.
19295 # Grep'ing the whole file is not good either: AIX grep has a line
19296 # limit of 2048, but all sed's we know have understand at least 4000.
19297 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
19298 dirpart
=`$as_dirname -- "$mf" ||
19299 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19300 X"$mf" : 'X\(//\)[^/]' \| \
19301 X"$mf" : 'X\(//\)$' \| \
19302 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
19304 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19308 /^X\(\/\/\)[^/].*/{
19324 # Extract the definition of DEPDIR, am__include, and am__quote
19325 # from the Makefile without running 'make'.
19326 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
19327 test -z "$DEPDIR" && continue
19328 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
19329 test -z "$am__include" && continue
19330 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
19331 # Find all dependency output files, they are included files with
19332 # $(DEPDIR) in their names. We invoke sed twice because it is the
19333 # simplest approach to changing $(DEPDIR) to its actual value in the
19335 for file in `sed -n "
19336 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
19337 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
19338 # Make sure the directory exists.
19339 test -f "$dirpart/$file" && continue
19340 fdir
=`$as_dirname -- "$file" ||
19341 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19342 X"$file" : 'X\(//\)[^/]' \| \
19343 X"$file" : 'X\(//\)$' \| \
19344 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
19345 $as_echo X"$file" |
19346 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19350 /^X\(\/\/\)[^/].*/{
19363 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
19364 # echo "creating $dirpart/$file"
19365 echo '# dummy' > "$dirpart/$file"
19372 # See if we are running on zsh, and set the options which allow our
19373 # commands through without removal of \ escapes.
19374 if test -n "${ZSH_VERSION+set}" ; then
19375 setopt NO_GLOB_SUBST
19378 cfgfile
="${ofile}T"
19379 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
19382 cat <<_LT_EOF >> "$cfgfile"
19385 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
19386 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
19387 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19388 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
19390 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
19391 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
19392 # Written by Gordon Matzigkeit, 1996
19394 # This file is part of GNU Libtool.
19396 # GNU Libtool is free software; you can redistribute it and/or
19397 # modify it under the terms of the GNU General Public License as
19398 # published by the Free Software Foundation; either version 2 of
19399 # the License, or (at your option) any later version.
19401 # As a special exception to the GNU General Public License,
19402 # if you distribute this file as part of a program or library that
19403 # is built using GNU Libtool, you may include this file under the
19404 # same distribution terms that you use for the rest of that program.
19406 # GNU Libtool is distributed in the hope that it will be useful,
19407 # but WITHOUT ANY WARRANTY; without even the implied warranty of
19408 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19409 # GNU General Public License for more details.
19411 # You should have received a copy of the GNU General Public License
19412 # along with GNU Libtool; see the file COPYING. If not, a copy
19413 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
19414 # obtained by writing to the Free Software Foundation, Inc.,
19415 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
19418 # The names of the tagged configurations supported by this script.
19419 available_tags="CXX "
19421 # ### BEGIN LIBTOOL CONFIG
19423 # Which release of libtool.m4 was used?
19424 macro_version=$macro_version
19425 macro_revision=$macro_revision
19427 # Whether or not to build shared libraries.
19428 build_libtool_libs=$enable_shared
19430 # Whether or not to build static libraries.
19431 build_old_libs=$enable_static
19433 # What type of objects to build.
19436 # Whether or not to optimize for fast installation.
19437 fast_install=$enable_fast_install
19439 # Shell to use when invoking shell scripts.
19442 # An echo program that protects backslashes.
19446 host_alias=$host_alias
19450 # The build system.
19451 build_alias=$build_alias
19455 # A sed program that does not truncate output.
19458 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
19459 Xsed="\$SED -e 1s/^X//"
19461 # A grep program that handles long lines.
19467 # A literal string matcher.
19470 # A BSD- or MS-compatible name lister.
19473 # Whether we need soft or hard links.
19476 # What is the maximum length of a command?
19477 max_cmd_len=$max_cmd_len
19479 # Object file suffix (normally "o").
19482 # Executable file suffix (normally "").
19485 # whether the shell understands "unset".
19488 # turn spaces into newlines.
19491 # turn newlines into spaces.
19494 # An object symbol dumper.
19495 OBJDUMP=$lt_OBJDUMP
19497 # Method to check whether dependent libraries are shared objects.
19498 deplibs_check_method=$lt_deplibs_check_method
19500 # Command to use when deplibs_check_method == "file_magic".
19501 file_magic_cmd=$lt_file_magic_cmd
19505 AR_FLAGS=$lt_AR_FLAGS
19507 # A symbol stripping program.
19510 # Commands used to install an old-style archive.
19512 old_postinstall_cmds=$lt_old_postinstall_cmds
19513 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19515 # Whether to use a lock for old archive extraction.
19516 lock_old_archive_extraction=$lock_old_archive_extraction
19521 # LTCC compiler flags.
19522 LTCFLAGS=$lt_CFLAGS
19524 # Take the output of nm and produce a listing of raw symbols and C names.
19525 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19527 # Transform the output of nm in a proper C declaration.
19528 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19530 # Transform the output of nm in a C name address pair.
19531 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19533 # Transform the output of nm in a C name address pair when lib prefix is needed.
19534 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
19536 # The name of the directory that contains temporary libtool files.
19539 # Used to examine libraries when file_magic_cmd begins with "file".
19540 MAGIC_CMD=$MAGIC_CMD
19542 # Must we lock files when doing compilation?
19543 need_locks=$lt_need_locks
19545 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
19546 DSYMUTIL=$lt_DSYMUTIL
19548 # Tool to change global to local symbols on Mac OS X.
19551 # Tool to manipulate fat objects and archives on Mac OS X.
19554 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
19557 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
19558 OTOOL64=$lt_OTOOL64
19560 # Old archive suffix (normally "a").
19563 # Shared library suffix (normally ".so").
19564 shrext_cmds=$lt_shrext_cmds
19566 # The commands to extract the exported symbol list from a shared archive.
19567 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19569 # Variables whose values should be saved in libtool wrapper scripts and
19570 # restored at link time.
19571 variables_saved_for_relink=$lt_variables_saved_for_relink
19573 # Do we need the "lib" prefix for modules?
19574 need_lib_prefix=$need_lib_prefix
19576 # Do we need a version for libraries?
19577 need_version=$need_version
19579 # Library versioning type.
19580 version_type=$version_type
19582 # Shared library runtime path variable.
19583 runpath_var=$runpath_var
19585 # Shared library path variable.
19586 shlibpath_var=$shlibpath_var
19588 # Is shlibpath searched before the hard-coded library search path?
19589 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19591 # Format of library name prefix.
19592 libname_spec=$lt_libname_spec
19594 # List of archive names. First name is the real one, the rest are links.
19595 # The last name is the one that the linker finds with -lNAME
19596 library_names_spec=$lt_library_names_spec
19598 # The coded name of the library, if different from the real name.
19599 soname_spec=$lt_soname_spec
19601 # Permission mode override for installation of shared libraries.
19602 install_override_mode=$lt_install_override_mode
19604 # Command to use after installation of a shared archive.
19605 postinstall_cmds=$lt_postinstall_cmds
19607 # Command to use after uninstallation of a shared archive.
19608 postuninstall_cmds=$lt_postuninstall_cmds
19610 # Commands used to finish a libtool library installation in a directory.
19611 finish_cmds=$lt_finish_cmds
19613 # As "finish_cmds", except a single script fragment to be evaled but
19615 finish_eval=$lt_finish_eval
19617 # Whether we should hardcode library paths into libraries.
19618 hardcode_into_libs=$hardcode_into_libs
19620 # Compile-time system search path for libraries.
19621 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19623 # Run-time system search path for libraries.
19624 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19626 # Whether dlopen is supported.
19627 dlopen_support=$enable_dlopen
19629 # Whether dlopen of programs is supported.
19630 dlopen_self=$enable_dlopen_self
19632 # Whether dlopen of statically linked programs is supported.
19633 dlopen_self_static=$enable_dlopen_self_static
19635 # Commands to strip libraries.
19636 old_striplib=$lt_old_striplib
19637 striplib=$lt_striplib
19640 # The linker used to build libraries.
19643 # How to create reloadable object files.
19644 reload_flag=$lt_reload_flag
19645 reload_cmds=$lt_reload_cmds
19647 # Commands used to build an old-style archive.
19648 old_archive_cmds=$lt_old_archive_cmds
19650 # A language specific compiler.
19653 # Is the compiler the GNU compiler?
19656 # Compiler flag to turn off builtin functions.
19657 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
19659 # How to pass a linker flag through the compiler.
19660 wl=$lt_lt_prog_compiler_wl
19662 # Additional compiler flags for building library objects.
19663 pic_flag=$lt_lt_prog_compiler_pic
19665 # Compiler flag to prevent dynamic linking.
19666 link_static_flag=$lt_lt_prog_compiler_static
19668 # Does compiler simultaneously support -c and -o options?
19669 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
19671 # Whether or not to add -lc for building shared libraries.
19672 build_libtool_need_lc=$archive_cmds_need_lc
19674 # Whether or not to disallow shared libs when runtime libs are static.
19675 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
19677 # Compiler flag to allow reflexive dlopens.
19678 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
19680 # Compiler flag to generate shared objects directly from archives.
19681 whole_archive_flag_spec=$lt_whole_archive_flag_spec
19683 # Whether the compiler copes with passing no objects directly.
19684 compiler_needs_object=$lt_compiler_needs_object
19686 # Create an old-style archive from a shared archive.
19687 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
19689 # Create a temporary old-style archive to link instead of a shared archive.
19690 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
19692 # Commands used to build a shared archive.
19693 archive_cmds=$lt_archive_cmds
19694 archive_expsym_cmds=$lt_archive_expsym_cmds
19696 # Commands used to build a loadable module if different from building
19697 # a shared archive.
19698 module_cmds=$lt_module_cmds
19699 module_expsym_cmds=$lt_module_expsym_cmds
19701 # Whether we are building with GNU ld or not.
19702 with_gnu_ld=$lt_with_gnu_ld
19704 # Flag that allows shared libraries with undefined symbols to be built.
19705 allow_undefined_flag=$lt_allow_undefined_flag
19707 # Flag that enforces no undefined symbols.
19708 no_undefined_flag=$lt_no_undefined_flag
19710 # Flag to hardcode \$libdir into a binary during linking.
19711 # This must work even if \$libdir does not exist
19712 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
19714 # If ld is used when linking, flag to hardcode \$libdir into a binary
19715 # during linking. This must work even if \$libdir does not exist.
19716 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
19718 # Whether we need a single "-rpath" flag with a separated argument.
19719 hardcode_libdir_separator=$lt_hardcode_libdir_separator
19721 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19722 # DIR into the resulting binary.
19723 hardcode_direct=$hardcode_direct
19725 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19726 # DIR into the resulting binary and the resulting library dependency is
19727 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
19728 # library is relocated.
19729 hardcode_direct_absolute=$hardcode_direct_absolute
19731 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
19732 # into the resulting binary.
19733 hardcode_minus_L=$hardcode_minus_L
19735 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19736 # into the resulting binary.
19737 hardcode_shlibpath_var=$hardcode_shlibpath_var
19739 # Set to "yes" if building a shared library automatically hardcodes DIR
19740 # into the library and all subsequent libraries and executables linked
19742 hardcode_automatic=$hardcode_automatic
19744 # Set to yes if linker adds runtime paths of dependent libraries
19745 # to runtime path list.
19746 inherit_rpath=$inherit_rpath
19748 # Whether libtool must link a program against all its dependency libraries.
19749 link_all_deplibs=$link_all_deplibs
19751 # Fix the shell variable \$srcfile for the compiler.
19752 fix_srcfile_path=$lt_fix_srcfile_path
19754 # Set to "yes" if exported symbols are required.
19755 always_export_symbols=$always_export_symbols
19757 # The commands to list exported symbols.
19758 export_symbols_cmds=$lt_export_symbols_cmds
19760 # Symbols that should not be listed in the preloaded symbols.
19761 exclude_expsyms=$lt_exclude_expsyms
19763 # Symbols that must always be exported.
19764 include_expsyms=$lt_include_expsyms
19766 # Commands necessary for linking programs (against libraries) with templates.
19767 prelink_cmds=$lt_prelink_cmds
19769 # Specify filename containing input files.
19770 file_list_spec=$lt_file_list_spec
19772 # How to hardcode a shared library path into an executable.
19773 hardcode_action=$hardcode_action
19775 # The directories searched by this compiler when creating a shared library.
19776 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
19778 # Dependencies to place before and after the objects being linked to
19779 # create a shared library.
19780 predep_objects=$lt_predep_objects
19781 postdep_objects=$lt_postdep_objects
19782 predeps=$lt_predeps
19783 postdeps=$lt_postdeps
19785 # The library search path used internally by the compiler when linking
19786 # a shared library.
19787 compiler_lib_search_path=$lt_compiler_lib_search_path
19789 # ### END LIBTOOL CONFIG
19795 cat <<\_LT_EOF
>> "$cfgfile"
19796 # AIX sometimes has problems with the GCC collect2 program. For some
19797 # reason, if we set the COLLECT_NAMES environment variable, the problems
19798 # vanish in a puff of smoke.
19799 if test "X${COLLECT_NAMES+set}" != Xset
; then
19801 export COLLECT_NAMES
19808 ltmain
="$ac_aux_dir/ltmain.sh"
19811 # We use sed instead of cat because bash on DJGPP gets confused if
19812 # if finds mixed CR/LF and LF-only lines. Since sed operates in
19813 # text mode, it properly converts lines to CR/LF. This bash problem
19814 # is reportedly fixed, but why not run on old versions too?
19815 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
19816 ||
(rm -f "$cfgfile"; exit 1)
19820 cat << \_LT_EOF
>> "$cfgfile"
19822 # func_dirname file append nondir_replacement
19823 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
19824 # otherwise set result to NONDIR_REPLACEMENT.
19828 */*) func_dirname_result
="${1%/*}${2}" ;;
19829 * ) func_dirname_result
="${3}" ;;
19833 # func_basename file
19836 func_basename_result
="${1##*/}"
19839 # func_dirname_and_basename file append nondir_replacement
19840 # perform func_basename and func_dirname in a single function
19842 # dirname: Compute the dirname of FILE. If nonempty,
19843 # add APPEND to the result, otherwise set result
19844 # to NONDIR_REPLACEMENT.
19845 # value returned in "$func_dirname_result"
19846 # basename: Compute filename of FILE.
19847 # value retuned in "$func_basename_result"
19848 # Implementation must be kept synchronized with func_dirname
19849 # and func_basename. For efficiency, we do not delegate to
19850 # those functions but instead duplicate the functionality here.
19851 func_dirname_and_basename
()
19854 */*) func_dirname_result
="${1%/*}${2}" ;;
19855 * ) func_dirname_result
="${3}" ;;
19857 func_basename_result
="${1##*/}"
19860 # func_stripname prefix suffix name
19861 # strip PREFIX and SUFFIX off of NAME.
19862 # PREFIX and SUFFIX must not contain globbing or regex special
19863 # characters, hashes, percent signs, but SUFFIX may contain a leading
19864 # dot (in which case that matches only a dot).
19867 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
19868 # positional parameters, so assign one to ordinary parameter first.
19869 func_stripname_result
=${3}
19870 func_stripname_result
=${func_stripname_result#"${1}"}
19871 func_stripname_result
=${func_stripname_result%"${2}"}
19877 func_opt_split_opt
=${1%%=*}
19878 func_opt_split_arg
=${1#*=}
19885 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
19886 *) func_lo2o_result
=${1} ;;
19890 # func_xform libobj-or-source
19893 func_xform_result
=${1%.*}.lo
19896 # func_arith arithmetic-term...
19899 func_arith_result
=$
(( $
* ))
19903 # STRING may not start with a hyphen.
19906 func_len_result
=${#1}
19911 *) # Bourne compatible functions.
19912 cat << \_LT_EOF
>> "$cfgfile"
19914 # func_dirname file append nondir_replacement
19915 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
19916 # otherwise set result to NONDIR_REPLACEMENT.
19919 # Extract subdirectory from the argument.
19920 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
19921 if test "X$func_dirname_result" = "X${1}"; then
19922 func_dirname_result
="${3}"
19924 func_dirname_result
="$func_dirname_result${2}"
19928 # func_basename file
19931 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
19935 # func_stripname prefix suffix name
19936 # strip PREFIX and SUFFIX off of NAME.
19937 # PREFIX and SUFFIX must not contain globbing or regex special
19938 # characters, hashes, percent signs, but SUFFIX may contain a leading
19939 # dot (in which case that matches only a dot).
19940 # func_strip_suffix prefix name
19944 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
19945 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
19950 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
19951 my_sed_long_arg
='1s/^-[^=]*=//'
19956 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
19957 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
19963 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
19966 # func_xform libobj-or-source
19969 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
19972 # func_arith arithmetic-term...
19975 func_arith_result
=`expr "$@"`
19979 # STRING may not start with a hyphen.
19982 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
19988 case $lt_shell_append in
19990 cat << \_LT_EOF
>> "$cfgfile"
19992 # func_append var value
19993 # Append VALUE to the end of shell variable VAR.
20001 cat << \_LT_EOF
>> "$cfgfile"
20003 # func_append var value
20004 # Append VALUE to the end of shell variable VAR.
20015 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
20016 ||
(rm -f "$cfgfile"; exit 1)
20018 mv -f "$cfgfile" "$ofile" ||
20019 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
20023 cat <<_LT_EOF >> "$ofile"
20025 # ### BEGIN LIBTOOL TAG CONFIG: CXX
20027 # The linker used to build libraries.
20030 # How to create reloadable object files.
20031 reload_flag=$lt_reload_flag_CXX
20032 reload_cmds=$lt_reload_cmds_CXX
20034 # Commands used to build an old-style archive.
20035 old_archive_cmds=$lt_old_archive_cmds_CXX
20037 # A language specific compiler.
20038 CC=$lt_compiler_CXX
20040 # Is the compiler the GNU compiler?
20043 # Compiler flag to turn off builtin functions.
20044 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
20046 # How to pass a linker flag through the compiler.
20047 wl=$lt_lt_prog_compiler_wl_CXX
20049 # Additional compiler flags for building library objects.
20050 pic_flag=$lt_lt_prog_compiler_pic_CXX
20052 # Compiler flag to prevent dynamic linking.
20053 link_static_flag=$lt_lt_prog_compiler_static_CXX
20055 # Does compiler simultaneously support -c and -o options?
20056 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
20058 # Whether or not to add -lc for building shared libraries.
20059 build_libtool_need_lc=$archive_cmds_need_lc_CXX
20061 # Whether or not to disallow shared libs when runtime libs are static.
20062 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
20064 # Compiler flag to allow reflexive dlopens.
20065 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
20067 # Compiler flag to generate shared objects directly from archives.
20068 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
20070 # Whether the compiler copes with passing no objects directly.
20071 compiler_needs_object=$lt_compiler_needs_object_CXX
20073 # Create an old-style archive from a shared archive.
20074 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
20076 # Create a temporary old-style archive to link instead of a shared archive.
20077 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
20079 # Commands used to build a shared archive.
20080 archive_cmds=$lt_archive_cmds_CXX
20081 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
20083 # Commands used to build a loadable module if different from building
20084 # a shared archive.
20085 module_cmds=$lt_module_cmds_CXX
20086 module_expsym_cmds=$lt_module_expsym_cmds_CXX
20088 # Whether we are building with GNU ld or not.
20089 with_gnu_ld=$lt_with_gnu_ld_CXX
20091 # Flag that allows shared libraries with undefined symbols to be built.
20092 allow_undefined_flag=$lt_allow_undefined_flag_CXX
20094 # Flag that enforces no undefined symbols.
20095 no_undefined_flag=$lt_no_undefined_flag_CXX
20097 # Flag to hardcode \$libdir into a binary during linking.
20098 # This must work even if \$libdir does not exist
20099 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
20101 # If ld is used when linking, flag to hardcode \$libdir into a binary
20102 # during linking. This must work even if \$libdir does not exist.
20103 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
20105 # Whether we need a single "-rpath" flag with a separated argument.
20106 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
20108 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
20109 # DIR into the resulting binary.
20110 hardcode_direct=$hardcode_direct_CXX
20112 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
20113 # DIR into the resulting binary and the resulting library dependency is
20114 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
20115 # library is relocated.
20116 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
20118 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
20119 # into the resulting binary.
20120 hardcode_minus_L=$hardcode_minus_L_CXX
20122 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
20123 # into the resulting binary.
20124 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
20126 # Set to "yes" if building a shared library automatically hardcodes DIR
20127 # into the library and all subsequent libraries and executables linked
20129 hardcode_automatic=$hardcode_automatic_CXX
20131 # Set to yes if linker adds runtime paths of dependent libraries
20132 # to runtime path list.
20133 inherit_rpath=$inherit_rpath_CXX
20135 # Whether libtool must link a program against all its dependency libraries.
20136 link_all_deplibs=$link_all_deplibs_CXX
20138 # Fix the shell variable \$srcfile for the compiler.
20139 fix_srcfile_path=$lt_fix_srcfile_path_CXX
20141 # Set to "yes" if exported symbols are required.
20142 always_export_symbols=$always_export_symbols_CXX
20144 # The commands to list exported symbols.
20145 export_symbols_cmds=$lt_export_symbols_cmds_CXX
20147 # Symbols that should not be listed in the preloaded symbols.
20148 exclude_expsyms=$lt_exclude_expsyms_CXX
20150 # Symbols that must always be exported.
20151 include_expsyms=$lt_include_expsyms_CXX
20153 # Commands necessary for linking programs (against libraries) with templates.
20154 prelink_cmds=$lt_prelink_cmds_CXX
20156 # Specify filename containing input files.
20157 file_list_spec=$lt_file_list_spec_CXX
20159 # How to hardcode a shared library path into an executable.
20160 hardcode_action=$hardcode_action_CXX
20162 # The directories searched by this compiler when creating a shared library.
20163 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
20165 # Dependencies to place before and after the objects being linked to
20166 # create a shared library.
20167 predep_objects=$lt_predep_objects_CXX
20168 postdep_objects=$lt_postdep_objects_CXX
20169 predeps=$lt_predeps_CXX
20170 postdeps=$lt_postdeps_CXX
20172 # The library search path used internally by the compiler when linking
20173 # a shared library.
20174 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
20176 # ### END LIBTOOL TAG CONFIG: CXX
20181 for ac_file
in $CONFIG_FILES; do
20182 # Support "outfile[:infile[:infile...]]"
20184 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
20186 # PO directories have a Makefile.in generated from Makefile.in.in.
20187 case "$ac_file" in */Makefile.
in)
20188 # Adjust a relative srcdir.
20189 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
20190 ac_dir_suffix
=/`echo "$ac_dir"|sed 's%^\./%%'`
20191 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
20192 # In autoconf-2.13 it is called $ac_given_srcdir.
20193 # In autoconf-2.50 it is called $srcdir.
20194 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
20195 case "$ac_given_srcdir" in
20196 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
20197 /*) top_srcdir
="$ac_given_srcdir" ;;
20198 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
20200 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
20201 rm -f "$ac_dir/POTFILES"
20202 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" ||
echo "creating $ac_dir/POTFILES"
20203 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" |
sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," |
sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
20204 POMAKEFILEDEPS
="POTFILES.in"
20205 # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
20206 # on $ac_dir but don't depend on user-specified configuration
20208 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
20209 # The LINGUAS file contains the set of available languages.
20210 if test -n "$OBSOLETE_ALL_LINGUAS"; then
20211 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.ac is obsolete" ||
echo "setting ALL_LINGUAS in configure.ac is obsolete"
20213 ALL_LINGUAS_
=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
20214 # Hide the ALL_LINGUAS assigment from automake.
20215 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
20216 POMAKEFILEDEPS
="$POMAKEFILEDEPS LINGUAS"
20218 # The set of available languages was given in configure.ac.
20219 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
20221 case "$ac_given_srcdir" in
20223 *) srcdirpre
='$(srcdir)/' ;;
20229 for lang
in $ALL_LINGUAS; do
20230 POFILES
="$POFILES $srcdirpre$lang.po"
20231 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
20232 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
20233 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
20235 # CATALOGS depends on both $ac_dir and the user's LINGUAS
20236 # environment variable.
20238 if test -n "$ALL_LINGUAS"; then
20239 for presentlang
in $ALL_LINGUAS; do
20241 if test "%UNSET%" != "$LINGUAS"; then
20242 desiredlanguages
="$LINGUAS"
20244 desiredlanguages
="$ALL_LINGUAS"
20246 for desiredlang
in $desiredlanguages; do
20247 # Use the presentlang catalog if desiredlang is
20248 # a. equal to presentlang, or
20249 # b. a variant of presentlang (because in this case,
20250 # presentlang can be used as a fallback for messages
20251 # which are not translated in the desiredlang catalog).
20252 case "$desiredlang" in
20253 "$presentlang"*) useit
=yes;;
20256 if test $useit = yes; then
20257 INST_LINGUAS
="$INST_LINGUAS $presentlang"
20262 if test -n "$INST_LINGUAS"; then
20263 for lang
in $INST_LINGUAS; do
20264 CATALOGS
="$CATALOGS $lang.gmo"
20267 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
20268 sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
20269 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
20270 if test -f "$f"; then
20272 *.orig |
*.bak |
*~
) ;;
20273 *) cat "$f" >> "$ac_dir/Makefile" ;;
20284 *) srcdirpre
='$(srcdir)/' ;;
20288 for lang
in dummy
$OBSOLETE_ALL_LINGUAS; do
20289 if test $lang != dummy
; then
20290 POFILES
="$POFILES $srcdirpre$lang.po"
20291 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
20294 sed -e '/^SRC-POTFILES =/r po/SRC-POTFILES' \
20295 -e '/^BLD-POTFILES =/r po/BLD-POTFILES' \
20296 -e "s,@POFILES@,$POFILES," \
20297 -e "s,@GMOFILES@,$GMOFILES," \
20298 po
/Makefile.
in > po
/Makefile
;;
20306 ac_clean_files
=$ac_clean_files_save
20308 test $ac_write_fail = 0 ||
20309 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
20312 # configure is writing to config.log, and then calls config.status.
20313 # config.status does its own redirection, appending to config.log.
20314 # Unfortunately, on DOS this fails, as config.log is still kept open
20315 # by configure, so config.status won't be able to write to it; its
20316 # output is simply discarded. So we exec the FD to /dev/null,
20317 # effectively closing config.log, so it can be properly (re)opened and
20318 # appended to by config.status. When coming back to configure, we
20319 # need to make the FD available again.
20320 if test "$no_create" != yes; then
20322 ac_config_status_args
=
20323 test "$silent" = yes &&
20324 ac_config_status_args
="$ac_config_status_args --quiet"
20326 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
20328 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20329 # would make configure fail if this is the last instruction.
20330 $ac_cs_success || as_fn_exit
1
20332 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
20333 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20334 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
20339 touch config.status.tmp
20340 if touch --reference=config.status config.status.tmp
> /dev
/null
2>&1; then
20341 sed '/as_fn_exit 0/i \
20342 sed -e \"s/^\t\\\(\\\$(AM_V_CCLD)\\\)/\t+ \\\1/\" Makefile > Makefile.tmp \
20343 touch --reference=Makefile Makefile.tmp \
20344 mv Makefile.tmp Makefile \
20345 ' config.status
> config.status.tmp
20346 touch --reference=config.status config.status.tmp
20347 mv config.status.tmp config.status
20348 chmod +x config.status
20349 sed -e "s/^\t\(\$(AM_V_CCLD)\)/\t+ \1/" Makefile
> Makefile.tmp
20350 touch --reference=Makefile Makefile.tmp
20351 mv Makefile.tmp Makefile
20353 rm -f config.status.tmp