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_error_execstack
851 enable_warn_rwx_segments
852 enable_error_rwx_segments
853 enable_default_execstack
854 enable_error_handling_script
855 enable_default_hash_style
856 enable_initfini_array
860 enable_build_warnings
865 ac_precious_vars
='build_alias
889 # Initialize some variables set by options.
891 ac_init_version
=false
892 ac_unrecognized_opts
=
894 # The variables have the same names as the options, with
895 # dashes changed to underlines.
903 program_transform_name
=s
,x
,x
,
911 # Installation directory options.
912 # These are left unexpanded so users can "make install exec_prefix=/foo"
913 # and all the variables that are supposed to be based on exec_prefix
914 # by default will actually change.
915 # Use braces instead of parens because sh, perl, etc. also accept them.
916 # (The list follows the same order as the GNU Coding Standards.)
917 bindir
='${exec_prefix}/bin'
918 sbindir
='${exec_prefix}/sbin'
919 libexecdir
='${exec_prefix}/libexec'
920 datarootdir
='${prefix}/share'
921 datadir
='${datarootdir}'
922 sysconfdir
='${prefix}/etc'
923 sharedstatedir
='${prefix}/com'
924 localstatedir
='${prefix}/var'
925 includedir
='${prefix}/include'
926 oldincludedir
='/usr/include'
927 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
928 infodir
='${datarootdir}/info'
933 libdir
='${exec_prefix}/lib'
934 localedir
='${datarootdir}/locale'
935 mandir
='${datarootdir}/man'
941 # If the previous option needs an argument, assign it.
942 if test -n "$ac_prev"; then
943 eval $ac_prev=\
$ac_option
949 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
954 # Accept the important Cygnus configure options, so we can diagnose typos.
956 case $ac_dashdash$ac_option in
960 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
962 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
965 -build |
--build |
--buil |
--bui |
--bu)
966 ac_prev
=build_alias
;;
967 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
968 build_alias
=$ac_optarg ;;
970 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
971 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
972 ac_prev
=cache_file
;;
973 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
974 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
975 cache_file
=$ac_optarg ;;
978 cache_file
=config.cache
;;
980 -datadir |
--datadir |
--datadi |
--datad)
982 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
983 datadir
=$ac_optarg ;;
985 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
986 |
--dataroo |
--dataro |
--datar)
987 ac_prev
=datarootdir
;;
988 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
989 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
990 datarootdir
=$ac_optarg ;;
992 -disable-* |
--disable-*)
993 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
994 # Reject names that are not valid shell variable names.
995 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
996 as_fn_error $?
"invalid feature name: $ac_useropt"
997 ac_useropt_orig
=$ac_useropt
998 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
999 case $ac_user_opts in
1001 "enable_
$ac_useropt"
1003 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1004 ac_unrecognized_sep
=', ';;
1006 eval enable_
$ac_useropt=no
;;
1008 -docdir |
--docdir |
--docdi |
--doc |
--do)
1010 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1011 docdir
=$ac_optarg ;;
1013 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1015 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1016 dvidir
=$ac_optarg ;;
1018 -enable-* |
--enable-*)
1019 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1020 # Reject names that are not valid shell variable names.
1021 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1022 as_fn_error $?
"invalid feature name: $ac_useropt"
1023 ac_useropt_orig
=$ac_useropt
1024 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1025 case $ac_user_opts in
1027 "enable_
$ac_useropt"
1029 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1030 ac_unrecognized_sep
=', ';;
1032 eval enable_
$ac_useropt=\
$ac_optarg ;;
1034 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1035 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1036 |
--exec |
--exe |
--ex)
1037 ac_prev
=exec_prefix
;;
1038 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1039 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1040 |
--exec=* |
--exe=* |
--ex=*)
1041 exec_prefix
=$ac_optarg ;;
1043 -gas |
--gas |
--ga |
--g)
1044 # Obsolete; use --with-gas.
1047 -help |
--help |
--hel |
--he |
-h)
1048 ac_init_help
=long
;;
1049 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1050 ac_init_help
=recursive
;;
1051 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1052 ac_init_help
=short
;;
1054 -host |
--host |
--hos |
--ho)
1055 ac_prev
=host_alias
;;
1056 -host=* |
--host=* |
--hos=* |
--ho=*)
1057 host_alias
=$ac_optarg ;;
1059 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1061 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1063 htmldir
=$ac_optarg ;;
1065 -includedir |
--includedir |
--includedi |
--included |
--include \
1066 |
--includ |
--inclu |
--incl |
--inc)
1067 ac_prev
=includedir
;;
1068 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1069 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1070 includedir
=$ac_optarg ;;
1072 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1074 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1075 infodir
=$ac_optarg ;;
1077 -libdir |
--libdir |
--libdi |
--libd)
1079 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1080 libdir
=$ac_optarg ;;
1082 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1083 |
--libexe |
--libex |
--libe)
1084 ac_prev
=libexecdir
;;
1085 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1086 |
--libexe=* |
--libex=* |
--libe=*)
1087 libexecdir
=$ac_optarg ;;
1089 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1090 ac_prev
=localedir
;;
1091 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1092 localedir
=$ac_optarg ;;
1094 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1095 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1096 ac_prev
=localstatedir
;;
1097 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1098 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1099 localstatedir
=$ac_optarg ;;
1101 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1103 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1104 mandir
=$ac_optarg ;;
1106 -nfp |
--nfp |
--nf)
1107 # Obsolete; use --without-fp.
1110 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1111 |
--no-cr |
--no-c |
-n)
1114 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1115 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1118 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1119 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1120 |
--oldin |
--oldi |
--old |
--ol |
--o)
1121 ac_prev
=oldincludedir
;;
1122 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1123 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1124 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1125 oldincludedir
=$ac_optarg ;;
1127 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1129 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1130 prefix
=$ac_optarg ;;
1132 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1133 |
--program-pre |
--program-pr |
--program-p)
1134 ac_prev
=program_prefix
;;
1135 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1136 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1137 program_prefix
=$ac_optarg ;;
1139 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1140 |
--program-suf |
--program-su |
--program-s)
1141 ac_prev
=program_suffix
;;
1142 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1143 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1144 program_suffix
=$ac_optarg ;;
1146 -program-transform-name |
--program-transform-name \
1147 |
--program-transform-nam |
--program-transform-na \
1148 |
--program-transform-n |
--program-transform- \
1149 |
--program-transform |
--program-transfor \
1150 |
--program-transfo |
--program-transf \
1151 |
--program-trans |
--program-tran \
1152 |
--progr-tra |
--program-tr |
--program-t)
1153 ac_prev
=program_transform_name
;;
1154 -program-transform-name=* |
--program-transform-name=* \
1155 |
--program-transform-nam=* |
--program-transform-na=* \
1156 |
--program-transform-n=* |
--program-transform-=* \
1157 |
--program-transform=* |
--program-transfor=* \
1158 |
--program-transfo=* |
--program-transf=* \
1159 |
--program-trans=* |
--program-tran=* \
1160 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1161 program_transform_name
=$ac_optarg ;;
1163 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1165 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1166 pdfdir
=$ac_optarg ;;
1168 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1170 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1173 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1174 |
-silent |
--silent |
--silen |
--sile |
--sil)
1177 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1179 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1181 sbindir
=$ac_optarg ;;
1183 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1184 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1185 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1187 ac_prev
=sharedstatedir
;;
1188 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1189 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1190 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1192 sharedstatedir
=$ac_optarg ;;
1194 -site |
--site |
--sit)
1196 -site=* |
--site=* |
--sit=*)
1199 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1201 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1202 srcdir
=$ac_optarg ;;
1204 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1205 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1206 ac_prev
=sysconfdir
;;
1207 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1208 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1209 sysconfdir
=$ac_optarg ;;
1211 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1212 ac_prev
=target_alias
;;
1213 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1214 target_alias
=$ac_optarg ;;
1216 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1219 -version |
--version |
--versio |
--versi |
--vers |
-V)
1220 ac_init_version
=: ;;
1223 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1224 # Reject names that are not valid shell variable names.
1225 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1226 as_fn_error $?
"invalid package name: $ac_useropt"
1227 ac_useropt_orig
=$ac_useropt
1228 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1229 case $ac_user_opts in
1233 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1234 ac_unrecognized_sep
=', ';;
1236 eval with_
$ac_useropt=\
$ac_optarg ;;
1238 -without-* |
--without-*)
1239 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1240 # Reject names that are not valid shell variable names.
1241 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1242 as_fn_error $?
"invalid package name: $ac_useropt"
1243 ac_useropt_orig
=$ac_useropt
1244 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1245 case $ac_user_opts in
1249 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1250 ac_unrecognized_sep
=', ';;
1252 eval with_
$ac_useropt=no
;;
1255 # Obsolete; use --with-x.
1258 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1259 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1260 ac_prev
=x_includes
;;
1261 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1262 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1263 x_includes
=$ac_optarg ;;
1265 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1266 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1267 ac_prev
=x_libraries
;;
1268 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1269 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1270 x_libraries
=$ac_optarg ;;
1272 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1273 Try \`$0 --help' for more information"
1277 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1278 # Reject names that are not valid shell variable names.
1279 case $ac_envvar in #(
1280 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1281 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1283 eval $ac_envvar=\
$ac_optarg
1284 export $ac_envvar ;;
1287 # FIXME: should be removed in autoconf 3.0.
1288 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1289 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1290 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1291 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1297 if test -n "$ac_prev"; then
1298 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1299 as_fn_error $?
"missing argument to $ac_option"
1302 if test -n "$ac_unrecognized_opts"; then
1303 case $enable_option_checking in
1305 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1306 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1310 # Check all directory arguments for consistency.
1311 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1312 datadir sysconfdir sharedstatedir localstatedir includedir \
1313 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1314 libdir localedir mandir
1316 eval ac_val
=\$
$ac_var
1317 # Remove trailing slashes.
1320 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1321 eval $ac_var=\
$ac_val;;
1323 # Be sure to have absolute directory names.
1325 [\\/$
]* | ?
:[\\/]* ) continue;;
1326 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1328 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1331 # There might be people who depend on the old broken behavior: `$host'
1332 # used to hold the argument of --host etc.
1333 # FIXME: To remove some day.
1336 target
=$target_alias
1338 # FIXME: To remove some day.
1339 if test "x$host_alias" != x
; then
1340 if test "x$build_alias" = x
; then
1341 cross_compiling
=maybe
1342 elif test "x$build_alias" != "x$host_alias"; then
1348 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1350 test "$silent" = yes && exec 6>/dev
/null
1353 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1354 ac_ls_di
=`ls -di .` &&
1355 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1356 as_fn_error $?
"working directory cannot be determined"
1357 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1358 as_fn_error $?
"pwd does not report name of working directory"
1361 # Find the source files, if location was not specified.
1362 if test -z "$srcdir"; then
1363 ac_srcdir_defaulted
=yes
1364 # Try the directory containing this script, then the parent directory.
1365 ac_confdir
=`$as_dirname -- "$as_myself" ||
1366 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1367 X"$as_myself" : 'X\(//\)[^/]' \| \
1368 X"$as_myself" : 'X\(//\)$' \| \
1369 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1370 $as_echo X"$as_myself" |
1371 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1389 if test ! -r "$srcdir/$ac_unique_file"; then
1393 ac_srcdir_defaulted
=no
1395 if test ! -r "$srcdir/$ac_unique_file"; then
1396 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1397 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1399 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1401 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1403 # When building in place, set srcdir=.
1404 if test "$ac_abs_confdir" = "$ac_pwd"; then
1407 # Remove unnecessary trailing slashes from srcdir.
1408 # Double slashes in file names in object file debugging info
1409 # mess up M-x gdb in Emacs.
1411 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1413 for ac_var
in $ac_precious_vars; do
1414 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1415 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1416 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1417 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1421 # Report the --help message.
1423 if test "$ac_init_help" = "long"; then
1424 # Omit some internal or obsolete options to make the list less imposing.
1425 # This message is too long to be a string in the A/UX 3.1 sh.
1427 \`configure' configures ld 2.41.50 to adapt to many kinds of systems.
1429 Usage: $0 [OPTION]... [VAR=VALUE]...
1431 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1432 VAR=VALUE. See below for descriptions of some of the useful variables.
1434 Defaults for the options are specified in brackets.
1437 -h, --help display this help and exit
1438 --help=short display options specific to this package
1439 --help=recursive display the short help of all the included packages
1440 -V, --version display version information and exit
1441 -q, --quiet, --silent do not print \`checking ...' messages
1442 --cache-file=FILE cache test results in FILE [disabled]
1443 -C, --config-cache alias for \`--cache-file=config.cache'
1444 -n, --no-create do not create output files
1445 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1447 Installation directories:
1448 --prefix=PREFIX install architecture-independent files in PREFIX
1449 [$ac_default_prefix]
1450 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1453 By default, \`make install' will install all the files in
1454 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1455 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1456 for instance \`--prefix=\$HOME'.
1458 For better control, use the options below.
1460 Fine tuning of the installation directories:
1461 --bindir=DIR user executables [EPREFIX/bin]
1462 --sbindir=DIR system admin executables [EPREFIX/sbin]
1463 --libexecdir=DIR program executables [EPREFIX/libexec]
1464 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1465 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1466 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1467 --libdir=DIR object code libraries [EPREFIX/lib]
1468 --includedir=DIR C header files [PREFIX/include]
1469 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1470 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1471 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1472 --infodir=DIR info documentation [DATAROOTDIR/info]
1473 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1474 --mandir=DIR man documentation [DATAROOTDIR/man]
1475 --docdir=DIR documentation root [DATAROOTDIR/doc/ld]
1476 --htmldir=DIR html documentation [DOCDIR]
1477 --dvidir=DIR dvi documentation [DOCDIR]
1478 --pdfdir=DIR pdf documentation [DOCDIR]
1479 --psdir=DIR ps documentation [DOCDIR]
1485 --program-prefix=PREFIX prepend PREFIX to installed program names
1486 --program-suffix=SUFFIX append SUFFIX to installed program names
1487 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1490 --build=BUILD configure
for building on BUILD
[guessed
]
1491 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1492 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1496 if test -n "$ac_init_help"; then
1497 case $ac_init_help in
1498 short | recursive
) echo "Configuration of ld 2.41.50:";;
1503 --disable-option-checking ignore unrecognized
--enable/--with options
1504 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1505 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1506 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1507 --disable-silent-rules verbose build output
(undo
: "make V=0")
1508 --enable-maintainer-mode
1509 enable make rules and dependencies not useful
(and
1510 sometimes confusing
) to the casual installer
1511 --enable-dependency-tracking
1512 do not reject slow dependency extractors
1513 --disable-dependency-tracking
1514 speeds up one-time build
1515 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1516 --enable-static[=PKGS
] build static libraries
[default
=yes]
1517 --enable-fast-install[=PKGS
]
1518 optimize
for fast installation
[default
=yes]
1519 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1520 --enable-plugins Enable support
for plugins
1521 --disable-largefile omit support
for large files
1522 --enable-checking enable run-time checks
1523 --enable-targets alternative target configurations
1524 --enable-64-bit-bfd 64-bit support
(on hosts with narrower word sizes
)
1525 --enable-gold[=ARG
] build gold
[ARG
={default
,yes,no
}]
1526 --enable-got=<type> GOT handling scheme
(target
, single
, negative
,
1528 --enable-compressed-debug-sections={all
,ld
,none
}
1529 compress debug sections by default
]
1530 --enable-default-compressed-debug-sections-algorithm={zlib
,zstd
}
1531 Default compression algorithm
for
1532 --enable-compressed-debug-sections.
1533 --enable-new-dtags set DT_RUNPATH instead of DT_RPATH by default
]
1534 --enable-relro enable -z relro
in ELF linker by default
1535 --enable-textrel-check=[yes|no|warning|error
]
1536 enable DT_TEXTREL check
in ELF linker
1537 --enable-separate-code enable -z separate-code
in ELF linker by default
1538 --enable-warn-execstack enable warnings when creating an executable stack
1539 --enable-warn-rwx-segments
1540 enable warnings when creating segments with RWX
1542 --enable-default-execstack
1543 create an executable stack
if an input
file is
1544 missing a .note.GNU-stack section
1545 --enable-error-handling-script
1546 enable
/disable support
for the
1547 --error-handling-script option
1548 --enable-default-hash-style={sysv
,gnu
,both
}
1549 use this default
hash style
1550 --disable-initfini-array do not use .init_array
/.fini_array sections
1551 --enable-libctf Handle .ctf type-info sections
[default
=yes]
1552 --enable-jansson enable jansson
[default
=no
]
1553 --enable-werror treat compile warnings as errors
1554 --enable-build-warnings enable build-time compiler warnings
1555 --disable-nls do not use Native Language Support
1558 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1559 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1560 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1562 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1563 --with-lib-path=dir1
:dir2...
set default LIB_PATH
1564 --with-sysroot=DIR Search
for usr
/lib et al within DIR.
1565 --with-system-zlib use installed libz
1566 --with-zstd support zstd compressed debug sections
1569 Some influential environment variables
:
1570 CC C compiler
command
1571 CFLAGS C compiler flags
1572 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1573 nonstandard directory
<lib dir
>
1574 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1575 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1576 you have headers
in a nonstandard directory
<include dir
>
1577 CXX C
++ compiler
command
1578 CXXFLAGS C
++ compiler flags
1580 PKG_CONFIG path to pkg-config utility
1582 directories to add to pkg-config
's search path
1584 path overriding pkg-config's built-in search path
1585 CXXCPP C
++ preprocessor
1587 C compiler flags
for JANSSON
, overriding pkg-config
1589 linker flags
for JANSSON
, overriding pkg-config
1590 YACC The
`Yet Another Compiler Compiler' implementation to use.
1591 Defaults to the first program found out of: `bison
-y', `byacc',
1593 YFLAGS The list of arguments that will be passed by default to $YACC.
1594 This script will default YFLAGS to the empty string to avoid a
1595 default value of `-d' given by some make applications.
1596 ZSTD_CFLAGS C compiler flags for ZSTD, overriding pkg-config
1597 ZSTD_LIBS linker flags for ZSTD, overriding pkg-config
1599 Use these variables to override the choices made by `configure' or to
help
1600 it to
find libraries and programs with nonstandard names
/locations.
1602 Report bugs to the package provider.
1607 if test "$ac_init_help" = "recursive"; then
1608 # If there are subdirs, report their specific --help.
1609 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1610 test -d "$ac_dir" ||
1611 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1616 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1618 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1619 # A ".." for each directory in $ac_dir_suffix.
1620 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1621 case $ac_top_builddir_sub in
1622 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1623 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1626 ac_abs_top_builddir
=$ac_pwd
1627 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1628 # for backward compatibility:
1629 ac_top_builddir
=$ac_top_build_prefix
1632 .
) # We are building in place.
1634 ac_top_srcdir
=$ac_top_builddir_sub
1635 ac_abs_top_srcdir
=$ac_pwd ;;
1636 [\\/]* | ?
:[\\/]* ) # Absolute name.
1637 ac_srcdir
=$srcdir$ac_dir_suffix;
1638 ac_top_srcdir
=$srcdir
1639 ac_abs_top_srcdir
=$srcdir ;;
1641 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1642 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1643 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1645 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1647 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1648 # Check for guested configure.
1649 if test -f "$ac_srcdir/configure.gnu"; then
1651 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1652 elif test -f "$ac_srcdir/configure"; then
1654 $SHELL "$ac_srcdir/configure" --help=recursive
1656 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1658 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1662 test -n "$ac_init_help" && exit $ac_status
1663 if $ac_init_version; then
1665 ld configure
2.41.50
1666 generated by GNU Autoconf
2.69
1668 Copyright
(C
) 2012 Free Software Foundation
, Inc.
1669 This configure
script is free software
; the Free Software Foundation
1670 gives unlimited permission to copy
, distribute and modify it.
1675 ## ------------------------ ##
1676 ## Autoconf initialization. ##
1677 ## ------------------------ ##
1679 # ac_fn_c_try_compile LINENO
1680 # --------------------------
1681 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1682 ac_fn_c_try_compile
()
1684 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1685 rm -f conftest.
$ac_objext
1686 if { { ac_try
="$ac_compile"
1688 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1689 *) ac_try_echo=$ac_try;;
1691 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1692 $as_echo "$ac_try_echo"; } >&5
1693 (eval "$ac_compile") 2>conftest.err
1695 if test -s conftest.err; then
1696 grep -v '^ *+' conftest.err >conftest.er1
1697 cat conftest.er1 >&5
1698 mv -f conftest.er1 conftest.err
1700 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1701 test $ac_status = 0; } && {
1702 test -z "$ac_c_werror_flag" ||
1703 test ! -s conftest.err
1704 } && test -s conftest.$ac_objext; then :
1707 $as_echo "$as_me: failed program was:" >&5
1708 sed 's/^/| /' conftest.$ac_ext >&5
1712 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1713 as_fn_set_status $ac_retval
1715 } # ac_fn_c_try_compile
1717 # ac_fn_cxx_try_compile LINENO
1718 # ----------------------------
1719 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1720 ac_fn_cxx_try_compile ()
1722 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1723 rm -f conftest.$ac_objext
1724 if { { ac_try="$ac_compile"
1726 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1727 *) ac_try_echo
=$ac_try;;
1729 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1730 $as_echo "$ac_try_echo"; } >&5
1731 (eval "$ac_compile") 2>conftest.err
1733 if test -s conftest.err
; then
1734 grep -v '^ *+' conftest.err
>conftest.er1
1735 cat conftest.er1
>&5
1736 mv -f conftest.er1 conftest.err
1738 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1739 test $ac_status = 0; } && {
1740 test -z "$ac_cxx_werror_flag" ||
1741 test ! -s conftest.err
1742 } && test -s conftest.
$ac_objext; then :
1745 $as_echo "$as_me: failed program was:" >&5
1746 sed 's/^/| /' conftest.
$ac_ext >&5
1750 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1751 as_fn_set_status
$ac_retval
1753 } # ac_fn_cxx_try_compile
1755 # ac_fn_c_try_cpp LINENO
1756 # ----------------------
1757 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1760 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1761 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1763 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1764 *) ac_try_echo=$ac_try;;
1766 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1767 $as_echo "$ac_try_echo"; } >&5
1768 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1770 if test -s conftest.err; then
1771 grep -v '^ *+' conftest.err >conftest.er1
1772 cat conftest.er1 >&5
1773 mv -f conftest.er1 conftest.err
1775 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1776 test $ac_status = 0; } > conftest.i && {
1777 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1778 test ! -s conftest.err
1782 $as_echo "$as_me: failed program was:" >&5
1783 sed 's/^/| /' conftest.$ac_ext >&5
1787 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1788 as_fn_set_status $ac_retval
1792 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1793 # -------------------------------------------------------
1794 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1795 # the include files in INCLUDES and setting the cache variable VAR
1797 ac_fn_c_check_header_mongrel ()
1799 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1800 if eval \${$3+:} false; then :
1801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1802 $as_echo_n "checking for $2... " >&6; }
1803 if eval \${$3+:} false; then :
1804 $as_echo_n "(cached) " >&6
1807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1808 $as_echo "$ac_res" >&6; }
1810 # Is the header compilable?
1811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1812 $as_echo_n "checking $2 usability... " >&6; }
1813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1814 /* end confdefs.h. */
1818 if ac_fn_c_try_compile "$LINENO"; then :
1819 ac_header_compiler=yes
1821 ac_header_compiler=no
1823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1825 $as_echo "$ac_header_compiler" >&6; }
1827 # Is the header present?
1828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1829 $as_echo_n "checking $2 presence... " >&6; }
1830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1831 /* end confdefs.h. */
1834 if ac_fn_c_try_cpp "$LINENO"; then :
1835 ac_header_preproc=yes
1837 ac_header_preproc=no
1839 rm -f conftest.err conftest.i conftest.$ac_ext
1840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1841 $as_echo "$ac_header_preproc" >&6; }
1843 # So? What about this header?
1844 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1846 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1847 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1848 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1849 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1852 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1853 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1854 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1855 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1856 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1857 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1858 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1859 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1860 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1861 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1865 $as_echo_n "checking for $2... " >&6; }
1866 if eval \${$3+:} false; then :
1867 $as_echo_n "(cached) " >&6
1869 eval "$3=\$ac_header_compiler"
1872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1873 $as_echo "$ac_res" >&6; }
1875 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1877 } # ac_fn_c_check_header_mongrel
1879 # ac_fn_c_try_run LINENO
1880 # ----------------------
1881 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1882 # that executables *can* be run.
1885 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1886 if { { ac_try="$ac_link"
1888 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1889 *) ac_try_echo
=$ac_try;;
1891 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1892 $as_echo "$ac_try_echo"; } >&5
1893 (eval "$ac_link") 2>&5
1895 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1896 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1897 { { case "(($ac_try" in
1898 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1899 *) ac_try_echo=$ac_try;;
1901 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1902 $as_echo "$ac_try_echo"; } >&5
1903 (eval "$ac_try") 2>&5
1905 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1906 test $ac_status = 0; }; }; then :
1909 $as_echo "$as_me: program exited with status $ac_status" >&5
1910 $as_echo "$as_me: failed program was:" >&5
1911 sed 's/^/| /' conftest.$ac_ext >&5
1913 ac_retval=$ac_status
1915 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1916 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1917 as_fn_set_status $ac_retval
1921 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1922 # -------------------------------------------------------
1923 # Tests whether HEADER exists and can be compiled using the include files in
1924 # INCLUDES, setting the cache variable VAR accordingly.
1925 ac_fn_c_check_header_compile ()
1927 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1929 $as_echo_n "checking for $2... " >&6; }
1930 if eval \${$3+:} false; then :
1931 $as_echo_n "(cached) " >&6
1933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1934 /* end confdefs.h. */
1938 if ac_fn_c_try_compile "$LINENO"; then :
1943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1947 $as_echo "$ac_res" >&6; }
1948 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1950 } # ac_fn_c_check_header_compile
1952 # ac_fn_c_try_link LINENO
1953 # -----------------------
1954 # Try to link conftest.$ac_ext, and return whether this succeeded.
1957 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1958 rm -f conftest.$ac_objext conftest$ac_exeext
1959 if { { ac_try="$ac_link"
1961 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1962 *) ac_try_echo
=$ac_try;;
1964 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1965 $as_echo "$ac_try_echo"; } >&5
1966 (eval "$ac_link") 2>conftest.err
1968 if test -s conftest.err
; then
1969 grep -v '^ *+' conftest.err
>conftest.er1
1970 cat conftest.er1
>&5
1971 mv -f conftest.er1 conftest.err
1973 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1974 test $ac_status = 0; } && {
1975 test -z "$ac_c_werror_flag" ||
1976 test ! -s conftest.err
1977 } && test -s conftest
$ac_exeext && {
1978 test "$cross_compiling" = yes ||
1979 test -x conftest
$ac_exeext
1983 $as_echo "$as_me: failed program was:" >&5
1984 sed 's/^/| /' conftest.
$ac_ext >&5
1988 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1989 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1990 # interfere with the next link command; also delete a directory that is
1991 # left behind by Apple's compiler. We do this before executing the actions.
1992 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1993 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1994 as_fn_set_status
$ac_retval
1996 } # ac_fn_c_try_link
1998 # ac_fn_c_check_func LINENO FUNC VAR
1999 # ----------------------------------
2000 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2001 ac_fn_c_check_func
()
2003 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2005 $as_echo_n "checking for $2... " >&6; }
2006 if eval \
${$3+:} false
; then :
2007 $as_echo_n "(cached) " >&6
2009 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2010 /* end confdefs.h. */
2011 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2012 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2013 #define $2 innocuous_$2
2015 /* System header to define __stub macros and hopefully few prototypes,
2016 which can conflict with char $2 (); below.
2017 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2018 <limits.h> exists even on freestanding compilers. */
2021 # include <limits.h>
2023 # include <assert.h>
2028 /* Override any GCC internal prototype to avoid an error.
2029 Use char because int might match the return type of a GCC
2030 builtin and then its argument prototype would still apply. */
2035 /* The GNU C library defines this for functions which it implements
2036 to always fail with ENOSYS. Some functions are actually named
2037 something starting with __ and the normal name is an alias. */
2038 #if defined __stub_$2 || defined __stub___$2
2050 if ac_fn_c_try_link
"$LINENO"; then :
2055 rm -f core conftest.err conftest.
$ac_objext \
2056 conftest
$ac_exeext conftest.
$ac_ext
2059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2060 $as_echo "$ac_res" >&6; }
2061 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2063 } # ac_fn_c_check_func
2065 # ac_fn_cxx_try_cpp LINENO
2066 # ------------------------
2067 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2068 ac_fn_cxx_try_cpp
()
2070 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2071 if { { ac_try
="$ac_cpp conftest.$ac_ext"
2073 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2074 *) ac_try_echo=$ac_try;;
2076 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2077 $as_echo "$ac_try_echo"; } >&5
2078 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2080 if test -s conftest.err; then
2081 grep -v '^ *+' conftest.err >conftest.er1
2082 cat conftest.er1 >&5
2083 mv -f conftest.er1 conftest.err
2085 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2086 test $ac_status = 0; } > conftest.i && {
2087 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2088 test ! -s conftest.err
2092 $as_echo "$as_me: failed program was:" >&5
2093 sed 's/^/| /' conftest.$ac_ext >&5
2097 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2098 as_fn_set_status $ac_retval
2100 } # ac_fn_cxx_try_cpp
2102 # ac_fn_cxx_try_link LINENO
2103 # -------------------------
2104 # Try to link conftest.$ac_ext, and return whether this succeeded.
2105 ac_fn_cxx_try_link ()
2107 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2108 rm -f conftest.$ac_objext conftest$ac_exeext
2109 if { { ac_try="$ac_link"
2111 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2112 *) ac_try_echo
=$ac_try;;
2114 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2115 $as_echo "$ac_try_echo"; } >&5
2116 (eval "$ac_link") 2>conftest.err
2118 if test -s conftest.err
; then
2119 grep -v '^ *+' conftest.err
>conftest.er1
2120 cat conftest.er1
>&5
2121 mv -f conftest.er1 conftest.err
2123 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2124 test $ac_status = 0; } && {
2125 test -z "$ac_cxx_werror_flag" ||
2126 test ! -s conftest.err
2127 } && test -s conftest
$ac_exeext && {
2128 test "$cross_compiling" = yes ||
2129 test -x conftest
$ac_exeext
2133 $as_echo "$as_me: failed program was:" >&5
2134 sed 's/^/| /' conftest.
$ac_ext >&5
2138 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2139 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2140 # interfere with the next link command; also delete a directory that is
2141 # left behind by Apple's compiler. We do this before executing the actions.
2142 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2143 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2144 as_fn_set_status
$ac_retval
2146 } # ac_fn_cxx_try_link
2148 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2149 # --------------------------------------------
2150 # Tries to find the compile-time value of EXPR in a program that includes
2151 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2153 ac_fn_c_compute_int
()
2155 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2156 if test "$cross_compiling" = yes; then
2157 # Depending upon the size, compute the lo and hi bounds.
2158 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2159 /* end confdefs.h. */
2164 static int test_array [1 - 2 * !(($2) >= 0)];
2166 return test_array [0];
2172 if ac_fn_c_try_compile
"$LINENO"; then :
2175 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2176 /* end confdefs.h. */
2181 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2183 return test_array [0];
2189 if ac_fn_c_try_compile
"$LINENO"; then :
2190 ac_hi
=$ac_mid; break
2192 as_fn_arith
$ac_mid + 1 && ac_lo
=$as_val
2193 if test $ac_lo -le $ac_mid; then
2197 as_fn_arith
2 '*' $ac_mid + 1 && ac_mid
=$as_val
2199 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2202 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2203 /* end confdefs.h. */
2208 static int test_array [1 - 2 * !(($2) < 0)];
2210 return test_array [0];
2216 if ac_fn_c_try_compile
"$LINENO"; then :
2219 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2220 /* end confdefs.h. */
2225 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2227 return test_array [0];
2233 if ac_fn_c_try_compile
"$LINENO"; then :
2234 ac_lo
=$ac_mid; break
2236 as_fn_arith
'(' $ac_mid ')' - 1 && ac_hi
=$as_val
2237 if test $ac_mid -le $ac_hi; then
2241 as_fn_arith
2 '*' $ac_mid && ac_mid
=$as_val
2243 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2248 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2250 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2251 # Binary search between lo and hi bounds.
2252 while test "x$ac_lo" != "x$ac_hi"; do
2253 as_fn_arith
'(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid
=$as_val
2254 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2255 /* end confdefs.h. */
2260 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2262 return test_array [0];
2268 if ac_fn_c_try_compile
"$LINENO"; then :
2271 as_fn_arith
'(' $ac_mid ')' + 1 && ac_lo
=$as_val
2273 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2276 ?
*) eval "$3=\$ac_lo"; ac_retval
=0 ;;
2280 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2281 /* end confdefs.h. */
2283 static long int longval () { return $2; }
2284 static unsigned long int ulongval () { return $2; }
2291 FILE *f = fopen ("conftest.val", "w");
2296 long int i = longval ();
2299 fprintf (f, "%ld", i);
2303 unsigned long int i = ulongval ();
2306 fprintf (f, "%lu", i);
2308 /* Do not output a trailing newline, as this causes \r\n confusion
2309 on some platforms. */
2310 return ferror (f) || fclose (f) != 0;
2316 if ac_fn_c_try_run
"$LINENO"; then :
2317 echo >>conftest.val
; read $3 <conftest.val
; ac_retval
=0
2321 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
2322 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
2326 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2327 as_fn_set_status
$ac_retval
2329 } # ac_fn_c_compute_int
2331 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2332 # ---------------------------------------------
2333 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2335 ac_fn_c_check_decl
()
2337 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2338 as_decl_name
=`echo $2|sed 's/ *(.*//'`
2339 as_decl_use
=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2341 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2342 if eval \
${$3+:} false
; then :
2343 $as_echo_n "(cached) " >&6
2345 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2346 /* end confdefs.h. */
2351 #ifndef $as_decl_name
2353 (void) $as_decl_use;
2355 (void) $as_decl_name;
2363 if ac_fn_c_try_compile
"$LINENO"; then :
2368 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2372 $as_echo "$ac_res" >&6; }
2373 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2375 } # ac_fn_c_check_decl
2376 cat >config.log
<<_ACEOF
2377 This file contains any messages produced by compilers while
2378 running configure, to aid debugging if configure makes a mistake.
2380 It was created by ld $as_me 2.41.50, which was
2381 generated by GNU Autoconf 2.69. Invocation command line was
2393 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2394 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2395 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2396 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2397 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2399 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2400 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2402 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2403 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2404 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2405 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2406 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2407 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2408 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2412 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2416 test -z "$as_dir" && as_dir
=.
2417 $as_echo "PATH: $as_dir"
2433 # Keep a trace of the command line.
2434 # Strip out --no-create and --no-recursion so they do not pile up.
2435 # Strip out --silent because we don't want to record it for future runs.
2436 # Also quote any args containing shell meta-characters.
2437 # Make two passes to allow for proper duplicate-argument suppression.
2441 ac_must_keep_next
=false
2447 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2448 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2449 |
-silent |
--silent |
--silen |
--sile |
--sil)
2452 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2455 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2457 as_fn_append ac_configure_args1
" '$ac_arg'"
2458 if test $ac_must_keep_next = true
; then
2459 ac_must_keep_next
=false
# Got value, back to normal.
2462 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2463 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2464 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2465 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2466 case "$ac_configure_args0 " in
2467 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2470 -* ) ac_must_keep_next
=true
;;
2473 as_fn_append ac_configure_args
" '$ac_arg'"
2478 { ac_configure_args0
=; unset ac_configure_args0
;}
2479 { ac_configure_args1
=; unset ac_configure_args1
;}
2481 # When interrupted or exit'd, cleanup temporary files, and complete
2482 # config.log. We remove comments because anyway the quotes in there
2483 # would cause problems or look ugly.
2484 # WARNING: Use '\'' to represent an apostrophe within the trap.
2485 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2486 trap 'exit_status=$?
2487 # Save into config.log some information that might help in debugging.
2491 $as_echo "## ---------------- ##
2492 ## Cache variables. ##
2493 ## ---------------- ##"
2495 # The following way of writing the cache mishandles newlines in values,
2497 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2498 eval ac_val=\$$ac_var
2502 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2503 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2506 _ | IFS | as_nl) ;; #(
2507 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2508 *) { eval $ac_var=; unset $ac_var;} ;;
2513 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2514 *${as_nl}ac_space=\ *)
2516 "s/'\''/'\''\\\\'\'''\''/g;
2517 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2520 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2527 $as_echo "## ----------------- ##
2528 ## Output variables. ##
2529 ## ----------------- ##"
2531 for ac_var in $ac_subst_vars
2533 eval ac_val=\$$ac_var
2535 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2537 $as_echo "$ac_var='\''$ac_val'\''"
2541 if test -n "$ac_subst_files"; then
2542 $as_echo "## ------------------- ##
2543 ## File substitutions. ##
2544 ## ------------------- ##"
2546 for ac_var
in $ac_subst_files
2548 eval ac_val
=\$
$ac_var
2550 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2552 $as_echo "$ac_var='\''$ac_val'\''"
2557 if test -s confdefs.h; then
2558 $as_echo "## ----------- ##
2565 test "$ac_signal" != 0 &&
2566 $as_echo "$as_me: caught signal $ac_signal"
2567 $as_echo "$as_me: exit $exit_status"
2569 rm -f core *.core core.conftest.* &&
2570 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2573 for ac_signal
in 1 2 13 15; do
2574 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2578 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2579 rm -f -r conftest
* confdefs.h
2581 $as_echo "/* confdefs.h */" > confdefs.h
2583 # Predefined preprocessor variables.
2585 cat >>confdefs.h
<<_ACEOF
2586 #define PACKAGE_NAME "$PACKAGE_NAME"
2589 cat >>confdefs.h
<<_ACEOF
2590 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2593 cat >>confdefs.h
<<_ACEOF
2594 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2597 cat >>confdefs.h
<<_ACEOF
2598 #define PACKAGE_STRING "$PACKAGE_STRING"
2601 cat >>confdefs.h
<<_ACEOF
2602 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2605 cat >>confdefs.h
<<_ACEOF
2606 #define PACKAGE_URL "$PACKAGE_URL"
2610 # Let the site file select an alternate cache file if it wants to.
2611 # Prefer an explicitly selected file to automatically selected ones.
2614 if test -n "$CONFIG_SITE"; then
2615 # We do not want a PATH search for config.site.
2616 case $CONFIG_SITE in #((
2617 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2618 */*) ac_site_file1
=$CONFIG_SITE;;
2619 *) ac_site_file1
=.
/$CONFIG_SITE;;
2621 elif test "x$prefix" != xNONE
; then
2622 ac_site_file1
=$prefix/share
/config.site
2623 ac_site_file2
=$prefix/etc
/config.site
2625 ac_site_file1
=$ac_default_prefix/share
/config.site
2626 ac_site_file2
=$ac_default_prefix/etc
/config.site
2628 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2630 test "x$ac_site_file" = xNONE
&& continue
2631 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2632 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2633 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2634 sed 's/^/| /' "$ac_site_file" >&5
2636 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2637 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2638 as_fn_error $?
"failed to load site script $ac_site_file
2639 See \`config.log' for more details" "$LINENO" 5; }
2643 if test -r "$cache_file"; then
2644 # Some versions of bash will fail to source /dev/null (special files
2645 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2646 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2647 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2648 $as_echo "$as_me: loading cache $cache_file" >&6;}
2650 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2651 *) .
"./$cache_file";;
2655 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2656 $as_echo "$as_me: creating cache $cache_file" >&6;}
2660 as_fn_append ac_header_list
" stdlib.h"
2661 as_fn_append ac_header_list
" unistd.h"
2662 as_fn_append ac_header_list
" sys/param.h"
2663 # Check that the precious variables saved in the cache have kept the same
2665 ac_cache_corrupted
=false
2666 for ac_var
in $ac_precious_vars; do
2667 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2668 eval ac_new_set
=\
$ac_env_${ac_var}_set
2669 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2670 eval ac_new_val
=\
$ac_env_${ac_var}_value
2671 case $ac_old_set,$ac_new_set in
2673 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2674 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2675 ac_cache_corrupted
=: ;;
2677 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2678 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2679 ac_cache_corrupted
=: ;;
2682 if test "x$ac_old_val" != "x$ac_new_val"; then
2683 # differences in whitespace do not lead to failure.
2684 ac_old_val_w
=`echo x $ac_old_val`
2685 ac_new_val_w
=`echo x $ac_new_val`
2686 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2687 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2688 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2689 ac_cache_corrupted
=:
2691 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2692 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2693 eval $ac_var=\
$ac_old_val
2695 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2696 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2697 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2698 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2701 # Pass precious variables to config.status.
2702 if test "$ac_new_set" = set; then
2704 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2705 *) ac_arg
=$ac_var=$ac_new_val ;;
2707 case " $ac_configure_args " in
2708 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2709 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2713 if $ac_cache_corrupted; then
2714 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2715 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2716 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2717 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2718 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2720 ## -------------------- ##
2721 ## Main body of script. ##
2722 ## -------------------- ##
2725 ac_cpp
='$CPP $CPPFLAGS'
2726 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2727 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2728 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2737 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2738 if test -f "$ac_dir/install-sh"; then
2740 ac_install_sh
="$ac_aux_dir/install-sh -c"
2742 elif test -f "$ac_dir/install.sh"; then
2744 ac_install_sh
="$ac_aux_dir/install.sh -c"
2746 elif test -f "$ac_dir/shtool"; then
2748 ac_install_sh
="$ac_aux_dir/shtool install -c"
2752 if test -z "$ac_aux_dir"; then
2753 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2756 # These three variables are undocumented and unsupported,
2757 # and are intended to be withdrawn in a future Autoconf release.
2758 # They can cause serious problems if a builder's source tree is in a directory
2759 # whose full name contains unusual characters.
2760 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2761 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2762 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2765 # Make sure we can run config.sub.
2766 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2767 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2770 $as_echo_n "checking build system type... " >&6; }
2771 if ${ac_cv_build+:} false
; then :
2772 $as_echo_n "(cached) " >&6
2774 ac_build_alias
=$build_alias
2775 test "x$ac_build_alias" = x
&&
2776 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2777 test "x$ac_build_alias" = x
&&
2778 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2779 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2780 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2784 $as_echo "$ac_cv_build" >&6; }
2785 case $ac_cv_build in
2787 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2790 ac_save_IFS
=$IFS; IFS
='-'
2796 # Remember, the first character of IFS is used to create $*,
2797 # except with old shells:
2800 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2804 $as_echo_n "checking host system type... " >&6; }
2805 if ${ac_cv_host+:} false
; then :
2806 $as_echo_n "(cached) " >&6
2808 if test "x$host_alias" = x
; then
2809 ac_cv_host
=$ac_cv_build
2811 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2812 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2817 $as_echo "$ac_cv_host" >&6; }
2820 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2823 ac_save_IFS
=$IFS; IFS
='-'
2829 # Remember, the first character of IFS is used to create $*,
2830 # except with old shells:
2833 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2837 $as_echo_n "checking target system type... " >&6; }
2838 if ${ac_cv_target+:} false
; then :
2839 $as_echo_n "(cached) " >&6
2841 if test "x$target_alias" = x
; then
2842 ac_cv_target
=$ac_cv_host
2844 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2845 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2850 $as_echo "$ac_cv_target" >&6; }
2851 case $ac_cv_target in
2853 *) as_fn_error $?
"invalid value of canonical target" "$LINENO" 5;;
2855 target
=$ac_cv_target
2856 ac_save_IFS
=$IFS; IFS
='-'
2862 # Remember, the first character of IFS is used to create $*,
2863 # except with old shells:
2866 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2869 # The aliases save the names the user supplied, while $host etc.
2870 # will get canonicalized.
2871 test -n "$target_alias" &&
2872 test "$program_prefix$program_suffix$program_transform_name" = \
2874 program_prefix
=${target_alias}-
2877 am__api_version
='1.15'
2879 # Find a good install program. We prefer a C program (faster),
2880 # so one script is as good as another. But avoid the broken or
2881 # incompatible versions:
2882 # SysV /etc/install, /usr/sbin/install
2883 # SunOS /usr/etc/install
2884 # IRIX /sbin/install
2886 # AmigaOS /C/install, which installs bootblocks on floppy discs
2887 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2888 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2889 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2890 # OS/2's system install, which has a completely different semantic
2891 # ./install, which can be erroneously created by make from ./install.sh.
2892 # Reject install programs that cannot install multiple files.
2893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2894 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2895 if test -z "$INSTALL"; then
2896 if ${ac_cv_path_install+:} false
; then :
2897 $as_echo_n "(cached) " >&6
2899 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2903 test -z "$as_dir" && as_dir
=.
2904 # Account for people who put trailing slashes in PATH elements.
2905 case $as_dir/ in #((
2906 .
/ | .
// |
/[cC
]/* | \
2907 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2908 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2911 # OSF1 and SCO ODT 3.0 have their own names for install.
2912 # Don't use installbsd from OSF since it installs stuff as root
2914 for ac_prog
in ginstall scoinst
install; do
2915 for ac_exec_ext
in '' $ac_executable_extensions; do
2916 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
2917 if test $ac_prog = install &&
2918 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2919 # AIX install. It has an incompatible calling convention.
2921 elif test $ac_prog = install &&
2922 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2923 # program-specific install script used by HP pwplus--don't use.
2926 rm -rf conftest.one conftest.two conftest.dir
2927 echo one
> conftest.one
2928 echo two
> conftest.two
2930 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2931 test -s conftest.one
&& test -s conftest.two
&&
2932 test -s conftest.dir
/conftest.one
&&
2933 test -s conftest.dir
/conftest.two
2935 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2948 rm -rf conftest.one conftest.two conftest.dir
2951 if test "${ac_cv_path_install+set}" = set; then
2952 INSTALL
=$ac_cv_path_install
2954 # As a last resort, use the slow shell script. Don't cache a
2955 # value for INSTALL within a source directory, because that will
2956 # break other packages using the cache if that directory is
2957 # removed, or if the value is a relative name.
2958 INSTALL
=$ac_install_sh
2961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2962 $as_echo "$INSTALL" >&6; }
2964 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2965 # It thinks the first close brace ends the variable substitution.
2966 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2968 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2970 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2973 $as_echo_n "checking whether build environment is sane... " >&6; }
2974 # Reject unsafe characters in $srcdir or the absolute working directory
2975 # name. Accept space and tab only in the latter.
2979 *[\\\"\
#\$\&\'\`$am_lf]*)
2980 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2983 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2984 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2987 # Do 'set' in a subshell so we don't clobber the current shell's
2988 # arguments. Must try -L first in case configure is actually a
2989 # symlink; some systems play weird games with the mod time of symlinks
2990 # (eg FreeBSD returns the mod time of the symlink's containing
2994 for am_try
in 1 2; do
2995 echo "timestamp, slept: $am_has_slept" > conftest.
file
2996 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2997 if test "$*" = "X"; then
2999 set X
`ls -t "$srcdir/configure" conftest.file`
3001 if test "$*" != "X $srcdir/configure conftest.file" \
3002 && test "$*" != "X conftest.file $srcdir/configure"; then
3004 # If neither matched, then we have a broken ls. This can happen
3005 # if, for instance, CONFIG_SHELL is bash and it inherits a
3006 # broken ls alias from the environment. This has actually
3007 # happened. Such a system could not be considered "sane".
3008 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
3009 alias in your environment" "$LINENO" 5
3011 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
3018 test "$2" = conftest.
file
3024 as_fn_error $?
"newly created file is older than distributed files!
3025 Check your system clock" "$LINENO" 5
3027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3028 $as_echo "yes" >&6; }
3029 # If we didn't sleep, we still need to ensure time stamps of config.status and
3030 # generated files are strictly newer.
3032 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
3039 test "$program_prefix" != NONE
&&
3040 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
3041 # Use a double $ so make ignores it.
3042 test "$program_suffix" != NONE
&&
3043 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
3044 # Double any \ or $.
3045 # By default was `s,x,x', remove it if useless.
3046 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
3047 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
3049 # Expand $ac_aux_dir to an absolute path.
3050 am_aux_dir
=`cd "$ac_aux_dir" && pwd`
3052 if test x
"${MISSING+set}" != xset
; then
3055 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
3057 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
3060 # Use eval to expand $SHELL
3061 if eval "$MISSING --is-lightweight"; then
3062 am_missing_run
="$MISSING "
3065 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3066 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3069 if test x
"${install_sh+set}" != xset
; then
3072 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
3074 install_sh
="\${SHELL} $am_aux_dir/install-sh"
3078 # Installed binaries are usually stripped using 'strip' when the user
3079 # run "make install-strip". However 'strip' might not be the right
3080 # tool to use in cross-compilation environments, therefore Automake
3081 # will honor the 'STRIP' environment variable to overrule this program.
3082 if test "$cross_compiling" != no
; then
3083 if test -n "$ac_tool_prefix"; then
3084 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3085 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3087 $as_echo_n "checking for $ac_word... " >&6; }
3088 if ${ac_cv_prog_STRIP+:} false
; then :
3089 $as_echo_n "(cached) " >&6
3091 if test -n "$STRIP"; then
3092 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3094 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3098 test -z "$as_dir" && as_dir
=.
3099 for ac_exec_ext
in '' $ac_executable_extensions; do
3100 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3101 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3102 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3111 STRIP
=$ac_cv_prog_STRIP
3112 if test -n "$STRIP"; then
3113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3114 $as_echo "$STRIP" >&6; }
3116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3117 $as_echo "no" >&6; }
3122 if test -z "$ac_cv_prog_STRIP"; then
3124 # Extract the first word of "strip", so it can be a program name with args.
3125 set dummy strip
; ac_word
=$2
3126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3127 $as_echo_n "checking for $ac_word... " >&6; }
3128 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
3129 $as_echo_n "(cached) " >&6
3131 if test -n "$ac_ct_STRIP"; then
3132 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3134 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3138 test -z "$as_dir" && as_dir
=.
3139 for ac_exec_ext
in '' $ac_executable_extensions; do
3140 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3141 ac_cv_prog_ac_ct_STRIP
="strip"
3142 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3151 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3152 if test -n "$ac_ct_STRIP"; then
3153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3154 $as_echo "$ac_ct_STRIP" >&6; }
3156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3157 $as_echo "no" >&6; }
3160 if test "x$ac_ct_STRIP" = x
; then
3163 case $cross_compiling:$ac_tool_warned in
3165 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3166 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3167 ac_tool_warned
=yes ;;
3172 STRIP
="$ac_cv_prog_STRIP"
3176 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
3178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3179 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3180 if test -z "$MKDIR_P"; then
3181 if ${ac_cv_path_mkdir+:} false
; then :
3182 $as_echo_n "(cached) " >&6
3184 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3185 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3188 test -z "$as_dir" && as_dir
=.
3189 for ac_prog
in mkdir gmkdir
; do
3190 for ac_exec_ext
in '' $ac_executable_extensions; do
3191 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
3192 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3193 'mkdir (GNU coreutils) '* | \
3194 'mkdir (coreutils) '* | \
3195 'mkdir (fileutils) '4.1*)
3196 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3206 test -d .
/--version && rmdir .
/--version
3207 if test "${ac_cv_path_mkdir+set}" = set; then
3208 MKDIR_P
="$ac_cv_path_mkdir -p"
3210 # As a last resort, use the slow shell script. Don't cache a
3211 # value for MKDIR_P within a source directory, because that will
3212 # break other packages using the cache if that directory is
3213 # removed, or if the value is a relative name.
3214 MKDIR_P
="$ac_install_sh -d"
3217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3218 $as_echo "$MKDIR_P" >&6; }
3220 for ac_prog
in gawk mawk nawk
awk
3222 # Extract the first word of "$ac_prog", so it can be a program name with args.
3223 set dummy
$ac_prog; ac_word
=$2
3224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3225 $as_echo_n "checking for $ac_word... " >&6; }
3226 if ${ac_cv_prog_AWK+:} false
; then :
3227 $as_echo_n "(cached) " >&6
3229 if test -n "$AWK"; then
3230 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3232 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3236 test -z "$as_dir" && as_dir
=.
3237 for ac_exec_ext
in '' $ac_executable_extensions; do
3238 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3239 ac_cv_prog_AWK
="$ac_prog"
3240 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3250 if test -n "$AWK"; then
3251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3252 $as_echo "$AWK" >&6; }
3254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3255 $as_echo "no" >&6; }
3259 test -n "$AWK" && break
3262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3263 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3265 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3266 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3267 $as_echo_n "(cached) " >&6
3269 cat >conftest.
make <<\_ACEOF
3272 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3274 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3275 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3277 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3279 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3283 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3285 $as_echo "yes" >&6; }
3288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3289 $as_echo "no" >&6; }
3290 SET_MAKE
="MAKE=${MAKE-make}"
3293 rm -rf .tst
2>/dev
/null
3294 mkdir .tst
2>/dev
/null
3295 if test -d .tst
; then
3300 rmdir .tst
2>/dev
/null
3302 # Check whether --enable-silent-rules was given.
3303 if test "${enable_silent_rules+set}" = set; then :
3304 enableval
=$enable_silent_rules;
3307 case $enable_silent_rules in # (((
3308 yes) AM_DEFAULT_VERBOSITY
=0;;
3309 no
) AM_DEFAULT_VERBOSITY
=1;;
3310 *) AM_DEFAULT_VERBOSITY
=1;;
3312 am_make
=${MAKE-make}
3313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3314 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3315 if ${am_cv_make_support_nested_variables+:} false
; then :
3316 $as_echo_n "(cached) " >&6
3318 if $as_echo 'TRUE=$(BAR$(V))
3324 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
3325 am_cv_make_support_nested_variables
=yes
3327 am_cv_make_support_nested_variables
=no
3330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3331 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3332 if test $am_cv_make_support_nested_variables = yes; then
3334 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
3336 AM_V
=$AM_DEFAULT_VERBOSITY
3337 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
3341 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3342 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3343 # is not polluted with repeated "-I."
3344 am__isrc
=' -I$(srcdir)'
3345 # test to see if srcdir already configured
3346 if test -f $srcdir/config.status
; then
3347 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3351 # test whether we have cygpath
3352 if test -z "$CYGPATH_W"; then
3353 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3354 CYGPATH_W
='cygpath -w'
3361 # Define the identity of the package.
3366 cat >>confdefs.h
<<_ACEOF
3367 #define PACKAGE "$PACKAGE"
3371 cat >>confdefs.h
<<_ACEOF
3372 #define VERSION "$VERSION"
3375 # Some tools Automake needs.
3377 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3380 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3383 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3386 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3389 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3391 # For better backward compatibility. To be removed once Automake 1.9.x
3392 # dies out for good. For more background, see:
3393 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3394 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3395 mkdir_p
='$(MKDIR_P)'
3397 # We need awk for the "check" target (and possibly the TAP driver). The
3398 # system "awk" is bad on some platforms.
3399 # Always define AMTAR for backward compatibility. Yes, it's still used
3400 # in the wild :-( We should find a proper way to deprecate it ...
3404 # We'll loop over all known methods to create a tar archive until one works.
3405 _am_tools
='gnutar pax cpio none'
3407 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
3414 # POSIX will say in a future version that running "rm -f" with no argument
3415 # is OK; and we want to be able to make that assumption in our Makefile
3416 # recipes. So use an aggressive probe to check that the usage we want is
3417 # actually supported "in the wild" to an acceptable degree.
3418 # See automake bug#10828.
3419 # To make any issue more visible, cause the running configure to be aborted
3420 # by default if the 'rm' program in use doesn't match our expectations; the
3421 # user can still override this though.
3422 if rm -f && rm -fr && rm -rf; then : OK
; else
3426 Your 'rm' program seems unable to run without file operands specified
3427 on the command line, even when the '-f' option is present. This is contrary
3428 to the behaviour of most rm programs out there, and not conforming with
3429 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3431 Please tell bug-automake@gnu.org about your system, including the value
3432 of your $PATH and any error possibly output before this message. This
3433 can help us improve future automake versions.
3436 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
3437 echo 'Configuration will proceed anyway, since you have set the' >&2
3438 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3442 Aborting the configuration process, to ensure you take notice of the issue.
3444 You can download and install GNU coreutils to get an 'rm' implementation
3445 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3447 If you want to complete the configuration process using your problematic
3448 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3449 to "yes", and re-run configure.
3452 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
3456 # Check whether --enable-silent-rules was given.
3457 if test "${enable_silent_rules+set}" = set; then :
3458 enableval
=$enable_silent_rules;
3461 case $enable_silent_rules in # (((
3462 yes) AM_DEFAULT_VERBOSITY
=0;;
3463 no
) AM_DEFAULT_VERBOSITY
=1;;
3464 *) AM_DEFAULT_VERBOSITY
=0;;
3466 am_make
=${MAKE-make}
3467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3468 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3469 if ${am_cv_make_support_nested_variables+:} false
; then :
3470 $as_echo_n "(cached) " >&6
3472 if $as_echo 'TRUE=$(BAR$(V))
3478 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
3479 am_cv_make_support_nested_variables
=yes
3481 am_cv_make_support_nested_variables
=no
3484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3485 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3486 if test $am_cv_make_support_nested_variables = yes; then
3488 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
3490 AM_V
=$AM_DEFAULT_VERBOSITY
3491 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
3496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3497 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3498 # Check whether --enable-maintainer-mode was given.
3499 if test "${enable_maintainer_mode+set}" = set; then :
3500 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3502 USE_MAINTAINER_MODE=no
3505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3506 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3507 if test $USE_MAINTAINER_MODE = yes; then
3508 MAINTAINER_MODE_TRUE=
3509 MAINTAINER_MODE_FALSE='#'
3511 MAINTAINER_MODE_TRUE
='#'
3512 MAINTAINER_MODE_FALSE
=
3515 MAINT
=$MAINTAINER_MODE_TRUE
3520 ac_cpp
='$CPP $CPPFLAGS'
3521 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3522 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3523 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3524 if test -n "$ac_tool_prefix"; then
3525 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3526 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3528 $as_echo_n "checking for $ac_word... " >&6; }
3529 if ${ac_cv_prog_CC+:} false
; then :
3530 $as_echo_n "(cached) " >&6
3532 if test -n "$CC"; then
3533 ac_cv_prog_CC
="$CC" # Let the user override the test.
3535 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3539 test -z "$as_dir" && as_dir
=.
3540 for ac_exec_ext
in '' $ac_executable_extensions; do
3541 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3542 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3543 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3553 if test -n "$CC"; then
3554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3555 $as_echo "$CC" >&6; }
3557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3558 $as_echo "no" >&6; }
3563 if test -z "$ac_cv_prog_CC"; then
3565 # Extract the first word of "gcc", so it can be a program name with args.
3566 set dummy gcc
; ac_word
=$2
3567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3568 $as_echo_n "checking for $ac_word... " >&6; }
3569 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3570 $as_echo_n "(cached) " >&6
3572 if test -n "$ac_ct_CC"; then
3573 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3575 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3579 test -z "$as_dir" && as_dir
=.
3580 for ac_exec_ext
in '' $ac_executable_extensions; do
3581 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3582 ac_cv_prog_ac_ct_CC
="gcc"
3583 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3592 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3593 if test -n "$ac_ct_CC"; then
3594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3595 $as_echo "$ac_ct_CC" >&6; }
3597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3598 $as_echo "no" >&6; }
3601 if test "x$ac_ct_CC" = x
; then
3604 case $cross_compiling:$ac_tool_warned in
3606 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3607 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3608 ac_tool_warned
=yes ;;
3616 if test -z "$CC"; then
3617 if test -n "$ac_tool_prefix"; then
3618 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3619 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3621 $as_echo_n "checking for $ac_word... " >&6; }
3622 if ${ac_cv_prog_CC+:} false
; then :
3623 $as_echo_n "(cached) " >&6
3625 if test -n "$CC"; then
3626 ac_cv_prog_CC
="$CC" # Let the user override the test.
3628 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3632 test -z "$as_dir" && as_dir
=.
3633 for ac_exec_ext
in '' $ac_executable_extensions; do
3634 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3635 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3636 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3646 if test -n "$CC"; then
3647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3648 $as_echo "$CC" >&6; }
3650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3651 $as_echo "no" >&6; }
3657 if test -z "$CC"; then
3658 # Extract the first word of "cc", so it can be a program name with args.
3659 set dummy cc
; ac_word
=$2
3660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3661 $as_echo_n "checking for $ac_word... " >&6; }
3662 if ${ac_cv_prog_CC+:} false
; then :
3663 $as_echo_n "(cached) " >&6
3665 if test -n "$CC"; then
3666 ac_cv_prog_CC
="$CC" # Let the user override the test.
3669 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3673 test -z "$as_dir" && as_dir
=.
3674 for ac_exec_ext
in '' $ac_executable_extensions; do
3675 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3676 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3677 ac_prog_rejected
=yes
3681 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3688 if test $ac_prog_rejected = yes; then
3689 # We found a bogon in the path, so make sure we never use it.
3690 set dummy
$ac_cv_prog_CC
3692 if test $# != 0; then
3693 # We chose a different compiler from the bogus one.
3694 # However, it has the same basename, so the bogon will be chosen
3695 # first if we set CC to just the basename; use the full file name.
3697 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3703 if test -n "$CC"; then
3704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3705 $as_echo "$CC" >&6; }
3707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3708 $as_echo "no" >&6; }
3713 if test -z "$CC"; then
3714 if test -n "$ac_tool_prefix"; then
3715 for ac_prog
in cl.exe
3717 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3718 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3720 $as_echo_n "checking for $ac_word... " >&6; }
3721 if ${ac_cv_prog_CC+:} false
; then :
3722 $as_echo_n "(cached) " >&6
3724 if test -n "$CC"; then
3725 ac_cv_prog_CC
="$CC" # Let the user override the test.
3727 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3731 test -z "$as_dir" && as_dir
=.
3732 for ac_exec_ext
in '' $ac_executable_extensions; do
3733 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3734 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3735 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3745 if test -n "$CC"; then
3746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3747 $as_echo "$CC" >&6; }
3749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3750 $as_echo "no" >&6; }
3754 test -n "$CC" && break
3757 if test -z "$CC"; then
3759 for ac_prog
in cl.exe
3761 # Extract the first word of "$ac_prog", so it can be a program name with args.
3762 set dummy
$ac_prog; ac_word
=$2
3763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3764 $as_echo_n "checking for $ac_word... " >&6; }
3765 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3766 $as_echo_n "(cached) " >&6
3768 if test -n "$ac_ct_CC"; then
3769 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3771 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3775 test -z "$as_dir" && as_dir
=.
3776 for ac_exec_ext
in '' $ac_executable_extensions; do
3777 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3778 ac_cv_prog_ac_ct_CC
="$ac_prog"
3779 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3788 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3789 if test -n "$ac_ct_CC"; then
3790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3791 $as_echo "$ac_ct_CC" >&6; }
3793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3794 $as_echo "no" >&6; }
3798 test -n "$ac_ct_CC" && break
3801 if test "x$ac_ct_CC" = x
; then
3804 case $cross_compiling:$ac_tool_warned in
3806 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3807 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3808 ac_tool_warned
=yes ;;
3817 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3818 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3819 as_fn_error $?
"no acceptable C compiler found in \$PATH
3820 See \`config.log' for more details" "$LINENO" 5; }
3822 # Provide some information about the compiler.
3823 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3826 for ac_option
in --version -v -V -qversion; do
3827 { { ac_try
="$ac_compiler $ac_option >&5"
3829 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3830 *) ac_try_echo=$ac_try;;
3832 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3833 $as_echo "$ac_try_echo"; } >&5
3834 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3836 if test -s conftest.err; then
3838 ... rest of stderr output deleted ...
3839 10q' conftest.err >conftest.er1
3840 cat conftest.er1 >&5
3842 rm -f conftest.er1 conftest.err
3843 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3844 test $ac_status = 0; }
3847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3848 /* end confdefs.h. */
3858 ac_clean_files_save=$ac_clean_files
3859 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3860 # Try to create an executable without -o first, disregard a.out.
3861 # It will help us diagnose broken compilers, and finding out an intuition
3863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3864 $as_echo_n "checking whether the C compiler works... " >&6; }
3865 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3867 # The possible output files:
3868 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3871 for ac_file in $ac_files
3874 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3875 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3880 if { { ac_try="$ac_link_default"
3882 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3883 *) ac_try_echo
=$ac_try;;
3885 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3886 $as_echo "$ac_try_echo"; } >&5
3887 (eval "$ac_link_default") 2>&5
3889 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3890 test $ac_status = 0; }; then :
3891 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3892 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3893 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3894 # so that the user can short-circuit this test for compilers unknown to
3896 for ac_file
in $ac_files ''
3898 test -f "$ac_file" ||
continue
3900 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3903 # We found the default executable, but exeext='' is most
3907 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3909 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3911 # We set ac_cv_exeext here because the later test for it is not
3912 # safe: cross compilers may not add the suffix if given an `-o'
3913 # argument, so we may need to know it at that point already.
3914 # Even if this section looks crufty: it has the advantage of
3921 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3926 if test -z "$ac_file"; then :
3927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3928 $as_echo "no" >&6; }
3929 $as_echo "$as_me: failed program was:" >&5
3930 sed 's/^/| /' conftest.
$ac_ext >&5
3932 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3933 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3934 as_fn_error
77 "C compiler cannot create executables
3935 See \`config.log' for more details" "$LINENO" 5; }
3937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3938 $as_echo "yes" >&6; }
3940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3941 $as_echo_n "checking for C compiler default output file name... " >&6; }
3942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3943 $as_echo "$ac_file" >&6; }
3944 ac_exeext
=$ac_cv_exeext
3946 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3947 ac_clean_files
=$ac_clean_files_save
3948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3949 $as_echo_n "checking for suffix of executables... " >&6; }
3950 if { { ac_try
="$ac_link"
3952 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3953 *) ac_try_echo=$ac_try;;
3955 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3956 $as_echo "$ac_try_echo"; } >&5
3957 (eval "$ac_link") 2>&5
3959 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3960 test $ac_status = 0; }; then :
3961 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3962 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3963 # work properly (i.e., refer to `conftest.exe'), while it won't with
3965 for ac_file
in conftest.exe conftest conftest.
*; do
3966 test -f "$ac_file" ||
continue
3968 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3969 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3975 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3976 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3977 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3978 See \`config.log' for more details" "$LINENO" 5; }
3980 rm -f conftest conftest
$ac_cv_exeext
3981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3982 $as_echo "$ac_cv_exeext" >&6; }
3984 rm -f conftest.
$ac_ext
3985 EXEEXT
=$ac_cv_exeext
3987 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3988 /* end confdefs.h. */
3993 FILE *f = fopen ("conftest.out", "w");
3994 return ferror (f) || fclose (f) != 0;
4000 ac_clean_files
="$ac_clean_files conftest.out"
4001 # Check that the compiler produces executables we can run. If not, either
4002 # the compiler is broken, or we cross compile.
4003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4004 $as_echo_n "checking whether we are cross compiling... " >&6; }
4005 if test "$cross_compiling" != yes; then
4006 { { ac_try
="$ac_link"
4008 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4009 *) ac_try_echo=$ac_try;;
4011 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4012 $as_echo "$ac_try_echo"; } >&5
4013 (eval "$ac_link") 2>&5
4015 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4016 test $ac_status = 0; }
4017 if { ac_try='./conftest$ac_cv_exeext'
4018 { { case "(($ac_try" in
4019 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4020 *) ac_try_echo
=$ac_try;;
4022 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4023 $as_echo "$ac_try_echo"; } >&5
4024 (eval "$ac_try") 2>&5
4026 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4027 test $ac_status = 0; }; }; then
4030 if test "$cross_compiling" = maybe
; then
4033 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4034 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4035 as_fn_error $?
"cannot run C compiled programs.
4036 If you meant to cross compile, use \`--host'.
4037 See \`config.log' for more details" "$LINENO" 5; }
4041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4042 $as_echo "$cross_compiling" >&6; }
4044 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4045 ac_clean_files
=$ac_clean_files_save
4046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4047 $as_echo_n "checking for suffix of object files... " >&6; }
4048 if ${ac_cv_objext+:} false
; then :
4049 $as_echo_n "(cached) " >&6
4051 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4052 /* end confdefs.h. */
4062 rm -f conftest.o conftest.obj
4063 if { { ac_try
="$ac_compile"
4065 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4066 *) ac_try_echo=$ac_try;;
4068 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4069 $as_echo "$ac_try_echo"; } >&5
4070 (eval "$ac_compile") 2>&5
4072 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4073 test $ac_status = 0; }; then :
4074 for ac_file in conftest.o conftest.obj conftest.*; do
4075 test -f "$ac_file" || continue;
4077 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4078 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4083 $as_echo "$as_me: failed program was:" >&5
4084 sed 's/^/| /' conftest.$ac_ext >&5
4086 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4087 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4088 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4089 See \
`config.log' for more details" "$LINENO" 5; }
4091 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4094 $as_echo "$ac_cv_objext" >&6; }
4095 OBJEXT=$ac_cv_objext
4097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4098 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4099 if ${ac_cv_c_compiler_gnu+:} false; then :
4100 $as_echo_n "(cached) " >&6
4102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4103 /* end confdefs.h. */
4116 if ac_fn_c_try_compile "$LINENO"; then :
4121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4122 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4126 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4127 if test $ac_compiler_gnu = yes; then
4132 ac_test_CFLAGS=${CFLAGS+set}
4133 ac_save_CFLAGS=$CFLAGS
4134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4135 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4136 if ${ac_cv_prog_cc_g+:} false; then :
4137 $as_echo_n "(cached) " >&6
4139 ac_save_c_werror_flag=$ac_c_werror_flag
4140 ac_c_werror_flag=yes
4143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4144 /* end confdefs.h. */
4154 if ac_fn_c_try_compile "$LINENO"; then :
4158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4159 /* end confdefs.h. */
4169 if ac_fn_c_try_compile "$LINENO"; then :
4172 ac_c_werror_flag=$ac_save_c_werror_flag
4174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4175 /* end confdefs.h. */
4185 if ac_fn_c_try_compile "$LINENO"; then :
4188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4193 ac_c_werror_flag=$ac_save_c_werror_flag
4195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4196 $as_echo "$ac_cv_prog_cc_g" >&6; }
4197 if test "$ac_test_CFLAGS" = set; then
4198 CFLAGS=$ac_save_CFLAGS
4199 elif test $ac_cv_prog_cc_g = yes; then
4200 if test "$GCC" = yes; then
4206 if test "$GCC" = yes; then
4212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4213 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4214 if ${ac_cv_prog_cc_c89+:} false; then :
4215 $as_echo_n "(cached) " >&6
4217 ac_cv_prog_cc_c89=no
4219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4220 /* end confdefs.h. */
4224 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4225 struct buf { int x; };
4226 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4227 static char *e (p, i)
4233 static char *f (char * (*g) (char **, int), char **p, ...)
4238 s = g (p, va_arg (v,int));
4243 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4244 function prototypes and stuff, but not '\xHH' hex character constants.
4245 These don't provoke an error unfortunately, instead are silently treated
4246 as 'x'. The following induces an error, until -std is added to get
4247 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4248 array size at least. It's necessary to write '\x00'==0 to get something
4249 that's true only with -std. */
4250 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4252 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4253 inside strings and character constants. */
4255 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4257 int test (int i, double x);
4258 struct s1 {int (*f) (int a);};
4259 struct s2 {int (*f) (double a);};
4260 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4266 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4271 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4272 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4274 CC="$ac_save_CC $ac_arg"
4275 if ac_fn_c_try_compile "$LINENO"; then :
4276 ac_cv_prog_cc_c89=$ac_arg
4278 rm -f core conftest.err conftest.$ac_objext
4279 test "x$ac_cv_prog_cc_c89" != "xno" && break
4281 rm -f conftest.$ac_ext
4286 case "x$ac_cv_prog_cc_c89" in
4288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4289 $as_echo "none needed" >&6; } ;;
4291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4292 $as_echo "unsupported" >&6; } ;;
4294 CC="$CC $ac_cv_prog_cc_c89"
4295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4296 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4298 if test "x$ac_cv_prog_cc_c89" != xno; then :
4303 ac_cpp='$CPP $CPPFLAGS'
4304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4309 ac_cpp='$CPP $CPPFLAGS'
4310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4314 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4315 if ${am_cv_prog_cc_c_o+:} false; then :
4316 $as_echo_n "(cached) " >&6
4318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4319 /* end confdefs.h. */
4329 # Make sure it works both with $CC and with simple cc.
4330 # Following AC_PROG_CC_C_O, we do the test twice because some
4331 # compilers refuse to overwrite an existing .o file with -o,
4332 # though they will create one.
4333 am_cv_prog_cc_c_o=yes
4335 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4336 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4339 (exit $ac_status); } \
4340 && test -f conftest2.$ac_objext; then
4343 am_cv_prog_cc_c_o=no
4347 rm -f core conftest*
4350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4351 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4352 if test "$am_cv_prog_cc_c_o" != yes; then
4353 # Losing compiler, so override with the script.
4354 # FIXME: It is wrong to rewrite CC.
4355 # But if we don't then we get into trouble of one sort or another.
4356 # A longer-term fix would be to have automake use am__CC in this case,
4357 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4358 CC="$am_aux_dir/compile $CC"
4361 ac_cpp='$CPP $CPPFLAGS'
4362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4366 DEPDIR="${am__leading_dot}deps"
4368 ac_config_commands="$ac_config_commands depfiles"
4371 am_make=${MAKE-make}
4372 cat > confinc << 'END'
4374 @echo this is the am__doit target
4377 # If we don't find an include directive, just comment out the code.
4378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4379 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4383 # First try GNU make style include.
4384 echo "include confinc" > confmf
4385 # Ignore all kinds of additional output from 'make'.
4386 case `$am_make -s -f confmf
2> /dev
/null
` in #(
4387 *the\ am__doit\ target*)
4393 # Now try BSD make style include.
4394 if test "$am__include" = "#"; then
4395 echo '.include "confinc"' > confmf
4396 case `$am_make -s -f confmf
2> /dev
/null
` in #(
4397 *the\ am__doit\ target*)
4398 am__include=.include
4406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4407 $as_echo "$_am_result" >&6; }
4408 rm -f confinc confmf
4410 # Check whether --enable-dependency-tracking was given.
4411 if test "${enable_dependency_tracking+set}" = set; then :
4412 enableval=$enable_dependency_tracking;
4415 if test "x$enable_dependency_tracking" != xno; then
4416 am_depcomp="$ac_aux_dir/depcomp"
4420 if test "x$enable_dependency_tracking" != xno; then
4430 depcc="$CC" am_compiler_list=
4432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4433 $as_echo_n "checking dependency style of $depcc... " >&6; }
4434 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4435 $as_echo_n "(cached) " >&6
4437 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4438 # We make a subdir and do the tests there. Otherwise we can end up
4439 # making bogus files that we don't know about and never remove. For
4440 # instance it was reported that on HP-UX the gcc test will end up
4441 # making a dummy file named 'D' -- because '-MD' means "put the output
4445 # Copy depcomp to subdir because otherwise we won't find it if we're
4446 # using a relative directory.
4447 cp "$am_depcomp" conftest.dir
4449 # We will build objects and dependencies in a subdirectory because
4450 # it helps to detect inapplicable dependency modes. For instance
4451 # both Tru64's cc and ICC support -MD to output dependencies as a
4452 # side effect of compilation, but ICC will put the dependencies in
4453 # the current directory while Tru64 will put them in the object
4457 am_cv_CC_dependencies_compiler_type=none
4458 if test "$am_compiler_list" = ""; then
4459 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4462 case " $depcc " in #(
4463 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4466 for depmode in $am_compiler_list; do
4467 # Setup a source with many dependencies, because some compilers
4468 # like to wrap large dependency lists on column 80 (with \), and
4469 # we should not choose a depcomp mode which is confused by this.
4471 # We need to recreate these files for each test, as the compiler may
4472 # overwrite some of them when testing with obscure command lines.
4473 # This happens at least with the AIX C compiler.
4475 for i in 1 2 3 4 5 6; do
4476 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4477 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4478 # Solaris 10 /bin/sh.
4479 echo '/* dummy */' > sub/conftst$i.h
4481 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4483 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4484 # mode. It turns out that the SunPro C++ compiler does not properly
4485 # handle '-M -o', and we need to detect this. Also, some Intel
4486 # versions had trouble with output in subdirs.
4487 am__obj=sub/conftest.${OBJEXT-o}
4488 am__minus_obj="-o $am__obj"
4491 # This depmode causes a compiler race in universal mode.
4492 test "$am__universal" = false || continue
4495 # After this tag, mechanisms are not by side-effect, so they'll
4496 # only be used when explicitly requested.
4497 if test "x$enable_dependency_tracking" = xyes; then
4503 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4504 # This compiler won't grok '-c -o', but also, the minuso test has
4505 # not run yet. These depmodes are late enough in the game, and
4506 # so weak that their functioning should not be impacted.
4507 am__obj=conftest.${OBJEXT-o}
4512 if depmode=$depmode \
4513 source=sub/conftest.c object=$am__obj \
4514 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4515 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4516 >/dev/null 2>conftest.err &&
4517 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4518 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4519 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4520 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4521 # icc doesn't choke on unknown options, it will just issue warnings
4522 # or remarks (even with -Werror). So we grep stderr for any message
4523 # that says an option was ignored or not supported.
4524 # When given -MP, icc 7.0 and 7.1 complain thusly:
4525 # icc: Command line warning: ignoring option '-M'; no argument required
4526 # The diagnosis changed in icc 8.0:
4527 # icc: Command line remark: option '-MP' not supported
4528 if (grep 'ignoring option' conftest.err ||
4529 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4530 am_cv_CC_dependencies_compiler_type=$depmode
4539 am_cv_CC_dependencies_compiler_type=none
4543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4544 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4545 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4548 test "x$enable_dependency_tracking" != xno \
4549 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4551 am__fastdepCC_FALSE='#'
4553 am__fastdepCC_TRUE='#'
4554 am__fastdepCC_FALSE=
4559 ac_cpp='$CXXCPP $CPPFLAGS'
4560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4563 if test -z "$CXX"; then
4564 if test -n "$CCC"; then
4567 if test -n "$ac_tool_prefix"; then
4568 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4570 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4571 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4573 $as_echo_n "checking for $ac_word... " >&6; }
4574 if ${ac_cv_prog_CXX+:} false; then :
4575 $as_echo_n "(cached) " >&6
4577 if test -n "$CXX"; then
4578 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4584 test -z "$as_dir" && as_dir=.
4585 for ac_exec_ext in '' $ac_executable_extensions; do
4586 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4587 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4588 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4598 if test -n "$CXX"; then
4599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4600 $as_echo "$CXX" >&6; }
4602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4603 $as_echo "no" >&6; }
4607 test -n "$CXX" && break
4610 if test -z "$CXX"; then
4612 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4614 # Extract the first word of "$ac_prog", so it can be a program name with args.
4615 set dummy $ac_prog; ac_word=$2
4616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4617 $as_echo_n "checking for $ac_word... " >&6; }
4618 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4619 $as_echo_n "(cached) " >&6
4621 if test -n "$ac_ct_CXX"; then
4622 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4624 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4628 test -z "$as_dir" && as_dir=.
4629 for ac_exec_ext in '' $ac_executable_extensions; do
4630 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4631 ac_cv_prog_ac_ct_CXX="$ac_prog"
4632 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4641 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4642 if test -n "$ac_ct_CXX"; then
4643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4644 $as_echo "$ac_ct_CXX" >&6; }
4646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4647 $as_echo "no" >&6; }
4651 test -n "$ac_ct_CXX" && break
4654 if test "x$ac_ct_CXX" = x; then
4657 case $cross_compiling:$ac_tool_warned in
4659 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4660 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4661 ac_tool_warned=yes ;;
4669 # Provide some information about the compiler.
4670 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4673 for ac_option in --version -v -V -qversion; do
4674 { { ac_try="$ac_compiler $ac_option >&5"
4676 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4677 *) ac_try_echo
=$ac_try;;
4679 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4680 $as_echo "$ac_try_echo"; } >&5
4681 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4683 if test -s conftest.err
; then
4685 ... rest of stderr output deleted ...
4686 10q' conftest.err
>conftest.er1
4687 cat conftest.er1
>&5
4689 rm -f conftest.er1 conftest.err
4690 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4691 test $ac_status = 0; }
4694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4695 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4696 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
4697 $as_echo_n "(cached) " >&6
4699 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4700 /* end confdefs.h. */
4713 if ac_fn_cxx_try_compile
"$LINENO"; then :
4718 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4719 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4723 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4724 if test $ac_compiler_gnu = yes; then
4729 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4730 ac_save_CXXFLAGS
=$CXXFLAGS
4731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4732 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4733 if ${ac_cv_prog_cxx_g+:} false
; then :
4734 $as_echo_n "(cached) " >&6
4736 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4737 ac_cxx_werror_flag
=yes
4740 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4741 /* end confdefs.h. */
4751 if ac_fn_cxx_try_compile
"$LINENO"; then :
4752 ac_cv_prog_cxx_g
=yes
4755 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4756 /* end confdefs.h. */
4766 if ac_fn_cxx_try_compile
"$LINENO"; then :
4769 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4771 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4772 /* end confdefs.h. */
4782 if ac_fn_cxx_try_compile
"$LINENO"; then :
4783 ac_cv_prog_cxx_g
=yes
4785 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4787 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4789 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4790 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4793 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4794 if test "$ac_test_CXXFLAGS" = set; then
4795 CXXFLAGS
=$ac_save_CXXFLAGS
4796 elif test $ac_cv_prog_cxx_g = yes; then
4797 if test "$GXX" = yes; then
4803 if test "$GXX" = yes; then
4810 ac_cpp
='$CPP $CPPFLAGS'
4811 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4812 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4813 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4815 depcc
="$CXX" am_compiler_list
=
4817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4818 $as_echo_n "checking dependency style of $depcc... " >&6; }
4819 if ${am_cv_CXX_dependencies_compiler_type+:} false
; then :
4820 $as_echo_n "(cached) " >&6
4822 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4823 # We make a subdir and do the tests there. Otherwise we can end up
4824 # making bogus files that we don't know about and never remove. For
4825 # instance it was reported that on HP-UX the gcc test will end up
4826 # making a dummy file named 'D' -- because '-MD' means "put the output
4830 # Copy depcomp to subdir because otherwise we won't find it if we're
4831 # using a relative directory.
4832 cp "$am_depcomp" conftest.dir
4834 # We will build objects and dependencies in a subdirectory because
4835 # it helps to detect inapplicable dependency modes. For instance
4836 # both Tru64's cc and ICC support -MD to output dependencies as a
4837 # side effect of compilation, but ICC will put the dependencies in
4838 # the current directory while Tru64 will put them in the object
4842 am_cv_CXX_dependencies_compiler_type
=none
4843 if test "$am_compiler_list" = ""; then
4844 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4847 case " $depcc " in #(
4848 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4851 for depmode
in $am_compiler_list; do
4852 # Setup a source with many dependencies, because some compilers
4853 # like to wrap large dependency lists on column 80 (with \), and
4854 # we should not choose a depcomp mode which is confused by this.
4856 # We need to recreate these files for each test, as the compiler may
4857 # overwrite some of them when testing with obscure command lines.
4858 # This happens at least with the AIX C compiler.
4860 for i
in 1 2 3 4 5 6; do
4861 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4862 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4863 # Solaris 10 /bin/sh.
4864 echo '/* dummy */' > sub
/conftst
$i.h
4866 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4868 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4869 # mode. It turns out that the SunPro C++ compiler does not properly
4870 # handle '-M -o', and we need to detect this. Also, some Intel
4871 # versions had trouble with output in subdirs.
4872 am__obj
=sub
/conftest.
${OBJEXT-o}
4873 am__minus_obj
="-o $am__obj"
4876 # This depmode causes a compiler race in universal mode.
4877 test "$am__universal" = false ||
continue
4880 # After this tag, mechanisms are not by side-effect, so they'll
4881 # only be used when explicitly requested.
4882 if test "x$enable_dependency_tracking" = xyes
; then
4888 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
4889 # This compiler won't grok '-c -o', but also, the minuso test has
4890 # not run yet. These depmodes are late enough in the game, and
4891 # so weak that their functioning should not be impacted.
4892 am__obj
=conftest.
${OBJEXT-o}
4897 if depmode
=$depmode \
4898 source=sub
/conftest.c object
=$am__obj \
4899 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4900 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4901 >/dev
/null
2>conftest.err
&&
4902 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4903 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4904 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4905 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4906 # icc doesn't choke on unknown options, it will just issue warnings
4907 # or remarks (even with -Werror). So we grep stderr for any message
4908 # that says an option was ignored or not supported.
4909 # When given -MP, icc 7.0 and 7.1 complain thusly:
4910 # icc: Command line warning: ignoring option '-M'; no argument required
4911 # The diagnosis changed in icc 8.0:
4912 # icc: Command line remark: option '-MP' not supported
4913 if (grep 'ignoring option' conftest.err ||
4914 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4915 am_cv_CXX_dependencies_compiler_type
=$depmode
4924 am_cv_CXX_dependencies_compiler_type
=none
4928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4929 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4930 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
4933 test "x$enable_dependency_tracking" != xno \
4934 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
4935 am__fastdepCXX_TRUE
=
4936 am__fastdepCXX_FALSE
='#'
4938 am__fastdepCXX_TRUE
='#'
4939 am__fastdepCXX_FALSE
=
4943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4944 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4945 if ${ac_cv_path_GREP+:} false
; then :
4946 $as_echo_n "(cached) " >&6
4948 if test -z "$GREP"; then
4949 ac_path_GREP_found
=false
4950 # Loop through the user's path and test for each of PROGNAME-LIST
4951 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4952 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4955 test -z "$as_dir" && as_dir
=.
4956 for ac_prog
in grep ggrep
; do
4957 for ac_exec_ext
in '' $ac_executable_extensions; do
4958 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4959 as_fn_executable_p
"$ac_path_GREP" ||
continue
4960 # Check for GNU ac_path_GREP and select it if it is found.
4961 # Check for GNU $ac_path_GREP
4962 case `"$ac_path_GREP" --version 2>&1` in
4964 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4967 $as_echo_n 0123456789 >"conftest.in"
4970 cat "conftest.in" "conftest.in" >"conftest.tmp"
4971 mv "conftest.tmp" "conftest.in"
4972 cp "conftest.in" "conftest.nl"
4973 $as_echo 'GREP' >> "conftest.nl"
4974 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4975 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4976 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4977 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4978 # Best one so far, save it but keep looking for a better one
4979 ac_cv_path_GREP
="$ac_path_GREP"
4980 ac_path_GREP_max
=$ac_count
4982 # 10*(2^10) chars as input seems more than enough
4983 test $ac_count -gt 10 && break
4985 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4988 $ac_path_GREP_found && break 3
4993 if test -z "$ac_cv_path_GREP"; then
4994 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4997 ac_cv_path_GREP
=$GREP
5001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5002 $as_echo "$ac_cv_path_GREP" >&6; }
5003 GREP
="$ac_cv_path_GREP"
5008 ac_cpp
='$CPP $CPPFLAGS'
5009 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5010 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5011 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5013 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5014 # On Suns, sometimes $CPP names a directory.
5015 if test -n "$CPP" && test -d "$CPP"; then
5018 if test -z "$CPP"; then
5019 if ${ac_cv_prog_CPP+:} false
; then :
5020 $as_echo_n "(cached) " >&6
5022 # Double quotes because CPP needs to be expanded
5023 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5026 for ac_c_preproc_warn_flag
in '' yes
5028 # Use a header file that comes with gcc, so configuring glibc
5029 # with a fresh cross-compiler works.
5030 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5031 # <limits.h> exists even on freestanding compilers.
5032 # On the NeXT, cc -E runs the code through the compiler's parser,
5033 # not just through cpp. "Syntax error" is here to catch this case.
5034 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5035 /* end confdefs.h. */
5037 # include <limits.h>
5039 # include <assert.h>
5043 if ac_fn_c_try_cpp
"$LINENO"; then :
5046 # Broken: fails on valid input.
5049 rm -f conftest.err conftest.i conftest.
$ac_ext
5051 # OK, works on sane cases. Now check whether nonexistent headers
5052 # can be detected and how.
5053 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5054 /* end confdefs.h. */
5055 #include <ac_nonexistent.h>
5057 if ac_fn_c_try_cpp
"$LINENO"; then :
5058 # Broken: success on invalid input.
5061 # Passes both tests.
5065 rm -f conftest.err conftest.i conftest.
$ac_ext
5068 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5069 rm -f conftest.i conftest.err conftest.
$ac_ext
5070 if $ac_preproc_ok; then :
5082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5083 $as_echo "$CPP" >&6; }
5085 for ac_c_preproc_warn_flag
in '' yes
5087 # Use a header file that comes with gcc, so configuring glibc
5088 # with a fresh cross-compiler works.
5089 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5090 # <limits.h> exists even on freestanding compilers.
5091 # On the NeXT, cc -E runs the code through the compiler's parser,
5092 # not just through cpp. "Syntax error" is here to catch this case.
5093 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5094 /* end confdefs.h. */
5096 # include <limits.h>
5098 # include <assert.h>
5102 if ac_fn_c_try_cpp
"$LINENO"; then :
5105 # Broken: fails on valid input.
5108 rm -f conftest.err conftest.i conftest.
$ac_ext
5110 # OK, works on sane cases. Now check whether nonexistent headers
5111 # can be detected and how.
5112 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5113 /* end confdefs.h. */
5114 #include <ac_nonexistent.h>
5116 if ac_fn_c_try_cpp
"$LINENO"; then :
5117 # Broken: success on invalid input.
5120 # Passes both tests.
5124 rm -f conftest.err conftest.i conftest.
$ac_ext
5127 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5128 rm -f conftest.i conftest.err conftest.
$ac_ext
5129 if $ac_preproc_ok; then :
5132 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5133 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5134 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
5135 See \`config.log' for more details" "$LINENO" 5; }
5139 ac_cpp
='$CPP $CPPFLAGS'
5140 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5141 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5142 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5146 $as_echo_n "checking for egrep... " >&6; }
5147 if ${ac_cv_path_EGREP+:} false
; then :
5148 $as_echo_n "(cached) " >&6
5150 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5151 then ac_cv_path_EGREP
="$GREP -E"
5153 if test -z "$EGREP"; then
5154 ac_path_EGREP_found
=false
5155 # Loop through the user's path and test for each of PROGNAME-LIST
5156 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5157 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5160 test -z "$as_dir" && as_dir
=.
5161 for ac_prog
in egrep; do
5162 for ac_exec_ext
in '' $ac_executable_extensions; do
5163 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5164 as_fn_executable_p
"$ac_path_EGREP" ||
continue
5165 # Check for GNU ac_path_EGREP and select it if it is found.
5166 # Check for GNU $ac_path_EGREP
5167 case `"$ac_path_EGREP" --version 2>&1` in
5169 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5172 $as_echo_n 0123456789 >"conftest.in"
5175 cat "conftest.in" "conftest.in" >"conftest.tmp"
5176 mv "conftest.tmp" "conftest.in"
5177 cp "conftest.in" "conftest.nl"
5178 $as_echo 'EGREP' >> "conftest.nl"
5179 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5180 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5181 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5182 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5183 # Best one so far, save it but keep looking for a better one
5184 ac_cv_path_EGREP
="$ac_path_EGREP"
5185 ac_path_EGREP_max
=$ac_count
5187 # 10*(2^10) chars as input seems more than enough
5188 test $ac_count -gt 10 && break
5190 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5193 $ac_path_EGREP_found && break 3
5198 if test -z "$ac_cv_path_EGREP"; then
5199 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5202 ac_cv_path_EGREP
=$EGREP
5207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5208 $as_echo "$ac_cv_path_EGREP" >&6; }
5209 EGREP
="$ac_cv_path_EGREP"
5212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5213 $as_echo_n "checking for ANSI C header files... " >&6; }
5214 if ${ac_cv_header_stdc+:} false
; then :
5215 $as_echo_n "(cached) " >&6
5217 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5218 /* end confdefs.h. */
5232 if ac_fn_c_try_compile
"$LINENO"; then :
5233 ac_cv_header_stdc
=yes
5235 ac_cv_header_stdc
=no
5237 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5239 if test $ac_cv_header_stdc = yes; then
5240 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5241 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5242 /* end confdefs.h. */
5246 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5247 $EGREP "memchr" >/dev
/null
2>&1; then :
5250 ac_cv_header_stdc
=no
5256 if test $ac_cv_header_stdc = yes; then
5257 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5258 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5259 /* end confdefs.h. */
5263 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5264 $EGREP "free" >/dev
/null
2>&1; then :
5267 ac_cv_header_stdc
=no
5273 if test $ac_cv_header_stdc = yes; then
5274 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5275 if test "$cross_compiling" = yes; then :
5278 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5279 /* end confdefs.h. */
5282 #if ((' ' & 0x0FF) == 0x020)
5283 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5284 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5286 # define ISLOWER(c) \
5287 (('a' <= (c) && (c) <= 'i') \
5288 || ('j' <= (c) && (c) <= 'r') \
5289 || ('s' <= (c) && (c) <= 'z'))
5290 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5293 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5298 for (i = 0; i < 256; i++)
5299 if (XOR (islower (i), ISLOWER (i))
5300 || toupper (i) != TOUPPER (i))
5305 if ac_fn_c_try_run
"$LINENO"; then :
5308 ac_cv_header_stdc
=no
5310 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5311 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5317 $as_echo "$ac_cv_header_stdc" >&6; }
5318 if test $ac_cv_header_stdc = yes; then
5320 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5324 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5325 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5326 inttypes.h stdint.h unistd.h
5328 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5329 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5331 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5332 cat >>confdefs.h
<<_ACEOF
5333 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5342 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
5343 if test "x$ac_cv_header_minix_config_h" = xyes
; then :
5350 if test "$MINIX" = yes; then
5352 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
5355 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
5358 $as_echo "#define _MINIX 1" >>confdefs.h
5363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
5364 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
5365 if ${ac_cv_safe_to_define___extensions__+:} false
; then :
5366 $as_echo_n "(cached) " >&6
5368 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5369 /* end confdefs.h. */
5371 # define __EXTENSIONS__ 1
5372 $ac_includes_default
5381 if ac_fn_c_try_compile
"$LINENO"; then :
5382 ac_cv_safe_to_define___extensions__
=yes
5384 ac_cv_safe_to_define___extensions__
=no
5386 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
5389 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
5390 test $ac_cv_safe_to_define___extensions__ = yes &&
5391 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
5393 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
5395 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
5397 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
5399 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
5412 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
5413 if test -n "$ac_tool_prefix"; then
5414 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5415 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
5416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5417 $as_echo_n "checking for $ac_word... " >&6; }
5418 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
5419 $as_echo_n "(cached) " >&6
5423 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
5426 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5430 test -z "$as_dir" && as_dir
=.
5431 for ac_exec_ext
in '' $ac_executable_extensions; do
5432 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5433 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
5434 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5444 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
5445 if test -n "$PKG_CONFIG"; then
5446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5447 $as_echo "$PKG_CONFIG" >&6; }
5449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5450 $as_echo "no" >&6; }
5455 if test -z "$ac_cv_path_PKG_CONFIG"; then
5456 ac_pt_PKG_CONFIG
=$PKG_CONFIG
5457 # Extract the first word of "pkg-config", so it can be a program name with args.
5458 set dummy pkg-config
; ac_word
=$2
5459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5460 $as_echo_n "checking for $ac_word... " >&6; }
5461 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
5462 $as_echo_n "(cached) " >&6
5464 case $ac_pt_PKG_CONFIG in
5466 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
5469 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5473 test -z "$as_dir" && as_dir
=.
5474 for ac_exec_ext
in '' $ac_executable_extensions; do
5475 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5476 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
5477 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5487 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
5488 if test -n "$ac_pt_PKG_CONFIG"; then
5489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
5490 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
5492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5493 $as_echo "no" >&6; }
5496 if test "x$ac_pt_PKG_CONFIG" = x
; then
5499 case $cross_compiling:$ac_tool_warned in
5501 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5502 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5503 ac_tool_warned
=yes ;;
5505 PKG_CONFIG
=$ac_pt_PKG_CONFIG
5508 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
5512 if test -n "$PKG_CONFIG"; then
5513 _pkg_min_version
=0.9.0
5514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
5515 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
5516 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
5517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5518 $as_echo "yes" >&6; }
5520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5521 $as_echo "no" >&6; }
5528 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5529 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5534 macro_version
='2.2.7a'
5535 macro_revision
='1.3134'
5549 ltmain
="$ac_aux_dir/ltmain.sh"
5551 # Backslashify metacharacters that are still active within
5552 # double-quoted strings.
5553 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
5555 # Same as above, but do not quote variable references.
5556 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
5558 # Sed substitution to delay expansion of an escaped shell variable in a
5559 # double_quote_subst'ed string.
5560 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
5562 # Sed substitution to delay expansion of an escaped single quote.
5563 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
5565 # Sed substitution to avoid accidental globbing in evaled expressions
5566 no_glob_subst
='s/\*/\\\*/g'
5568 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5569 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5570 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5573 $as_echo_n "checking how to print strings... " >&6; }
5574 # Test print first, because it will be a builtin if present.
5575 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5576 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5578 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5581 # Use this function as a fallback that always works.
5582 func_fallback_echo ()
5584 eval 'cat <<_LTECHO_EOF
5588 ECHO='func_fallback_echo
'
5591 # func_echo_all arg...
5592 # Invoke $ECHO with all args, space-separated.
5599 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5600 $as_echo "printf" >&6; } ;;
5601 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5602 $as_echo "print -r" >&6; } ;;
5603 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5604 $as_echo "cat" >&6; } ;;
5620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5621 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5622 if ${ac_cv_path_SED+:} false; then :
5623 $as_echo_n "(cached) " >&6
5625 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5626 for ac_i in 1 2 3 4 5 6 7; do
5627 ac_script="$ac_script$as_nl$ac_script"
5629 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5630 { ac_script=; unset ac_script;}
5631 if test -z "$SED"; then
5632 ac_path_SED_found=false
5633 # Loop through the user's path and
test for each of PROGNAME-LIST
5634 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5638 test -z "$as_dir" && as_dir
=.
5639 for ac_prog
in sed gsed
; do
5640 for ac_exec_ext
in '' $ac_executable_extensions; do
5641 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
5642 as_fn_executable_p
"$ac_path_SED" ||
continue
5643 # Check for GNU ac_path_SED and select it if it is found.
5644 # Check for GNU $ac_path_SED
5645 case `"$ac_path_SED" --version 2>&1` in
5647 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
5650 $as_echo_n 0123456789 >"conftest.in"
5653 cat "conftest.in" "conftest.in" >"conftest.tmp"
5654 mv "conftest.tmp" "conftest.in"
5655 cp "conftest.in" "conftest.nl"
5656 $as_echo '' >> "conftest.nl"
5657 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5658 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5659 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5660 if test $ac_count -gt ${ac_path_SED_max-0}; then
5661 # Best one so far, save it but keep looking for a better one
5662 ac_cv_path_SED
="$ac_path_SED"
5663 ac_path_SED_max
=$ac_count
5665 # 10*(2^10) chars as input seems more than enough
5666 test $ac_count -gt 10 && break
5668 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5671 $ac_path_SED_found && break 3
5676 if test -z "$ac_cv_path_SED"; then
5677 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
5684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5685 $as_echo "$ac_cv_path_SED" >&6; }
5686 SED
="$ac_cv_path_SED"
5689 test -z "$SED" && SED
=sed
5690 Xsed
="$SED -e 1s/^X//"
5702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5703 $as_echo_n "checking for fgrep... " >&6; }
5704 if ${ac_cv_path_FGREP+:} false
; then :
5705 $as_echo_n "(cached) " >&6
5707 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
5708 then ac_cv_path_FGREP
="$GREP -F"
5710 if test -z "$FGREP"; then
5711 ac_path_FGREP_found
=false
5712 # Loop through the user's path and test for each of PROGNAME-LIST
5713 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5714 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5717 test -z "$as_dir" && as_dir
=.
5718 for ac_prog
in fgrep
; do
5719 for ac_exec_ext
in '' $ac_executable_extensions; do
5720 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
5721 as_fn_executable_p
"$ac_path_FGREP" ||
continue
5722 # Check for GNU ac_path_FGREP and select it if it is found.
5723 # Check for GNU $ac_path_FGREP
5724 case `"$ac_path_FGREP" --version 2>&1` in
5726 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
5729 $as_echo_n 0123456789 >"conftest.in"
5732 cat "conftest.in" "conftest.in" >"conftest.tmp"
5733 mv "conftest.tmp" "conftest.in"
5734 cp "conftest.in" "conftest.nl"
5735 $as_echo 'FGREP' >> "conftest.nl"
5736 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5737 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5738 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5739 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5740 # Best one so far, save it but keep looking for a better one
5741 ac_cv_path_FGREP
="$ac_path_FGREP"
5742 ac_path_FGREP_max
=$ac_count
5744 # 10*(2^10) chars as input seems more than enough
5745 test $ac_count -gt 10 && break
5747 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5750 $ac_path_FGREP_found && break 3
5755 if test -z "$ac_cv_path_FGREP"; then
5756 as_fn_error $?
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5759 ac_cv_path_FGREP
=$FGREP
5764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5765 $as_echo "$ac_cv_path_FGREP" >&6; }
5766 FGREP
="$ac_cv_path_FGREP"
5769 test -z "$GREP" && GREP
=grep
5789 # Check whether --with-gnu-ld was given.
5790 if test "${with_gnu_ld+set}" = set; then :
5791 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
5797 if test "$GCC" = yes; then
5798 # Check if gcc -print-prog-name=ld gives a path.
5799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5800 $as_echo_n "checking for ld used by $CC... " >&6; }
5803 # gcc leaves a trailing carriage return which upsets mingw
5804 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5806 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5809 # Accept absolute paths.
5811 re_direlt
='/[^/][^/]*/\.\./'
5812 # Canonicalize the pathname of ld
5813 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5814 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
5815 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5817 test -z "$LD" && LD
="$ac_prog"
5820 # If it fails, then pretend we aren't using GCC.
5824 # If it is relative, then search for the first ld in PATH.
5828 elif test "$with_gnu_ld" = yes; then
5829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5830 $as_echo_n "checking for GNU ld... " >&6; }
5832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5833 $as_echo_n "checking for non-GNU ld... " >&6; }
5835 if ${lt_cv_path_LD+:} false
; then :
5836 $as_echo_n "(cached) " >&6
5838 if test -z "$LD"; then
5839 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5840 for ac_dir
in $PATH; do
5842 test -z "$ac_dir" && ac_dir
=.
5843 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5844 lt_cv_path_LD
="$ac_dir/$ac_prog"
5845 # Check to see if the program is GNU ld. I'd rather use --version,
5846 # but apparently some variants of GNU ld only accept -v.
5847 # Break only if it was the GNU/non-GNU ld that we prefer.
5848 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5849 *GNU
* |
*'with BFD'*)
5850 test "$with_gnu_ld" != no
&& break
5853 test "$with_gnu_ld" != yes && break
5860 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
5865 if test -n "$LD"; then
5866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5867 $as_echo "$LD" >&6; }
5869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5870 $as_echo "no" >&6; }
5872 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
5873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5874 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5875 if ${lt_cv_prog_gnu_ld+:} false
; then :
5876 $as_echo_n "(cached) " >&6
5878 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5879 case `$LD -v 2>&1 </dev/null` in
5880 *GNU
* |
*'with BFD'*)
5881 lt_cv_prog_gnu_ld
=yes
5884 lt_cv_prog_gnu_ld
=no
5888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5889 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5890 with_gnu_ld
=$lt_cv_prog_gnu_ld
5900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5901 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5902 if ${lt_cv_path_NM+:} false
; then :
5903 $as_echo_n "(cached) " >&6
5905 if test -n "$NM"; then
5906 # Let the user override the nm to test.
5907 lt_nm_to_check
="$NM"
5909 lt_nm_to_check
="${ac_tool_prefix}nm"
5910 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5911 lt_nm_to_check
="$lt_nm_to_check nm"
5914 for lt_tmp_nm
in "$lt_nm_to_check"; do
5915 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5916 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
5918 test -z "$ac_dir" && ac_dir
=.
5919 # Strip out any user-provided options from the nm to test twice,
5920 # the first time to test to see if nm (rather than its options) has
5921 # an explicit path, the second time to yield a file which can be
5923 tmp_nm_path
="`$ECHO "$lt_tmp_nm" | sed 's, -.*$,,'`"
5924 case "$tmp_nm_path" in
5925 */*|
*\\*) tmp_nm
="$lt_tmp_nm";;
5926 *) tmp_nm
="$ac_dir/$lt_tmp_nm";;
5928 tmp_nm_to_nm
="`$ECHO "$tmp_nm" | sed 's, -.*$,,'`"
5929 if test -f "$tmp_nm_to_nm" ||
test -f "$tmp_nm_to_nm$ac_exeext" ; then
5930 # Check to see if the nm accepts a BSD-compat flag.
5931 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5932 # nm: unknown option "B" ignored
5933 case `"$tmp_nm" -B "$tmp_nm_to_nm" 2>&1 | grep -v '^ *$' | sed '1q'` in
5934 *$tmp_nm*) lt_cv_path_NM
="$tmp_nm -B"
5938 case `"$tmp_nm" -p "$tmp_nm_to_nm" 2>&1 | grep -v '^ *$' | sed '1q'` in
5940 lt_cv_path_NM
="$tmp_nm -p"
5944 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5945 continue # so that we can try to find one that supports BSD flags
5954 : ${lt_cv_path_NM=no}
5956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5957 $as_echo "$lt_cv_path_NM" >&6; }
5958 if test "$lt_cv_path_NM" != "no"; then
5961 # Didn't find any BSD compatible name lister, look for dumpbin.
5962 if test -n "$DUMPBIN"; then :
5963 # Let the user override the test.
5965 if test -n "$ac_tool_prefix"; then
5966 for ac_prog
in dumpbin
"link -dump"
5968 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5969 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5971 $as_echo_n "checking for $ac_word... " >&6; }
5972 if ${ac_cv_prog_DUMPBIN+:} false
; then :
5973 $as_echo_n "(cached) " >&6
5975 if test -n "$DUMPBIN"; then
5976 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
5978 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5982 test -z "$as_dir" && as_dir
=.
5983 for ac_exec_ext
in '' $ac_executable_extensions; do
5984 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5985 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
5986 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5995 DUMPBIN
=$ac_cv_prog_DUMPBIN
5996 if test -n "$DUMPBIN"; then
5997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5998 $as_echo "$DUMPBIN" >&6; }
6000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6001 $as_echo "no" >&6; }
6005 test -n "$DUMPBIN" && break
6008 if test -z "$DUMPBIN"; then
6009 ac_ct_DUMPBIN
=$DUMPBIN
6010 for ac_prog
in dumpbin
"link -dump"
6012 # Extract the first word of "$ac_prog", so it can be a program name with args.
6013 set dummy
$ac_prog; ac_word
=$2
6014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6015 $as_echo_n "checking for $ac_word... " >&6; }
6016 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false
; then :
6017 $as_echo_n "(cached) " >&6
6019 if test -n "$ac_ct_DUMPBIN"; then
6020 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
6022 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6026 test -z "$as_dir" && as_dir
=.
6027 for ac_exec_ext
in '' $ac_executable_extensions; do
6028 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6029 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
6030 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6039 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
6040 if test -n "$ac_ct_DUMPBIN"; then
6041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6042 $as_echo "$ac_ct_DUMPBIN" >&6; }
6044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6045 $as_echo "no" >&6; }
6049 test -n "$ac_ct_DUMPBIN" && break
6052 if test "x$ac_ct_DUMPBIN" = x
; then
6055 case $cross_compiling:$ac_tool_warned in
6057 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6058 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6059 ac_tool_warned
=yes ;;
6061 DUMPBIN
=$ac_ct_DUMPBIN
6065 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6067 DUMPBIN
="$DUMPBIN -symbols"
6075 if test "$DUMPBIN" != ":"; then
6079 test -z "$NM" && NM
=nm
6086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6087 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6088 if ${lt_cv_nm_interface+:} false
; then :
6089 $as_echo_n "(cached) " >&6
6091 lt_cv_nm_interface
="BSD nm"
6092 echo "int some_variable = 0;" > conftest.
$ac_ext
6093 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6094 (eval "$ac_compile" 2>conftest.err
)
6095 cat conftest.err
>&5
6096 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6097 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
6098 cat conftest.err
>&5
6099 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6100 cat conftest.out
>&5
6101 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
6102 lt_cv_nm_interface
="MS dumpbin"
6106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6107 $as_echo "$lt_cv_nm_interface" >&6; }
6109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6110 $as_echo_n "checking whether ln -s works... " >&6; }
6112 if test "$LN_S" = "ln -s"; then
6113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6114 $as_echo "yes" >&6; }
6116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6117 $as_echo "no, using $LN_S" >&6; }
6120 # find the maximum length of command line arguments
6121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6122 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6123 if ${lt_cv_sys_max_cmd_len+:} false
; then :
6124 $as_echo_n "(cached) " >&6
6131 # On DJGPP, this test can blow up pretty badly due to problems in libc
6132 # (any single argument exceeding 2000 bytes causes a buffer overrun
6133 # during glob expansion). Even if it were fixed, the result of this
6134 # check would be larger than it should be.
6135 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
6139 # Under GNU Hurd, this test is not required because there is
6140 # no limit to the length of command line arguments.
6141 # Libtool will interpret -1 as no limit whatsoever
6142 lt_cv_sys_max_cmd_len
=-1;
6145 cygwin
* | mingw
* | cegcc
*)
6146 # On Win9x/ME, this test blows up -- it succeeds, but takes
6147 # about 5 minutes as the teststring grows exponentially.
6148 # Worse, since 9x/ME are not pre-emptively multitasking,
6149 # you end up with a "frozen" computer, even though with patience
6150 # the test eventually succeeds (with a max line length of 256k).
6151 # Instead, let's just punt: use the minimum linelength reported by
6152 # all of the supported platforms: 8192 (on NT/2K/XP).
6153 lt_cv_sys_max_cmd_len
=8192;
6157 # On MiNT this can take a long time and run out of memory.
6158 lt_cv_sys_max_cmd_len
=8192;
6162 # On AmigaOS with pdksh, this test takes hours, literally.
6163 # So we just punt and use a minimum line length of 8192.
6164 lt_cv_sys_max_cmd_len
=8192;
6167 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
6168 # This has been around since 386BSD, at least. Likely further.
6169 if test -x /sbin
/sysctl
; then
6170 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
6171 elif test -x /usr
/sbin
/sysctl
; then
6172 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
6174 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
6176 # And add a safety zone
6177 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6178 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6182 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6183 lt_cv_sys_max_cmd_len
=196608
6187 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6188 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6189 # nice to cause kernel panics so lets avoid the loop below.
6190 # First set a reasonable default.
6191 lt_cv_sys_max_cmd_len
=16384
6193 if test -x /sbin
/sysconfig
; then
6194 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6195 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
6200 lt_cv_sys_max_cmd_len
=102400
6202 sysv5
* | sco5v6
* | sysv4.2uw2
*)
6203 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6204 if test -n "$kargmax"; then
6205 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
6207 lt_cv_sys_max_cmd_len
=32768
6211 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
6212 if test -n "$lt_cv_sys_max_cmd_len"; then
6213 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6214 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6216 # Make teststring a little bigger before we do anything with it.
6217 # a 1K string should be a reasonable start.
6218 for i
in 1 2 3 4 5 6 7 8 ; do
6219 teststring
=$teststring$teststring
6221 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
6222 # If test is not a shell built-in, we'll probably end up computing a
6223 # maximum length that is only half of the actual maximum length, but
6225 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6226 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
6227 test $i != 17 # 1/2 MB should be enough
6230 teststring
=$teststring$teststring
6232 # Only check the string length outside the loop.
6233 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
6235 # Add a significant safety factor because C++ compilers can tack on
6236 # massive amounts of additional arguments before passing them to the
6237 # linker. It appears as though 1/2 is a usable value.
6238 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
6245 if test -n $lt_cv_sys_max_cmd_len ; then
6246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6247 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6250 $as_echo "none" >&6; }
6252 max_cmd_len
=$lt_cv_sys_max_cmd_len
6263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6264 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6265 # Try some XSI features
6268 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6270 && eval 'test $(( 1 + 1 )) -eq 2 \
6271 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6273 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
6274 $as_echo "$xsi_shell" >&6; }
6277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
6278 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
6280 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
6282 && lt_shell_append=yes
6283 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
6284 $as_echo "$lt_shell_append" >&6; }
6287 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6297 # test EBCDIC or ASCII
6298 case `echo X|tr X '\101'` in
6299 A) # ASCII based system
6300 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6301 lt_SP2NL='tr \040 \012'
6302 lt_NL2SP='tr \015\012 \040\040'
6304 *) # EBCDIC based system
6305 lt_SP2NL='tr \100 \n'
6306 lt_NL2SP='tr \r\n \100\100'
6318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
6319 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
6320 if ${lt_cv_ld_reload_flag+:} false; then :
6321 $as_echo_n "(cached
) " >&6
6323 lt_cv_ld_reload_flag='-r'
6325 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
6326 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6327 reload_flag=$lt_cv_ld_reload_flag
6328 case $reload_flag in
6330 *) reload_flag=" $reload_flag" ;;
6332 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6335 if test "$GCC" = yes; then
6336 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6338 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6351 if test -n "$ac_tool_prefix"; then
6352 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
6353 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6355 $as_echo_n "checking
for $ac_word...
" >&6; }
6356 if ${ac_cv_prog_OBJDUMP+:} false; then :
6357 $as_echo_n "(cached
) " >&6
6359 if test -n "$OBJDUMP"; then
6360 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6366 test -z "$as_dir" && as_dir=.
6367 for ac_exec_ext in '' $ac_executable_extensions; do
6368 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6369 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
6370 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6379 OBJDUMP=$ac_cv_prog_OBJDUMP
6380 if test -n "$OBJDUMP"; then
6381 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
6382 $as_echo "$OBJDUMP" >&6; }
6384 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6385 $as_echo "no
" >&6; }
6390 if test -z "$ac_cv_prog_OBJDUMP"; then
6391 ac_ct_OBJDUMP=$OBJDUMP
6392 # Extract the first word of "objdump
", so it can be a program name with args.
6393 set dummy objdump; ac_word=$2
6394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6395 $as_echo_n "checking
for $ac_word...
" >&6; }
6396 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6397 $as_echo_n "(cached
) " >&6
6399 if test -n "$ac_ct_OBJDUMP"; then
6400 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6406 test -z "$as_dir" && as_dir=.
6407 for ac_exec_ext in '' $ac_executable_extensions; do
6408 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6409 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
6410 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6419 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6420 if test -n "$ac_ct_OBJDUMP"; then
6421 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
6422 $as_echo "$ac_ct_OBJDUMP" >&6; }
6424 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6425 $as_echo "no
" >&6; }
6428 if test "x
$ac_ct_OBJDUMP" = x; then
6431 case $cross_compiling:$ac_tool_warned in
6433 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6434 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6435 ac_tool_warned=yes ;;
6437 OBJDUMP=$ac_ct_OBJDUMP
6440 OBJDUMP="$ac_cv_prog_OBJDUMP"
6443 test -z "$OBJDUMP" && OBJDUMP=objdump
6453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
6454 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
6455 if ${lt_cv_deplibs_check_method+:} false; then :
6456 $as_echo_n "(cached
) " >&6
6458 lt_cv_file_magic_cmd='$MAGIC_CMD'
6459 lt_cv_file_magic_test_file=
6460 lt_cv_deplibs_check_method='unknown'
6461 # Need to set the preceding variable on all platforms that support
6462 # interlibrary dependencies.
6463 # 'none' -- dependencies not supported.
6464 # `unknown' -- same as none, but documents that we really don't know.
6465 # 'pass_all' -- all dependencies passed with no checks.
6466 # 'test_compile' -- check by making test program.
6467 # 'file_magic [[regex]]' -- check by looking for files in library path
6468 # which responds to the $file_magic_cmd with a given extended regex.
6469 # If you have `file' or equivalent on your system and you're not sure
6470 # whether `pass_all' will *always* work, you probably want this one.
6474 lt_cv_deplibs_check_method=pass_all
6478 lt_cv_deplibs_check_method=pass_all
6482 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6483 lt_cv_file_magic_cmd='/usr/bin/file -L'
6484 lt_cv_file_magic_test_file=/shlib/libc.so
6488 # func_win32_libid is a shell function defined in ltmain.sh
6489 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6490 lt_cv_file_magic_cmd='func_win32_libid'
6494 # Base MSYS/MinGW do not provide the 'file' command needed by
6495 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6496 # unless we find 'file', for example because we are cross-compiling.
6497 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6498 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
6499 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6500 lt_cv_file_magic_cmd='func_win32_libid'
6502 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6503 lt_cv_file_magic_cmd='$OBJDUMP -f'
6508 # use the weaker test based on 'objdump'. See mingw*.
6509 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6510 lt_cv_file_magic_cmd='$OBJDUMP -f'
6513 darwin* | rhapsody*)
6514 lt_cv_deplibs_check_method=pass_all
6517 freebsd* | dragonfly*)
6518 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6521 # Not sure whether the presence of OpenBSD here was a mistake.
6522 # Let's accept both of them until this is cleared up.
6523 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6524 lt_cv_file_magic_cmd=/usr/bin/file
6525 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6529 lt_cv_deplibs_check_method=pass_all
6534 lt_cv_deplibs_check_method=pass_all
6538 lt_cv_deplibs_check_method=pass_all
6541 hpux10.20* | hpux11*)
6542 lt_cv_file_magic_cmd=/usr/bin/file
6545 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6546 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6549 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]'
6550 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6553 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6554 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6560 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6561 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6564 irix5* | irix6* | nonstopux*)
6566 *-32|*"-32 ") libmagic=32-bit;;
6567 *-n32|*"-n32 ") libmagic=N32;;
6568 *-64|*"-64 ") libmagic=64-bit;;
6569 *) libmagic=never-match;;
6571 lt_cv_deplibs_check_method=pass_all
6574 # This must be Linux ELF.
6575 linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
6576 lt_cv_deplibs_check_method=pass_all
6580 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6581 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6583 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6588 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6589 lt_cv_file_magic_cmd=/usr/bin/file
6590 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6594 lt_cv_deplibs_check_method=pass_all
6598 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
6599 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6601 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6605 osf3* | osf4* | osf5*)
6606 lt_cv_deplibs_check_method=pass_all
6610 lt_cv_deplibs_check_method=pass_all
6614 lt_cv_deplibs_check_method=pass_all
6617 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6618 lt_cv_deplibs_check_method=pass_all
6622 case $host_vendor in
6624 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]'
6625 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6628 lt_cv_deplibs_check_method=pass_all
6631 lt_cv_file_magic_cmd='/bin/file'
6632 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6635 lt_cv_file_magic_cmd='/bin/file'
6636 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
6637 lt_cv_file_magic_test_file=/lib/libc.so
6640 lt_cv_deplibs_check_method=pass_all
6643 lt_cv_deplibs_check_method=pass_all
6649 lt_cv_deplibs_check_method=pass_all
6652 # Assume VxWorks cross toolchains are built on Linux, possibly
6653 # as canadian for Windows hosts.
6654 lt_cv_deplibs_check_method=pass_all
6659 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
6660 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6661 file_magic_cmd=$lt_cv_file_magic_cmd
6662 deplibs_check_method=$lt_cv_deplibs_check_method
6663 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6677 plugin_names="liblto_plugin.so liblto_plugin-0.dll cyglto_plugin-0.dll
"
6678 for plugin in $plugin_names; do
6679 plugin_so=`${CC} ${CFLAGS} --print-prog-name $plugin`
6680 if test x$plugin_so = x$plugin; then
6681 plugin_so=`${CC} ${CFLAGS} --print-file-name $plugin`
6683 if test x$plugin_so != x$plugin; then
6684 plugin_option="--plugin $plugin_so"
6689 if test -n "$ac_tool_prefix"; then
6690 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6691 set dummy ${ac_tool_prefix}ar; ac_word=$2
6692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6693 $as_echo_n "checking
for $ac_word...
" >&6; }
6694 if ${ac_cv_prog_AR+:} false; then :
6695 $as_echo_n "(cached
) " >&6
6697 if test -n "$AR"; then
6698 ac_cv_prog_AR="$AR" # Let the user override the test.
6700 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6704 test -z "$as_dir" && as_dir=.
6705 for ac_exec_ext in '' $ac_executable_extensions; do
6706 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6707 ac_cv_prog_AR="${ac_tool_prefix}ar"
6708 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6718 if test -n "$AR"; then
6719 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
6720 $as_echo "$AR" >&6; }
6722 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6723 $as_echo "no
" >&6; }
6728 if test -z "$ac_cv_prog_AR"; then
6730 # Extract the first word of "ar", so it can be a program name with args.
6731 set dummy ar; ac_word=$2
6732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6733 $as_echo_n "checking
for $ac_word...
" >&6; }
6734 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6735 $as_echo_n "(cached
) " >&6
6737 if test -n "$ac_ct_AR"; then
6738 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6744 test -z "$as_dir" && as_dir=.
6745 for ac_exec_ext in '' $ac_executable_extensions; do
6746 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6747 ac_cv_prog_ac_ct_AR="ar"
6748 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6757 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6758 if test -n "$ac_ct_AR"; then
6759 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
6760 $as_echo "$ac_ct_AR" >&6; }
6762 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6763 $as_echo "no
" >&6; }
6766 if test "x
$ac_ct_AR" = x; then
6769 case $cross_compiling:$ac_tool_warned in
6771 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6772 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6773 ac_tool_warned=yes ;;
6781 test -z "$AR" && AR=ar
6782 if test -n "$plugin_option"; then
6783 if $AR --help 2>&1 | grep -q "\
--plugin"; then
6785 $AR $plugin_option rc conftest.a conftest.c
6786 if test "$?
" != 0; then
6787 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: Failed
: $AR $plugin_option rc
" >&5
6788 $as_echo "$as_me: WARNING
: Failed
: $AR $plugin_option rc
" >&2;}
6790 AR="$AR $plugin_option"
6795 test -z "$AR_FLAGS" && AR_FLAGS=cru
6807 if test -n "$ac_tool_prefix"; then
6808 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6809 set dummy ${ac_tool_prefix}strip; ac_word=$2
6810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6811 $as_echo_n "checking
for $ac_word...
" >&6; }
6812 if ${ac_cv_prog_STRIP+:} false; then :
6813 $as_echo_n "(cached
) " >&6
6815 if test -n "$STRIP"; then
6816 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6818 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6822 test -z "$as_dir" && as_dir=.
6823 for ac_exec_ext in '' $ac_executable_extensions; do
6824 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6825 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6826 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6835 STRIP=$ac_cv_prog_STRIP
6836 if test -n "$STRIP"; then
6837 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
6838 $as_echo "$STRIP" >&6; }
6840 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6841 $as_echo "no
" >&6; }
6846 if test -z "$ac_cv_prog_STRIP"; then
6848 # Extract the first word of "strip
", so it can be a program name with args.
6849 set dummy strip; ac_word=$2
6850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6851 $as_echo_n "checking
for $ac_word...
" >&6; }
6852 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6853 $as_echo_n "(cached
) " >&6
6855 if test -n "$ac_ct_STRIP"; then
6856 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6858 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6862 test -z "$as_dir" && as_dir=.
6863 for ac_exec_ext in '' $ac_executable_extensions; do
6864 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6865 ac_cv_prog_ac_ct_STRIP="strip
"
6866 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6875 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6876 if test -n "$ac_ct_STRIP"; then
6877 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
6878 $as_echo "$ac_ct_STRIP" >&6; }
6880 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6881 $as_echo "no
" >&6; }
6884 if test "x
$ac_ct_STRIP" = x; then
6887 case $cross_compiling:$ac_tool_warned in
6889 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6890 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6891 ac_tool_warned=yes ;;
6896 STRIP="$ac_cv_prog_STRIP"
6899 test -z "$STRIP" && STRIP=:
6906 if test -n "$ac_tool_prefix"; then
6907 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6908 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6910 $as_echo_n "checking
for $ac_word...
" >&6; }
6911 if ${ac_cv_prog_RANLIB+:} false; then :
6912 $as_echo_n "(cached
) " >&6
6914 if test -n "$RANLIB"; then
6915 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6917 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6921 test -z "$as_dir" && as_dir=.
6922 for ac_exec_ext in '' $ac_executable_extensions; do
6923 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6924 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
6925 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6934 RANLIB=$ac_cv_prog_RANLIB
6935 if test -n "$RANLIB"; then
6936 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
6937 $as_echo "$RANLIB" >&6; }
6939 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6940 $as_echo "no
" >&6; }
6945 if test -z "$ac_cv_prog_RANLIB"; then
6946 ac_ct_RANLIB=$RANLIB
6947 # Extract the first word of "ranlib
", so it can be a program name with args.
6948 set dummy ranlib; ac_word=$2
6949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6950 $as_echo_n "checking
for $ac_word...
" >&6; }
6951 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6952 $as_echo_n "(cached
) " >&6
6954 if test -n "$ac_ct_RANLIB"; then
6955 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6957 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6961 test -z "$as_dir" && as_dir=.
6962 for ac_exec_ext in '' $ac_executable_extensions; do
6963 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6964 ac_cv_prog_ac_ct_RANLIB="ranlib
"
6965 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6974 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6975 if test -n "$ac_ct_RANLIB"; then
6976 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
6977 $as_echo "$ac_ct_RANLIB" >&6; }
6979 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6980 $as_echo "no
" >&6; }
6983 if test "x
$ac_ct_RANLIB" = x; then
6986 case $cross_compiling:$ac_tool_warned in
6988 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6989 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6990 ac_tool_warned=yes ;;
6992 RANLIB=$ac_ct_RANLIB
6995 RANLIB="$ac_cv_prog_RANLIB"
6998 test -z "$RANLIB" && RANLIB=:
6999 if test -n "$plugin_option" && test "$RANLIB" != ":"; then
7000 if $RANLIB --help 2>&1 | grep -q "\
--plugin"; then
7001 RANLIB="$RANLIB $plugin_option"
7010 # Determine commands to create old-style static archives.
7011 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7012 old_postinstall_cmds='chmod 644 $oldlib'
7013 old_postuninstall_cmds=
7015 if test -n "$RANLIB"; then
7018 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
7021 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
7024 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
7029 lock_old_archive_extraction=yes ;;
7031 lock_old_archive_extraction=no ;;
7072 # If no C compiler was specified, use CC.
7075 # If no C compiler flags were specified, use CFLAGS.
7076 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7078 # Allow CC to be a program name with arguments.
7082 # Check for command to grab the raw symbol name followed by C symbol from nm.
7083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
7084 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
7085 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7086 $as_echo_n "(cached
) " >&6
7089 # These are sane defaults that work on at least a few old systems.
7090 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7092 # Character class describing NM global symbol codes.
7093 symcode='[BCDEGRST]'
7095 # Regexp to match symbols that can be accessed directly from C.
7096 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7098 # Define system-specific variables.
7103 cygwin* | mingw* | pw32* | cegcc*)
7104 symcode='[ABCDGISTW]'
7107 if test "$host_cpu" = ia64; then
7108 symcode='[ABCDEGRST]'
7112 symcode='[BCDEGRST]'
7115 symcode='[BCDEGQRST]'
7126 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7134 # If we're using GNU nm, then use its standard symbol codes.
7135 case `$NM -V 2>&1` in
7136 *GNU* | *'with BFD'*)
7137 symcode='[ABCDGIRSTW]' ;;
7140 # Transform an extracted symbol line into a proper C declaration.
7141 # Some systems (esp. on ia64) link data and code symbols differently,
7142 # so use this general approach.
7143 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7145 # Transform an extracted symbol line into symbol name and symbol address
7146 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7147 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'"
7149 # Handle CRLF in mingw tool chain
7153 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7157 # Try without a prefix underscore, then with it.
7158 for ac_symprfx in "" "_
"; do
7160 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7161 symxfrm="\\1 $ac_symprfx\\2 \\2"
7163 # Write the raw and C identifiers.
7164 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
7165 # Fake it for dumpbin and say T for any non-static function
7166 # and D for any global variable.
7167 # Also find C++ and __fastcall symbols from MSVC++,
7168 # which start with @ or ?.
7169 lt_cv_sys_global_symbol_pipe="$AWK '"\
7170 " {last_section=section; section=\$ 3};"\
7171 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7172 " \$ 0!~/External *\|/{next};"\
7173 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7174 " {if(hide[section]) next};"\
7175 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7176 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7177 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7178 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7179 " ' prfx
=^
$ac_symprfx"
7181 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7184 # Check to see that the pipe works correctly.
7188 cat > conftest.$ac_ext <<_LT_EOF
7193 void nm_test_func(void);
7194 void nm_test_func(void){}
7198 int main(){nm_test_var='a';nm_test_func();return(0);}
7201 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7202 (eval $ac_compile) 2>&5
7204 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7205 test $ac_status = 0; }; then
7206 # Now try to grab the symbols.
7208 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
7209 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7211 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7212 test $ac_status = 0; } && test -s "$nlist"; then
7213 # Try sorting and uniquifying the output.
7214 if sort "$nlist" | uniq > "$nlist"T; then
7215 mv -f "$nlist"T "$nlist"
7220 # Make sure that we snagged all the symbols we need.
7221 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7222 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7223 cat <<_LT_EOF > conftest.$ac_ext
7229 # Now generate the symbol file.
7230 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7232 cat <<_LT_EOF >> conftest.$ac_ext
7234 /* The mapping between symbol names and symbols. */
7239 lt__PROGRAM__LTX_preloaded_symbols[] =
7241 { "@PROGRAM@
", (void *) 0 },
7243 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7244 cat <<\_LT_EOF >> conftest.$ac_ext
7248 /* This works around a problem in FreeBSD linker */
7249 #ifdef FREEBSD_WORKAROUND
7250 static const void *lt_preloaded_setup() {
7251 return lt__PROGRAM__LTX_preloaded_symbols;
7259 # Now try linking the two files.
7260 mv conftest.$ac_objext conftstm.$ac_objext
7261 lt_save_LIBS="$LIBS"
7262 lt_save_CFLAGS="$CFLAGS"
7263 LIBS="conftstm.
$ac_objext"
7264 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7265 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7266 (eval $ac_link) 2>&5
7268 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7269 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7272 LIBS="$lt_save_LIBS"
7273 CFLAGS="$lt_save_CFLAGS"
7275 echo "cannot
find nm_test_func
in $nlist" >&5
7278 echo "cannot
find nm_test_var
in $nlist" >&5
7281 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
7284 echo "$progname: failed program was
:" >&5
7285 cat conftest.$ac_ext >&5
7287 rm -rf conftest* conftst*
7289 # Do not use the global_symbol_pipe unless it works.
7290 if test "$pipe_works" = yes; then
7293 lt_cv_sys_global_symbol_pipe=
7299 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7300 lt_cv_sys_global_symbol_to_cdecl=
7302 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7303 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
7304 $as_echo "failed
" >&6; }
7306 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
7307 $as_echo "ok
" >&6; }
7331 # Check whether --enable-libtool-lock was given.
7332 if test "${enable_libtool_lock+set}" = set; then :
7333 enableval=$enable_libtool_lock;
7336 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
7338 # Some flags need to be propagated to the compiler or linker for good
7342 # Find out which ABI we are using.
7343 echo 'int i;' > conftest.$ac_ext
7344 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7345 (eval $ac_compile) 2>&5
7347 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7348 test $ac_status = 0; }; then
7349 case `/usr/bin/file conftest.$ac_objext` in
7361 # Find out which ABI we are using.
7362 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
7363 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7364 (eval $ac_compile) 2>&5
7366 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7367 test $ac_status = 0; }; then
7368 if test "$lt_cv_prog_gnu_ld" = yes; then
7369 case `/usr/bin/file conftest.$ac_objext` in
7371 LD="${LD-ld} -melf32bsmip"
7374 LD="${LD-ld} -melf32bmipn32"
7377 LD="${LD-ld} -melf64bmip"
7381 case `/usr/bin/file conftest.$ac_objext` in
7397 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7398 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7399 # Find out which ABI we are using.
7400 echo 'int i;' > conftest.$ac_ext
7401 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7402 (eval $ac_compile) 2>&5
7404 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7405 test $ac_status = 0; }; then
7406 case `/usr/bin/file conftest.o` in
7409 x86_64-*kfreebsd*-gnu)
7410 LD="${LD-ld} -m elf_i386_fbsd
"
7413 case `/usr/bin/file conftest.o` in
7415 LD="${LD-ld} -m elf32_x86_64
"
7418 LD="${LD-ld} -m elf_i386
"
7422 powerpc64le-*linux*)
7423 LD="${LD-ld} -m elf32lppclinux
"
7426 LD="${LD-ld} -m elf32ppclinux
"
7429 LD="${LD-ld} -m elf_s390
"
7432 LD="${LD-ld} -m elf32_sparc
"
7438 x86_64-*kfreebsd*-gnu)
7439 LD="${LD-ld} -m elf_x86_64_fbsd
"
7442 LD="${LD-ld} -m elf_x86_64
"
7445 LD="${LD-ld} -m elf64lppc
"
7448 LD="${LD-ld} -m elf64ppc
"
7450 s390*-*linux*|s390*-*tpf*)
7451 LD="${LD-ld} -m elf64_s390
"
7454 LD="${LD-ld} -m elf64_sparc
"
7464 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7465 SAVE_CFLAGS="$CFLAGS"
7466 CFLAGS="$CFLAGS -belf"
7467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
7468 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
7469 if ${lt_cv_cc_needs_belf+:} false; then :
7470 $as_echo_n "(cached
) " >&6
7473 ac_cpp='$CPP $CPPFLAGS'
7474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7479 /* end confdefs.h. */
7489 if ac_fn_c_try_link "$LINENO"; then :
7490 lt_cv_cc_needs_belf=yes
7492 lt_cv_cc_needs_belf=no
7494 rm -f core conftest.err conftest.$ac_objext \
7495 conftest$ac_exeext conftest.$ac_ext
7497 ac_cpp='$CPP $CPPFLAGS'
7498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7503 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
7504 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7505 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7506 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7507 CFLAGS="$SAVE_CFLAGS"
7511 # Find out which ABI we are using.
7512 echo 'int i;' > conftest.$ac_ext
7513 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7514 (eval $ac_compile) 2>&5
7516 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7517 test $ac_status = 0; }; then
7518 case `/usr/bin/file conftest.o` in
7520 case $lt_cv_prog_gnu_ld in
7521 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
7523 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7535 need_locks="$enable_libtool_lock"
7539 rhapsody* | darwin*)
7540 if test -n "$ac_tool_prefix"; then
7541 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
7542 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7544 $as_echo_n "checking
for $ac_word...
" >&6; }
7545 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7546 $as_echo_n "(cached
) " >&6
7548 if test -n "$DSYMUTIL"; then
7549 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7551 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7555 test -z "$as_dir" && as_dir=.
7556 for ac_exec_ext in '' $ac_executable_extensions; do
7557 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7558 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
7559 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7568 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7569 if test -n "$DSYMUTIL"; then
7570 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
7571 $as_echo "$DSYMUTIL" >&6; }
7573 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7574 $as_echo "no
" >&6; }
7579 if test -z "$ac_cv_prog_DSYMUTIL"; then
7580 ac_ct_DSYMUTIL=$DSYMUTIL
7581 # Extract the first word of "dsymutil
", so it can be a program name with args.
7582 set dummy dsymutil; ac_word=$2
7583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7584 $as_echo_n "checking
for $ac_word...
" >&6; }
7585 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7586 $as_echo_n "(cached
) " >&6
7588 if test -n "$ac_ct_DSYMUTIL"; then
7589 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7591 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7595 test -z "$as_dir" && as_dir=.
7596 for ac_exec_ext in '' $ac_executable_extensions; do
7597 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7598 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
7599 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7608 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7609 if test -n "$ac_ct_DSYMUTIL"; then
7610 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
7611 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7613 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7614 $as_echo "no
" >&6; }
7617 if test "x
$ac_ct_DSYMUTIL" = x; then
7620 case $cross_compiling:$ac_tool_warned in
7622 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7623 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7624 ac_tool_warned=yes ;;
7626 DSYMUTIL=$ac_ct_DSYMUTIL
7629 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7632 if test -n "$ac_tool_prefix"; then
7633 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
7634 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7636 $as_echo_n "checking
for $ac_word...
" >&6; }
7637 if ${ac_cv_prog_NMEDIT+:} false; then :
7638 $as_echo_n "(cached
) " >&6
7640 if test -n "$NMEDIT"; then
7641 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7643 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7647 test -z "$as_dir" && as_dir=.
7648 for ac_exec_ext in '' $ac_executable_extensions; do
7649 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7650 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
7651 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7660 NMEDIT=$ac_cv_prog_NMEDIT
7661 if test -n "$NMEDIT"; then
7662 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
7663 $as_echo "$NMEDIT" >&6; }
7665 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7666 $as_echo "no
" >&6; }
7671 if test -z "$ac_cv_prog_NMEDIT"; then
7672 ac_ct_NMEDIT=$NMEDIT
7673 # Extract the first word of "nmedit
", so it can be a program name with args.
7674 set dummy nmedit; ac_word=$2
7675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7676 $as_echo_n "checking
for $ac_word...
" >&6; }
7677 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7678 $as_echo_n "(cached
) " >&6
7680 if test -n "$ac_ct_NMEDIT"; then
7681 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7683 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7687 test -z "$as_dir" && as_dir=.
7688 for ac_exec_ext in '' $ac_executable_extensions; do
7689 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7690 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
7691 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7700 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7701 if test -n "$ac_ct_NMEDIT"; then
7702 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
7703 $as_echo "$ac_ct_NMEDIT" >&6; }
7705 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7706 $as_echo "no
" >&6; }
7709 if test "x
$ac_ct_NMEDIT" = x; then
7712 case $cross_compiling:$ac_tool_warned in
7714 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7715 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7716 ac_tool_warned=yes ;;
7718 NMEDIT=$ac_ct_NMEDIT
7721 NMEDIT="$ac_cv_prog_NMEDIT"
7724 if test -n "$ac_tool_prefix"; then
7725 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
7726 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7728 $as_echo_n "checking
for $ac_word...
" >&6; }
7729 if ${ac_cv_prog_LIPO+:} false; then :
7730 $as_echo_n "(cached
) " >&6
7732 if test -n "$LIPO"; then
7733 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7735 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7739 test -z "$as_dir" && as_dir=.
7740 for ac_exec_ext in '' $ac_executable_extensions; do
7741 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7742 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
7743 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7752 LIPO=$ac_cv_prog_LIPO
7753 if test -n "$LIPO"; then
7754 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
7755 $as_echo "$LIPO" >&6; }
7757 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7758 $as_echo "no
" >&6; }
7763 if test -z "$ac_cv_prog_LIPO"; then
7765 # Extract the first word of "lipo
", so it can be a program name with args.
7766 set dummy lipo; ac_word=$2
7767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7768 $as_echo_n "checking
for $ac_word...
" >&6; }
7769 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7770 $as_echo_n "(cached
) " >&6
7772 if test -n "$ac_ct_LIPO"; then
7773 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7775 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7779 test -z "$as_dir" && as_dir=.
7780 for ac_exec_ext in '' $ac_executable_extensions; do
7781 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7782 ac_cv_prog_ac_ct_LIPO="lipo
"
7783 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7792 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7793 if test -n "$ac_ct_LIPO"; then
7794 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
7795 $as_echo "$ac_ct_LIPO" >&6; }
7797 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7798 $as_echo "no
" >&6; }
7801 if test "x
$ac_ct_LIPO" = x; then
7804 case $cross_compiling:$ac_tool_warned in
7806 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7807 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7808 ac_tool_warned=yes ;;
7813 LIPO="$ac_cv_prog_LIPO"
7816 if test -n "$ac_tool_prefix"; then
7817 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
7818 set dummy ${ac_tool_prefix}otool; ac_word=$2
7819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7820 $as_echo_n "checking
for $ac_word...
" >&6; }
7821 if ${ac_cv_prog_OTOOL+:} false; then :
7822 $as_echo_n "(cached
) " >&6
7824 if test -n "$OTOOL"; then
7825 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7827 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7831 test -z "$as_dir" && as_dir=.
7832 for ac_exec_ext in '' $ac_executable_extensions; do
7833 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7834 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
7835 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7844 OTOOL=$ac_cv_prog_OTOOL
7845 if test -n "$OTOOL"; then
7846 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
7847 $as_echo "$OTOOL" >&6; }
7849 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7850 $as_echo "no
" >&6; }
7855 if test -z "$ac_cv_prog_OTOOL"; then
7857 # Extract the first word of "otool
", so it can be a program name with args.
7858 set dummy otool; ac_word=$2
7859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7860 $as_echo_n "checking
for $ac_word...
" >&6; }
7861 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7862 $as_echo_n "(cached
) " >&6
7864 if test -n "$ac_ct_OTOOL"; then
7865 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7867 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7871 test -z "$as_dir" && as_dir=.
7872 for ac_exec_ext in '' $ac_executable_extensions; do
7873 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7874 ac_cv_prog_ac_ct_OTOOL="otool
"
7875 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7884 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7885 if test -n "$ac_ct_OTOOL"; then
7886 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
7887 $as_echo "$ac_ct_OTOOL" >&6; }
7889 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7890 $as_echo "no
" >&6; }
7893 if test "x
$ac_ct_OTOOL" = x; then
7896 case $cross_compiling:$ac_tool_warned in
7898 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7899 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7900 ac_tool_warned=yes ;;
7905 OTOOL="$ac_cv_prog_OTOOL"
7908 if test -n "$ac_tool_prefix"; then
7909 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
7910 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7912 $as_echo_n "checking
for $ac_word...
" >&6; }
7913 if ${ac_cv_prog_OTOOL64+:} false; then :
7914 $as_echo_n "(cached
) " >&6
7916 if test -n "$OTOOL64"; then
7917 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7923 test -z "$as_dir" && as_dir=.
7924 for ac_exec_ext in '' $ac_executable_extensions; do
7925 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7926 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
7927 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7936 OTOOL64=$ac_cv_prog_OTOOL64
7937 if test -n "$OTOOL64"; then
7938 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
7939 $as_echo "$OTOOL64" >&6; }
7941 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7942 $as_echo "no
" >&6; }
7947 if test -z "$ac_cv_prog_OTOOL64"; then
7948 ac_ct_OTOOL64=$OTOOL64
7949 # Extract the first word of "otool64
", so it can be a program name with args.
7950 set dummy otool64; ac_word=$2
7951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7952 $as_echo_n "checking
for $ac_word...
" >&6; }
7953 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7954 $as_echo_n "(cached
) " >&6
7956 if test -n "$ac_ct_OTOOL64"; then
7957 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7959 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7963 test -z "$as_dir" && as_dir=.
7964 for ac_exec_ext in '' $ac_executable_extensions; do
7965 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7966 ac_cv_prog_ac_ct_OTOOL64="otool64
"
7967 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7976 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7977 if test -n "$ac_ct_OTOOL64"; then
7978 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
7979 $as_echo "$ac_ct_OTOOL64" >&6; }
7981 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7982 $as_echo "no
" >&6; }
7985 if test "x
$ac_ct_OTOOL64" = x; then
7988 case $cross_compiling:$ac_tool_warned in
7990 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7991 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7992 ac_tool_warned=yes ;;
7994 OTOOL64=$ac_ct_OTOOL64
7997 OTOOL64="$ac_cv_prog_OTOOL64"
8026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
8027 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
8028 if ${lt_cv_apple_cc_single_mod+:} false; then :
8029 $as_echo_n "(cached
) " >&6
8031 lt_cv_apple_cc_single_mod=no
8032 if test -z "${LT_MULTI_MODULE}"; then
8033 # By default we will add the -single_module flag. You can override
8034 # by either setting the environment variable LT_MULTI_MODULE
8035 # non-empty at configure time, or by adding -multi_module to the
8037 rm -rf libconftest.dylib*
8038 echo "int foo
(void
){return 1;}" > conftest.c
8039 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8040 -dynamiclib -Wl,-single_module conftest.c
" >&5
8041 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8042 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8044 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
8045 lt_cv_apple_cc_single_mod=yes
8047 cat conftest.err >&5
8049 rm -rf libconftest.dylib*
8053 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
8054 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
8056 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
8057 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8058 $as_echo_n "(cached
) " >&6
8060 lt_cv_ld_exported_symbols_list=no
8061 save_LDFLAGS=$LDFLAGS
8062 echo "_main
" > conftest.sym
8063 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
8064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8065 /* end confdefs.h. */
8075 if ac_fn_c_try_link "$LINENO"; then :
8076 lt_cv_ld_exported_symbols_list=yes
8078 lt_cv_ld_exported_symbols_list=no
8080 rm -f core conftest.err conftest.$ac_objext \
8081 conftest$ac_exeext conftest.$ac_ext
8082 LDFLAGS="$save_LDFLAGS"
8085 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
8086 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
8088 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
8089 if ${lt_cv_ld_force_load+:} false; then :
8090 $as_echo_n "(cached
) " >&6
8092 lt_cv_ld_force_load=no
8093 cat > conftest.c << _LT_EOF
8094 int forced_loaded() { return 2;}
8096 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
8097 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8098 echo "$AR cru libconftest.a conftest.o
" >&5
8099 $AR cru libconftest.a conftest.o 2>&5
8100 cat > conftest.c << _LT_EOF
8101 int main() { return 0;}
8103 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
8104 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8106 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
8107 lt_cv_ld_force_load=yes
8109 cat conftest.err >&5
8111 rm -f conftest.err libconftest.a conftest conftest.c
8112 rm -rf conftest.dSYM
8115 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
8116 $as_echo "$lt_cv_ld_force_load" >&6; }
8117 # Allow for Darwin 4-7 (macOS 10.0-10.3) although these are not expect to
8118 # build without first building modern cctools / linker.
8119 case $host_cpu-$host_os in
8120 *-rhapsody* | *-darwin1.[012])
8121 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8123 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8125 # darwin 5.x (macOS 10.1) onwards we only need to adjust when the
8126 # deployment target is forced to an earlier version.
8127 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host in
8128 UNSET,*-darwin[89]*|UNSET,*-darwin[12][0123456789]*)
8131 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8138 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8139 _lt_dar_single_mod='$single_module'
8141 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8142 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8144 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8146 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
8147 _lt_dsymutil='~$DSYMUTIL $lib || :'
8154 for ac_header in dlfcn.h
8156 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h
" "ac_cv_header_dlfcn_h
" "$ac_includes_default
8158 if test "x
$ac_cv_header_dlfcn_h" = xyes; then :
8159 cat >>confdefs.h <<_ACEOF
8160 #define HAVE_DLFCN_H 1
8182 # Check whether --enable-shared was given.
8183 if test "${enable_shared+set}" = set; then :
8184 enableval=$enable_shared; p=${PACKAGE-default}
8186 yes) enable_shared=yes ;;
8187 no) enable_shared=no ;;
8190 # Look at the argument we got. We use all the common list separators.
8191 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8192 for pkg in $enableval; do
8194 if test "X
$pkg" = "X
$p"; then
8213 # Check whether --enable-static was given.
8214 if test "${enable_static+set}" = set; then :
8215 enableval=$enable_static; p=${PACKAGE-default}
8217 yes) enable_static=yes ;;
8218 no) enable_static=no ;;
8221 # Look at the argument we got. We use all the common list separators.
8222 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8223 for pkg in $enableval; do
8225 if test "X
$pkg" = "X
$p"; then
8245 # Check whether --with-pic was given.
8246 if test "${with_pic+set}" = set; then :
8247 withval=$with_pic; pic_mode="$withval"
8253 test -z "$pic_mode" && pic_mode=default
8261 # Check whether --enable-fast-install was given.
8262 if test "${enable_fast_install+set}" = set; then :
8263 enableval=$enable_fast_install; p=${PACKAGE-default}
8265 yes) enable_fast_install=yes ;;
8266 no) enable_fast_install=no ;;
8268 enable_fast_install=no
8269 # Look at the argument we got. We use all the common list separators.
8270 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8271 for pkg in $enableval; do
8273 if test "X
$pkg" = "X
$p"; then
8274 enable_fast_install=yes
8281 enable_fast_install=yes
8294 # This can be used to rebuild libtool when needed
8295 LIBTOOL_DEPS="$ltmain"
8297 # Always use our own libtool.
8298 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8325 test -z "$LN_S" && LN_S="ln -s"
8340 if test -n "${ZSH_VERSION+set}" ; then
8341 setopt NO_GLOB_SUBST
8344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdir
" >&5
8345 $as_echo_n "checking
for objdir...
" >&6; }
8346 if ${lt_cv_objdir+:} false; then :
8347 $as_echo_n "(cached
) " >&6
8349 rm -f .libs 2>/dev/null
8350 mkdir .libs 2>/dev/null
8351 if test -d .libs; then
8354 # MS-DOS does not allow filenames that begin with a dot.
8357 rmdir .libs 2>/dev/null
8359 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_objdir" >&5
8360 $as_echo "$lt_cv_objdir" >&6; }
8361 objdir=$lt_cv_objdir
8367 cat >>confdefs.h <<_ACEOF
8368 #define LT_OBJDIR "$lt_cv_objdir/"
8376 # AIX sometimes has problems with the GCC collect2 program. For some
8377 # reason, if we set the COLLECT_NAMES environment variable, the problems
8378 # vanish in a puff of smoke.
8379 if test "X
${COLLECT_NAMES+set}" != Xset; then
8381 export COLLECT_NAMES
8388 can_build_shared=yes
8390 # All known linkers require a `.a' archive for static linking (except MSVC,
8391 # which needs '.lib').
8394 with_gnu_ld="$lt_cv_prog_gnu_ld"
8397 old_CFLAGS="$CFLAGS"
8399 # Set sane defaults for various variables
8400 test -z "$CC" && CC=cc
8401 test -z "$LTCC" && LTCC=$CC
8402 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8403 test -z "$LD" && LD=ld
8404 test -z "$ac_objext" && ac_objext=o
8406 for cc_temp in $compiler""; do
8408 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8409 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8414 cc_basename=`$ECHO "$cc_temp" | $SED "s
%.
*/%%; s
%^
$host_alias-%%"`
8417 # Only perform the check for file, if the check method requires it
8418 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8419 case $deplibs_check_method in
8421 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ac_tool_prefix}file" >&5
8423 $as_echo_n "checking
for ${ac_tool_prefix}file...
" >&6; }
8424 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8425 $as_echo_n "(cached
) " >&6
8429 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8432 lt_save_MAGIC_CMD="$MAGIC_CMD"
8433 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8434 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
8435 for ac_dir in $ac_dummy; do
8437 test -z "$ac_dir" && ac_dir=.
8438 if test -f $ac_dir/${ac_tool_prefix}file; then
8439 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8440 if test -n "$file_magic_test_file"; then
8441 case $deplibs_check_method in
8443 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
8444 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8445 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8446 $EGREP "$file_magic_regex" > /dev/null; then
8451 *** Warning: the command libtool uses to detect shared libraries,
8452 *** $file_magic_cmd, produces output that libtool cannot recognize.
8453 *** The result is that libtool may fail to recognize shared libraries
8454 *** as such. This will affect the creation of libtool libraries that
8455 *** depend on shared libraries, but programs linked with such libtool
8456 *** libraries will work regardless of this problem. Nevertheless, you
8457 *** may want to report the problem to your system manager and/or to
8458 *** bug-libtool@gnu.org
8468 MAGIC_CMD="$lt_save_MAGIC_CMD"
8473 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8474 if test -n "$MAGIC_CMD"; then
8475 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
8476 $as_echo "$MAGIC_CMD" >&6; }
8478 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8479 $as_echo "no
" >&6; }
8486 if test -z "$lt_cv_path_MAGIC_CMD"; then
8487 if test -n "$ac_tool_prefix"; then
8488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for file" >&5
8489 $as_echo_n "checking
for file...
" >&6; }
8490 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8491 $as_echo_n "(cached
) " >&6
8495 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8498 lt_save_MAGIC_CMD="$MAGIC_CMD"
8499 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8500 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
8501 for ac_dir in $ac_dummy; do
8503 test -z "$ac_dir" && ac_dir=.
8504 if test -f $ac_dir/file; then
8505 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8506 if test -n "$file_magic_test_file"; then
8507 case $deplibs_check_method in
8509 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
8510 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8511 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8512 $EGREP "$file_magic_regex" > /dev/null; then
8517 *** Warning: the command libtool uses to detect shared libraries,
8518 *** $file_magic_cmd, produces output that libtool cannot recognize.
8519 *** The result is that libtool may fail to recognize shared libraries
8520 *** as such. This will affect the creation of libtool libraries that
8521 *** depend on shared libraries, but programs linked with such libtool
8522 *** libraries will work regardless of this problem. Nevertheless, you
8523 *** may want to report the problem to your system manager and/or to
8524 *** bug-libtool@gnu.org
8534 MAGIC_CMD="$lt_save_MAGIC_CMD"
8539 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8540 if test -n "$MAGIC_CMD"; then
8541 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
8542 $as_echo "$MAGIC_CMD" >&6; }
8544 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8545 $as_echo "no
" >&6; }
8558 # Use C for the default configuration in the libtool script
8562 ac_cpp='$CPP $CPPFLAGS'
8563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8568 # Source file extension for C test sources.
8571 # Object file extension for compiled C test sources.
8575 # Code to be used in simple compile tests
8576 lt_simple_compile_test_code="int some_variable
= 0;"
8578 # Code to be used in simple link tests
8579 lt_simple_link_test_code='int main(){return(0);}'
8587 # If no C compiler was specified, use CC.
8590 # If no C compiler flags were specified, use CFLAGS.
8591 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8593 # Allow CC to be a program name with arguments.
8596 # Save the default compiler, since it gets overwritten when the other
8597 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8598 compiler_DEFAULT=$CC
8600 # save warnings/boilerplate of simple test code
8601 ac_outfile=conftest.$ac_objext
8602 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8603 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8604 _lt_compiler_boilerplate=`cat conftest.err`
8607 ac_outfile=conftest.$ac_objext
8608 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8609 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8610 _lt_linker_boilerplate=`cat conftest.err`
8615 ## There is no encapsulation within the following macros, do not change
8616 ## the running order or otherwise move them around unless you know exactly
8617 ## what you are doing...
8618 if test -n "$compiler"; then
8620 lt_prog_compiler_no_builtin_flag=
8622 if test "$GCC" = yes; then
8623 case $cc_basename in
8625 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8627 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-fno-rtti -fno-exceptions" >&5
8631 $as_echo_n "checking
if $compiler supports
-fno-rtti -fno-exceptions...
" >&6; }
8632 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8633 $as_echo_n "(cached
) " >&6
8635 lt_cv_prog_compiler_rtti_exceptions=no
8636 ac_outfile=conftest.$ac_objext
8637 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8638 lt_compiler_flag="-fno-rtti -fno-exceptions"
8639 # Insert the option either (1) after the last *FLAGS variable, or
8640 # (2) before a word containing "conftest.
", or (3) at the end.
8641 # Note that $ac_compile itself does not contain backslashes and begins
8642 # with a dollar sign (not a hyphen), so the echo should work correctly.
8643 # The option is referenced via a variable to avoid confusing sed.
8644 lt_compile=`echo "$ac_compile" | $SED \
8645 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8646 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8647 -e 's:$: $lt_compiler_flag:'`
8648 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
8649 (eval "$lt_compile" 2>conftest.err)
8651 cat conftest.err >&5
8652 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8653 if (exit $ac_status) && test -s "$ac_outfile"; then
8654 # The compiler can only warn and ignore the option if not recognized
8655 # So say no if there are warnings other than the usual output.
8656 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8657 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8658 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8659 lt_cv_prog_compiler_rtti_exceptions=yes
8665 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_rtti_exceptions" >&5
8666 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8668 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8669 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8681 lt_prog_compiler_wl=
8682 lt_prog_compiler_pic=
8683 lt_prog_compiler_static=
8685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $compiler option to produce PIC
" >&5
8686 $as_echo_n "checking
for $compiler option to produce PIC...
" >&6; }
8688 if test "$GCC" = yes; then
8689 lt_prog_compiler_wl='-Wl,'
8690 lt_prog_compiler_static='-static'
8694 # All AIX code is PIC.
8695 if test "$host_cpu" = ia64; then
8696 # AIX 5 now supports IA64 processor
8697 lt_prog_compiler_static='-Bstatic'
8699 lt_prog_compiler_pic='-fPIC'
8705 # see comment about AmigaOS4 .so support
8706 lt_prog_compiler_pic='-fPIC'
8709 # FIXME: we need at least 68020 code to build shared libraries, but
8710 # adding the `-m68020' flag to GCC prevents building anything better,
8712 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8717 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8718 # PIC is the default for these OSes.
8721 mingw* | cygwin* | pw32* | os2* | cegcc*)
8722 # This hack is so that the source file can tell whether it is being
8723 # built for inclusion in a dll (and should export symbols for example).
8724 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8725 # (--disable-auto-import) libraries
8726 lt_prog_compiler_pic='-DDLL_EXPORT'
8729 darwin* | rhapsody*)
8730 # PIC is the default on this platform
8731 # Common symbols not allowed in MH_DYLIB files
8732 lt_prog_compiler_pic='-fno-common'
8736 # PIC is the default for Haiku.
8737 # The "-static" flag exists, but is broken.
8738 lt_prog_compiler_static=
8742 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8743 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8744 # sets the default TLS model and affects inlining.
8750 lt_prog_compiler_pic='-fPIC'
8756 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8757 # Instead, we relocate shared libraries at runtime.
8761 # Just because we use GCC doesn't mean we suddenly get shared libraries
8762 # on systems that don't support them.
8763 lt_prog_compiler_can_build_shared=no
8768 # QNX uses GNU C++, but need to define -shared option too, otherwise
8770 lt_prog_compiler_pic='-fPIC -shared'
8774 if test -d /usr/nec; then
8775 lt_prog_compiler_pic=-Kconform_pic
8780 lt_prog_compiler_pic='-fPIC'
8784 case $cc_basename in
8785 nvcc*) # Cuda Compiler Driver 2.2
8786 lt_prog_compiler_wl='-Xlinker '
8787 lt_prog_compiler_pic='-Xcompiler -fPIC'
8791 # PORTME Check for flag to pass linker flags through the system compiler.
8794 lt_prog_compiler_wl='-Wl,'
8795 if test "$host_cpu" = ia64; then
8796 # AIX 5 now supports IA64 processor
8797 lt_prog_compiler_static='-Bstatic'
8799 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8803 mingw* | cygwin* | pw32* | os2* | cegcc*)
8804 # This hack is so that the source file can tell whether it is being
8805 # built for inclusion in a dll (and should export symbols for example).
8806 lt_prog_compiler_pic='-DDLL_EXPORT'
8809 hpux9* | hpux10* | hpux11*)
8810 lt_prog_compiler_wl='-Wl,'
8811 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8818 lt_prog_compiler_pic='+Z'
8821 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8822 lt_prog_compiler_static='${wl}-a ${wl}archive'
8825 irix5* | irix6* | nonstopux*)
8826 lt_prog_compiler_wl='-Wl,'
8827 # PIC (with -KPIC) is the default.
8828 lt_prog_compiler_static='-non_shared'
8831 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8832 case $cc_basename in
8833 # old Intel for x86_64 which still supported -KPIC.
8835 lt_prog_compiler_wl='-Wl,'
8836 lt_prog_compiler_pic='-KPIC'
8837 lt_prog_compiler_static='-static'
8839 # icc used to be incompatible with GCC.
8840 # ICC 10 doesn't accept -KPIC any more.
8842 lt_prog_compiler_wl='-Wl,'
8843 lt_prog_compiler_pic='-fPIC'
8844 lt_prog_compiler_static='-static'
8846 # Lahey Fortran 8.1.
8848 lt_prog_compiler_wl='-Wl,'
8849 lt_prog_compiler_pic='--shared'
8850 lt_prog_compiler_static='--static'
8852 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8853 # Portland Group compilers (*not* the Pentium gcc compiler,
8854 # which looks to be a dead project)
8855 lt_prog_compiler_wl='-Wl,'
8856 lt_prog_compiler_pic='-fpic'
8857 lt_prog_compiler_static='-Bstatic'
8860 lt_prog_compiler_wl='-Wl,'
8861 # All Alpha code is PIC.
8862 lt_prog_compiler_static='-non_shared'
8864 xl* | bgxl* | bgf* | mpixl*)
8865 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8866 lt_prog_compiler_wl='-Wl,'
8867 lt_prog_compiler_pic='-qpic'
8868 lt_prog_compiler_static='-qstaticlink'
8871 case `$CC -V 2>&1 | sed 5q` in
8872 *Sun\ F* | *Sun*Fortran*)
8873 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8874 lt_prog_compiler_pic='-KPIC'
8875 lt_prog_compiler_static='-Bstatic'
8876 lt_prog_compiler_wl=''
8880 lt_prog_compiler_pic='-KPIC'
8881 lt_prog_compiler_static='-Bstatic'
8882 lt_prog_compiler_wl='-Wl,'
8890 lt_prog_compiler_pic='-KPIC'
8891 lt_prog_compiler_static='-Bstatic'
8895 # QNX uses GNU C++, but need to define -shared option too, otherwise
8897 lt_prog_compiler_pic='-fPIC -shared'
8900 osf3* | osf4* | osf5*)
8901 lt_prog_compiler_wl='-Wl,'
8902 # All OSF/1 code is PIC.
8903 lt_prog_compiler_static='-non_shared'
8907 lt_prog_compiler_static='-non_shared'
8911 lt_prog_compiler_pic='-KPIC'
8912 lt_prog_compiler_static='-Bstatic'
8913 case $cc_basename in
8915 lt_prog_compiler_wl='-Qoption ld ';;
8917 lt_prog_compiler_wl='-Wl,';;
8922 lt_prog_compiler_wl='-Qoption ld '
8923 lt_prog_compiler_pic='-PIC'
8924 lt_prog_compiler_static='-Bstatic'
8927 sysv4 | sysv4.2uw2* | sysv4.3*)
8928 lt_prog_compiler_wl='-Wl,'
8929 lt_prog_compiler_pic='-KPIC'
8930 lt_prog_compiler_static='-Bstatic'
8934 if test -d /usr/nec ;then
8935 lt_prog_compiler_pic='-Kconform_pic'
8936 lt_prog_compiler_static='-Bstatic'
8940 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8941 lt_prog_compiler_wl='-Wl,'
8942 lt_prog_compiler_pic='-KPIC'
8943 lt_prog_compiler_static='-Bstatic'
8947 lt_prog_compiler_wl='-Wl,'
8948 lt_prog_compiler_can_build_shared=no
8952 lt_prog_compiler_pic='-pic'
8953 lt_prog_compiler_static='-Bstatic'
8957 lt_prog_compiler_can_build_shared=no
8963 # For platforms which do not support PIC, -DPIC is meaningless:
8965 lt_prog_compiler_pic=
8968 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8971 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_prog_compiler_pic" >&5
8972 $as_echo "$lt_prog_compiler_pic" >&6; }
8980 # Check to make sure the PIC flag actually works.
8982 if test -n "$lt_prog_compiler_pic"; then
8983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler PIC flag
$lt_prog_compiler_pic works
" >&5
8984 $as_echo_n "checking
if $compiler PIC flag
$lt_prog_compiler_pic works...
" >&6; }
8985 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8986 $as_echo_n "(cached
) " >&6
8988 lt_cv_prog_compiler_pic_works=no
8989 ac_outfile=conftest.$ac_objext
8990 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8991 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8992 # Insert the option either (1) after the last *FLAGS variable, or
8993 # (2) before a word containing "conftest.
", or (3) at the end.
8994 # Note that $ac_compile itself does not contain backslashes and begins
8995 # with a dollar sign (not a hyphen), so the echo should work correctly.
8996 # The option is referenced via a variable to avoid confusing sed.
8997 lt_compile=`echo "$ac_compile" | $SED \
8998 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8999 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9000 -e 's:$: $lt_compiler_flag:'`
9001 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
9002 (eval "$lt_compile" 2>conftest.err)
9004 cat conftest.err >&5
9005 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9006 if (exit $ac_status) && test -s "$ac_outfile"; then
9007 # The compiler can only warn and ignore the option if not recognized
9008 # So say no if there are warnings other than the usual output.
9009 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9010 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9011 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9012 lt_cv_prog_compiler_pic_works=yes
9018 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_pic_works" >&5
9019 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9021 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9022 case $lt_prog_compiler_pic in
9024 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9027 lt_prog_compiler_pic=
9028 lt_prog_compiler_can_build_shared=no
9039 # Check to make sure the static flag actually works.
9041 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler static flag
$lt_tmp_static_flag works
" >&5
9043 $as_echo_n "checking
if $compiler static flag
$lt_tmp_static_flag works...
" >&6; }
9044 if ${lt_cv_prog_compiler_static_works+:} false; then :
9045 $as_echo_n "(cached
) " >&6
9047 lt_cv_prog_compiler_static_works=no
9048 save_LDFLAGS="$LDFLAGS"
9049 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9050 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9051 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9052 # The linker can only warn and ignore the option if not recognized
9053 # So say no if there are warnings
9054 if test -s conftest.err; then
9055 # Append any errors to the config.log.
9056 cat conftest.err 1>&5
9057 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9058 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9059 if diff conftest.exp conftest.er2 >/dev/null; then
9060 lt_cv_prog_compiler_static_works=yes
9063 lt_cv_prog_compiler_static_works=yes
9067 LDFLAGS="$save_LDFLAGS"
9070 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_static_works" >&5
9071 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9073 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9076 lt_prog_compiler_static=
9085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
9086 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
9087 if ${lt_cv_prog_compiler_c_o+:} false; then :
9088 $as_echo_n "(cached
) " >&6
9090 lt_cv_prog_compiler_c_o=no
9091 $RM -r conftest 2>/dev/null
9095 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9097 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
9098 # Insert the option either (1) after the last *FLAGS variable, or
9099 # (2) before a word containing "conftest.
", or (3) at the end.
9100 # Note that $ac_compile itself does not contain backslashes and begins
9101 # with a dollar sign (not a hyphen), so the echo should work correctly.
9102 lt_compile=`echo "$ac_compile" | $SED \
9103 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9104 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9105 -e 's:$: $lt_compiler_flag:'`
9106 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
9107 (eval "$lt_compile" 2>out/conftest.err)
9109 cat out/conftest.err >&5
9110 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9111 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9113 # The compiler can only warn and ignore the option if not recognized
9114 # So say no if there are warnings
9115 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9116 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9117 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9118 lt_cv_prog_compiler_c_o=yes
9123 # SGI C++ compiler will create directory out/ii_files/ for
9124 # template instantiation
9125 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9126 $RM out/* && rmdir out
9132 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
9133 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
9141 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
9142 if ${lt_cv_prog_compiler_c_o+:} false; then :
9143 $as_echo_n "(cached
) " >&6
9145 lt_cv_prog_compiler_c_o=no
9146 $RM -r conftest 2>/dev/null
9150 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9152 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
9153 # Insert the option either (1) after the last *FLAGS variable, or
9154 # (2) before a word containing "conftest.
", or (3) at the end.
9155 # Note that $ac_compile itself does not contain backslashes and begins
9156 # with a dollar sign (not a hyphen), so the echo should work correctly.
9157 lt_compile=`echo "$ac_compile" | $SED \
9158 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9159 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9160 -e 's:$: $lt_compiler_flag:'`
9161 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
9162 (eval "$lt_compile" 2>out/conftest.err)
9164 cat out/conftest.err >&5
9165 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9166 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9168 # The compiler can only warn and ignore the option if not recognized
9169 # So say no if there are warnings
9170 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9171 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9172 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9173 lt_cv_prog_compiler_c_o=yes
9178 # SGI C++ compiler will create directory out/ii_files/ for
9179 # template instantiation
9180 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9181 $RM out/* && rmdir out
9187 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
9188 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9193 hard_links="nottested
"
9194 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9195 # do not overwrite the value of need_locks provided by the user
9196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if we can lock with hard links
" >&5
9197 $as_echo_n "checking
if we can lock with hard links...
" >&6; }
9200 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9202 ln conftest.a conftest.b 2>&5 || hard_links=no
9203 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9204 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $hard_links" >&5
9205 $as_echo "$hard_links" >&6; }
9206 if test "$hard_links" = no; then
9207 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&5
9208 $as_echo "$as_me: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&2;}
9220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the
$compiler linker
($LD) supports shared libraries
" >&5
9221 $as_echo_n "checking whether the
$compiler linker
($LD) supports shared libraries...
" >&6; }
9224 allow_undefined_flag=
9225 always_export_symbols=no
9227 archive_expsym_cmds=
9228 compiler_needs_object=no
9229 enable_shared_with_static_runtimes=no
9230 export_dynamic_flag_spec=
9231 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9232 hardcode_automatic=no
9234 hardcode_direct_absolute=no
9235 hardcode_libdir_flag_spec=
9236 hardcode_libdir_flag_spec_ld=
9237 hardcode_libdir_separator=
9239 hardcode_shlibpath_var=unsupported
9241 link_all_deplibs=unknown
9244 old_archive_from_new_cmds=
9245 old_archive_from_expsyms_cmds=
9246 thread_safe_flag_spec=
9247 whole_archive_flag_spec=
9248 # include_expsyms should be a list of space-separated symbols to be *always*
9249 # included in the symbol list
9251 # exclude_expsyms can be an extended regexp of symbols to exclude
9252 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9253 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9254 # as well as any symbol that contains `d'.
9255 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9256 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9257 # platforms (ab)use it in PIC code, but their linkers get confused if
9258 # the symbol is explicitly referenced. Since portable code cannot
9259 # rely on this symbol name, it's probably fine to never include it in
9260 # preloaded symbol tables.
9261 # Exclude shared library initialization/finalization symbols.
9262 extract_expsyms_cmds=
9265 cygwin* | mingw* | pw32* | cegcc*)
9266 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9267 # When not using gcc, we currently assume that we are using
9268 # Microsoft Visual C++.
9269 if test "$GCC" != yes; then
9274 # we just hope/assume this is gcc and not c89 (= MSVC++)
9284 # On some targets, GNU ld is compatible enough with the native linker
9285 # that we're better off using the native interface for both.
9286 lt_use_gnu_ld_interface=no
9287 if test "$with_gnu_ld" = yes; then
9290 # The AIX port of GNU ld has always aspired to compatibility
9291 # with the native linker. However, as the warning in the GNU ld
9292 # block says, versions before 2.19.5* couldn't really create working
9293 # shared libraries, regardless of the interface used.
9294 case `$LD -v 2>&1` in
9295 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9296 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9297 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9299 lt_use_gnu_ld_interface=yes
9304 lt_use_gnu_ld_interface=yes
9309 if test "$lt_use_gnu_ld_interface" = yes; then
9310 # If archive_cmds runs LD, not CC, wlarc should be empty
9313 # Set some defaults for GNU ld with shared library support. These
9314 # are reset later if shared libraries are not supported. Putting them
9315 # here allows them to be overridden if necessary.
9316 runpath_var=LD_RUN_PATH
9317 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9318 export_dynamic_flag_spec='${wl}--export-dynamic'
9319 # ancient GNU ld didn't support --whole-archive et. al.
9320 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9321 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9323 whole_archive_flag_spec=
9325 supports_anon_versioning=no
9326 case `$LD -v 2>&1` in
9327 *GNU\ gold*) supports_anon_versioning=yes ;;
9328 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9329 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9330 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9331 *\ 2.11.*) ;; # other 2.11 versions
9332 *) supports_anon_versioning=yes ;;
9335 # See if GNU ld supports shared libraries.
9338 # On AIX/PPC, the GNU linker is very broken
9339 if test "$host_cpu" != ia64; then
9343 *** Warning: the GNU linker, at least up to release 2.19, is reported
9344 *** to be unable to reliably create shared libraries on AIX.
9345 *** Therefore, libtool is disabling shared libraries support. If you
9346 *** really care for shared libraries, you may want to install binutils
9347 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9348 *** You will then need to restart the configuration process.
9357 # see comment about AmigaOS4 .so support
9358 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9359 archive_expsym_cmds=''
9362 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)'
9363 hardcode_libdir_flag_spec
='-L$libdir'
9364 hardcode_minus_L
=yes
9370 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9371 allow_undefined_flag
=unsupported
9372 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9373 # support --undefined. This deserves some investigation. FIXME
9374 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9380 cygwin
* | mingw
* | pw32
* | cegcc
*)
9381 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9382 # as there is no search path for DLLs.
9383 hardcode_libdir_flag_spec
='-L$libdir'
9384 export_dynamic_flag_spec
='${wl}--export-all-symbols'
9385 allow_undefined_flag
=unsupported
9386 always_export_symbols
=no
9387 enable_shared_with_static_runtimes
=yes
9388 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9390 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
9391 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9392 # If the export-symbols file already is a .def file (1st line
9393 # is EXPORTS), use it as is; otherwise, prepend...
9394 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9395 cp $export_symbols $output_objdir/$soname.def;
9397 echo EXPORTS > $output_objdir/$soname.def;
9398 cat $export_symbols >> $output_objdir/$soname.def;
9400 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9407 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9408 link_all_deplibs
=yes
9413 hardcode_shlibpath_var
=no
9414 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9415 export_dynamic_flag_spec
='${wl}-E'
9416 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9417 # Instead, shared libraries are loaded at an image base (0x10000000 by
9418 # default) and relocated if they conflict, which is a slow very memory
9419 # consuming and fragmenting process. To avoid this, we pick a random,
9420 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9421 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9422 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9423 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'
9426 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu | uclinuxfdpiceabi
)
9428 if test "$host_os" = linux-dietlibc
; then
9429 case $cc_basename in
9430 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9433 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
9434 && test "$tmp_diet" = no
9436 tmp_addflag
=' $pic_flag'
9437 tmp_sharedflag
='-shared'
9438 case $cc_basename,$host_cpu in
9439 pgcc
*) # Portland Group C compiler
9440 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'
9441 tmp_addflag
=' $pic_flag'
9443 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9444 # Portland Group f77 and f90 compilers
9445 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'
9446 tmp_addflag
=' $pic_flag -Mnomain' ;;
9447 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9448 tmp_addflag
=' -i_dynamic' ;;
9449 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9450 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9451 ifc
* | ifort
*) # Intel Fortran compiler
9452 tmp_addflag
=' -nofor_main' ;;
9453 lf95
*) # Lahey Fortran 8.1
9454 whole_archive_flag_spec
=
9455 tmp_sharedflag
='--shared' ;;
9456 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9457 tmp_sharedflag
='-qmkshrobj'
9459 nvcc
*) # Cuda Compiler Driver 2.2
9460 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'
9461 compiler_needs_object
=yes
9464 case `$CC -V 2>&1 | sed 5q` in
9465 *Sun\ C
*) # Sun C 5.9
9466 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'
9467 compiler_needs_object
=yes
9468 tmp_sharedflag
='-G' ;;
9469 *Sun\ F
*) # Sun Fortran 8.3
9470 tmp_sharedflag
='-G' ;;
9472 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9474 if test "x$supports_anon_versioning" = xyes
; then
9475 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9476 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9477 echo "local: *; };" >> $output_objdir/$libname.ver~
9478 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9481 case $cc_basename in
9482 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
9483 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9484 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9485 hardcode_libdir_flag_spec
=
9486 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
9487 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9488 if test "x$supports_anon_versioning" = xyes
; then
9489 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9490 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9491 echo "local: *; };" >> $output_objdir/$libname.ver~
9492 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9502 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9503 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9506 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9507 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9512 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
9516 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9517 *** create shared libraries on Solaris systems. Therefore, libtool
9518 *** is disabling shared libraries support. We urge you to upgrade GNU
9519 *** binutils to release 2.9.1 or newer. Another option is to modify
9520 *** your PATH or compiler configuration so that the native linker is
9521 *** used, and then restart.
9524 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9525 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9526 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9532 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9533 case `$LD -v 2>&1` in
9534 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9538 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9539 *** reliably create shared libraries on SCO systems. Therefore, libtool
9540 *** is disabling shared libraries support. We urge you to upgrade GNU
9541 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9542 *** your PATH or compiler configuration so that the native linker is
9543 *** used, and then restart.
9548 # For security reasons, it is highly recommended that you always
9549 # use absolute paths for naming shared libraries, and exclude the
9550 # DT_RUNPATH tag from executables and libraries. But doing so
9551 # requires that you compile everything twice, which is a pain.
9552 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9553 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9554 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9555 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9564 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9567 hardcode_shlibpath_var
=no
9571 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9572 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9573 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9580 if test "$ld_shlibs" = no
; then
9582 hardcode_libdir_flag_spec
=
9583 export_dynamic_flag_spec
=
9584 whole_archive_flag_spec
=
9587 # PORTME fill in a description of your system's linker (not GNU ld)
9590 allow_undefined_flag
=unsupported
9591 always_export_symbols
=yes
9592 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'
9593 # Note: this linker hardcodes the directories in LIBPATH if there
9594 # are no directories specified by -L.
9595 hardcode_minus_L
=yes
9596 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9597 # Neither direct hardcoding nor static linking is supported with a
9599 hardcode_direct
=unsupported
9604 if test "$host_cpu" = ia64
; then
9605 # On IA64, the linker does run time linking by default, so we don't
9606 # have to do anything special.
9607 aix_use_runtimelinking
=no
9608 exp_sym_flag
='-Bexport'
9611 # If we're using GNU nm, then we don't want the "-C" option.
9612 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9613 # Also, AIX nm treats weak defined symbols like other global
9614 # defined symbols, whereas GNU nm marks them as "W".
9615 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9616 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'
9618 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'
9620 aix_use_runtimelinking
=no
9622 # Test if we are trying to use run time linking or normal
9623 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9624 # need to do runtime linking.
9625 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9626 for ld_flag
in $LDFLAGS; do
9627 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9628 aix_use_runtimelinking
=yes
9635 exp_sym_flag
='-bexport'
9636 no_entry_flag
='-bnoentry'
9639 # When large executables or shared objects are built, AIX ld can
9640 # have problems creating the table of contents. If linking a library
9641 # or program results in "error TOC overflow" add -mminimal-toc to
9642 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9643 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9647 hardcode_direct_absolute
=yes
9648 hardcode_libdir_separator
=':'
9649 link_all_deplibs
=yes
9650 file_list_spec
='${wl}-f,'
9652 if test "$GCC" = yes; then
9653 case $host_os in aix4.
[012]|aix4.
[012].
*)
9654 # We only want to do this on AIX 4.2 and lower, the check
9655 # below for broken collect2 doesn't work under 4.3+
9656 collect2name
=`${CC} -print-prog-name=collect2`
9657 if test -f "$collect2name" &&
9658 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9660 # We have reworked collect2
9663 # We have old collect2
9664 hardcode_direct
=unsupported
9665 # It fails to find uninstalled libraries when the uninstalled
9666 # path is not listed in the libpath. Setting hardcode_minus_L
9667 # to unsupported forces relinking
9668 hardcode_minus_L
=yes
9669 hardcode_libdir_flag_spec
='-L$libdir'
9670 hardcode_libdir_separator
=
9674 shared_flag
='-shared'
9675 if test "$aix_use_runtimelinking" = yes; then
9676 shared_flag
="$shared_flag "'${wl}-G'
9680 if test "$host_cpu" = ia64
; then
9681 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9682 # chokes on -Wl,-G. The following line is correct:
9685 if test "$aix_use_runtimelinking" = yes; then
9686 shared_flag
='${wl}-G'
9688 shared_flag
='${wl}-bM:SRE'
9693 export_dynamic_flag_spec
='${wl}-bexpall'
9694 # It seems that -bexpall does not export symbols beginning with
9695 # underscore (_), so it is better to generate a list of symbols to export.
9696 always_export_symbols
=yes
9697 if test "$aix_use_runtimelinking" = yes; then
9698 # Warning - without using the other runtime loading flags (-brtl),
9699 # -berok will link without error, but may produce a broken library.
9700 allow_undefined_flag
='-berok'
9701 # Determine the default libpath from the value encoded in an
9703 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9704 /* end confdefs.h. */
9714 if ac_fn_c_try_link
"$LINENO"; then :
9716 lt_aix_libpath_sed
='
9717 /Import File Strings/,/^$/ {
9723 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9724 # Check for a 64-bit object if we didn't find anything.
9725 if test -z "$aix_libpath"; then
9726 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9729 rm -f core conftest.err conftest.
$ac_objext \
9730 conftest
$ac_exeext conftest.
$ac_ext
9731 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9733 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9734 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"
9736 if test "$host_cpu" = ia64
; then
9737 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9738 allow_undefined_flag
="-z nodefs"
9739 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"
9741 # Determine the default libpath from the value encoded in an
9743 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9744 /* end confdefs.h. */
9754 if ac_fn_c_try_link
"$LINENO"; then :
9756 lt_aix_libpath_sed
='
9757 /Import File Strings/,/^$/ {
9763 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9764 # Check for a 64-bit object if we didn't find anything.
9765 if test -z "$aix_libpath"; then
9766 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9769 rm -f core conftest.err conftest.
$ac_objext \
9770 conftest
$ac_exeext conftest.
$ac_ext
9771 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9773 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9774 # Warning - without using the other run time loading flags,
9775 # -berok will link without error, but may produce a broken library.
9776 no_undefined_flag
=' ${wl}-bernotok'
9777 allow_undefined_flag
=' ${wl}-berok'
9778 if test "$with_gnu_ld" = yes; then
9779 # We only use this code for GNU lds that support --whole-archive.
9780 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9782 # Exported symbols can be pulled into shared objects from archives
9783 whole_archive_flag_spec
='$convenience'
9785 archive_cmds_need_lc
=yes
9786 # This is similar to how AIX traditionally builds its shared libraries.
9787 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'
9795 # see comment about AmigaOS4 .so support
9796 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9797 archive_expsym_cmds
=''
9800 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)'
9801 hardcode_libdir_flag_spec
='-L$libdir'
9802 hardcode_minus_L
=yes
9808 export_dynamic_flag_spec
=-rdynamic
9811 cygwin
* | mingw
* | pw32
* | cegcc
*)
9812 # When not using gcc, we currently assume that we are using
9813 # Microsoft Visual C++.
9814 # hardcode_libdir_flag_spec is actually meaningless, as there is
9815 # no search path for DLLs.
9816 hardcode_libdir_flag_spec
=' '
9817 allow_undefined_flag
=unsupported
9818 # Tell ltmain to make .lib files, not .a files.
9820 # Tell ltmain to make .dll files, not .so files.
9822 # FIXME: Setting linknames here is a bad hack.
9823 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9824 # The linker will automatically build a .lib file if we build a DLL.
9825 old_archive_from_new_cmds
='true'
9826 # FIXME: Should let the user specify the lib program.
9827 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9828 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9829 enable_shared_with_static_runtimes
=yes
9832 darwin
* | rhapsody
*)
9835 archive_cmds_need_lc
=no
9837 hardcode_automatic
=yes
9838 hardcode_shlibpath_var
=unsupported
9839 if test "$lt_cv_ld_force_load" = "yes"; then
9840 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\"`'
9842 whole_archive_flag_spec
=''
9844 link_all_deplibs
=yes
9845 allow_undefined_flag
="$_lt_dar_allow_undefined"
9846 case $cc_basename in
9847 ifort
*) _lt_dar_can_shared
=yes ;;
9848 *) _lt_dar_can_shared
=$GCC ;;
9850 if test "$_lt_dar_can_shared" = "yes"; then
9851 output_verbose_link_cmd
=func_echo_all
9852 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9853 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9854 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}"
9855 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}"
9864 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9865 hardcode_libdir_flag_spec
='-L$libdir'
9866 hardcode_shlibpath_var
=no
9869 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9870 # support. Future versions do this automatically, but an explicit c++rt0.o
9871 # does not break anything, and helps significantly (at the cost of a little
9874 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9875 hardcode_libdir_flag_spec
='-R$libdir'
9877 hardcode_shlibpath_var
=no
9880 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9882 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9884 hardcode_minus_L
=yes
9885 hardcode_shlibpath_var
=no
9888 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9889 freebsd
* | dragonfly
*)
9890 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9891 hardcode_libdir_flag_spec
='-R$libdir'
9893 hardcode_shlibpath_var
=no
9897 if test "$GCC" = yes; then
9898 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'
9900 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'
9902 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9903 hardcode_libdir_separator
=:
9906 # hardcode_minus_L: Not really in the search PATH,
9907 # but as the default location of the library.
9908 hardcode_minus_L
=yes
9909 export_dynamic_flag_spec
='${wl}-E'
9913 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9914 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9916 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9918 if test "$with_gnu_ld" = no
; then
9919 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9920 hardcode_libdir_flag_spec_ld
='+b $libdir'
9921 hardcode_libdir_separator
=:
9923 hardcode_direct_absolute
=yes
9924 export_dynamic_flag_spec
='${wl}-E'
9925 # hardcode_minus_L: Not really in the search PATH,
9926 # but as the default location of the library.
9927 hardcode_minus_L
=yes
9932 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9935 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9938 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9941 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9947 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9950 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9954 # Older versions of the 11.00 compiler do not understand -b yet
9955 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9957 $as_echo_n "checking if $CC understands -b... " >&6; }
9958 if ${lt_cv_prog_compiler__b+:} false
; then :
9959 $as_echo_n "(cached) " >&6
9961 lt_cv_prog_compiler__b
=no
9962 save_LDFLAGS
="$LDFLAGS"
9963 LDFLAGS
="$LDFLAGS -b"
9964 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9965 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9966 # The linker can only warn and ignore the option if not recognized
9967 # So say no if there are warnings
9968 if test -s conftest.err
; then
9969 # Append any errors to the config.log.
9970 cat conftest.err
1>&5
9971 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9972 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9973 if diff conftest.exp conftest.er2
>/dev
/null
; then
9974 lt_cv_prog_compiler__b
=yes
9977 lt_cv_prog_compiler__b
=yes
9981 LDFLAGS
="$save_LDFLAGS"
9984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9985 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9987 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
9988 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9990 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9996 if test "$with_gnu_ld" = no
; then
9997 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9998 hardcode_libdir_separator
=:
10003 hardcode_shlibpath_var
=no
10006 hardcode_direct
=yes
10007 hardcode_direct_absolute
=yes
10008 export_dynamic_flag_spec
='${wl}-E'
10010 # hardcode_minus_L: Not really in the search PATH,
10011 # but as the default location of the library.
10012 hardcode_minus_L
=yes
10018 irix5
* | irix6
* | nonstopux
*)
10019 if test "$GCC" = yes; then
10020 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'
10021 # Try to use the -exported_symbol ld option, if it does not
10022 # work, assume that -exports_file does not work either and
10023 # implicitly export all symbols.
10024 save_LDFLAGS
="$LDFLAGS"
10025 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10026 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10027 /* end confdefs.h. */
10030 if ac_fn_c_try_link
"$LINENO"; then :
10031 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'
10034 rm -f core conftest.err conftest.
$ac_objext \
10035 conftest
$ac_exeext conftest.
$ac_ext
10036 LDFLAGS
="$save_LDFLAGS"
10038 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'
10039 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'
10041 archive_cmds_need_lc
='no'
10042 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10043 hardcode_libdir_separator
=:
10045 link_all_deplibs
=yes
10049 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10050 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10052 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10054 hardcode_libdir_flag_spec
='-R$libdir'
10055 hardcode_direct
=yes
10056 hardcode_shlibpath_var
=no
10060 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10061 hardcode_direct
=yes
10062 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10063 hardcode_libdir_separator
=:
10064 hardcode_shlibpath_var
=no
10071 if test -f /usr
/libexec
/ld.so
; then
10072 hardcode_direct
=yes
10073 hardcode_shlibpath_var
=no
10074 hardcode_direct_absolute
=yes
10075 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10076 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10077 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10078 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10079 export_dynamic_flag_spec
='${wl}-E'
10082 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
10083 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10084 hardcode_libdir_flag_spec
='-R$libdir'
10087 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10088 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10098 hardcode_libdir_flag_spec
='-L$libdir'
10099 hardcode_minus_L
=yes
10100 allow_undefined_flag
=unsupported
10101 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'
10102 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10106 if test "$GCC" = yes; then
10107 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10108 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'
10110 allow_undefined_flag
=' -expect_unresolved \*'
10111 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'
10113 archive_cmds_need_lc
='no'
10114 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10115 hardcode_libdir_separator
=:
10118 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10119 if test "$GCC" = yes; then
10120 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10121 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'
10122 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10124 allow_undefined_flag
=' -expect_unresolved \*'
10125 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'
10126 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~
10127 $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'
10129 # Both c and cxx compiler support -rpath directly
10130 hardcode_libdir_flag_spec
='-rpath $libdir'
10132 archive_cmds_need_lc
='no'
10133 hardcode_libdir_separator
=:
10137 no_undefined_flag
=' -z defs'
10138 if test "$GCC" = yes; then
10140 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10141 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10142 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10144 case `$CC -V 2>&1` in
10147 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10148 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10149 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10153 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10154 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10155 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10159 hardcode_libdir_flag_spec
='-R$libdir'
10160 hardcode_shlibpath_var
=no
10162 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10164 # The compiler driver will combine and reorder linker options,
10165 # but understands `-z linker_flag'. GCC discards it without `$wl',
10166 # but is careful enough not to reorder.
10167 # Supported since Solaris 2.6 (maybe 2.5.1?)
10168 if test "$GCC" = yes; then
10169 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10171 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10175 link_all_deplibs
=yes
10179 if test "x$host_vendor" = xsequent
; then
10180 # Use $CC to link under sequent, because it throws in some extra .o
10181 # files that make .init and .fini sections work.
10182 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10184 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10186 hardcode_libdir_flag_spec
='-L$libdir'
10187 hardcode_direct
=yes
10188 hardcode_minus_L
=yes
10189 hardcode_shlibpath_var
=no
10193 case $host_vendor in
10195 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10196 hardcode_direct
=yes # is this really true???
10199 ## LD is ld it makes a PLAMLIB
10200 ## CC just makes a GrossModule.
10201 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10202 reload_cmds
='$CC -r -o $output$reload_objs'
10206 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10207 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10210 runpath_var
='LD_RUN_PATH'
10211 hardcode_shlibpath_var
=no
10215 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10216 hardcode_shlibpath_var
=no
10217 export_dynamic_flag_spec
='-Bexport'
10221 if test -d /usr
/nec
; then
10222 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10223 hardcode_shlibpath_var
=no
10224 runpath_var
=LD_RUN_PATH
10225 hardcode_runpath_var
=yes
10230 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10231 no_undefined_flag
='${wl}-z,text'
10232 archive_cmds_need_lc
=no
10233 hardcode_shlibpath_var
=no
10234 runpath_var
='LD_RUN_PATH'
10236 if test "$GCC" = yes; then
10237 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10238 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10240 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10241 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10245 sysv5
* | sco3.2v5
* | sco5v6
*)
10246 # Note: We can NOT use -z defs as we might desire, because we do not
10247 # link with -lc, and that would cause any symbols used from libc to
10248 # always be unresolved, which means just about no library would
10249 # ever link correctly. If we're not using GNU ld we use -z text
10250 # though, which does catch some bad symbols but isn't as heavy-handed
10252 no_undefined_flag
='${wl}-z,text'
10253 allow_undefined_flag
='${wl}-z,nodefs'
10254 archive_cmds_need_lc
=no
10255 hardcode_shlibpath_var
=no
10256 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10257 hardcode_libdir_separator
=':'
10258 link_all_deplibs
=yes
10259 export_dynamic_flag_spec
='${wl}-Bexport'
10260 runpath_var
='LD_RUN_PATH'
10262 if test "$GCC" = yes; then
10263 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10264 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10266 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10267 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10272 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10273 hardcode_libdir_flag_spec
='-L$libdir'
10274 hardcode_shlibpath_var
=no
10282 if test x
$host_vendor = xsni
; then
10284 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10285 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10292 $as_echo "$ld_shlibs" >&6; }
10293 test "$ld_shlibs" = no
&& can_build_shared
=no
10295 with_gnu_ld
=$with_gnu_ld
10312 # Do we need to explicitly link libc?
10314 case "x$archive_cmds_need_lc" in
10316 # Assume -lc should be added
10317 archive_cmds_need_lc
=yes
10319 if test "$enable_shared" = yes && test "$GCC" = yes; then
10320 case $archive_cmds in
10322 # FIXME: we may have to deal with multi-command sequences.
10325 # Test whether the compiler implicitly links with -lc since on some
10326 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10327 # to ld, don't add -lc before -lgcc.
10328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10329 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10330 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
10331 $as_echo_n "(cached) " >&6
10334 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10336 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10337 (eval $ac_compile) 2>&5
10339 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10340 test $ac_status = 0; } 2>conftest.err
; then
10343 libobjs
=conftest.
$ac_objext
10345 wl
=$lt_prog_compiler_wl
10346 pic_flag
=$lt_prog_compiler_pic
10352 lt_save_allow_undefined_flag
=$allow_undefined_flag
10353 allow_undefined_flag
=
10354 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10355 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10357 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10358 test $ac_status = 0; }
10360 lt_cv_archive_cmds_need_lc
=no
10362 lt_cv_archive_cmds_need_lc
=yes
10364 allow_undefined_flag
=$lt_save_allow_undefined_flag
10366 cat conftest.err
1>&5
10371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10372 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10373 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
10536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10537 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10539 if test "$GCC" = yes; then
10541 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10542 *) lt_awk_arg
="/^libraries:/" ;;
10545 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
10546 *) lt_sed_strip_eq
="s,=/,/,g" ;;
10548 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10549 case $lt_search_path_spec in
10551 # if the path contains ";" then we assume it to be the separator
10552 # otherwise default to the standard path separator (i.e. ":") - it is
10553 # assumed that no part of a normal pathname contains ";" but that should
10554 # okay in the real world where ";" in dirpaths is itself problematic.
10555 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10558 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10561 # Ok, now we have the path, separated by spaces, we can step through it
10562 # and add multilib dir if necessary.
10563 lt_tmp_lt_search_path_spec
=
10564 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10565 for lt_sys_path
in $lt_search_path_spec; do
10566 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10567 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10569 test -d "$lt_sys_path" && \
10570 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10573 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10574 BEGIN {RS=" "; FS="/|\n";} {
10577 for (lt_i = NF; lt_i > 0; lt_i--) {
10578 if ($lt_i != "" && $lt_i != ".") {
10579 if ($lt_i == "..") {
10582 if (lt_count == 0) {
10583 lt_foo="/" $lt_i lt_foo;
10590 if (lt_foo != "") { lt_freq[lt_foo]++; }
10591 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10593 # AWK program above erroneously prepends '/' to C:/dos/paths
10596 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
10597 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10599 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10601 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10603 library_names_spec
=
10604 libname_spec
='lib$name'
10608 postuninstall_cmds
=
10612 shlibpath_overrides_runpath
=unknown
10614 dynamic_linker
="$host_os ld.so"
10615 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10616 need_lib_prefix
=unknown
10617 hardcode_into_libs
=no
10619 # when you set need_version to no, make sure it does not cause -set_version
10620 # flags to be left without arguments
10621 need_version
=unknown
10626 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10627 shlibpath_var
=LIBPATH
10629 # AIX 3 has no versioning support, so we append a major version to the name.
10630 soname_spec
='${libname}${release}${shared_ext}$major'
10637 hardcode_into_libs
=yes
10638 if test "$host_cpu" = ia64
; then
10639 # AIX 5 supports IA64
10640 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10641 shlibpath_var
=LD_LIBRARY_PATH
10643 # With GCC up to 2.95.x, collect2 would create an import file
10644 # for dependence libraries. The import file would start with
10645 # the line `#! .'. This would cause the generated library to
10646 # depend on `.', always an invalid library. This was fixed in
10647 # development snapshots of GCC prior to 3.0.
10649 aix4 | aix4.
[01] | aix4.
[01].
*)
10650 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10652 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10655 can_build_shared
=no
10659 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10660 # soname into executable. Probably we can add versioning support to
10661 # collect2, so additional links can be useful in future.
10662 if test "$aix_use_runtimelinking" = yes; then
10663 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10664 # instead of lib<name>.a to let people know that these are not
10665 # typical AIX shared libraries.
10666 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10668 # We preserve .a as extension for shared libraries through AIX4.2
10669 # and later when we are not doing run time linking.
10670 library_names_spec
='${libname}${release}.a $libname.a'
10671 soname_spec
='${libname}${release}${shared_ext}$major'
10673 shlibpath_var
=LIBPATH
10680 # Since July 2007 AmigaOS4 officially supports .so libraries.
10681 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10682 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10685 library_names_spec
='$libname.ixlibrary $libname.a'
10686 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10687 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'
10693 library_names_spec
='${libname}${shared_ext}'
10694 dynamic_linker
="$host_os ld.so"
10695 shlibpath_var
=LIBRARY_PATH
10701 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10702 soname_spec
='${libname}${release}${shared_ext}$major'
10703 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10704 shlibpath_var
=LD_LIBRARY_PATH
10705 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10706 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10707 # the default ld.so.conf also contains /usr/contrib/lib and
10708 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10709 # libtool to hard-code these into programs
10712 cygwin
* | mingw
* | pw32
* | cegcc
*)
10713 version_type
=windows
10718 case $GCC,$host_os in
10719 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
10720 library_names_spec
='$libname.dll.a'
10721 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10722 postinstall_cmds
='base_file=`basename \${file}`~
10723 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10724 dldir=$destdir/`dirname \$dlpath`~
10725 test -d \$dldir || mkdir -p \$dldir~
10726 $install_prog $dir/$dlname \$dldir/$dlname~
10727 chmod a+x \$dldir/$dlname~
10728 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10729 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10731 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10732 dlpath=$dir/\$dldll~
10734 shlibpath_overrides_runpath
=yes
10738 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10739 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10741 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
10744 # MinGW DLLs use traditional 'lib' prefix
10745 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10748 # pw32 DLLs use 'pw' prefix rather than 'lib'
10749 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10755 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10758 dynamic_linker
='Win32 ld.exe'
10759 # FIXME: first we should search . and the directory the executable is in
10763 darwin
* | rhapsody
*)
10764 dynamic_linker
="$host_os dyld"
10765 version_type
=darwin
10768 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10769 soname_spec
='${libname}${release}${major}$shared_ext'
10770 shlibpath_overrides_runpath
=yes
10771 shlibpath_var
=DYLD_LIBRARY_PATH
10772 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10774 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10775 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10782 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10783 soname_spec
='${libname}${release}${shared_ext}$major'
10784 shlibpath_var
=LD_LIBRARY_PATH
10787 freebsd
* | dragonfly
*)
10788 # DragonFly does not have aout. When/if they implement a new
10789 # versioning mechanism, adjust this.
10790 if test -x /usr
/bin
/objformat
; then
10791 objformat
=`/usr/bin/objformat`
10794 freebsd
[23].
*) objformat
=aout
;;
10795 *) objformat
=elf
;;
10798 version_type
=freebsd-
$objformat
10799 case $version_type in
10801 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10806 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10810 shlibpath_var
=LD_LIBRARY_PATH
10813 shlibpath_overrides_runpath
=yes
10815 freebsd3.
[01]* | freebsdelf3.
[01]*)
10816 shlibpath_overrides_runpath
=yes
10817 hardcode_into_libs
=yes
10819 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10820 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10821 shlibpath_overrides_runpath
=no
10822 hardcode_into_libs
=yes
10824 *) # from 4.6 on, and DragonFly
10825 shlibpath_overrides_runpath
=yes
10826 hardcode_into_libs
=yes
10835 dynamic_linker
="$host_os runtime_loader"
10836 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10837 soname_spec
='${libname}${release}${shared_ext}$major'
10838 shlibpath_var
=LIBRARY_PATH
10839 shlibpath_overrides_runpath
=yes
10840 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10841 hardcode_into_libs
=yes
10844 hpux9
* | hpux10
* | hpux11
*)
10845 # Give a soname corresponding to the major version so that dld.sl refuses to
10846 # link against other versions.
10853 hardcode_into_libs
=yes
10854 dynamic_linker
="$host_os dld.so"
10855 shlibpath_var
=LD_LIBRARY_PATH
10856 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10857 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10858 soname_spec
='${libname}${release}${shared_ext}$major'
10859 if test "X$HPUX_IA64_MODE" = X32
; then
10860 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10862 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10864 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10868 hardcode_into_libs
=yes
10869 dynamic_linker
="$host_os dld.sl"
10870 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10871 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10872 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10873 soname_spec
='${libname}${release}${shared_ext}$major'
10874 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10875 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10879 dynamic_linker
="$host_os dld.sl"
10880 shlibpath_var
=SHLIB_PATH
10881 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10882 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10883 soname_spec
='${libname}${release}${shared_ext}$major'
10886 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10887 postinstall_cmds
='chmod 555 $lib'
10888 # or fails outright, so override atomically:
10889 install_override_mode
=555
10896 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10897 soname_spec
='${libname}${release}${shared_ext}$major'
10898 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10899 shlibpath_var
=LD_LIBRARY_PATH
10900 shlibpath_overrides_runpath
=no
10901 hardcode_into_libs
=yes
10904 irix5
* | irix6
* | nonstopux
*)
10906 nonstopux
*) version_type
=nonstopux
;;
10908 if test "$lt_cv_prog_gnu_ld" = yes; then
10916 soname_spec
='${libname}${release}${shared_ext}$major'
10917 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10919 irix5
* | nonstopux
*)
10920 libsuff
= shlibsuff
=
10923 case $LD in # libtool.m4 will add one of these switches to LD
10924 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10925 libsuff
= shlibsuff
= libmagic
=32-bit;;
10926 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10927 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10928 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10929 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10930 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10934 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10935 shlibpath_overrides_runpath
=no
10936 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10937 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10938 hardcode_into_libs
=yes
10941 # No shared lib support for Linux oldld, aout, or coff.
10942 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10946 # This must be Linux ELF.
10948 # uclinux* changes (here and below) have been submitted to the libtool
10949 # project, but have not yet been accepted: they are GCC-local changes
10950 # for the time being. (See
10951 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
10952 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
* | uclinuxfdpiceabi
)
10956 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10957 soname_spec
='${libname}${release}${shared_ext}$major'
10958 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10959 shlibpath_var
=LD_LIBRARY_PATH
10960 shlibpath_overrides_runpath
=no
10962 # Some binutils ld are patched to set DT_RUNPATH
10963 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
10964 $as_echo_n "(cached) " >&6
10966 lt_cv_shlibpath_overrides_runpath
=no
10967 save_LDFLAGS
=$LDFLAGS
10968 save_libdir
=$libdir
10969 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10970 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10971 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10972 /* end confdefs.h. */
10982 if ac_fn_c_try_link
"$LINENO"; then :
10983 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
10984 lt_cv_shlibpath_overrides_runpath
=yes
10987 rm -f core conftest.err conftest.
$ac_objext \
10988 conftest
$ac_exeext conftest.
$ac_ext
10989 LDFLAGS
=$save_LDFLAGS
10990 libdir
=$save_libdir
10994 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
10996 # This implies no fast_install, which is unacceptable.
10997 # Some rework will be needed to allow for fast_install
10998 # before this can be enabled.
10999 hardcode_into_libs
=yes
11001 # Append ld.so.conf contents to the search path
11002 if test -f /etc
/ld.so.conf
; then
11003 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' ' '`
11004 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
11007 # We used to test for /lib/ld.so.1 and disable shared libraries on
11008 # powerpc, because MkLinux only supported shared libraries with the
11009 # GNU dynamic linker. Since this was broken with cross compilers,
11010 # most powerpc-linux boxes support dynamic linking these days and
11011 # people can always --disable-shared, the test was removed, and we
11012 # assume the GNU/Linux dynamic linker is in use.
11013 dynamic_linker
='GNU/Linux ld.so'
11020 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11021 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11022 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11023 dynamic_linker
='NetBSD (a.out) ld.so'
11025 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11026 soname_spec
='${libname}${release}${shared_ext}$major'
11027 dynamic_linker
='NetBSD ld.elf_so'
11029 shlibpath_var
=LD_LIBRARY_PATH
11030 shlibpath_overrides_runpath
=yes
11031 hardcode_into_libs
=yes
11036 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11037 shlibpath_var
=LD_LIBRARY_PATH
11038 shlibpath_overrides_runpath
=yes
11045 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11046 soname_spec
='${libname}${release}${shared_ext}$major'
11047 shlibpath_var
=LD_LIBRARY_PATH
11048 shlibpath_overrides_runpath
=no
11049 hardcode_into_libs
=yes
11050 dynamic_linker
='ldqnx.so'
11055 sys_lib_dlsearch_path_spec
="/usr/lib"
11057 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11059 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
11060 *) need_version
=no
;;
11062 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11063 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11064 shlibpath_var
=LD_LIBRARY_PATH
11065 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11067 openbsd2.
[89] | openbsd2.
[89].
*)
11068 shlibpath_overrides_runpath
=no
11071 shlibpath_overrides_runpath
=yes
11075 shlibpath_overrides_runpath
=yes
11080 libname_spec
='$name'
11083 library_names_spec
='$libname${shared_ext} $libname.a'
11084 dynamic_linker
='OS/2 ld.exe'
11085 shlibpath_var
=LIBPATH
11088 osf3
* | osf4
* | osf5
*)
11092 soname_spec
='${libname}${release}${shared_ext}$major'
11093 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11094 shlibpath_var
=LD_LIBRARY_PATH
11095 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11096 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11107 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11108 soname_spec
='${libname}${release}${shared_ext}$major'
11109 shlibpath_var
=LD_LIBRARY_PATH
11110 shlibpath_overrides_runpath
=yes
11111 hardcode_into_libs
=yes
11112 # ldd complains unless libraries are executable
11113 postinstall_cmds
='chmod +x $lib'
11118 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11119 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11120 shlibpath_var
=LD_LIBRARY_PATH
11121 shlibpath_overrides_runpath
=yes
11122 if test "$with_gnu_ld" = yes; then
11130 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11131 soname_spec
='${libname}${release}${shared_ext}$major'
11132 shlibpath_var
=LD_LIBRARY_PATH
11133 case $host_vendor in
11135 shlibpath_overrides_runpath
=no
11137 runpath_var
=LD_RUN_PATH
11145 shlibpath_overrides_runpath
=no
11146 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11152 if test -d /usr
/nec
;then
11154 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11155 soname_spec
='$libname${shared_ext}.$major'
11156 shlibpath_var
=LD_LIBRARY_PATH
11160 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11161 version_type
=freebsd-elf
11164 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11165 soname_spec
='${libname}${release}${shared_ext}$major'
11166 shlibpath_var
=LD_LIBRARY_PATH
11167 shlibpath_overrides_runpath
=yes
11168 hardcode_into_libs
=yes
11169 if test "$with_gnu_ld" = yes; then
11170 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11172 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11175 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11179 sys_lib_dlsearch_path_spec
='/usr/lib'
11183 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11187 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11188 shlibpath_var
=LD_LIBRARY_PATH
11189 shlibpath_overrides_runpath
=no
11190 hardcode_into_libs
=yes
11195 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11196 soname_spec
='${libname}${release}${shared_ext}$major'
11197 shlibpath_var
=LD_LIBRARY_PATH
11200 # Shared libraries for VwWorks, >= 7 only at this stage
11201 # and (fpic) still incompatible with "large" code models
11202 # in a few configurations. Only for RTP mode in any case,
11203 # and upon explicit request at configure time.
11206 case ${with_multisubdir}-${enable_shared} in
11213 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11214 soname_spec
='${libname}${release}${shared_ext}$major'
11215 dynamic_linker
="$host_os module_loader"
11223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11224 $as_echo "$dynamic_linker" >&6; }
11225 test "$dynamic_linker" = no
&& can_build_shared
=no
11227 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11228 if test "$GCC" = yes; then
11229 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11232 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11233 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
11235 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11236 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
11330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11331 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11333 if test -n "$hardcode_libdir_flag_spec" ||
11334 test -n "$runpath_var" ||
11335 test "X$hardcode_automatic" = "Xyes" ; then
11337 # We can hardcode non-existent directories.
11338 if test "$hardcode_direct" != no
&&
11339 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11340 # have to relink, otherwise we might link with an installed library
11341 # when we should be linking with a yet-to-be-installed one
11342 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11343 test "$hardcode_minus_L" != no
; then
11344 # Linking always hardcodes the temporary library directory.
11345 hardcode_action
=relink
11347 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11348 hardcode_action
=immediate
11351 # We cannot hardcode anything, or else we can only hardcode existing
11353 hardcode_action
=unsupported
11355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11356 $as_echo "$hardcode_action" >&6; }
11358 if test "$hardcode_action" = relink ||
11359 test "$inherit_rpath" = yes; then
11360 # Fast installation is not supported
11361 enable_fast_install
=no
11362 elif test "$shlibpath_overrides_runpath" = yes ||
11363 test "$enable_shared" = no
; then
11364 # Fast installation is not necessary
11365 enable_fast_install
=needless
11373 if test "x$enable_dlopen" != xyes
; then
11374 enable_dlopen
=unknown
11375 enable_dlopen_self
=unknown
11376 enable_dlopen_self_static
=unknown
11383 lt_cv_dlopen
="load_add_on"
11385 lt_cv_dlopen_self
=yes
11388 mingw
* | pw32
* | cegcc
*)
11389 lt_cv_dlopen
="LoadLibrary"
11394 lt_cv_dlopen
="dlopen"
11399 # if libdl is installed we need to link against it
11400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11401 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11402 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11403 $as_echo_n "(cached) " >&6
11405 ac_check_lib_save_LIBS
=$LIBS
11407 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11408 /* end confdefs.h. */
11410 /* Override any GCC internal prototype to avoid an error.
11411 Use char because int might match the return type of a GCC
11412 builtin and then its argument prototype would still apply. */
11425 if ac_fn_c_try_link
"$LINENO"; then :
11426 ac_cv_lib_dl_dlopen
=yes
11428 ac_cv_lib_dl_dlopen
=no
11430 rm -f core conftest.err conftest.
$ac_objext \
11431 conftest
$ac_exeext conftest.
$ac_ext
11432 LIBS
=$ac_check_lib_save_LIBS
11434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11435 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11436 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11437 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11440 lt_cv_dlopen
="dyld"
11442 lt_cv_dlopen_self
=yes
11449 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
11450 if test "x$ac_cv_func_shl_load" = xyes
; then :
11451 lt_cv_dlopen
="shl_load"
11453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11454 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11455 if ${ac_cv_lib_dld_shl_load+:} false
; then :
11456 $as_echo_n "(cached) " >&6
11458 ac_check_lib_save_LIBS
=$LIBS
11460 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11461 /* end confdefs.h. */
11463 /* Override any GCC internal prototype to avoid an error.
11464 Use char because int might match the return type of a GCC
11465 builtin and then its argument prototype would still apply. */
11473 return shl_load ();
11478 if ac_fn_c_try_link
"$LINENO"; then :
11479 ac_cv_lib_dld_shl_load
=yes
11481 ac_cv_lib_dld_shl_load
=no
11483 rm -f core conftest.err conftest.
$ac_objext \
11484 conftest
$ac_exeext conftest.
$ac_ext
11485 LIBS
=$ac_check_lib_save_LIBS
11487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11488 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11489 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
11490 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
11492 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
11493 if test "x$ac_cv_func_dlopen" = xyes
; then :
11494 lt_cv_dlopen
="dlopen"
11496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11497 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11498 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11499 $as_echo_n "(cached) " >&6
11501 ac_check_lib_save_LIBS
=$LIBS
11503 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11504 /* end confdefs.h. */
11506 /* Override any GCC internal prototype to avoid an error.
11507 Use char because int might match the return type of a GCC
11508 builtin and then its argument prototype would still apply. */
11521 if ac_fn_c_try_link
"$LINENO"; then :
11522 ac_cv_lib_dl_dlopen
=yes
11524 ac_cv_lib_dl_dlopen
=no
11526 rm -f core conftest.err conftest.
$ac_objext \
11527 conftest
$ac_exeext conftest.
$ac_ext
11528 LIBS
=$ac_check_lib_save_LIBS
11530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11531 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11532 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11533 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11536 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11537 if ${ac_cv_lib_svld_dlopen+:} false
; then :
11538 $as_echo_n "(cached) " >&6
11540 ac_check_lib_save_LIBS
=$LIBS
11541 LIBS
="-lsvld $LIBS"
11542 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11543 /* end confdefs.h. */
11545 /* Override any GCC internal prototype to avoid an error.
11546 Use char because int might match the return type of a GCC
11547 builtin and then its argument prototype would still apply. */
11560 if ac_fn_c_try_link
"$LINENO"; then :
11561 ac_cv_lib_svld_dlopen
=yes
11563 ac_cv_lib_svld_dlopen
=no
11565 rm -f core conftest.err conftest.
$ac_objext \
11566 conftest
$ac_exeext conftest.
$ac_ext
11567 LIBS
=$ac_check_lib_save_LIBS
11569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11570 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11571 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
11572 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11575 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11576 if ${ac_cv_lib_dld_dld_link+:} false
; then :
11577 $as_echo_n "(cached) " >&6
11579 ac_check_lib_save_LIBS
=$LIBS
11581 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11582 /* end confdefs.h. */
11584 /* Override any GCC internal prototype to avoid an error.
11585 Use char because int might match the return type of a GCC
11586 builtin and then its argument prototype would still apply. */
11594 return dld_link ();
11599 if ac_fn_c_try_link
"$LINENO"; then :
11600 ac_cv_lib_dld_dld_link
=yes
11602 ac_cv_lib_dld_dld_link
=no
11604 rm -f core conftest.err conftest.
$ac_objext \
11605 conftest
$ac_exeext conftest.
$ac_ext
11606 LIBS
=$ac_check_lib_save_LIBS
11608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11609 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11610 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
11611 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11632 if test "x$lt_cv_dlopen" != xno
; then
11638 case $lt_cv_dlopen in
11640 save_CPPFLAGS
="$CPPFLAGS"
11641 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11643 save_LDFLAGS
="$LDFLAGS"
11644 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11647 LIBS
="$lt_cv_dlopen_libs $LIBS"
11649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11650 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11651 if ${lt_cv_dlopen_self+:} false
; then :
11652 $as_echo_n "(cached) " >&6
11654 if test "$cross_compiling" = yes; then :
11655 lt_cv_dlopen_self
=cross
11657 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11658 lt_status
=$lt_dlunknown
11659 cat > conftest.
$ac_ext <<_LT_EOF
11660 #line 11658 "configure"
11661 #include "confdefs.h"
11670 # define LT_DLGLOBAL RTLD_GLOBAL
11673 # define LT_DLGLOBAL DL_GLOBAL
11675 # define LT_DLGLOBAL 0
11679 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11680 find out it does not work in some platform. */
11681 #ifndef LT_DLLAZY_OR_NOW
11683 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11686 # define LT_DLLAZY_OR_NOW DL_LAZY
11689 # define LT_DLLAZY_OR_NOW RTLD_NOW
11692 # define LT_DLLAZY_OR_NOW DL_NOW
11694 # define LT_DLLAZY_OR_NOW 0
11701 /* When -fvisbility=hidden is used, assume the code has been annotated
11702 correspondingly for the symbols needed. */
11703 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11704 void fnord () __attribute__((visibility("default")));
11707 void fnord () { int i=42; }
11710 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11711 int status = $lt_dlunknown;
11715 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11718 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11719 else puts (dlerror ());
11721 /* dlclose (self); */
11729 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11730 (eval $ac_link) 2>&5
11732 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11733 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11734 (.
/conftest
; exit; ) >&5 2>/dev
/null
11736 case x
$lt_status in
11737 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11738 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11739 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11742 # compilation failed
11743 lt_cv_dlopen_self
=no
11750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11751 $as_echo "$lt_cv_dlopen_self" >&6; }
11753 if test "x$lt_cv_dlopen_self" = xyes
; then
11754 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11756 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11757 if ${lt_cv_dlopen_self_static+:} false
; then :
11758 $as_echo_n "(cached) " >&6
11760 if test "$cross_compiling" = yes; then :
11761 lt_cv_dlopen_self_static
=cross
11763 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11764 lt_status
=$lt_dlunknown
11765 cat > conftest.
$ac_ext <<_LT_EOF
11766 #line 11764 "configure"
11767 #include "confdefs.h"
11776 # define LT_DLGLOBAL RTLD_GLOBAL
11779 # define LT_DLGLOBAL DL_GLOBAL
11781 # define LT_DLGLOBAL 0
11785 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11786 find out it does not work in some platform. */
11787 #ifndef LT_DLLAZY_OR_NOW
11789 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11792 # define LT_DLLAZY_OR_NOW DL_LAZY
11795 # define LT_DLLAZY_OR_NOW RTLD_NOW
11798 # define LT_DLLAZY_OR_NOW DL_NOW
11800 # define LT_DLLAZY_OR_NOW 0
11807 /* When -fvisbility=hidden is used, assume the code has been annotated
11808 correspondingly for the symbols needed. */
11809 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11810 void fnord () __attribute__((visibility("default")));
11813 void fnord () { int i=42; }
11816 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11817 int status = $lt_dlunknown;
11821 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11824 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11825 else puts (dlerror ());
11827 /* dlclose (self); */
11835 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11836 (eval $ac_link) 2>&5
11838 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11839 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11840 (.
/conftest
; exit; ) >&5 2>/dev
/null
11842 case x
$lt_status in
11843 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11844 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11845 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11848 # compilation failed
11849 lt_cv_dlopen_self_static
=no
11856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11857 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11860 CPPFLAGS
="$save_CPPFLAGS"
11861 LDFLAGS
="$save_LDFLAGS"
11866 case $lt_cv_dlopen_self in
11867 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11868 *) enable_dlopen_self
=unknown
;;
11871 case $lt_cv_dlopen_self_static in
11872 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11873 *) enable_dlopen_self_static
=unknown
;;
11895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11896 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11897 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11898 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11899 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11901 $as_echo "yes" >&6; }
11903 # FIXME - insert some real tests, host_os isn't really good enough
11906 if test -n "$STRIP" ; then
11907 striplib
="$STRIP -x"
11908 old_striplib
="$STRIP -S"
11909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11910 $as_echo "yes" >&6; }
11912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11913 $as_echo "no" >&6; }
11917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11918 $as_echo "no" >&6; }
11934 # Report which library types will actually be built
11935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11936 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11938 $as_echo "$can_build_shared" >&6; }
11940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11941 $as_echo_n "checking whether to build shared libraries... " >&6; }
11942 test "$can_build_shared" = "no" && enable_shared
=no
11944 # On AIX, shared libraries and static libraries use the same namespace, and
11945 # are all built from PIC.
11948 test "$enable_shared" = yes && enable_static
=no
11949 if test -n "$RANLIB"; then
11950 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11951 postinstall_cmds
='$RANLIB $lib'
11956 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11957 test "$enable_shared" = yes && enable_static
=no
11961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11962 $as_echo "$enable_shared" >&6; }
11964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11965 $as_echo_n "checking whether to build static libraries... " >&6; }
11966 # Make sure either enable_shared or enable_static is yes.
11967 test "$enable_shared" = yes || enable_static
=yes
11968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11969 $as_echo "$enable_static" >&6; }
11976 ac_cpp
='$CPP $CPPFLAGS'
11977 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11978 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11979 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11983 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11984 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11985 (test "X$CXX" != "Xg++"))) ; then
11987 ac_cpp
='$CXXCPP $CPPFLAGS'
11988 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11989 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11990 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11992 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11993 if test -z "$CXXCPP"; then
11994 if ${ac_cv_prog_CXXCPP+:} false
; then :
11995 $as_echo_n "(cached) " >&6
11997 # Double quotes because CXXCPP needs to be expanded
11998 for CXXCPP
in "$CXX -E" "/lib/cpp"
12000 ac_preproc_ok
=false
12001 for ac_cxx_preproc_warn_flag
in '' yes
12003 # Use a header file that comes with gcc, so configuring glibc
12004 # with a fresh cross-compiler works.
12005 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12006 # <limits.h> exists even on freestanding compilers.
12007 # On the NeXT, cc -E runs the code through the compiler's parser,
12008 # not just through cpp. "Syntax error" is here to catch this case.
12009 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12010 /* end confdefs.h. */
12012 # include <limits.h>
12014 # include <assert.h>
12018 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12021 # Broken: fails on valid input.
12024 rm -f conftest.err conftest.i conftest.
$ac_ext
12026 # OK, works on sane cases. Now check whether nonexistent headers
12027 # can be detected and how.
12028 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12029 /* end confdefs.h. */
12030 #include <ac_nonexistent.h>
12032 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12033 # Broken: success on invalid input.
12036 # Passes both tests.
12040 rm -f conftest.err conftest.i conftest.
$ac_ext
12043 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12044 rm -f conftest.i conftest.err conftest.
$ac_ext
12045 if $ac_preproc_ok; then :
12050 ac_cv_prog_CXXCPP
=$CXXCPP
12053 CXXCPP
=$ac_cv_prog_CXXCPP
12055 ac_cv_prog_CXXCPP
=$CXXCPP
12057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12058 $as_echo "$CXXCPP" >&6; }
12059 ac_preproc_ok
=false
12060 for ac_cxx_preproc_warn_flag
in '' yes
12062 # Use a header file that comes with gcc, so configuring glibc
12063 # with a fresh cross-compiler works.
12064 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12065 # <limits.h> exists even on freestanding compilers.
12066 # On the NeXT, cc -E runs the code through the compiler's parser,
12067 # not just through cpp. "Syntax error" is here to catch this case.
12068 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12069 /* end confdefs.h. */
12071 # include <limits.h>
12073 # include <assert.h>
12077 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12080 # Broken: fails on valid input.
12083 rm -f conftest.err conftest.i conftest.
$ac_ext
12085 # OK, works on sane cases. Now check whether nonexistent headers
12086 # can be detected and how.
12087 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12088 /* end confdefs.h. */
12089 #include <ac_nonexistent.h>
12091 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12092 # Broken: success on invalid input.
12095 # Passes both tests.
12099 rm -f conftest.err conftest.i conftest.
$ac_ext
12102 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12103 rm -f conftest.i conftest.err conftest.
$ac_ext
12104 if $ac_preproc_ok; then :
12107 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12108 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12109 as_fn_error $?
"C++ preprocessor \"$CXXCPP\" fails sanity check
12110 See \`config.log' for more details" "$LINENO" 5; }
12114 ac_cpp
='$CPP $CPPFLAGS'
12115 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12116 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12117 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12120 _lt_caught_CXX_error
=yes
12124 ac_cpp
='$CXXCPP $CPPFLAGS'
12125 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12126 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12127 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12129 archive_cmds_need_lc_CXX
=no
12130 allow_undefined_flag_CXX
=
12131 always_export_symbols_CXX
=no
12132 archive_expsym_cmds_CXX
=
12133 compiler_needs_object_CXX
=no
12134 export_dynamic_flag_spec_CXX
=
12135 hardcode_direct_CXX
=no
12136 hardcode_direct_absolute_CXX
=no
12137 hardcode_libdir_flag_spec_CXX
=
12138 hardcode_libdir_flag_spec_ld_CXX
=
12139 hardcode_libdir_separator_CXX
=
12140 hardcode_minus_L_CXX
=no
12141 hardcode_shlibpath_var_CXX
=unsupported
12142 hardcode_automatic_CXX
=no
12143 inherit_rpath_CXX
=no
12145 module_expsym_cmds_CXX
=
12146 link_all_deplibs_CXX
=unknown
12147 old_archive_cmds_CXX
=$old_archive_cmds
12148 reload_flag_CXX
=$reload_flag
12149 reload_cmds_CXX
=$reload_cmds
12150 no_undefined_flag_CXX
=
12151 whole_archive_flag_spec_CXX
=
12152 enable_shared_with_static_runtimes_CXX
=no
12154 # Source file extension for C++ test sources.
12157 # Object file extension for compiled C++ test sources.
12161 # No sense in running all these tests if we already determined that
12162 # the CXX compiler isn't working. Some variables (like enable_shared)
12163 # are currently assumed to apply to all compilers on this platform,
12164 # and will be corrupted by setting them based on a non-working compiler.
12165 if test "$_lt_caught_CXX_error" != yes; then
12166 # Code to be used in simple compile tests
12167 lt_simple_compile_test_code
="int some_variable = 0;"
12169 # Code to be used in simple link tests
12170 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
12172 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12179 # If no C compiler was specified, use CC.
12182 # If no C compiler flags were specified, use CFLAGS.
12183 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
12185 # Allow CC to be a program name with arguments.
12189 # save warnings/boilerplate of simple test code
12190 ac_outfile
=conftest.
$ac_objext
12191 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
12192 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12193 _lt_compiler_boilerplate
=`cat conftest.err`
12196 ac_outfile
=conftest.
$ac_objext
12197 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
12198 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12199 _lt_linker_boilerplate
=`cat conftest.err`
12203 # Allow CC to be a program name with arguments.
12208 lt_save_with_gnu_ld
=$with_gnu_ld
12209 lt_save_path_LD
=$lt_cv_path_LD
12210 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12211 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
12213 $as_unset lt_cv_prog_gnu_ld
12215 if test -n "${lt_cv_path_LDCXX+set}"; then
12216 lt_cv_path_LD
=$lt_cv_path_LDCXX
12218 $as_unset lt_cv_path_LD
12220 test -z "${LDCXX+set}" || LD
=$LDCXX
12224 for cc_temp
in $compiler""; do
12226 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
12227 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
12232 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12235 if test -n "$compiler"; then
12236 # We don't want -fno-exception when compiling C++ code, so set the
12237 # no_builtin_flag separately
12238 if test "$GXX" = yes; then
12239 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
12241 lt_prog_compiler_no_builtin_flag_CXX
=
12244 if test "$GXX" = yes; then
12245 # Set up default GNU C++ configuration
12249 # Check whether --with-gnu-ld was given.
12250 if test "${with_gnu_ld+set}" = set; then :
12251 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
12257 if test "$GCC" = yes; then
12258 # Check if gcc -print-prog-name=ld gives a path.
12259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12260 $as_echo_n "checking for ld used by $CC... " >&6; }
12263 # gcc leaves a trailing carriage return which upsets mingw
12264 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12266 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
12269 # Accept absolute paths.
12271 re_direlt
='/[^/][^/]*/\.\./'
12272 # Canonicalize the pathname of ld
12273 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12274 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
12275 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12277 test -z "$LD" && LD
="$ac_prog"
12280 # If it fails, then pretend we aren't using GCC.
12284 # If it is relative, then search for the first ld in PATH.
12285 with_gnu_ld
=unknown
12288 elif test "$with_gnu_ld" = yes; then
12289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12290 $as_echo_n "checking for GNU ld... " >&6; }
12292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12293 $as_echo_n "checking for non-GNU ld... " >&6; }
12295 if ${lt_cv_path_LD+:} false
; then :
12296 $as_echo_n "(cached) " >&6
12298 if test -z "$LD"; then
12299 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
12300 for ac_dir
in $PATH; do
12302 test -z "$ac_dir" && ac_dir
=.
12303 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
12304 lt_cv_path_LD
="$ac_dir/$ac_prog"
12305 # Check to see if the program is GNU ld. I'd rather use --version,
12306 # but apparently some variants of GNU ld only accept -v.
12307 # Break only if it was the GNU/non-GNU ld that we prefer.
12308 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12309 *GNU
* |
*'with BFD'*)
12310 test "$with_gnu_ld" != no
&& break
12313 test "$with_gnu_ld" != yes && break
12320 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
12324 LD
="$lt_cv_path_LD"
12325 if test -n "$LD"; then
12326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12327 $as_echo "$LD" >&6; }
12329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12330 $as_echo "no" >&6; }
12332 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
12333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12334 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12335 if ${lt_cv_prog_gnu_ld+:} false
; then :
12336 $as_echo_n "(cached) " >&6
12338 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12339 case `$LD -v 2>&1 </dev/null` in
12340 *GNU
* |
*'with BFD'*)
12341 lt_cv_prog_gnu_ld
=yes
12344 lt_cv_prog_gnu_ld
=no
12348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12349 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12350 with_gnu_ld
=$lt_cv_prog_gnu_ld
12358 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12359 # archiving commands below assume that GNU ld is being used.
12360 if test "$with_gnu_ld" = yes; then
12361 archive_cmds_CXX
='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12362 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'
12364 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12365 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12367 # If archive_cmds runs LD, not CC, wlarc should be empty
12368 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12369 # investigate it a little bit more. (MM)
12372 # ancient GNU ld didn't support --whole-archive et. al.
12373 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12374 $GREP 'no-whole-archive' > /dev
/null
; then
12375 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12377 whole_archive_flag_spec_CXX
=
12383 # A generic and very simple default shared library creation
12384 # command for GNU C++ for the case where it uses the native
12385 # linker, instead of GNU ld. If possible, this setting should
12386 # overridden to take advantage of the native linker features on
12387 # the platform it is being used on.
12388 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12391 # Commands to make compiler produce verbose output that lists
12392 # what "hidden" libraries, object files and flags are used when
12393 # linking a shared library.
12394 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12402 # PORTME: fill in a description of your system's C++ link characteristics
12403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12404 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12408 # FIXME: insert proper C++ library support
12412 if test "$host_cpu" = ia64
; then
12413 # On IA64, the linker does run time linking by default, so we don't
12414 # have to do anything special.
12415 aix_use_runtimelinking
=no
12416 exp_sym_flag
='-Bexport'
12419 aix_use_runtimelinking
=no
12421 # Test if we are trying to use run time linking or normal
12422 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12423 # need to do runtime linking.
12424 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
12425 for ld_flag
in $LDFLAGS; do
12428 aix_use_runtimelinking
=yes
12436 exp_sym_flag
='-bexport'
12437 no_entry_flag
='-bnoentry'
12440 # When large executables or shared objects are built, AIX ld can
12441 # have problems creating the table of contents. If linking a library
12442 # or program results in "error TOC overflow" add -mminimal-toc to
12443 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12444 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12446 archive_cmds_CXX
=''
12447 hardcode_direct_CXX
=yes
12448 hardcode_direct_absolute_CXX
=yes
12449 hardcode_libdir_separator_CXX
=':'
12450 link_all_deplibs_CXX
=yes
12451 file_list_spec_CXX
='${wl}-f,'
12453 if test "$GXX" = yes; then
12454 case $host_os in aix4.
[012]|aix4.
[012].
*)
12455 # We only want to do this on AIX 4.2 and lower, the check
12456 # below for broken collect2 doesn't work under 4.3+
12457 collect2name
=`${CC} -print-prog-name=collect2`
12458 if test -f "$collect2name" &&
12459 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
12461 # We have reworked collect2
12464 # We have old collect2
12465 hardcode_direct_CXX
=unsupported
12466 # It fails to find uninstalled libraries when the uninstalled
12467 # path is not listed in the libpath. Setting hardcode_minus_L
12468 # to unsupported forces relinking
12469 hardcode_minus_L_CXX
=yes
12470 hardcode_libdir_flag_spec_CXX
='-L$libdir'
12471 hardcode_libdir_separator_CXX
=
12474 shared_flag
='-shared'
12475 if test "$aix_use_runtimelinking" = yes; then
12476 shared_flag
="$shared_flag "'${wl}-G'
12480 if test "$host_cpu" = ia64
; then
12481 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12482 # chokes on -Wl,-G. The following line is correct:
12485 if test "$aix_use_runtimelinking" = yes; then
12486 shared_flag
='${wl}-G'
12488 shared_flag
='${wl}-bM:SRE'
12493 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
12494 # It seems that -bexpall does not export symbols beginning with
12495 # underscore (_), so it is better to generate a list of symbols to
12497 always_export_symbols_CXX
=yes
12498 if test "$aix_use_runtimelinking" = yes; then
12499 # Warning - without using the other runtime loading flags (-brtl),
12500 # -berok will link without error, but may produce a broken library.
12501 allow_undefined_flag_CXX
='-berok'
12502 # Determine the default libpath from the value encoded in an empty
12504 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12505 /* end confdefs.h. */
12515 if ac_fn_cxx_try_link
"$LINENO"; then :
12517 lt_aix_libpath_sed
='
12518 /Import File Strings/,/^$/ {
12524 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12525 # Check for a 64-bit object if we didn't find anything.
12526 if test -z "$aix_libpath"; then
12527 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12530 rm -f core conftest.err conftest.
$ac_objext \
12531 conftest
$ac_exeext conftest.
$ac_ext
12532 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12534 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
12536 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"
12538 if test "$host_cpu" = ia64
; then
12539 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
12540 allow_undefined_flag_CXX
="-z nodefs"
12541 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"
12543 # Determine the default libpath from the value encoded in an
12544 # empty executable.
12545 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12546 /* end confdefs.h. */
12556 if ac_fn_cxx_try_link
"$LINENO"; then :
12558 lt_aix_libpath_sed
='
12559 /Import File Strings/,/^$/ {
12565 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12566 # Check for a 64-bit object if we didn't find anything.
12567 if test -z "$aix_libpath"; then
12568 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12571 rm -f core conftest.err conftest.
$ac_objext \
12572 conftest
$ac_exeext conftest.
$ac_ext
12573 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12575 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
12576 # Warning - without using the other run time loading flags,
12577 # -berok will link without error, but may produce a broken library.
12578 no_undefined_flag_CXX
=' ${wl}-bernotok'
12579 allow_undefined_flag_CXX
=' ${wl}-berok'
12580 if test "$with_gnu_ld" = yes; then
12581 # We only use this code for GNU lds that support --whole-archive.
12582 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12584 # Exported symbols can be pulled into shared objects from archives
12585 whole_archive_flag_spec_CXX
='$convenience'
12587 archive_cmds_need_lc_CXX
=yes
12588 # This is similar to how AIX traditionally builds its shared
12590 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'
12596 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12597 allow_undefined_flag_CXX
=unsupported
12598 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12599 # support --undefined. This deserves some investigation. FIXME
12600 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12607 case $cc_basename in
12609 # FIXME: insert proper C++ library support
12615 cygwin
* | mingw
* | pw32
* | cegcc
*)
12616 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12617 # as there is no search path for DLLs.
12618 hardcode_libdir_flag_spec_CXX
='-L$libdir'
12619 export_dynamic_flag_spec_CXX
='${wl}--export-all-symbols'
12620 allow_undefined_flag_CXX
=unsupported
12621 always_export_symbols_CXX
=no
12622 enable_shared_with_static_runtimes_CXX
=yes
12624 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
12625 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'
12626 # If the export-symbols file already is a .def file (1st line
12627 # is EXPORTS), use it as is; otherwise, prepend...
12628 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12629 cp $export_symbols $output_objdir/$soname.def;
12631 echo EXPORTS > $output_objdir/$soname.def;
12632 cat $export_symbols >> $output_objdir/$soname.def;
12634 $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'
12639 darwin
* | rhapsody
*)
12642 archive_cmds_need_lc_CXX
=no
12643 hardcode_direct_CXX
=no
12644 hardcode_automatic_CXX
=yes
12645 hardcode_shlibpath_var_CXX
=unsupported
12646 if test "$lt_cv_ld_force_load" = "yes"; then
12647 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\"`'
12649 whole_archive_flag_spec_CXX
=''
12651 link_all_deplibs_CXX
=yes
12652 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
12653 case $cc_basename in
12654 ifort
*) _lt_dar_can_shared
=yes ;;
12655 *) _lt_dar_can_shared
=$GCC ;;
12657 if test "$_lt_dar_can_shared" = "yes"; then
12658 output_verbose_link_cmd
=func_echo_all
12659 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}"
12660 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12661 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}"
12662 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}"
12663 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12664 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}"
12665 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}"
12675 case $cc_basename in
12677 # FIXME: insert proper C++ library support
12681 # Green Hills C++ Compiler
12682 # FIXME: insert proper C++ library support
12686 # FIXME: insert proper C++ library support
12693 # C++ shared libraries reported to be fairly broken before
12699 archive_cmds_need_lc_CXX
=no
12702 freebsd
* | dragonfly
*)
12703 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12712 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12713 link_all_deplibs_CXX
=yes
12717 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
12718 hardcode_libdir_separator_CXX
=:
12719 export_dynamic_flag_spec_CXX
='${wl}-E'
12720 hardcode_direct_CXX
=yes
12721 hardcode_minus_L_CXX
=yes # Not in the search PATH,
12722 # but as the default
12723 # location of the library.
12725 case $cc_basename in
12727 # FIXME: insert proper C++ library support
12731 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'
12732 # Commands to make compiler produce verbose output that lists
12733 # what "hidden" libraries, object files and flags are used when
12734 # linking a shared library.
12736 # There doesn't appear to be a way to prevent this compiler from
12737 # explicitly linking system object files so we need to strip them
12738 # from the output so that they don't get included in the library
12740 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"'
12743 if test "$GXX" = yes; then
12744 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'
12746 # FIXME: insert proper C++ library support
12754 if test $with_gnu_ld = no
; then
12755 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
12756 hardcode_libdir_separator_CXX
=:
12762 export_dynamic_flag_spec_CXX
='${wl}-E'
12768 hardcode_direct_CXX
=no
12769 hardcode_shlibpath_var_CXX
=no
12772 hardcode_direct_CXX
=yes
12773 hardcode_direct_absolute_CXX
=yes
12774 hardcode_minus_L_CXX
=yes # Not in the search PATH,
12775 # but as the default
12776 # location of the library.
12780 case $cc_basename in
12782 # FIXME: insert proper C++ library support
12788 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12791 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12794 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12797 # Commands to make compiler produce verbose output that lists
12798 # what "hidden" libraries, object files and flags are used when
12799 # linking a shared library.
12801 # There doesn't appear to be a way to prevent this compiler from
12802 # explicitly linking system object files so we need to strip them
12803 # from the output so that they don't get included in the library
12805 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"'
12808 if test "$GXX" = yes; then
12809 if test $with_gnu_ld = no
; then
12812 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12815 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12818 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'
12823 # FIXME: insert proper C++ library support
12831 hardcode_direct_CXX
=no
12832 hardcode_shlibpath_var_CXX
=no
12833 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12834 export_dynamic_flag_spec_CXX
='${wl}-E'
12835 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12836 # Instead, shared libraries are loaded at an image base (0x10000000 by
12837 # default) and relocated if they conflict, which is a slow very memory
12838 # consuming and fragmenting process. To avoid this, we pick a random,
12839 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12840 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12841 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'
12842 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'
12845 case $cc_basename in
12848 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'
12850 # Archives containing C++ object files must be created using
12851 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12852 # necessary to make sure instantiated templates are included
12854 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
12857 if test "$GXX" = yes; then
12858 if test "$with_gnu_ld" = no
; then
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"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12861 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'
12864 link_all_deplibs_CXX
=yes
12867 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12868 hardcode_libdir_separator_CXX
=:
12869 inherit_rpath_CXX
=yes
12872 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
12873 case $cc_basename in
12875 # Kuck and Associates, Inc. (KAI) C++ Compiler
12877 # KCC will only create a shared library if the output file
12878 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12879 # to its proper name (with version) after linking.
12880 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'
12881 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'
12882 # Commands to make compiler produce verbose output that lists
12883 # what "hidden" libraries, object files and flags are used when
12884 # linking a shared library.
12886 # There doesn't appear to be a way to prevent this compiler from
12887 # explicitly linking system object files so we need to strip them
12888 # from the output so that they don't get included in the library
12890 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"'
12892 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12893 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12895 # Archives containing C++ object files must be created using
12896 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12897 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
12902 # version 8.0 and above of icpc choke on multiply defined symbols
12903 # if we add $predep_objects and $postdep_objects, however 7.1 and
12904 # earlier do not add the objects themselves.
12905 case `$CC -V 2>&1` in
12907 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12908 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'
12910 *) # Version 8.0 or newer
12913 ia64
*) tmp_idyn
=' -i_dynamic';;
12915 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12916 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'
12919 archive_cmds_need_lc_CXX
=no
12920 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12921 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12922 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12925 # Portland Group C++ compiler
12927 *pgCC\
[1-5].
* |
*pgcpp\
[1-5].
*)
12928 prelink_cmds_CXX
='tpldir=Template.dir~
12930 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12931 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
12932 old_archive_cmds_CXX
='tpldir=Template.dir~
12934 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12935 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
12937 archive_cmds_CXX
='tpldir=Template.dir~
12939 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12940 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12941 archive_expsym_cmds_CXX
='tpldir=Template.dir~
12943 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12944 $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'
12946 *) # Version 6 and above use weak symbols
12947 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12948 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'
12952 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
12953 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12954 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'
12958 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12959 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'
12961 runpath_var
=LD_RUN_PATH
12962 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
12963 hardcode_libdir_separator_CXX
=:
12965 # Commands to make compiler produce verbose output that lists
12966 # what "hidden" libraries, object files and flags are used when
12967 # linking a shared library.
12969 # There doesn't appear to be a way to prevent this compiler from
12970 # explicitly linking system object files so we need to strip them
12971 # from the output so that they don't get included in the library
12973 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'
12975 xl
* | mpixl
* | bgxl
*)
12976 # IBM XL 8.0 on PPC, with GNU ld
12977 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12978 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12979 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12980 if test "x$supports_anon_versioning" = xyes
; then
12981 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
12982 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12983 echo "local: *; };" >> $output_objdir/$libname.ver~
12984 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12988 case `$CC -V 2>&1 | sed 5q` in
12991 no_undefined_flag_CXX
=' -zdefs'
12992 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12993 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'
12994 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12995 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'
12996 compiler_needs_object_CXX
=yes
12998 # Not sure whether something based on
12999 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13001 output_verbose_link_cmd
='func_echo_all'
13003 # Archives containing C++ object files must be created using
13004 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13005 # necessary to make sure instantiated templates are included
13007 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13015 # FIXME: insert proper C++ library support
13020 # FIXME: insert proper C++ library support
13025 case $cc_basename in
13027 # FIXME: insert proper C++ library support
13031 # FIXME: insert proper C++ library support
13038 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
13039 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13041 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13042 hardcode_direct_CXX
=yes
13043 hardcode_shlibpath_var_CXX
=no
13045 # Workaround some broken pre-1.5 toolchains
13046 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13054 # C++ shared libraries are fairly broken
13059 if test -f /usr
/libexec
/ld.so
; then
13060 hardcode_direct_CXX
=yes
13061 hardcode_shlibpath_var_CXX
=no
13062 hardcode_direct_absolute_CXX
=yes
13063 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13064 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13065 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13066 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13067 export_dynamic_flag_spec_CXX
='${wl}-E'
13068 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13070 output_verbose_link_cmd
=func_echo_all
13076 osf3
* | osf4
* | osf5
*)
13077 case $cc_basename in
13079 # Kuck and Associates, Inc. (KAI) C++ Compiler
13081 # KCC will only create a shared library if the output file
13082 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13083 # to its proper name (with version) after linking.
13084 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'
13086 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13087 hardcode_libdir_separator_CXX
=:
13089 # Archives containing C++ object files must be created using
13090 # the KAI C++ compiler.
13092 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
13093 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
13097 # Rational C++ 2.4.1
13098 # FIXME: insert proper C++ library support
13104 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13105 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'
13106 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13109 allow_undefined_flag_CXX
=' -expect_unresolved \*'
13110 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'
13111 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13112 echo "-hidden">> $lib.exp~
13113 $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~
13115 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13119 hardcode_libdir_separator_CXX
=:
13121 # Commands to make compiler produce verbose output that lists
13122 # what "hidden" libraries, object files and flags are used when
13123 # linking a shared library.
13125 # There doesn't appear to be a way to prevent this compiler from
13126 # explicitly linking system object files so we need to strip them
13127 # from the output so that they don't get included in the library
13129 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"'
13132 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13133 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13136 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'
13139 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'
13143 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13144 hardcode_libdir_separator_CXX
=:
13146 # Commands to make compiler produce verbose output that lists
13147 # what "hidden" libraries, object files and flags are used when
13148 # linking a shared library.
13149 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13152 # FIXME: insert proper C++ library support
13160 # FIXME: insert proper C++ library support
13165 case $cc_basename in
13168 # FIXME: insert proper C++ library support
13173 # FIXME: insert proper C++ library support
13177 # FIXME: insert proper C++ library support
13184 case $cc_basename in
13186 # Sun C++ 4.2, 5.x and Centerline C++
13187 archive_cmds_need_lc_CXX
=yes
13188 no_undefined_flag_CXX
=' -zdefs'
13189 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13190 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13191 $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'
13193 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13194 hardcode_shlibpath_var_CXX
=no
13196 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13198 # The compiler driver will combine and reorder linker options,
13199 # but understands `-z linker_flag'.
13200 # Supported since Solaris 2.6 (maybe 2.5.1?)
13201 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
13204 link_all_deplibs_CXX
=yes
13206 output_verbose_link_cmd
='func_echo_all'
13208 # Archives containing C++ object files must be created using
13209 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13210 # necessary to make sure instantiated templates are included
13212 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13215 # Green Hills C++ Compiler
13216 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13218 # The C++ compiler must be used to create the archive.
13219 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13222 # GNU C++ compiler with Solaris linker
13223 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13224 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
13225 if $CC --version |
$GREP -v '^2\.7' > /dev
/null
; then
13226 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13227 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13228 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13230 # Commands to make compiler produce verbose output that lists
13231 # what "hidden" libraries, object files and flags are used when
13232 # linking a shared library.
13233 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13235 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13237 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13238 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13239 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13241 # Commands to make compiler produce verbose output that lists
13242 # what "hidden" libraries, object files and flags are used when
13243 # linking a shared library.
13244 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13247 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
13249 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13251 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13259 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
13260 no_undefined_flag_CXX
='${wl}-z,text'
13261 archive_cmds_need_lc_CXX
=no
13262 hardcode_shlibpath_var_CXX
=no
13263 runpath_var
='LD_RUN_PATH'
13265 case $cc_basename in
13267 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13268 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13271 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13272 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13277 sysv5
* | sco3.2v5
* | sco5v6
*)
13278 # Note: We can NOT use -z defs as we might desire, because we do not
13279 # link with -lc, and that would cause any symbols used from libc to
13280 # always be unresolved, which means just about no library would
13281 # ever link correctly. If we're not using GNU ld we use -z text
13282 # though, which does catch some bad symbols but isn't as heavy-handed
13284 no_undefined_flag_CXX
='${wl}-z,text'
13285 allow_undefined_flag_CXX
='${wl}-z,nodefs'
13286 archive_cmds_need_lc_CXX
=no
13287 hardcode_shlibpath_var_CXX
=no
13288 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
13289 hardcode_libdir_separator_CXX
=':'
13290 link_all_deplibs_CXX
=yes
13291 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
13292 runpath_var
='LD_RUN_PATH'
13294 case $cc_basename in
13296 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13297 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13298 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
13299 '"$old_archive_cmds_CXX"
13300 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
13301 '"$reload_cmds_CXX"
13304 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13305 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13311 case $cc_basename in
13313 # NonStop-UX NCC 3.20
13314 # FIXME: insert proper C++ library support
13318 # FIXME: insert proper C++ library support
13325 # For VxWorks ports, we assume the use of a GNU linker with
13326 # standard elf conventions.
13331 # FIXME: insert proper C++ library support
13336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13337 $as_echo "$ld_shlibs_CXX" >&6; }
13338 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
13344 ## There is no encapsulation within the following macros, do not change
13345 ## the running order or otherwise move them around unless you know exactly
13346 ## what you are doing...
13347 # Dependencies to place before and after the object being linked:
13348 predep_objects_CXX
=
13349 postdep_objects_CXX
=
13352 compiler_lib_search_path_CXX
=
13354 cat > conftest.
$ac_ext <<_LT_EOF
13358 Foo (void) { a = 0; }
13364 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13365 (eval $ac_compile) 2>&5
13367 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13368 test $ac_status = 0; }; then
13369 # Parse the compiler output and extract the necessary
13370 # objects, libraries and library flags.
13372 # Sentinel used to keep track of whether or not we are before
13373 # the conftest object file.
13374 pre_test_object_deps_done
=no
13376 for p
in `eval "$output_verbose_link_cmd"`; do
13380 # Some compilers place space between "-{L,R}" and the path.
13381 # Remove the space.
13382 if test $p = "-L" ||
13383 test $p = "-R"; then
13390 if test "$pre_test_object_deps_done" = no
; then
13393 # Internal compiler library paths should come after those
13394 # provided the user. The postdeps already come after the
13395 # user supplied libs so there is no need to process them.
13396 if test -z "$compiler_lib_search_path_CXX"; then
13397 compiler_lib_search_path_CXX
="${prev}${p}"
13399 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
13402 # The "-l" case would never come before the object being
13403 # linked, so don't bother handling this case.
13406 if test -z "$postdeps_CXX"; then
13407 postdeps_CXX
="${prev}${p}"
13409 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
13415 # This assumes that the test object file only shows up
13416 # once in the compiler output.
13417 if test "$p" = "conftest.$objext"; then
13418 pre_test_object_deps_done
=yes
13422 if test "$pre_test_object_deps_done" = no
; then
13423 if test -z "$predep_objects_CXX"; then
13424 predep_objects_CXX
="$p"
13426 predep_objects_CXX
="$predep_objects_CXX $p"
13429 if test -z "$postdep_objects_CXX"; then
13430 postdep_objects_CXX
="$p"
13432 postdep_objects_CXX
="$postdep_objects_CXX $p"
13437 *) ;; # Ignore the rest.
13445 echo "libtool.m4: error: problem compiling CXX test program"
13448 $RM -f confest.
$objext
13450 # PORTME: override above test on systems where it is broken
13453 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13454 # hack all around it, let's just trust "g++" to DTRT.
13455 predep_objects_CXX
=
13456 postdep_objects_CXX
=
13461 case `$CC -V 2>&1 | sed 5q` in
13465 # The more standards-conforming stlport4 library is
13466 # incompatible with the Cstd library. Avoid specifying
13467 # it if it's in CXXFLAGS. Ignore libCrun as
13468 # -library=stlport4 depends on it.
13469 case " $CXX $CXXFLAGS " in
13470 *" -library=stlport4 "*)
13471 solaris_use_stlport4
=yes
13475 if test "$solaris_use_stlport4" != yes; then
13476 postdeps_CXX
='-library=Cstd -library=Crun'
13483 case $cc_basename in
13485 # The more standards-conforming stlport4 library is
13486 # incompatible with the Cstd library. Avoid specifying
13487 # it if it's in CXXFLAGS. Ignore libCrun as
13488 # -library=stlport4 depends on it.
13489 case " $CXX $CXXFLAGS " in
13490 *" -library=stlport4 "*)
13491 solaris_use_stlport4
=yes
13495 # Adding this requires a known-good setup of shared libraries for
13496 # Sun compiler versions before 5.6, else PIC objects from an old
13497 # archive will be linked into the output, leading to subtle bugs.
13498 if test "$solaris_use_stlport4" != yes; then
13499 postdeps_CXX
='-library=Cstd -library=Crun'
13507 case " $postdeps_CXX " in
13508 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
13510 compiler_lib_search_dirs_CXX
=
13511 if test -n "${compiler_lib_search_path_CXX}"; then
13512 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13545 lt_prog_compiler_wl_CXX
=
13546 lt_prog_compiler_pic_CXX
=
13547 lt_prog_compiler_static_CXX
=
13549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13550 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13552 # C++ specific cases for pic, static, wl, etc.
13553 if test "$GXX" = yes; then
13554 lt_prog_compiler_wl_CXX
='-Wl,'
13555 lt_prog_compiler_static_CXX
='-static'
13559 # All AIX code is PIC.
13560 if test "$host_cpu" = ia64
; then
13561 # AIX 5 now supports IA64 processor
13562 lt_prog_compiler_static_CXX
='-Bstatic'
13564 lt_prog_compiler_pic_CXX
='-fPIC'
13570 # see comment about AmigaOS4 .so support
13571 lt_prog_compiler_pic_CXX
='-fPIC'
13574 # FIXME: we need at least 68020 code to build shared libraries, but
13575 # adding the `-m68020' flag to GCC prevents building anything better,
13577 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
13582 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13583 # PIC is the default for these OSes.
13585 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
13586 # This hack is so that the source file can tell whether it is being
13587 # built for inclusion in a dll (and should export symbols for example).
13588 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13589 # (--disable-auto-import) libraries
13590 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
13592 darwin
* | rhapsody
*)
13593 # PIC is the default on this platform
13594 # Common symbols not allowed in MH_DYLIB files
13595 lt_prog_compiler_pic_CXX
='-fno-common'
13598 # DJGPP does not support shared libraries at all
13599 lt_prog_compiler_pic_CXX
=
13602 # PIC is the default for Haiku.
13603 # The "-static" flag exists, but is broken.
13604 lt_prog_compiler_static_CXX
=
13607 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13608 # Instead, we relocate shared libraries at runtime.
13611 if test -d /usr
/nec
; then
13612 lt_prog_compiler_pic_CXX
=-Kconform_pic
13616 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13617 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13618 # sets the default TLS model and affects inlining.
13623 lt_prog_compiler_pic_CXX
='-fPIC'
13628 # QNX uses GNU C++, but need to define -shared option too, otherwise
13629 # it will coredump.
13630 lt_prog_compiler_pic_CXX
='-fPIC -shared'
13633 lt_prog_compiler_pic_CXX
='-fPIC'
13639 # All AIX code is PIC.
13640 if test "$host_cpu" = ia64
; then
13641 # AIX 5 now supports IA64 processor
13642 lt_prog_compiler_static_CXX
='-Bstatic'
13644 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
13648 case $cc_basename in
13650 # Green Hills C++ Compiler
13651 # _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"
13656 case $cc_basename in
13658 lt_prog_compiler_pic_CXX
='-KPIC'
13661 # Green Hills C++ Compiler
13662 lt_prog_compiler_pic_CXX
='-pic'
13668 freebsd
* | dragonfly
*)
13669 # FreeBSD uses GNU C++
13671 hpux9
* | hpux10
* | hpux11
*)
13672 case $cc_basename in
13674 lt_prog_compiler_wl_CXX
='-Wl,'
13675 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
13676 if test "$host_cpu" != ia64
; then
13677 lt_prog_compiler_pic_CXX
='+Z'
13681 lt_prog_compiler_wl_CXX
='-Wl,'
13682 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
13688 lt_prog_compiler_pic_CXX
='+Z'
13697 # This is c89, which is MS Visual C++ (no shared libs)
13698 # Anyone wants to do a port?
13700 irix5
* | irix6
* | nonstopux
*)
13701 case $cc_basename in
13703 lt_prog_compiler_wl_CXX
='-Wl,'
13704 lt_prog_compiler_static_CXX
='-non_shared'
13705 # CC pic flag -KPIC is the default.
13711 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13712 case $cc_basename in
13715 lt_prog_compiler_wl_CXX
='--backend -Wl,'
13716 lt_prog_compiler_pic_CXX
='-fPIC'
13719 # old Intel C++ for x86_64 which still supported -KPIC.
13720 lt_prog_compiler_wl_CXX
='-Wl,'
13721 lt_prog_compiler_pic_CXX
='-KPIC'
13722 lt_prog_compiler_static_CXX
='-static'
13725 # Intel C++, used to be incompatible with GCC.
13726 # ICC 10 doesn't accept -KPIC any more.
13727 lt_prog_compiler_wl_CXX
='-Wl,'
13728 lt_prog_compiler_pic_CXX
='-fPIC'
13729 lt_prog_compiler_static_CXX
='-static'
13732 # Portland Group C++ compiler
13733 lt_prog_compiler_wl_CXX
='-Wl,'
13734 lt_prog_compiler_pic_CXX
='-fpic'
13735 lt_prog_compiler_static_CXX
='-Bstatic'
13739 # Make sure the PIC flag is empty. It appears that all Alpha
13740 # Linux and Compaq Tru64 Unix objects are PIC.
13741 lt_prog_compiler_pic_CXX
=
13742 lt_prog_compiler_static_CXX
='-non_shared'
13744 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
13745 # IBM XL 8.0, 9.0 on PPC and BlueGene
13746 lt_prog_compiler_wl_CXX
='-Wl,'
13747 lt_prog_compiler_pic_CXX
='-qpic'
13748 lt_prog_compiler_static_CXX
='-qstaticlink'
13751 case `$CC -V 2>&1 | sed 5q` in
13754 lt_prog_compiler_pic_CXX
='-KPIC'
13755 lt_prog_compiler_static_CXX
='-Bstatic'
13756 lt_prog_compiler_wl_CXX
='-Qoption ld '
13767 case $cc_basename in
13769 lt_prog_compiler_pic_CXX
='-W c,exportall'
13778 # QNX uses GNU C++, but need to define -shared option too, otherwise
13779 # it will coredump.
13780 lt_prog_compiler_pic_CXX
='-fPIC -shared'
13782 osf3
* | osf4
* | osf5
*)
13783 case $cc_basename in
13785 lt_prog_compiler_wl_CXX
='--backend -Wl,'
13788 # Rational C++ 2.4.1
13789 lt_prog_compiler_pic_CXX
='-pic'
13792 # Digital/Compaq C++
13793 lt_prog_compiler_wl_CXX
='-Wl,'
13794 # Make sure the PIC flag is empty. It appears that all Alpha
13795 # Linux and Compaq Tru64 Unix objects are PIC.
13796 lt_prog_compiler_pic_CXX
=
13797 lt_prog_compiler_static_CXX
='-non_shared'
13806 case $cc_basename in
13808 # Sun C++ 4.2, 5.x and Centerline C++
13809 lt_prog_compiler_pic_CXX
='-KPIC'
13810 lt_prog_compiler_static_CXX
='-Bstatic'
13811 lt_prog_compiler_wl_CXX
='-Qoption ld '
13814 # Green Hills C++ Compiler
13815 lt_prog_compiler_pic_CXX
='-PIC'
13822 case $cc_basename in
13825 lt_prog_compiler_pic_CXX
='-pic'
13826 lt_prog_compiler_static_CXX
='-Bstatic'
13830 lt_prog_compiler_pic_CXX
='-pic'
13836 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
13837 case $cc_basename in
13839 lt_prog_compiler_wl_CXX
='-Wl,'
13840 lt_prog_compiler_pic_CXX
='-KPIC'
13841 lt_prog_compiler_static_CXX
='-Bstatic'
13846 case $cc_basename in
13848 # NonStop-UX NCC 3.20
13849 lt_prog_compiler_pic_CXX
='-KPIC'
13858 lt_prog_compiler_can_build_shared_CXX
=no
13864 # For platforms which do not support PIC, -DPIC is meaningless:
13866 lt_prog_compiler_pic_CXX
=
13869 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
13872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13873 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13878 # Check to make sure the PIC flag actually works.
13880 if test -n "$lt_prog_compiler_pic_CXX"; then
13881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13882 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13883 if ${lt_cv_prog_compiler_pic_works_CXX+:} false
; then :
13884 $as_echo_n "(cached) " >&6
13886 lt_cv_prog_compiler_pic_works_CXX
=no
13887 ac_outfile
=conftest.
$ac_objext
13888 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13889 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
13890 # Insert the option either (1) after the last *FLAGS variable, or
13891 # (2) before a word containing "conftest.", or (3) at the end.
13892 # Note that $ac_compile itself does not contain backslashes and begins
13893 # with a dollar sign (not a hyphen), so the echo should work correctly.
13894 # The option is referenced via a variable to avoid confusing sed.
13895 lt_compile
=`echo "$ac_compile" | $SED \
13896 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13897 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13898 -e 's:$: $lt_compiler_flag:'`
13899 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13900 (eval "$lt_compile" 2>conftest.err
)
13902 cat conftest.err
>&5
13903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13904 if (exit $ac_status) && test -s "$ac_outfile"; then
13905 # The compiler can only warn and ignore the option if not recognized
13906 # So say no if there are warnings other than the usual output.
13907 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
13908 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13909 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
13910 lt_cv_prog_compiler_pic_works_CXX
=yes
13916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13917 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13919 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
13920 case $lt_prog_compiler_pic_CXX in
13922 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
13925 lt_prog_compiler_pic_CXX
=
13926 lt_prog_compiler_can_build_shared_CXX
=no
13934 # Check to make sure the static flag actually works.
13936 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
13937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13938 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13939 if ${lt_cv_prog_compiler_static_works_CXX+:} false
; then :
13940 $as_echo_n "(cached) " >&6
13942 lt_cv_prog_compiler_static_works_CXX
=no
13943 save_LDFLAGS
="$LDFLAGS"
13944 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
13945 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
13946 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
13947 # The linker can only warn and ignore the option if not recognized
13948 # So say no if there are warnings
13949 if test -s conftest.err
; then
13950 # Append any errors to the config.log.
13951 cat conftest.err
1>&5
13952 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
13953 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13954 if diff conftest.exp conftest.er2
>/dev
/null
; then
13955 lt_cv_prog_compiler_static_works_CXX
=yes
13958 lt_cv_prog_compiler_static_works_CXX
=yes
13962 LDFLAGS
="$save_LDFLAGS"
13965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13966 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13968 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
13971 lt_prog_compiler_static_CXX
=
13977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13978 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13979 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
13980 $as_echo_n "(cached) " >&6
13982 lt_cv_prog_compiler_c_o_CXX
=no
13983 $RM -r conftest
2>/dev
/null
13987 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13989 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13990 # Insert the option either (1) after the last *FLAGS variable, or
13991 # (2) before a word containing "conftest.", or (3) at the end.
13992 # Note that $ac_compile itself does not contain backslashes and begins
13993 # with a dollar sign (not a hyphen), so the echo should work correctly.
13994 lt_compile
=`echo "$ac_compile" | $SED \
13995 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13996 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13997 -e 's:$: $lt_compiler_flag:'`
13998 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13999 (eval "$lt_compile" 2>out
/conftest.err
)
14001 cat out
/conftest.err
>&5
14002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14003 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14005 # The compiler can only warn and ignore the option if not recognized
14006 # So say no if there are warnings
14007 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
14008 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14009 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14010 lt_cv_prog_compiler_c_o_CXX
=yes
14015 # SGI C++ compiler will create directory out/ii_files/ for
14016 # template instantiation
14017 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14018 $RM out
/* && rmdir out
14024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14025 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14030 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14031 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
14032 $as_echo_n "(cached) " >&6
14034 lt_cv_prog_compiler_c_o_CXX
=no
14035 $RM -r conftest
2>/dev
/null
14039 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14041 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14042 # Insert the option either (1) after the last *FLAGS variable, or
14043 # (2) before a word containing "conftest.", or (3) at the end.
14044 # Note that $ac_compile itself does not contain backslashes and begins
14045 # with a dollar sign (not a hyphen), so the echo should work correctly.
14046 lt_compile
=`echo "$ac_compile" | $SED \
14047 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14048 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14049 -e 's:$: $lt_compiler_flag:'`
14050 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14051 (eval "$lt_compile" 2>out
/conftest.err
)
14053 cat out
/conftest.err
>&5
14054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14055 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14057 # The compiler can only warn and ignore the option if not recognized
14058 # So say no if there are warnings
14059 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
14060 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14061 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14062 lt_cv_prog_compiler_c_o_CXX
=yes
14067 # SGI C++ compiler will create directory out/ii_files/ for
14068 # template instantiation
14069 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14070 $RM out
/* && rmdir out
14076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14077 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14082 hard_links
="nottested"
14083 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
14084 # do not overwrite the value of need_locks provided by the user
14085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14086 $as_echo_n "checking if we can lock with hard links... " >&6; }
14089 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14091 ln conftest.a conftest.b
2>&5 || hard_links
=no
14092 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14094 $as_echo "$hard_links" >&6; }
14095 if test "$hard_links" = no
; then
14096 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14097 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14107 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14109 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14112 # If we're using GNU nm, then we don't want the "-C" option.
14113 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14114 # Also, AIX nm treats weak defined symbols like other global defined
14115 # symbols, whereas GNU nm marks them as "W".
14116 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
14117 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'
14119 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'
14123 export_symbols_cmds_CXX
="$ltdll_cmds"
14125 cygwin
* | mingw
* | cegcc
*)
14126 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'
14129 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14132 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14135 $as_echo "$ld_shlibs_CXX" >&6; }
14136 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
14138 with_gnu_ld_CXX
=$with_gnu_ld
14146 # Do we need to explicitly link libc?
14148 case "x$archive_cmds_need_lc_CXX" in
14150 # Assume -lc should be added
14151 archive_cmds_need_lc_CXX
=yes
14153 if test "$enable_shared" = yes && test "$GCC" = yes; then
14154 case $archive_cmds_CXX in
14156 # FIXME: we may have to deal with multi-command sequences.
14159 # Test whether the compiler implicitly links with -lc since on some
14160 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14161 # to ld, don't add -lc before -lgcc.
14162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14163 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14164 if ${lt_cv_archive_cmds_need_lc_CXX+:} false
; then :
14165 $as_echo_n "(cached) " >&6
14168 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14170 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14171 (eval $ac_compile) 2>&5
14173 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14174 test $ac_status = 0; } 2>conftest.err
; then
14177 libobjs
=conftest.
$ac_objext
14179 wl
=$lt_prog_compiler_wl_CXX
14180 pic_flag
=$lt_prog_compiler_pic_CXX
14186 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
14187 allow_undefined_flag_CXX
=
14188 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14189 (eval $archive_cmds_CXX 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
14191 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14192 test $ac_status = 0; }
14194 lt_cv_archive_cmds_need_lc_CXX
=no
14196 lt_cv_archive_cmds_need_lc_CXX
=yes
14198 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
14200 cat conftest.err
1>&5
14205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14206 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14207 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
14277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14278 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14280 library_names_spec
=
14281 libname_spec
='lib$name'
14285 postuninstall_cmds
=
14289 shlibpath_overrides_runpath
=unknown
14291 dynamic_linker
="$host_os ld.so"
14292 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
14293 need_lib_prefix
=unknown
14294 hardcode_into_libs
=no
14296 # when you set need_version to no, make sure it does not cause -set_version
14297 # flags to be left without arguments
14298 need_version
=unknown
14303 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
14304 shlibpath_var
=LIBPATH
14306 # AIX 3 has no versioning support, so we append a major version to the name.
14307 soname_spec
='${libname}${release}${shared_ext}$major'
14314 hardcode_into_libs
=yes
14315 if test "$host_cpu" = ia64
; then
14316 # AIX 5 supports IA64
14317 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14318 shlibpath_var
=LD_LIBRARY_PATH
14320 # With GCC up to 2.95.x, collect2 would create an import file
14321 # for dependence libraries. The import file would start with
14322 # the line `#! .'. This would cause the generated library to
14323 # depend on `.', always an invalid library. This was fixed in
14324 # development snapshots of GCC prior to 3.0.
14326 aix4 | aix4.
[01] | aix4.
[01].
*)
14327 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14329 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
14332 can_build_shared
=no
14336 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14337 # soname into executable. Probably we can add versioning support to
14338 # collect2, so additional links can be useful in future.
14339 if test "$aix_use_runtimelinking" = yes; then
14340 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14341 # instead of lib<name>.a to let people know that these are not
14342 # typical AIX shared libraries.
14343 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14345 # We preserve .a as extension for shared libraries through AIX4.2
14346 # and later when we are not doing run time linking.
14347 library_names_spec
='${libname}${release}.a $libname.a'
14348 soname_spec
='${libname}${release}${shared_ext}$major'
14350 shlibpath_var
=LIBPATH
14357 # Since July 2007 AmigaOS4 officially supports .so libraries.
14358 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14359 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14362 library_names_spec
='$libname.ixlibrary $libname.a'
14363 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14364 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'
14370 library_names_spec
='${libname}${shared_ext}'
14371 dynamic_linker
="$host_os ld.so"
14372 shlibpath_var
=LIBRARY_PATH
14378 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14379 soname_spec
='${libname}${release}${shared_ext}$major'
14380 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
14381 shlibpath_var
=LD_LIBRARY_PATH
14382 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14383 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
14384 # the default ld.so.conf also contains /usr/contrib/lib and
14385 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14386 # libtool to hard-code these into programs
14389 cygwin
* | mingw
* | pw32
* | cegcc
*)
14390 version_type
=windows
14395 case $GCC,$host_os in
14396 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
14397 library_names_spec
='$libname.dll.a'
14398 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14399 postinstall_cmds
='base_file=`basename \${file}`~
14400 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14401 dldir=$destdir/`dirname \$dlpath`~
14402 test -d \$dldir || mkdir -p \$dldir~
14403 $install_prog $dir/$dlname \$dldir/$dlname~
14404 chmod a+x \$dldir/$dlname~
14405 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14406 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14408 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14409 dlpath=$dir/\$dldll~
14411 shlibpath_overrides_runpath
=yes
14415 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14416 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14420 # MinGW DLLs use traditional 'lib' prefix
14421 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14424 # pw32 DLLs use 'pw' prefix rather than 'lib'
14425 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14431 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14434 dynamic_linker
='Win32 ld.exe'
14435 # FIXME: first we should search . and the directory the executable is in
14439 darwin
* | rhapsody
*)
14440 dynamic_linker
="$host_os dyld"
14441 version_type
=darwin
14444 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14445 soname_spec
='${libname}${release}${major}$shared_ext'
14446 shlibpath_overrides_runpath
=yes
14447 shlibpath_var
=DYLD_LIBRARY_PATH
14448 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
14450 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
14457 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14458 soname_spec
='${libname}${release}${shared_ext}$major'
14459 shlibpath_var
=LD_LIBRARY_PATH
14462 freebsd
* | dragonfly
*)
14463 # DragonFly does not have aout. When/if they implement a new
14464 # versioning mechanism, adjust this.
14465 if test -x /usr
/bin
/objformat
; then
14466 objformat
=`/usr/bin/objformat`
14469 freebsd
[23].
*) objformat
=aout
;;
14470 *) objformat
=elf
;;
14473 version_type
=freebsd-
$objformat
14474 case $version_type in
14476 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14481 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14485 shlibpath_var
=LD_LIBRARY_PATH
14488 shlibpath_overrides_runpath
=yes
14490 freebsd3.
[01]* | freebsdelf3.
[01]*)
14491 shlibpath_overrides_runpath
=yes
14492 hardcode_into_libs
=yes
14494 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
14495 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
14496 shlibpath_overrides_runpath
=no
14497 hardcode_into_libs
=yes
14499 *) # from 4.6 on, and DragonFly
14500 shlibpath_overrides_runpath
=yes
14501 hardcode_into_libs
=yes
14510 dynamic_linker
="$host_os runtime_loader"
14511 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14512 soname_spec
='${libname}${release}${shared_ext}$major'
14513 shlibpath_var
=LIBRARY_PATH
14514 shlibpath_overrides_runpath
=yes
14515 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
14516 hardcode_into_libs
=yes
14519 hpux9
* | hpux10
* | hpux11
*)
14520 # Give a soname corresponding to the major version so that dld.sl refuses to
14521 # link against other versions.
14528 hardcode_into_libs
=yes
14529 dynamic_linker
="$host_os dld.so"
14530 shlibpath_var
=LD_LIBRARY_PATH
14531 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14532 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14533 soname_spec
='${libname}${release}${shared_ext}$major'
14534 if test "X$HPUX_IA64_MODE" = X32
; then
14535 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14537 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
14539 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14543 hardcode_into_libs
=yes
14544 dynamic_linker
="$host_os dld.sl"
14545 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
14546 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14547 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14548 soname_spec
='${libname}${release}${shared_ext}$major'
14549 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14550 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14554 dynamic_linker
="$host_os dld.sl"
14555 shlibpath_var
=SHLIB_PATH
14556 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
14557 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14558 soname_spec
='${libname}${release}${shared_ext}$major'
14561 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14562 postinstall_cmds
='chmod 555 $lib'
14563 # or fails outright, so override atomically:
14564 install_override_mode
=555
14571 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14572 soname_spec
='${libname}${release}${shared_ext}$major'
14573 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
14574 shlibpath_var
=LD_LIBRARY_PATH
14575 shlibpath_overrides_runpath
=no
14576 hardcode_into_libs
=yes
14579 irix5
* | irix6
* | nonstopux
*)
14581 nonstopux
*) version_type
=nonstopux
;;
14583 if test "$lt_cv_prog_gnu_ld" = yes; then
14591 soname_spec
='${libname}${release}${shared_ext}$major'
14592 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14594 irix5
* | nonstopux
*)
14595 libsuff
= shlibsuff
=
14598 case $LD in # libtool.m4 will add one of these switches to LD
14599 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
14600 libsuff
= shlibsuff
= libmagic
=32-bit;;
14601 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
14602 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
14603 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
14604 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
14605 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
14609 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
14610 shlibpath_overrides_runpath
=no
14611 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14612 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
14613 hardcode_into_libs
=yes
14616 # No shared lib support for Linux oldld, aout, or coff.
14617 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
14621 # This must be Linux ELF.
14623 # uclinux* changes (here and below) have been submitted to the libtool
14624 # project, but have not yet been accepted: they are GCC-local changes
14625 # for the time being. (See
14626 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
14627 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
* | uclinuxfdpiceabi
)
14631 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14632 soname_spec
='${libname}${release}${shared_ext}$major'
14633 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14634 shlibpath_var
=LD_LIBRARY_PATH
14635 shlibpath_overrides_runpath
=no
14637 # Some binutils ld are patched to set DT_RUNPATH
14638 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
14639 $as_echo_n "(cached) " >&6
14641 lt_cv_shlibpath_overrides_runpath
=no
14642 save_LDFLAGS
=$LDFLAGS
14643 save_libdir
=$libdir
14644 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14645 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14646 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14647 /* end confdefs.h. */
14657 if ac_fn_cxx_try_link
"$LINENO"; then :
14658 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
14659 lt_cv_shlibpath_overrides_runpath
=yes
14662 rm -f core conftest.err conftest.
$ac_objext \
14663 conftest
$ac_exeext conftest.
$ac_ext
14664 LDFLAGS
=$save_LDFLAGS
14665 libdir
=$save_libdir
14669 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
14671 # This implies no fast_install, which is unacceptable.
14672 # Some rework will be needed to allow for fast_install
14673 # before this can be enabled.
14674 hardcode_into_libs
=yes
14676 # Append ld.so.conf contents to the search path
14677 if test -f /etc
/ld.so.conf
; then
14678 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' ' '`
14679 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
14682 # We used to test for /lib/ld.so.1 and disable shared libraries on
14683 # powerpc, because MkLinux only supported shared libraries with the
14684 # GNU dynamic linker. Since this was broken with cross compilers,
14685 # most powerpc-linux boxes support dynamic linking these days and
14686 # people can always --disable-shared, the test was removed, and we
14687 # assume the GNU/Linux dynamic linker is in use.
14688 dynamic_linker
='GNU/Linux ld.so'
14695 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
14696 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14697 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14698 dynamic_linker
='NetBSD (a.out) ld.so'
14700 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14701 soname_spec
='${libname}${release}${shared_ext}$major'
14702 dynamic_linker
='NetBSD ld.elf_so'
14704 shlibpath_var
=LD_LIBRARY_PATH
14705 shlibpath_overrides_runpath
=yes
14706 hardcode_into_libs
=yes
14711 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14712 shlibpath_var
=LD_LIBRARY_PATH
14713 shlibpath_overrides_runpath
=yes
14720 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14721 soname_spec
='${libname}${release}${shared_ext}$major'
14722 shlibpath_var
=LD_LIBRARY_PATH
14723 shlibpath_overrides_runpath
=no
14724 hardcode_into_libs
=yes
14725 dynamic_linker
='ldqnx.so'
14730 sys_lib_dlsearch_path_spec
="/usr/lib"
14732 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14734 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
14735 *) need_version
=no
;;
14737 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14738 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14739 shlibpath_var
=LD_LIBRARY_PATH
14740 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14742 openbsd2.
[89] | openbsd2.
[89].
*)
14743 shlibpath_overrides_runpath
=no
14746 shlibpath_overrides_runpath
=yes
14750 shlibpath_overrides_runpath
=yes
14755 libname_spec
='$name'
14758 library_names_spec
='$libname${shared_ext} $libname.a'
14759 dynamic_linker
='OS/2 ld.exe'
14760 shlibpath_var
=LIBPATH
14763 osf3
* | osf4
* | osf5
*)
14767 soname_spec
='${libname}${release}${shared_ext}$major'
14768 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14769 shlibpath_var
=LD_LIBRARY_PATH
14770 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14771 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
14782 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14783 soname_spec
='${libname}${release}${shared_ext}$major'
14784 shlibpath_var
=LD_LIBRARY_PATH
14785 shlibpath_overrides_runpath
=yes
14786 hardcode_into_libs
=yes
14787 # ldd complains unless libraries are executable
14788 postinstall_cmds
='chmod +x $lib'
14793 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14794 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14795 shlibpath_var
=LD_LIBRARY_PATH
14796 shlibpath_overrides_runpath
=yes
14797 if test "$with_gnu_ld" = yes; then
14805 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14806 soname_spec
='${libname}${release}${shared_ext}$major'
14807 shlibpath_var
=LD_LIBRARY_PATH
14808 case $host_vendor in
14810 shlibpath_overrides_runpath
=no
14812 runpath_var
=LD_RUN_PATH
14820 shlibpath_overrides_runpath
=no
14821 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
14827 if test -d /usr
/nec
;then
14829 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14830 soname_spec
='$libname${shared_ext}.$major'
14831 shlibpath_var
=LD_LIBRARY_PATH
14835 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
14836 version_type
=freebsd-elf
14839 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14840 soname_spec
='${libname}${release}${shared_ext}$major'
14841 shlibpath_var
=LD_LIBRARY_PATH
14842 shlibpath_overrides_runpath
=yes
14843 hardcode_into_libs
=yes
14844 if test "$with_gnu_ld" = yes; then
14845 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14847 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
14850 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
14854 sys_lib_dlsearch_path_spec
='/usr/lib'
14858 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14862 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14863 shlibpath_var
=LD_LIBRARY_PATH
14864 shlibpath_overrides_runpath
=no
14865 hardcode_into_libs
=yes
14870 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14871 soname_spec
='${libname}${release}${shared_ext}$major'
14872 shlibpath_var
=LD_LIBRARY_PATH
14875 # Shared libraries for VwWorks, >= 7 only at this stage
14876 # and (fpic) still incompatible with "large" code models
14877 # in a few configurations. Only for RTP mode in any case,
14878 # and upon explicit request at configure time.
14881 case ${with_multisubdir}-${enable_shared} in
14888 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14889 soname_spec
='${libname}${release}${shared_ext}$major'
14890 dynamic_linker
="$host_os module_loader"
14898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14899 $as_echo "$dynamic_linker" >&6; }
14900 test "$dynamic_linker" = no
&& can_build_shared
=no
14902 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
14903 if test "$GCC" = yes; then
14904 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14907 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14908 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
14910 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14911 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
14951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14952 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14953 hardcode_action_CXX
=
14954 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14955 test -n "$runpath_var_CXX" ||
14956 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14958 # We can hardcode non-existent directories.
14959 if test "$hardcode_direct_CXX" != no
&&
14960 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14961 # have to relink, otherwise we might link with an installed library
14962 # when we should be linking with a yet-to-be-installed one
14963 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14964 test "$hardcode_minus_L_CXX" != no
; then
14965 # Linking always hardcodes the temporary library directory.
14966 hardcode_action_CXX
=relink
14968 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14969 hardcode_action_CXX
=immediate
14972 # We cannot hardcode anything, or else we can only hardcode existing
14974 hardcode_action_CXX
=unsupported
14976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14977 $as_echo "$hardcode_action_CXX" >&6; }
14979 if test "$hardcode_action_CXX" = relink ||
14980 test "$inherit_rpath_CXX" = yes; then
14981 # Fast installation is not supported
14982 enable_fast_install
=no
14983 elif test "$shlibpath_overrides_runpath" = yes ||
14984 test "$enable_shared" = no
; then
14985 # Fast installation is not necessary
14986 enable_fast_install
=needless
14995 fi # test -n "$compiler"
15001 with_gnu_ld
=$lt_save_with_gnu_ld
15002 lt_cv_path_LDCXX
=$lt_cv_path_LD
15003 lt_cv_path_LD
=$lt_save_path_LD
15004 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
15005 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
15006 fi # test "$_lt_caught_CXX_error" != yes
15009 ac_cpp
='$CPP $CPPFLAGS'
15010 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15011 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15012 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15026 ac_config_commands
="$ac_config_commands libtool"
15031 # Only expand once:
15035 # The tests for host and target for $enable_largefile require
15040 # As the $enable_largefile decision depends on --enable-plugins we must set it
15041 # even in directories otherwise not depending on the $plugins option.
15045 for ac_header
in dlfcn.h
15047 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
15049 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
15050 cat >>confdefs.h
<<_ACEOF
15051 #define HAVE_DLFCN_H 1
15058 for ac_header
in windows.h
15060 ac_fn_c_check_header_compile
"$LINENO" "windows.h" "ac_cv_header_windows_h" "$ac_includes_default
15062 if test "x$ac_cv_header_windows_h" = xyes
; then :
15063 cat >>confdefs.h
<<_ACEOF
15064 #define HAVE_WINDOWS_H 1
15072 # Check whether --enable-plugins was given.
15073 if test "${enable_plugins+set}" = set; then :
15074 enableval
=$enable_plugins; case "${enableval}" in
15077 if test "$maybe_plugins" != "yes" ; then
15078 as_fn_error $?
"Building with plugin support requires a host that supports dlopen." "$LINENO" 5
15082 plugins
=$maybe_plugins
15086 if test "$plugins" = "yes"; then
15087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlsym" >&5
15088 $as_echo_n "checking for library containing dlsym... " >&6; }
15089 if ${ac_cv_search_dlsym+:} false
; then :
15090 $as_echo_n "(cached) " >&6
15092 ac_func_search_save_LIBS
=$LIBS
15093 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15094 /* end confdefs.h. */
15096 /* Override any GCC internal prototype to avoid an error.
15097 Use char because int might match the return type of a GCC
15098 builtin and then its argument prototype would still apply. */
15111 for ac_lib
in '' dl
; do
15112 if test -z "$ac_lib"; then
15113 ac_res
="none required"
15116 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15118 if ac_fn_c_try_link
"$LINENO"; then :
15119 ac_cv_search_dlsym
=$ac_res
15121 rm -f core conftest.err conftest.
$ac_objext \
15123 if ${ac_cv_search_dlsym+:} false
; then :
15127 if ${ac_cv_search_dlsym+:} false
; then :
15130 ac_cv_search_dlsym
=no
15132 rm conftest.
$ac_ext
15133 LIBS
=$ac_func_search_save_LIBS
15135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlsym" >&5
15136 $as_echo "$ac_cv_search_dlsym" >&6; }
15137 ac_res
=$ac_cv_search_dlsym
15138 if test "$ac_res" != no
; then :
15139 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15147 sparc-
*-solaris*|i?
86-*-solaris*)
15148 # On native 32-bit Solaris/SPARC and x86, large-file and procfs support
15149 # were mutually exclusive until Solaris 11.3. Without procfs support,
15150 # the bfd/ elf module cannot provide certain routines such as
15151 # elfcore_write_prpsinfo or elfcore_write_prstatus. So unless the user
15152 # explicitly requested large-file support through the
15153 # --enable-largefile switch, disable large-file support in favor of
15156 # Check if <sys/procfs.h> is incompatible with large-file support.
15157 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15158 /* end confdefs.h. */
15159 #define _FILE_OFFSET_BITS 64
15160 #define _STRUCTURED_PROC 1
15161 #include <sys/procfs.h>
15170 if ac_fn_c_try_compile
"$LINENO"; then :
15171 acx_cv_procfs_lfs
=yes
15173 acx_cv_procfs_lfs
=no
15175 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15177 # Forcefully disable large-file support only if necessary, gdb is in
15178 # tree and enabled.
15179 if test "${target}" = "${host}" -a "$acx_cv_procfs_lfs" = no \
15180 -a -d $srcdir/..
/gdb
-a "$enable_gdb" != no
; then
15181 : ${enable_largefile="no"}
15182 if test "$plugins" = yes; then
15183 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
15184 plugin support disabled; require large-file support which is incompatible with GDB." >&5
15185 $as_echo "$as_me: WARNING:
15186 plugin support disabled; require large-file support which is incompatible with GDB." >&2;}
15191 # Explicitly undef _FILE_OFFSET_BITS if enable_largefile=no for the
15192 # benefit of g++ 9+ which predefines it on Solaris.
15193 if test "$enable_largefile" = no
; then
15194 LARGEFILE_CPPFLAGS
="-U_FILE_OFFSET_BITS"
15200 # Check whether --enable-largefile was given.
15201 if test "${enable_largefile+set}" = set; then :
15202 enableval
=$enable_largefile;
15205 if test "$enable_largefile" != no
; then
15207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
15208 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
15209 if ${ac_cv_sys_largefile_CC+:} false
; then :
15210 $as_echo_n "(cached) " >&6
15212 ac_cv_sys_largefile_CC
=no
15213 if test "$GCC" != yes; then
15216 # IRIX 6.2 and later do not support large files by default,
15217 # so use the C compiler's -n32 option if that helps.
15218 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15219 /* end confdefs.h. */
15220 #include <sys/types.h>
15221 /* Check that off_t can represent 2**63 - 1 correctly.
15222 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15223 since some C++ compilers masquerading as C compilers
15224 incorrectly reject 9223372036854775807. */
15225 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15226 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15227 && LARGE_OFF_T % 2147483647 == 1)
15237 if ac_fn_c_try_compile
"$LINENO"; then :
15240 rm -f core conftest.err conftest.
$ac_objext
15242 if ac_fn_c_try_compile
"$LINENO"; then :
15243 ac_cv_sys_largefile_CC
=' -n32'; break
15245 rm -f core conftest.err conftest.
$ac_objext
15249 rm -f conftest.
$ac_ext
15252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
15253 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
15254 if test "$ac_cv_sys_largefile_CC" != no
; then
15255 CC
=$CC$ac_cv_sys_largefile_CC
15258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
15259 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
15260 if ${ac_cv_sys_file_offset_bits+:} false
; then :
15261 $as_echo_n "(cached) " >&6
15264 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15265 /* end confdefs.h. */
15266 #include <sys/types.h>
15267 /* Check that off_t can represent 2**63 - 1 correctly.
15268 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15269 since some C++ compilers masquerading as C compilers
15270 incorrectly reject 9223372036854775807. */
15271 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15272 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15273 && LARGE_OFF_T % 2147483647 == 1)
15283 if ac_fn_c_try_compile
"$LINENO"; then :
15284 ac_cv_sys_file_offset_bits
=no
; break
15286 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15287 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15288 /* end confdefs.h. */
15289 #define _FILE_OFFSET_BITS 64
15290 #include <sys/types.h>
15291 /* Check that off_t can represent 2**63 - 1 correctly.
15292 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15293 since some C++ compilers masquerading as C compilers
15294 incorrectly reject 9223372036854775807. */
15295 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15296 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15297 && LARGE_OFF_T % 2147483647 == 1)
15307 if ac_fn_c_try_compile
"$LINENO"; then :
15308 ac_cv_sys_file_offset_bits
=64; break
15310 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15311 ac_cv_sys_file_offset_bits
=unknown
15315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
15316 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
15317 case $ac_cv_sys_file_offset_bits in #(
15320 cat >>confdefs.h
<<_ACEOF
15321 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
15326 if test $ac_cv_sys_file_offset_bits = unknown
; then
15327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
15328 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
15329 if ${ac_cv_sys_large_files+:} false
; then :
15330 $as_echo_n "(cached) " >&6
15333 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15334 /* end confdefs.h. */
15335 #include <sys/types.h>
15336 /* Check that off_t can represent 2**63 - 1 correctly.
15337 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15338 since some C++ compilers masquerading as C compilers
15339 incorrectly reject 9223372036854775807. */
15340 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15341 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15342 && LARGE_OFF_T % 2147483647 == 1)
15352 if ac_fn_c_try_compile
"$LINENO"; then :
15353 ac_cv_sys_large_files
=no
; break
15355 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15356 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15357 /* end confdefs.h. */
15358 #define _LARGE_FILES 1
15359 #include <sys/types.h>
15360 /* Check that off_t can represent 2**63 - 1 correctly.
15361 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15362 since some C++ compilers masquerading as C compilers
15363 incorrectly reject 9223372036854775807. */
15364 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15365 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15366 && LARGE_OFF_T % 2147483647 == 1)
15376 if ac_fn_c_try_compile
"$LINENO"; then :
15377 ac_cv_sys_large_files
=1; break
15379 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15380 ac_cv_sys_large_files
=unknown
15384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
15385 $as_echo "$ac_cv_sys_large_files" >&6; }
15386 case $ac_cv_sys_large_files in #(
15389 cat >>confdefs.h
<<_ACEOF
15390 #define _LARGE_FILES $ac_cv_sys_large_files
15403 .
${srcdir}/..
/bfd
/development.sh
15404 test "$development" = true
&& ac_checking
=yes
15405 # Check whether --enable-checking was given.
15406 if test "${enable_checking+set}" = set; then :
15407 enableval
=$enable_checking; case "${enableval}" in
15408 no|none
) ac_checking
= ;;
15409 *) ac_checking
=yes ;;
15412 if test x
$ac_checking != x
; then
15414 $as_echo "#define ENABLE_CHECKING 1" >>confdefs.h
15419 # Check whether --with-lib-path was given.
15420 if test "${with_lib_path+set}" = set; then :
15421 withval
=$with_lib_path; LIB_PATH
=$withval
15424 # Check whether --enable-targets was given.
15425 if test "${enable_targets+set}" = set; then :
15426 enableval
=$enable_targets; case "${enableval}" in
15427 yes |
"") as_fn_error $?
"enable-targets option must specify target names or 'all'" "$LINENO" 5
15429 no
) enable_targets
= ;;
15430 *) enable_targets
=$enableval ;;
15434 # Check whether --enable-64-bit-bfd was given.
15435 if test "${enable_64_bit_bfd+set}" = set; then :
15436 enableval
=$enable_64_bit_bfd; case $enableval in #(
15440 as_fn_error $?
"bad value ${enableval} for 64-bit-bfd option" "$LINENO" 5 ;; #(
15445 enable_64_bit_bfd
=no
15449 if test "x$enable_64_bit_bfd" = "xno"; then :
15450 # The cast to long int works around a bug in the HP C Compiler
15451 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15452 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15453 # This bug is HP SR number 8606223364.
15454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
15455 $as_echo_n "checking size of void *... " >&6; }
15456 if ${ac_cv_sizeof_void_p+:} false
; then :
15457 $as_echo_n "(cached) " >&6
15459 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
15462 if test "$ac_cv_type_void_p" = yes; then
15463 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15464 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15465 as_fn_error
77 "cannot compute sizeof (void *)
15466 See \`config.log' for more details" "$LINENO" 5; }
15468 ac_cv_sizeof_void_p
=0
15473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
15474 $as_echo "$ac_cv_sizeof_void_p" >&6; }
15478 cat >>confdefs.h
<<_ACEOF
15479 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
15483 if test "x$ac_cv_sizeof_void_p" = "x8"; then :
15484 enable_64_bit_bfd
=yes
15489 if test "x$enable_64_bit_bfd" = "xyes"; then
15490 ENABLE_BFD_64_BIT_TRUE
=
15491 ENABLE_BFD_64_BIT_FALSE
='#'
15493 ENABLE_BFD_64_BIT_TRUE
='#'
15494 ENABLE_BFD_64_BIT_FALSE
=
15500 # Check whether --with-sysroot was given.
15501 if test "${with_sysroot+set}" = set; then :
15502 withval
=$with_sysroot;
15503 case ${with_sysroot} in
15504 yes) TARGET_SYSTEM_ROOT
='${exec_prefix}/${target_alias}/sys-root' ;;
15505 *) TARGET_SYSTEM_ROOT
=$with_sysroot ;;
15508 TARGET_SYSTEM_ROOT_DEFINE
='-DTARGET_SYSTEM_ROOT=\"$(TARGET_SYSTEM_ROOT)\"'
15511 if test "x$prefix" = xNONE
; then
15512 test_prefix
=/usr
/local
15514 test_prefix
=$prefix
15516 if test "x$exec_prefix" = xNONE
; then
15517 test_exec_prefix
=$test_prefix
15519 test_exec_prefix
=$exec_prefix
15521 case ${TARGET_SYSTEM_ROOT} in
15522 "${test_prefix}"|
"${test_prefix}/"*|\
15523 "${test_exec_prefix}"|
"${test_exec_prefix}/"*|\
15524 '${prefix}'|
'${prefix}/'*|\
15525 '${exec_prefix}'|
'${exec_prefix}/'*)
15526 t
="$TARGET_SYSTEM_ROOT_DEFINE -DTARGET_SYSTEM_ROOT_RELOCATABLE"
15527 TARGET_SYSTEM_ROOT_DEFINE
="$t"
15534 TARGET_SYSTEM_ROOT
=
15535 TARGET_SYSTEM_ROOT_DEFINE
='-DTARGET_SYSTEM_ROOT=\"\"'
15543 # Check whether --enable-gold was given.
15544 if test "${enable_gold+set}" = set; then :
15545 enableval
=$enable_gold; case "${enableval}" in
15547 install_as_default
=no
15548 installed_linker
=ld.bfd
15551 install_as_default
=yes
15552 installed_linker
=ld.bfd
15555 as_fn_error $?
"invalid --enable-gold argument" "$LINENO" 5
15559 install_as_default
=yes
15560 installed_linker
=ld.bfd
15566 # Check whether --enable-got was given.
15567 if test "${enable_got+set}" = set; then :
15568 enableval
=$enable_got; case "${enableval}" in
15569 target | single | negative | multigot
) got_handling
=$enableval ;;
15570 *) as_fn_error $?
"bad value ${enableval} for --enable-got option" "$LINENO" 5 ;;
15573 got_handling
=target
15577 case "${got_handling}" in
15580 $as_echo "#define GOT_HANDLING_DEFAULT GOT_HANDLING_TARGET_DEFAULT" >>confdefs.h
15584 $as_echo "#define GOT_HANDLING_DEFAULT GOT_HANDLING_SINGLE" >>confdefs.h
15588 $as_echo "#define GOT_HANDLING_DEFAULT GOT_HANDLING_NEGATIVE" >>confdefs.h
15592 $as_echo "#define GOT_HANDLING_DEFAULT GOT_HANDLING_MULTIGOT" >>confdefs.h
15594 *) as_fn_error $?
"bad value ${got_handling} for --enable-got option" "$LINENO" 5 ;;
15598 # Decide the default method for compressing debug sections.
15599 ac_default_compressed_debug_sections
=unset
15600 # Provide a configure time option to override our default.
15601 # Check whether --enable-compressed_debug_sections was given.
15602 if test "${enable_compressed_debug_sections+set}" = set; then :
15603 enableval
=$enable_compressed_debug_sections; case ,"${enableval}", in
15604 ,yes, |
,all
, |
*,ld
,*) ac_default_compressed_debug_sections
=yes ;;
15605 ,no
, |
,none
,) ac_default_compressed_debug_sections
=no
;;
15609 # Select default compression algorithm.
15610 ac_default_compressed_debug_sections_algorithm
=COMPRESS_DEBUG_GABI_ZLIB
15611 # Check whether --enable-default_compressed_debug_sections_algorithm was given.
15612 if test "${enable_default_compressed_debug_sections_algorithm+set}" = set; then :
15613 enableval
=$enable_default_compressed_debug_sections_algorithm; case "${enableval}" in
15614 zstd
) ac_default_compressed_debug_sections_algorithm
=COMPRESS_DEBUG_ZSTD
;;
15618 # Decide setting DT_RUNPATH instead of DT_RPATH by default
15619 ac_default_new_dtags
=unset
15620 # Provide a configure time option to override our default.
15621 # Check whether --enable-new_dtags was given.
15622 if test "${enable_new_dtags+set}" = set; then :
15623 enableval
=$enable_new_dtags; case "${enableval}" in
15624 yes) ac_default_new_dtags
=1 ;;
15625 no
) ac_default_new_dtags
=0 ;;
15629 # Decide if -z relro should be enabled in ELF linker by default.
15630 ac_default_ld_z_relro
=unset
15631 # Provide a configure time option to override our default.
15632 # Check whether --enable-relro was given.
15633 if test "${enable_relro+set}" = set; then :
15634 enableval
=$enable_relro; case "${enableval}" in
15635 yes) ac_default_ld_z_relro
=1 ;;
15636 no
) ac_default_ld_z_relro
=0 ;;
15640 # Decide if DT_TEXTREL check should be enabled in ELF linker.
15641 ac_default_ld_textrel_check
=unset
15642 # Check whether --enable-textrel-check was given.
15643 if test "${enable_textrel_check+set}" = set; then :
15644 enableval
=$enable_textrel_check; case "${enableval}" in
15645 yes|no|warning|error
) ac_default_ld_textrel_check
=${enableval} ;;
15650 # Decide if -z separate-code should be enabled in ELF linker by default.
15651 ac_default_ld_z_separate_code
=unset
15652 # Check whether --enable-separate-code was given.
15653 if test "${enable_separate_code+set}" = set; then :
15654 enableval
=$enable_separate_code; case "${enableval}" in
15655 yes) ac_default_ld_z_separate_code
=1 ;;
15656 no
) ac_default_ld_z_separate_code
=0 ;;
15662 # By default warn when an executable stack is created due to object files
15663 # requesting such, not when the user specifies -z execstack.
15664 ac_default_ld_warn_execstack
=2
15665 # Check whether --enable-warn-execstack was given.
15666 if test "${enable_warn_execstack+set}" = set; then :
15667 enableval
=$enable_warn_execstack; case "${enableval}" in
15668 yes) ac_default_ld_warn_execstack
=1 ;;
15669 no
) ac_default_ld_warn_execstack
=0 ;;
15674 ac_default_ld_error_execstack
=0
15675 # Check whether --enable-error-execstack was given.
15676 if test "${enable_error_execstack+set}" = set; then :
15677 enableval
=$enable_error_execstack; case "${enableval}" in
15678 yes) ac_default_ld_error_execstack
=1 ;;
15679 no
) ac_default_ld_error_execstack
=0 ;;
15684 ac_default_ld_warn_rwx_segments
=unset
15685 # Check whether --enable-warn-rwx-segments was given.
15686 if test "${enable_warn_rwx_segments+set}" = set; then :
15687 enableval
=$enable_warn_rwx_segments; case "${enableval}" in
15688 yes) ac_default_ld_warn_rwx_segments
=1 ;;
15689 no
) ac_default_ld_warn_rwx_segments
=0 ;;
15694 ac_default_ld_error_rwx_segments
=0
15695 # Check whether --enable-error-rwx-segments was given.
15696 if test "${enable_error_rwx_segments+set}" = set; then :
15697 enableval
=$enable_error_rwx_segments; case "${enableval}" in
15698 yes) ac_default_ld_error_rwx_segments
=1 ;;
15699 no
) ac_default_ld_error_rwx_segments
=0 ;;
15704 ac_default_ld_default_execstack
=unset
15705 # Check whether --enable-default-execstack was given.
15706 if test "${enable_default_execstack+set}" = set; then :
15707 enableval
=$enable_default_execstack; case "${enableval}" in
15708 yes) ac_default_ld_default_execstack
=1 ;;
15709 no
) ac_default_ld_default_execstack
=0 ;;
15715 # Decide if --error-handling-script should be supported.
15716 ac_support_error_handling_script
=unset
15717 # Check whether --enable-error-handling-script was given.
15718 if test "${enable_error_handling_script+set}" = set; then :
15719 enableval
=$enable_error_handling_script; case "${enableval}" in
15720 yes) ac_support_error_handling_script
=1 ;;
15721 no
) ac_support_error_handling_script
=0 ;;
15726 # Decide which "--hash-style" to use by default
15727 # Provide a configure time option to override our default.
15728 # Check whether --enable-default-hash-style was given.
15729 if test "${enable_default_hash_style+set}" = set; then :
15730 enableval
=$enable_default_hash_style; case "${enable_default_hash_style}" in
15731 sysv | gnu | both
) ;;
15732 *) as_fn_error $?
"bad value ${enable_default_hash_style} for enable-default-hash-style option" "$LINENO" 5 ;;
15735 case "${target}" in
15736 # Enable gnu hash only on GNU targets, but not mips
15737 mips
*-*-*) enable_default_hash_style
=sysv
;;
15738 *-*-gnu* |
*-*-linux* |
*-*-nacl*) enable_default_hash_style
=both
;;
15739 *) enable_default_hash_style
=sysv
;;
15744 case "${enable_default_hash_style}" in
15745 sysv | both
) ac_default_emit_sysv_hash
=1 ;;
15746 *) ac_default_emit_sysv_hash
=0 ;;
15749 case "${enable_default_hash_style}" in
15750 gnu | both
) ac_default_emit_gnu_hash
=1 ;;
15751 *) ac_default_emit_gnu_hash
=0 ;;
15754 # Check whether --enable-initfini-array was given.
15755 if test "${enable_initfini_array+set}" = set; then :
15756 enableval
=$enable_initfini_array; case "${enableval}" in
15758 *) as_fn_error $?
"invalid --enable-initfini-array argument" "$LINENO" 5 ;;
15761 enable_initfini_array
=yes
15765 if test $enable_initfini_array = yes; then
15767 $as_echo "#define HAVE_INITFINI_ARRAY 1" >>confdefs.h
15771 # Check whether --enable-libctf was given.
15772 if test "${enable_libctf+set}" = set; then :
15773 enableval
=$enable_libctf;
15774 case "$enableval" in
15776 *) as_fn_error $?
"Argument to enable/disable libctf must be yes or no" "$LINENO" 5 ;;
15784 if test "${enable_libctf}" = yes; then
15786 $as_echo "#define ENABLE_LIBCTF 1" >>confdefs.h
15789 if test "${enable_libctf}" = yes; then
15790 ENABLE_LIBCTF_TRUE
=
15791 ENABLE_LIBCTF_FALSE
='#'
15793 ENABLE_LIBCTF_TRUE
='#'
15794 ENABLE_LIBCTF_FALSE
=
15799 # Used to validate --package-metadata= input. Disabled by default.
15800 # Check whether --enable-jansson was given.
15801 if test "${enable_jansson+set}" = set; then :
15802 enableval
=$enable_jansson; enable_jansson
=$enableval
15804 enable_jansson
="no"
15808 if test "x$enable_jansson" != "xno"; then :
15811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jansson" >&5
15812 $as_echo_n "checking for jansson... " >&6; }
15814 if test -n "$JANSSON_CFLAGS"; then
15815 pkg_cv_JANSSON_CFLAGS
="$JANSSON_CFLAGS"
15816 elif test -n "$PKG_CONFIG"; then
15817 if test -n "$PKG_CONFIG" && \
15818 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"jansson\""; } >&5
15819 ($PKG_CONFIG --exists --print-errors "jansson") 2>&5
15821 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15822 test $ac_status = 0; }; then
15823 pkg_cv_JANSSON_CFLAGS
=`$PKG_CONFIG --cflags "jansson" 2>/dev/null`
15824 test "x$?" != "x0" && pkg_failed
=yes
15831 if test -n "$JANSSON_LIBS"; then
15832 pkg_cv_JANSSON_LIBS
="$JANSSON_LIBS"
15833 elif test -n "$PKG_CONFIG"; then
15834 if test -n "$PKG_CONFIG" && \
15835 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"jansson\""; } >&5
15836 ($PKG_CONFIG --exists --print-errors "jansson") 2>&5
15838 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15839 test $ac_status = 0; }; then
15840 pkg_cv_JANSSON_LIBS
=`$PKG_CONFIG --libs "jansson" 2>/dev/null`
15841 test "x$?" != "x0" && pkg_failed
=yes
15849 if test $pkg_failed = no
; then
15850 pkg_save_LDFLAGS
="$LDFLAGS"
15851 LDFLAGS
="$LDFLAGS $pkg_cv_JANSSON_LIBS"
15852 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15853 /* end confdefs.h. */
15863 if ac_fn_c_try_link
"$LINENO"; then :
15868 rm -f core conftest.err conftest.
$ac_objext \
15869 conftest
$ac_exeext conftest.
$ac_ext
15870 LDFLAGS
=$pkg_save_LDFLAGS
15875 if test $pkg_failed = yes; then
15876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15877 $as_echo "no" >&6; }
15879 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15880 _pkg_short_errors_supported
=yes
15882 _pkg_short_errors_supported
=no
15884 if test $_pkg_short_errors_supported = yes; then
15885 JANSSON_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "jansson" 2>&1`
15887 JANSSON_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "jansson" 2>&1`
15889 # Put the nasty error message in config.log where it belongs
15890 echo "$JANSSON_PKG_ERRORS" >&5
15892 as_fn_error $?
"Cannot find jansson library" "$LINENO" 5
15893 elif test $pkg_failed = untried
; then
15894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15895 $as_echo "no" >&6; }
15896 as_fn_error $?
"Cannot find jansson library" "$LINENO" 5
15898 JANSSON_CFLAGS
=$pkg_cv_JANSSON_CFLAGS
15899 JANSSON_LIBS
=$pkg_cv_JANSSON_LIBS
15900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15901 $as_echo "yes" >&6; }
15904 $as_echo "#define HAVE_JANSSON 1" >>confdefs.h
15914 # Set the 'development' global.
15915 .
$srcdir/..
/bfd
/development.sh
15917 # Set acp_cpp_for_build variable
15918 ac_cpp_for_build
="$CC_FOR_BUILD -E $CPPFLAGS_FOR_BUILD"
15920 # Default set of GCC warnings to enable.
15921 GCC_WARN_CFLAGS
="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
15922 GCC_WARN_CFLAGS_FOR_BUILD
="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
15924 # Add -Wshadow if the compiler is a sufficiently recent version of GCC.
15925 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15926 /* end confdefs.h. */
15929 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15930 $EGREP "(^[0-3]$|^__GNUC__$)" >/dev
/null
2>&1; then :
15933 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Wshadow"
15938 # Add -Wstack-usage if the compiler is a sufficiently recent version of GCC.
15939 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15940 /* end confdefs.h. */
15943 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15944 $EGREP "(^[0-4]$|^__GNUC__$)" >/dev
/null
2>&1; then :
15947 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15948 /* end confdefs.h. */
15951 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15952 $EGREP "^__clang__$" >/dev
/null
2>&1; then :
15953 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Wstack-usage=262144"
15961 # Set WARN_WRITE_STRINGS if the compiler supports -Wwrite-strings.
15962 WARN_WRITE_STRINGS
=""
15963 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15964 /* end confdefs.h. */
15967 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15968 $EGREP "(^[0-3]$|^__GNUC__$)" >/dev
/null
2>&1; then :
15971 WARN_WRITE_STRINGS
="-Wwrite-strings"
15976 # Verify CC_FOR_BUILD to be compatible with warning flags
15978 # Add -Wshadow if the compiler is a sufficiently recent version of GCC.
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 "(^[0-3]$|^__GNUC__$)" >/dev
/null
2>&1; then :
15987 GCC_WARN_CFLAGS_FOR_BUILD
="$GCC_WARN_CFLAGS_FOR_BUILD -Wshadow"
15992 # Add -Wstack-usage if the compiler is a sufficiently recent version of GCC.
15993 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15994 /* end confdefs.h. */
15997 if (eval "$ac_cpp_for_build conftest.$ac_ext") 2>&5 |
15998 $EGREP "(^[0-4]$|^__GNUC__$)" >/dev
/null
2>&1; then :
16001 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16002 /* end confdefs.h. */
16005 if (eval "$ac_cpp_for_build conftest.$ac_ext") 2>&5 |
16006 $EGREP "^__clang__$" >/dev
/null
2>&1; then :
16007 GCC_WARN_CFLAGS_FOR_BUILD
="$GCC_WARN_CFLAGS_FOR_BUILD -Wstack-usage=262144"
16015 # Check whether --enable-werror was given.
16016 if test "${enable_werror+set}" = set; then :
16017 enableval
=$enable_werror; case "${enableval}" in
16018 yes | y
) ERROR_ON_WARNING
="yes" ;;
16019 no | n
) ERROR_ON_WARNING
="no" ;;
16020 *) as_fn_error $?
"bad value ${enableval} for --enable-werror" "$LINENO" 5 ;;
16025 # Disable -Wformat by default when using gcc on mingw
16028 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
16029 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Wno-format"
16030 GCC_WARN_CFLAGS_FOR_BUILD
="$GCC_WARN_CFLAGS_FOR_BUILD -Wno-format"
16036 # Enable -Werror by default when using gcc. Turn it off for releases.
16037 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" -a "$development" = true
; then
16038 ERROR_ON_WARNING
=yes
16042 if test "${ERROR_ON_WARNING}" = yes ; then
16043 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Werror"
16044 GCC_WARN_CFLAGS_FOR_BUILD
="$GCC_WARN_CFLAGS_FOR_BUILD -Werror"
16045 NO_WERROR
="-Wno-error"
16048 if test "${GCC}" = yes ; then
16049 WARN_CFLAGS
="${GCC_WARN_CFLAGS}"
16050 WARN_CFLAGS_FOR_BUILD
="${GCC_WARN_CFLAGS_FOR_BUILD}"
16053 # Check whether --enable-build-warnings was given.
16054 if test "${enable_build_warnings+set}" = set; then :
16055 enableval
=$enable_build_warnings; case "${enableval}" in
16056 yes) WARN_CFLAGS
="${GCC_WARN_CFLAGS}"
16057 WARN_CFLAGS_FOR_BUILD
="${GCC_WARN_CFLAGS_FOR_BUILD}";;
16058 no
) if test "${GCC}" = yes ; then
16060 WARN_CFLAGS_FOR_BUILD
="-w"
16062 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
16063 WARN_CFLAGS
="${GCC_WARN_CFLAGS} ${t}"
16064 WARN_CFLAGS_FOR_BUILD
="${GCC_WARN_CFLAGS_FOR_BUILD} ${t}";;
16065 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
16066 WARN_CFLAGS
="${t} ${GCC_WARN_CFLAGS}"
16067 WARN_CFLAGS_FOR_BUILD
="${t} ${GCC_WARN_CFLAGS_FOR_BUILD}";;
16068 *) WARN_CFLAGS
=`echo "${enableval}" | sed -e "s/,/ /g"`
16069 WARN_CFLAGS_FOR_BUILD
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
16074 if test x
"$silent" != x
"yes" && test x
"$WARN_CFLAGS" != x
""; then
16075 echo "Setting warning flags = $WARN_CFLAGS" 6>&1
16085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
16086 $as_echo_n "checking for LC_MESSAGES... " >&6; }
16087 if ${am_cv_val_LC_MESSAGES+:} false
; then :
16088 $as_echo_n "(cached) " >&6
16090 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16091 /* end confdefs.h. */
16092 #include <locale.h>
16101 if ac_fn_c_try_link
"$LINENO"; then :
16102 am_cv_val_LC_MESSAGES
=yes
16104 am_cv_val_LC_MESSAGES
=no
16106 rm -f core conftest.err conftest.
$ac_objext \
16107 conftest
$ac_exeext conftest.
$ac_ext
16109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
16110 $as_echo "$am_cv_val_LC_MESSAGES" >&6; }
16111 if test $am_cv_val_LC_MESSAGES = yes; then
16113 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
16118 ac_config_headers
="$ac_config_headers config.h:config.in"
16124 if test -z "$target" ; then
16125 as_fn_error $?
"Unrecognized target system type; please check config.sub." "$LINENO" 5
16127 if test -z "$host" ; then
16128 as_fn_error $?
"Unrecognized host system type; please check config.sub." "$LINENO" 5
16131 # host-specific stuff:
16133 ALL_LINGUAS
="bg da de es fi fr ga id it ja pt_BR ru sr sv tr uk vi zh_CN zh_TW"
16134 # If we haven't got the data from the intl directory,
16135 # assume NLS is disabled.
16144 if test -f ..
/intl
/config.intl
; then
16145 . ..
/intl
/config.intl
16147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
16148 $as_echo_n "checking whether NLS is requested... " >&6; }
16149 if test x
"$USE_NLS" != xyes
; then
16150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16151 $as_echo "no" >&6; }
16153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16154 $as_echo "yes" >&6; }
16156 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
16159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
16160 $as_echo_n "checking for catalogs to be installed... " >&6; }
16161 # Look for .po and .gmo files in the source directory.
16164 for cat in $srcdir/po
/*.gmo
$srcdir/po
/*.po
; do
16165 # If there aren't any .gmo files the shell will give us the
16166 # literal string "../path/to/srcdir/po/*.gmo" which has to be
16168 case "$cat" in *\
**)
16171 # The quadruple backslash is collapsed to a double backslash
16172 # by the backticks, then collapsed again by the double quotes,
16173 # leaving us with one backslash in the sed expression (right
16174 # before the dot that mustn't act as a wildcard).
16175 cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
16176 lang
=`echo $cat | sed -e "s!\\\\.gmo!!"`
16177 # The user is allowed to set LINGUAS to a list of languages to
16178 # install catalogs for. If it's empty that means "all of them."
16179 if test "x$LINGUAS" = x
; then
16180 CATALOGS
="$CATALOGS $cat"
16181 XLINGUAS
="$XLINGUAS $lang"
16183 case "$LINGUAS" in *$lang*)
16184 CATALOGS
="$CATALOGS $cat"
16185 XLINGUAS
="$XLINGUAS $lang"
16190 LINGUAS
="$XLINGUAS"
16191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
16192 $as_echo "$LINGUAS" >&6; }
16206 if test -n "$ac_aux_dir"; then
16207 case "$ac_aux_dir" in
16208 /*) MKINSTALLDIRS
="$ac_aux_dir/mkinstalldirs" ;;
16209 *) MKINSTALLDIRS
="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
16212 if test -z "$MKINSTALLDIRS"; then
16213 MKINSTALLDIRS
="\$(top_srcdir)/mkinstalldirs"
16218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
16219 $as_echo_n "checking whether NLS is requested... " >&6; }
16220 # Check whether --enable-nls was given.
16221 if test "${enable_nls+set}" = set; then :
16222 enableval
=$enable_nls; USE_NLS
=$enableval
16227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
16228 $as_echo "$USE_NLS" >&6; }
16235 # Prepare PATH_SEPARATOR.
16236 # The user is always right.
16237 if test "${PATH_SEPARATOR+set}" != set; then
16238 echo "#! /bin/sh" >conf$$.sh
16239 echo "exit 0" >>conf$$.sh
16241 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
16249 # Find out how to test for executable files. Don't use a zero-byte file,
16250 # as systems may use methods other than mode bits to determine executability.
16251 cat >conf$$.
file <<_ASEOF
16255 chmod +x conf$$.
file
16256 if test -x conf$$.
file >/dev
/null
2>&1; then
16257 ac_executable_p
="test -x"
16259 ac_executable_p
="test -f"
16263 # Extract the first word of "msgfmt", so it can be a program name with args.
16264 set dummy msgfmt
; ac_word
=$2
16265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16266 $as_echo_n "checking for $ac_word... " >&6; }
16267 if ${ac_cv_path_MSGFMT+:} false
; then :
16268 $as_echo_n "(cached) " >&6
16272 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
16275 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
16276 for ac_dir
in $PATH; do
16278 test -z "$ac_dir" && ac_dir
=.
16279 for ac_exec_ext
in '' $ac_executable_extensions; do
16280 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
16281 if $ac_dir/$ac_word --statistics /dev
/null
>/dev
/null
2>&1 &&
16282 (if $ac_dir/$ac_word --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
16283 ac_cv_path_MSGFMT
="$ac_dir/$ac_word$ac_exec_ext"
16290 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
16294 MSGFMT
="$ac_cv_path_MSGFMT"
16295 if test "$MSGFMT" != ":"; then
16296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
16297 $as_echo "$MSGFMT" >&6; }
16299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16300 $as_echo "no" >&6; }
16303 # Extract the first word of "gmsgfmt", so it can be a program name with args.
16304 set dummy gmsgfmt
; ac_word
=$2
16305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16306 $as_echo_n "checking for $ac_word... " >&6; }
16307 if ${ac_cv_path_GMSGFMT+:} false
; then :
16308 $as_echo_n "(cached) " >&6
16312 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
16315 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16316 for as_dir
in $PATH
16319 test -z "$as_dir" && as_dir
=.
16320 for ac_exec_ext
in '' $ac_executable_extensions; do
16321 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16322 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
16323 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16330 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
16334 GMSGFMT
=$ac_cv_path_GMSGFMT
16335 if test -n "$GMSGFMT"; then
16336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
16337 $as_echo "$GMSGFMT" >&6; }
16339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16340 $as_echo "no" >&6; }
16346 # Prepare PATH_SEPARATOR.
16347 # The user is always right.
16348 if test "${PATH_SEPARATOR+set}" != set; then
16349 echo "#! /bin/sh" >conf$$.sh
16350 echo "exit 0" >>conf$$.sh
16352 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
16360 # Find out how to test for executable files. Don't use a zero-byte file,
16361 # as systems may use methods other than mode bits to determine executability.
16362 cat >conf$$.
file <<_ASEOF
16366 chmod +x conf$$.
file
16367 if test -x conf$$.
file >/dev
/null
2>&1; then
16368 ac_executable_p
="test -x"
16370 ac_executable_p
="test -f"
16374 # Extract the first word of "xgettext", so it can be a program name with args.
16375 set dummy xgettext
; ac_word
=$2
16376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16377 $as_echo_n "checking for $ac_word... " >&6; }
16378 if ${ac_cv_path_XGETTEXT+:} false
; then :
16379 $as_echo_n "(cached) " >&6
16381 case "$XGETTEXT" in
16383 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
16386 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
16387 for ac_dir
in $PATH; do
16389 test -z "$ac_dir" && ac_dir
=.
16390 for ac_exec_ext
in '' $ac_executable_extensions; do
16391 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
16392 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
16393 (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
16394 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word$ac_exec_ext"
16401 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
16405 XGETTEXT
="$ac_cv_path_XGETTEXT"
16406 if test "$XGETTEXT" != ":"; then
16407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
16408 $as_echo "$XGETTEXT" >&6; }
16410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16411 $as_echo "no" >&6; }
16417 # Prepare PATH_SEPARATOR.
16418 # The user is always right.
16419 if test "${PATH_SEPARATOR+set}" != set; then
16420 echo "#! /bin/sh" >conf$$.sh
16421 echo "exit 0" >>conf$$.sh
16423 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
16431 # Find out how to test for executable files. Don't use a zero-byte file,
16432 # as systems may use methods other than mode bits to determine executability.
16433 cat >conf$$.
file <<_ASEOF
16437 chmod +x conf$$.
file
16438 if test -x conf$$.
file >/dev
/null
2>&1; then
16439 ac_executable_p
="test -x"
16441 ac_executable_p
="test -f"
16445 # Extract the first word of "msgmerge", so it can be a program name with args.
16446 set dummy msgmerge
; ac_word
=$2
16447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16448 $as_echo_n "checking for $ac_word... " >&6; }
16449 if ${ac_cv_path_MSGMERGE+:} false
; then :
16450 $as_echo_n "(cached) " >&6
16452 case "$MSGMERGE" in
16454 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
16457 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
16458 for ac_dir
in $PATH; do
16460 test -z "$ac_dir" && ac_dir
=.
16461 for ac_exec_ext
in '' $ac_executable_extensions; do
16462 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
16463 if $ac_dir/$ac_word --update -q /dev
/null
/dev
/null
>/dev
/null
2>&1; then
16464 ac_cv_path_MSGMERGE
="$ac_dir/$ac_word$ac_exec_ext"
16471 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE
=":"
16475 MSGMERGE
="$ac_cv_path_MSGMERGE"
16476 if test "$MSGMERGE" != ":"; then
16477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
16478 $as_echo "$MSGMERGE" >&6; }
16480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16481 $as_echo "no" >&6; }
16485 if test "$GMSGFMT" != ":"; then
16486 if $GMSGFMT --statistics /dev
/null
>/dev
/null
2>&1 &&
16487 (if $GMSGFMT --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
16490 GMSGFMT
=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
16491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
16492 $as_echo "found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; }
16497 if test "$XGETTEXT" != ":"; then
16498 if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
16499 (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
16502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
16503 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
16509 ac_config_commands
="$ac_config_commands default-1"
16515 for ac_prog
in 'bison -y' byacc
16517 # Extract the first word of "$ac_prog", so it can be a program name with args.
16518 set dummy
$ac_prog; ac_word
=$2
16519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16520 $as_echo_n "checking for $ac_word... " >&6; }
16521 if ${ac_cv_prog_YACC+:} false
; then :
16522 $as_echo_n "(cached) " >&6
16524 if test -n "$YACC"; then
16525 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
16527 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16528 for as_dir
in $PATH
16531 test -z "$as_dir" && as_dir
=.
16532 for ac_exec_ext
in '' $ac_executable_extensions; do
16533 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16534 ac_cv_prog_YACC
="$ac_prog"
16535 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16544 YACC
=$ac_cv_prog_YACC
16545 if test -n "$YACC"; then
16546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
16547 $as_echo "$YACC" >&6; }
16549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16550 $as_echo "no" >&6; }
16554 test -n "$YACC" && break
16556 test -n "$YACC" || YACC
="yacc"
16558 for ac_prog
in flex
lex
16560 # Extract the first word of "$ac_prog", so it can be a program name with args.
16561 set dummy
$ac_prog; ac_word
=$2
16562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16563 $as_echo_n "checking for $ac_word... " >&6; }
16564 if ${ac_cv_prog_LEX+:} false
; then :
16565 $as_echo_n "(cached) " >&6
16567 if test -n "$LEX"; then
16568 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
16570 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16571 for as_dir
in $PATH
16574 test -z "$as_dir" && as_dir
=.
16575 for ac_exec_ext
in '' $ac_executable_extensions; do
16576 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16577 ac_cv_prog_LEX
="$ac_prog"
16578 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16587 LEX
=$ac_cv_prog_LEX
16588 if test -n "$LEX"; then
16589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
16590 $as_echo "$LEX" >&6; }
16592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16593 $as_echo "no" >&6; }
16597 test -n "$LEX" && break
16599 test -n "$LEX" || LEX
=":"
16603 *) cat >conftest.l
<<_ACEOF
16609 e { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument. */
16610 yyless ((input () != 0)); }
16611 f { unput (yytext[0]); }
16612 . { BEGIN INITIAL; }
16614 #ifdef YYTEXT_POINTER
16615 extern char *yytext;
16620 return ! yylex () + ! yywrap ();
16623 { { ac_try
="$LEX conftest.l"
16624 case "(($ac_try" in
16625 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16626 *) ac_try_echo=$ac_try;;
16628 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16629 $as_echo "$ac_try_echo"; } >&5
16630 (eval "$LEX conftest.l") 2>&5
16632 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16633 test $ac_status = 0; }
16634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
16635 $as_echo_n "checking lex output file root... " >&6; }
16636 if ${ac_cv_prog_lex_root+:} false; then :
16637 $as_echo_n "(cached) " >&6
16640 if test -f lex.yy.c; then
16641 ac_cv_prog_lex_root=lex.yy
16642 elif test -f lexyy.c; then
16643 ac_cv_prog_lex_root=lexyy
16645 as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5
16648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
16649 $as_echo "$ac_cv_prog_lex_root" >&6; }
16650 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
16652 if test -z "${LEXLIB+set}"; then
16653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
16654 $as_echo_n "checking lex library... " >&6; }
16655 if ${ac_cv_lib_lex+:} false; then :
16656 $as_echo_n "(cached) " >&6
16660 ac_cv_lib_lex='none needed'
16661 for ac_lib in '' -lfl -ll; do
16662 LIBS="$ac_lib $ac_save_LIBS"
16663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16664 /* end confdefs.h. */
16665 `cat $LEX_OUTPUT_ROOT.c
`
16667 if ac_fn_c_try_link "$LINENO"; then :
16668 ac_cv_lib_lex=$ac_lib
16670 rm -f core conftest.err conftest.$ac_objext \
16671 conftest$ac_exeext conftest.$ac_ext
16672 test "$ac_cv_lib_lex" != 'none needed' && break
16677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5
16678 $as_echo "$ac_cv_lib_lex" >&6; }
16679 test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
16683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
16684 $as_echo_n "checking whether yytext is a pointer... " >&6; }
16685 if ${ac_cv_prog_lex_yytext_pointer+:} false; then :
16686 $as_echo_n "(cached) " >&6
16688 # POSIX says lex can declare yytext either as a pointer or an array; the
16689 # default is implementation-dependent. Figure out which it is, since
16690 # not all implementations provide the %pointer and %array declarations.
16691 ac_cv_prog_lex_yytext_pointer=no
16693 LIBS="$LEXLIB $ac_save_LIBS"
16694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16695 /* end confdefs.h. */
16697 #define YYTEXT_POINTER 1
16698 `cat $LEX_OUTPUT_ROOT.c
`
16700 if ac_fn_c_try_link "$LINENO"; then :
16701 ac_cv_prog_lex_yytext_pointer=yes
16703 rm -f core conftest.err conftest.$ac_objext \
16704 conftest$ac_exeext conftest.$ac_ext
16708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5
16709 $as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
16710 if test $ac_cv_prog_lex_yytext_pointer = yes; then
16712 $as_echo "#define YYTEXT_POINTER 1" >>confdefs.h
16715 rm -f conftest.l $LEX_OUTPUT_ROOT.c
16718 if test "$LEX" = :; then
16719 LEX=${am_missing_run}flex
16723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
16724 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
16725 # Check whether --enable-maintainer-mode was given.
16726 if test "${enable_maintainer_mode+set}" = set; then :
16727 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
16729 USE_MAINTAINER_MODE=no
16732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
16733 $as_echo "$USE_MAINTAINER_MODE" >&6; }
16734 if test $USE_MAINTAINER_MODE = yes; then
16735 MAINTAINER_MODE_TRUE=
16736 MAINTAINER_MODE_FALSE='#'
16738 MAINTAINER_MODE_TRUE='#'
16739 MAINTAINER_MODE_FALSE=
16742 MAINT=$MAINTAINER_MODE_TRUE
16746 GENINSRC_NEVER_TRUE=
16747 GENINSRC_NEVER_FALSE='#'
16749 GENINSRC_NEVER_TRUE='#'
16750 GENINSRC_NEVER_FALSE=
16753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to compare bootstrapped objects" >&5
16754 $as_echo_n "checking how to compare bootstrapped objects... " >&6; }
16755 if ${gcc_cv_prog_cmp_skip+:} false; then :
16756 $as_echo_n "(cached) " >&6
16760 gcc_cv_prog_cmp_skip='tail -c +17 $$f1 > tmp-foo1; tail -c +17 $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
16761 if cmp t1 t2 2 2 > /dev/null 2>&1; then
16762 if cmp t1 t2 1 1 > /dev/null 2>&1; then
16765 gcc_cv_prog_cmp_skip='cmp $$f1 $$f2 16 16'
16768 if cmp --ignore-initial=2 t1 t2 > /dev/null 2>&1; then
16769 if cmp --ignore-initial=1 t1 t2 > /dev/null 2>&1; then
16772 gcc_cv_prog_cmp_skip='cmp --ignore-initial=16 $$f1 $$f2'
16778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_cmp_skip" >&5
16779 $as_echo "$gcc_cv_prog_cmp_skip" >&6; }
16780 do_compare="$gcc_cv_prog_cmp_skip"
16784 . ${srcdir}/configure.host
16789 # We use headers from include/ that check various HAVE_*_H macros, thus
16790 # should ensure they are set by configure. This is true even when C99
16791 # guarantees they are available.
16792 # sha1.h and md4.h test HAVE_LIMITS_H, HAVE_SYS_TYPES_H and HAVE_STDINT_H
16793 # plugin-api.h tests HAVE_STDINT_H and HAVE_INTTYPES_H
16794 # Besides those, we need to check anything used in ld/ not in C99.
16795 for ac_header in fcntl.h elf-hints.h limits.h inttypes.h stdint.h \
16796 sys/file.h sys/mman.h sys/param.h sys/stat.h sys/time.h \
16797 sys/types.h unistd.h
16799 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
16800 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16801 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16802 cat >>confdefs.h <<_ACEOF
16803 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
16810 for ac_func in close glob lseek mkstemp open realpath waitpid
16812 as_ac_var=`$as_echo "ac_cv_func_$ac_func" |
$as_tr_sh`
16813 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16814 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16815 cat >>confdefs.h <<_ACEOF
16816 #define `$as_echo "HAVE_$ac_func" |
$as_tr_cpp` 1
16825 *-*-msdos* | *-*-go32* | *-*-mingw32* | *-*-cygwin* | *-*-windows*)
16827 $as_echo "#define USE_BINARY_FOPEN 1" >>confdefs.h
16831 ac_fn_c_check_decl "$LINENO" "asprintf" "ac_cv_have_decl_asprintf" "$ac_includes_default"
16832 if test "x$ac_cv_have_decl_asprintf" = xyes; then :
16838 cat >>confdefs.h <<_ACEOF
16839 #define HAVE_DECL_ASPRINTF $ac_have_decl
16841 ac_fn_c_check_decl "$LINENO" "environ" "ac_cv_have_decl_environ" "$ac_includes_default"
16842 if test "x$ac_cv_have_decl_environ" = xyes; then :
16848 cat >>confdefs.h <<_ACEOF
16849 #define HAVE_DECL_ENVIRON $ac_have_decl
16851 ac_fn_c_check_decl "$LINENO" "stpcpy" "ac_cv_have_decl_stpcpy" "$ac_includes_default"
16852 if test "x$ac_cv_have_decl_stpcpy" = xyes; then :
16858 cat >>confdefs.h <<_ACEOF
16859 #define HAVE_DECL_STPCPY $ac_have_decl
16866 for ac_header in $ac_header_list
16868 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
16869 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
16871 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16872 cat >>confdefs.h <<_ACEOF
16873 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
16887 for ac_func in getpagesize
16889 ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize"
16890 if test "x$ac_cv_func_getpagesize" = xyes; then :
16891 cat >>confdefs.h <<_ACEOF
16892 #define HAVE_GETPAGESIZE 1
16898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
16899 $as_echo_n "checking for working mmap... " >&6; }
16900 if ${ac_cv_func_mmap_fixed_mapped+:} false; then :
16901 $as_echo_n "(cached) " >&6
16903 if test "$cross_compiling" = yes; then :
16904 ac_cv_func_mmap_fixed_mapped=no
16906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16907 /* end confdefs.h. */
16908 $ac_includes_default
16909 /* malloc might have been renamed as rpl_malloc. */
16912 /* Thanks to Mike Haertel and Jim Avera for this test.
16913 Here is a matrix of mmap possibilities:
16914 mmap private not fixed
16915 mmap private fixed at somewhere currently unmapped
16916 mmap private fixed at somewhere already mapped
16917 mmap shared not fixed
16918 mmap shared fixed at somewhere currently unmapped
16919 mmap shared fixed at somewhere already mapped
16920 For private mappings, we should verify that changes cannot be read()
16921 back from the file, nor mmap's back from the file at a different
16922 address. (There have been systems where private was not correctly
16923 implemented like the infamous i386 svr4.0, and systems where the
16924 VM page cache was not coherent with the file system buffer cache
16925 like early versions of FreeBSD and possibly contemporary NetBSD.)
16926 For shared mappings, we should conversely verify that changes get
16927 propagated back to all the places they're supposed to be.
16929 Grep wants private fixed already mapped.
16930 The main things grep needs to know about mmap are:
16931 * does it exist and is it safe to write into the mmap'd area
16932 * how to use it (BSD variants) */
16935 #include <sys/mman.h>
16937 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
16941 /* This mess was copied from the GNU getpagesize.h. */
16942 #ifndef HAVE_GETPAGESIZE
16943 # ifdef _SC_PAGESIZE
16944 # define getpagesize() sysconf(_SC_PAGESIZE)
16945 # else /* no _SC_PAGESIZE */
16946 # ifdef HAVE_SYS_PARAM_H
16947 # include <sys/param.h>
16948 # ifdef EXEC_PAGESIZE
16949 # define getpagesize() EXEC_PAGESIZE
16950 # else /* no EXEC_PAGESIZE */
16952 # define getpagesize() NBPG * CLSIZE
16955 # endif /* no CLSIZE */
16956 # else /* no NBPG */
16958 # define getpagesize() NBPC
16959 # else /* no NBPC */
16961 # define getpagesize() PAGESIZE
16962 # endif /* PAGESIZE */
16963 # endif /* no NBPC */
16964 # endif /* no NBPG */
16965 # endif /* no EXEC_PAGESIZE */
16966 # else /* no HAVE_SYS_PARAM_H */
16967 # define getpagesize() 8192 /* punt totally */
16968 # endif /* no HAVE_SYS_PARAM_H */
16969 # endif /* no _SC_PAGESIZE */
16971 #endif /* no HAVE_GETPAGESIZE */
16976 char *data, *data2, *data3;
16977 const char *cdata2;
16981 pagesize = getpagesize ();
16983 /* First, make a file with some known garbage in it. */
16984 data = (char *) malloc (pagesize);
16987 for (i = 0; i < pagesize; ++i)
16988 *(data + i) = rand ();
16990 fd = creat ("conftest.mmap", 0600);
16993 if (write (fd, data, pagesize) != pagesize)
16997 /* Next, check that the tail of a page is zero-filled. File must have
16998 non-zero length, otherwise we risk SIGBUS for entire page. */
16999 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
17003 if (write (fd2, cdata2, 1) != 1)
17005 data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
17006 if (data2 == MAP_FAILED)
17008 for (i = 0; i < pagesize; ++i)
17012 if (munmap (data2, pagesize))
17015 /* Next, try to mmap the file at a fixed address which already has
17016 something else allocated at it. If we can, also make sure that
17017 we see the same garbage. */
17018 fd = open ("conftest.mmap", O_RDWR);
17021 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
17022 MAP_PRIVATE | MAP_FIXED, fd, 0L))
17024 for (i = 0; i < pagesize; ++i)
17025 if (*(data + i) != *(data2 + i))
17028 /* Finally, make sure that changes to the mapped area do not
17029 percolate back to the file as seen by read(). (This is a bug on
17030 some variants of i386 svr4.0.) */
17031 for (i = 0; i < pagesize; ++i)
17032 *(data2 + i) = *(data2 + i) + 1;
17033 data3 = (char *) malloc (pagesize);
17036 if (read (fd, data3, pagesize) != pagesize)
17038 for (i = 0; i < pagesize; ++i)
17039 if (*(data + i) != *(data3 + i))
17045 if ac_fn_c_try_run "$LINENO"; then :
17046 ac_cv_func_mmap_fixed_mapped=yes
17048 ac_cv_func_mmap_fixed_mapped=no
17050 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
17051 conftest.$ac_objext conftest.beam conftest.$ac_ext
17055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
17056 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
17057 if test $ac_cv_func_mmap_fixed_mapped = yes; then
17059 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
17062 rm -f conftest.mmap conftest.txt
17065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
17066 $as_echo_n "checking for library containing dlopen... " >&6; }
17067 if ${ac_cv_search_dlopen+:} false; then :
17068 $as_echo_n "(cached) " >&6
17070 ac_func_search_save_LIBS=$LIBS
17071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17072 /* end confdefs.h. */
17074 /* Override any GCC internal prototype to avoid an error.
17075 Use char because int might match the return type of a GCC
17076 builtin and then its argument prototype would still apply. */
17089 for ac_lib in '' dl; do
17090 if test -z "$ac_lib"; then
17091 ac_res="none required"
17094 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17096 if ac_fn_c_try_link "$LINENO"; then :
17097 ac_cv_search_dlopen=$ac_res
17099 rm -f core conftest.err conftest.$ac_objext \
17101 if ${ac_cv_search_dlopen+:} false; then :
17105 if ${ac_cv_search_dlopen+:} false; then :
17108 ac_cv_search_dlopen=no
17110 rm conftest.$ac_ext
17111 LIBS=$ac_func_search_save_LIBS
17113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
17114 $as_echo "$ac_cv_search_dlopen" >&6; }
17115 ac_res=$ac_cv_search_dlopen
17116 if test "$ac_res" != no; then :
17117 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a known getopt prototype in unistd.h" >&5
17123 $as_echo_n "checking for a known getopt prototype in unistd.h... " >&6; }
17124 if ${ld_cv_decl_getopt_unistd_h+:} false; then :
17125 $as_echo_n "(cached) " >&6
17127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17128 /* end confdefs.h. */
17129 #include <unistd.h>
17133 extern int getopt (int, char *const*, const char *);
17138 if ac_fn_c_try_compile "$LINENO"; then :
17139 ld_cv_decl_getopt_unistd_h=yes
17141 ld_cv_decl_getopt_unistd_h=no
17143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_cv_decl_getopt_unistd_h" >&5
17147 $as_echo "$ld_cv_decl_getopt_unistd_h" >&6; }
17148 if test $ld_cv_decl_getopt_unistd_h = yes; then
17150 $as_echo "#define HAVE_DECL_GETOPT 1" >>confdefs.h
17154 # Link in zlib/zstd if we can. This allows us to read and write
17155 # compressed debug sections.
17157 # Use the system's zlib library.
17158 zlibdir="-L\$(top_builddir)/../zlib"
17159 zlibinc="-I\$(top_srcdir)/../zlib"
17161 # Check whether --with-system-zlib was given.
17162 if test "${with_system_zlib+set}" = set; then :
17163 withval=$with_system_zlib; if test x$with_system_zlib = xyes ; then
17175 # Check whether --with-zstd was given.
17176 if test "${with_zstd+set}" = set; then :
17177 withval=$with_zstd;
17183 if test "$with_zstd" != no; then :
17186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libzstd >= 1.4.0" >&5
17187 $as_echo_n "checking for libzstd >= 1.4.0... " >&6; }
17189 if test -n "$ZSTD_CFLAGS"; then
17190 pkg_cv_ZSTD_CFLAGS="$ZSTD_CFLAGS"
17191 elif test -n "$PKG_CONFIG"; then
17192 if test -n "$PKG_CONFIG" && \
17193 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libzstd >= 1.4.0\""; } >&5
17194 ($PKG_CONFIG --exists --print-errors "libzstd >= 1.4.0") 2>&5
17196 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17197 test $ac_status = 0; }; then
17198 pkg_cv_ZSTD_CFLAGS=`$PKG_CONFIG --cflags "libzstd >= 1.4.0" 2>/dev
/null
`
17199 test "x$?" != "x0" && pkg_failed=yes
17206 if test -n "$ZSTD_LIBS"; then
17207 pkg_cv_ZSTD_LIBS="$ZSTD_LIBS"
17208 elif test -n "$PKG_CONFIG"; then
17209 if test -n "$PKG_CONFIG" && \
17210 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libzstd >= 1.4.0\""; } >&5
17211 ($PKG_CONFIG --exists --print-errors "libzstd >= 1.4.0") 2>&5
17213 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17214 test $ac_status = 0; }; then
17215 pkg_cv_ZSTD_LIBS=`$PKG_CONFIG --libs "libzstd >= 1.4.0" 2>/dev
/null
`
17216 test "x$?" != "x0" && pkg_failed=yes
17224 if test $pkg_failed = no; then
17225 pkg_save_LDFLAGS="$LDFLAGS"
17226 LDFLAGS="$LDFLAGS $pkg_cv_ZSTD_LIBS"
17227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17228 /* end confdefs.h. */
17238 if ac_fn_c_try_link "$LINENO"; then :
17243 rm -f core conftest.err conftest.$ac_objext \
17244 conftest$ac_exeext conftest.$ac_ext
17245 LDFLAGS=$pkg_save_LDFLAGS
17250 if test $pkg_failed = yes; then
17251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17252 $as_echo "no" >&6; }
17254 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17255 _pkg_short_errors_supported=yes
17257 _pkg_short_errors_supported=no
17259 if test $_pkg_short_errors_supported = yes; then
17260 ZSTD_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libzstd >= 1.4.0" 2>&1`
17262 ZSTD_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libzstd >= 1.4.0" 2>&1`
17264 # Put the nasty error message in config.log where it belongs
17265 echo "$ZSTD_PKG_ERRORS" >&5
17268 if test "$with_zstd" = yes; then
17269 as_fn_error $? "--with-zstd was given, but pkgconfig/libzstd.pc is not found" "$LINENO" 5
17272 elif test $pkg_failed = untried; then
17273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17274 $as_echo "no" >&6; }
17276 if test "$with_zstd" = yes; then
17277 as_fn_error $? "--with-zstd was given, but pkgconfig/libzstd.pc is not found" "$LINENO" 5
17281 ZSTD_CFLAGS=$pkg_cv_ZSTD_CFLAGS
17282 ZSTD_LIBS=$pkg_cv_ZSTD_LIBS
17283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17284 $as_echo "yes" >&6; }
17287 $as_echo "#define HAVE_ZSTD 1" >>confdefs.h
17295 # target-specific stuff:
17304 elf_list_options=false
17305 elf_shlib_list_options=false
17306 elf_plt_unwind_list_options=false
17307 for targ_alias in `echo $target_alias $enable_targets |
sed 's/,/ /g'`
17309 if test "$targ_alias" = "all"; then
17311 elf_list_options=true
17312 elf_shlib_list_options=true
17313 elf_plt_unwind_list_options=true
17315 # Canonicalize the secondary target names.
17316 result=`$ac_config_sub $targ_alias 2>/dev
/null
`
17317 if test -n "$result"; then
17323 . ${srcdir}/configure.tgt
17325 if test "$targ" = "$target"; then
17329 if test x${enable_64_bit_bfd} = xno; then
17330 . ${srcdir}/../bfd/config.bfd
17333 if test x${enable_64_bit_bfd} = xyes; then
17334 targ_extra_emuls="$targ_extra_emuls $targ64_extra_emuls"
17335 targ_extra_libpath="$targ_extra_libpath $targ64_extra_libpath"
17338 for i in $targ_emul $targ_extra_emuls $targ_extra_libpath; do
17339 case " $all_emuls " in
17342 all_emuls="$all_emuls e${i}.o"
17343 eval result=\$tdir_$i
17344 test -z "$result" && result=$targ_alias
17349 elf_list_options=true
17352 if $GREP "TEMPLATE_NAME=elf" ${srcdir}/emulparams/${i}.sh >/dev/null 2>/dev/null; then
17353 elf_list_options=true
17357 if test "$elf_list_options" = "true"; then
17362 source_sh ${srcdir}/emulparams/${i}.sh
17363 if test x${GENERATE_SHLIB_SCRIPT} = xyes; then
17364 elf_shlib_list_options=true
17366 if test x${PLT_UNWIND} = xyes; then
17367 elf_plt_unwind_list_options=true
17374 for i in $targ_emul $targ_extra_libpath; do
17375 case " $all_libpath " in
17378 if test -z "$all_libpath"; then
17381 all_libpath="$all_libpath ${i}"
17387 for i in $targ_extra_ofiles; do
17388 case " $all_emul_extras " in
17391 all_emul_extras="$all_emul_extras ${i}"
17399 if test x$ac_default_compressed_debug_sections = xyes ; then
17401 $as_echo "#define DEFAULT_FLAG_COMPRESS_DEBUG 1" >>confdefs.h
17406 cat >>confdefs.h <<_ACEOF
17407 #define DEFAULT_COMPRESSED_DEBUG_ALGORITHM $ac_default_compressed_debug_sections_algorithm
17411 if test "${ac_default_new_dtags}" = unset; then
17412 ac_default_new_dtags=0
17415 cat >>confdefs.h <<_ACEOF
17416 #define DEFAULT_NEW_DTAGS $ac_default_new_dtags
17420 if test "${ac_default_ld_z_relro}" = unset; then
17421 ac_default_ld_z_relro=0
17424 cat >>confdefs.h <<_ACEOF
17425 #define DEFAULT_LD_Z_RELRO $ac_default_ld_z_relro
17429 ac_default_ld_textrel_check_warning=0
17430 case "${ac_default_ld_textrel_check}" in
17432 ac_default_ld_textrel_check=textrel_check_none
17435 ac_default_ld_textrel_check=textrel_check_warning
17436 ac_default_ld_textrel_check_warning=1
17439 ac_default_ld_textrel_check=textrel_check_error
17443 cat >>confdefs.h <<_ACEOF
17444 #define DEFAULT_LD_TEXTREL_CHECK $ac_default_ld_textrel_check
17448 cat >>confdefs.h <<_ACEOF
17449 #define DEFAULT_LD_TEXTREL_CHECK_WARNING $ac_default_ld_textrel_check_warning
17453 if test "${ac_default_ld_z_separate_code}" = unset; then
17454 ac_default_ld_z_separate_code=0
17457 cat >>confdefs.h <<_ACEOF
17458 #define DEFAULT_LD_Z_SEPARATE_CODE $ac_default_ld_z_separate_code
17464 cat >>confdefs.h <<_ACEOF
17465 #define DEFAULT_LD_WARN_EXECSTACK $ac_default_ld_warn_execstack
17470 cat >>confdefs.h <<_ACEOF
17471 #define DEFAULT_LD_ERROR_EXECSTACK $ac_default_ld_error_execstack
17475 if test "${ac_default_ld_warn_rwx_segments}" = unset; then
17476 ac_default_ld_warn_rwx_segments=1
17479 cat >>confdefs.h <<_ACEOF
17480 #define DEFAULT_LD_WARN_RWX_SEGMENTS $ac_default_ld_warn_rwx_segments
17485 cat >>confdefs.h <<_ACEOF
17486 #define DEFAULT_LD_ERROR_RWX_SEGMENTS $ac_default_ld_error_rwx_segments
17490 if test "${ac_default_ld_default_execstack}" = unset; then
17491 ac_default_ld_default_execstack=1
17494 cat >>confdefs.h <<_ACEOF
17495 #define DEFAULT_LD_EXECSTACK $ac_default_ld_default_execstack
17500 if test "${ac_support_error_handling_script}" = unset; then
17501 ac_support_error_handling_script=1
17504 cat >>confdefs.h <<_ACEOF
17505 #define SUPPORT_ERROR_HANDLING_SCRIPT $ac_support_error_handling_script
17510 cat >>confdefs.h <<_ACEOF
17511 #define DEFAULT_EMIT_SYSV_HASH $ac_default_emit_sysv_hash
17516 cat >>confdefs.h <<_ACEOF
17517 #define DEFAULT_EMIT_GNU_HASH $ac_default_emit_gnu_hash
17529 if test x${all_targets} = xtrue; then
17530 if test x${enable_64_bit_bfd} = xyes; then
17531 EMULATION_OFILES='$(ALL_EMULATIONS) $(ALL_64_EMULATIONS)'
17532 EMUL_EXTRA_OFILES='$(ALL_EMUL_EXTRA_OFILES) $(ALL_64_EMUL_EXTRA_OFILES)'
17534 EMULATION_OFILES='$(ALL_EMULATIONS)'
17535 EMUL_EXTRA_OFILES='$(ALL_EMUL_EXTRA_OFILES)'
17538 EMULATION_OFILES=$all_emuls
17539 EMUL_EXTRA_OFILES=$all_emul_extras
17545 EMULATION_LIBPATH=$all_libpath
17548 if test x${enable_static} = xno; then
17549 TESTBFDLIB="-Wl,--rpath,../bfd/.libs ../bfd/.libs/libbfd.so"
17550 TESTCTFLIB="-Wl,--rpath,../libctf/.libs ../libctf/.libs/libctf.so"
17551 TESTSFRAMELIB="-Wl,--rpath,../libsframe/.libs ../libsframe/.libs/libsframe.so"
17553 TESTBFDLIB="../bfd/.libs/libbfd.a"
17554 TESTCTFLIB="../libctf/.libs/libctf.a"
17555 TESTSFRAMELIB="../libsframe/.libs/libsframe.a"
17557 if test "${enable_libctf}" = no; then
17564 target_vendor=${target_vendor=$host_vendor}
17565 case "$target_vendor" in
17566 hp) EXTRA_SHLIB_EXTENSION=".sl" ;;
17567 *) EXTRA_SHLIB_EXTENSION= ;;
17570 case "$target_os" in
17571 lynxos) EXTRA_SHLIB_EXTENSION=".a" ;;
17574 if test x${EXTRA_SHLIB_EXTENSION} != x ; then
17576 cat >>confdefs.h <<_ACEOF
17577 #define EXTRA_SHLIB_EXTENSION "$EXTRA_SHLIB_EXTENSION"
17582 ac_config_commands="$ac_config_commands default"
17590 ac_config_files="$ac_config_files Makefile po/Makefile.in:po/Make-in"
17592 cat >confcache <<\_ACEOF
17593 # This file is a shell script that caches the results of configure
17594 # tests run on this system so they can be shared between configure
17595 # scripts and configure runs, see configure's option --config-cache.
17596 # It is not useful on other systems. If it contains results you don't
17597 # want to keep, you may remove or edit it.
17599 # config.status only pays attention to the cache file if you give it
17600 # the --recheck option to rerun configure.
17602 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
17603 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17604 # following values.
17608 # The following way of writing the cache mishandles newlines in values,
17609 # but we know of no workaround that is simple, portable, and efficient.
17610 # So, we kill variables containing newlines.
17611 # Ultrix sh set writes to stderr and can't be redirected directly,
17612 # and sets the high bit in the cache file unless we assign to the vars.
17614 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17615 eval ac_val
=\$
$ac_var
17619 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17620 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17623 _ | IFS | as_nl
) ;; #(
17624 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
17625 *) { eval $ac_var=; unset $ac_var;} ;;
17631 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17632 *${as_nl}ac_space
=\
*)
17633 # `set' does not quote correctly, so add quotes: double-quote
17634 # substitution turns \\\\ into \\, and sed turns \\ into \.
17637 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17640 # `set' quotes correctly as required by POSIX, so do not add quotes.
17641 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17650 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17652 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17654 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
17655 if test -w "$cache_file"; then
17656 if test "x$cache_file" != "x/dev/null"; then
17657 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17658 $as_echo "$as_me: updating cache $cache_file" >&6;}
17659 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
17660 cat confcache
>"$cache_file"
17662 case $cache_file in #(
17664 mv -f confcache
"$cache_file"$$
&&
17665 mv -f "$cache_file"$$
"$cache_file" ;; #(
17667 mv -f confcache
"$cache_file" ;;
17672 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17673 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17678 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
17679 # Let make expand exec_prefix.
17680 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
17682 DEFS
=-DHAVE_CONFIG_H
17687 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
17688 # 1. Remove the extension, and $U if already installed.
17689 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
17690 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
17691 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17692 # will be set to the directory where LIBOBJS objects are built.
17693 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17694 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
17696 LIBOBJS
=$ac_libobjs
17698 LTLIBOBJS
=$ac_ltlibobjs
17701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
17702 $as_echo_n "checking that generated files are newer than configure... " >&6; }
17703 if test -n "$am_sleep_pid"; then
17704 # Hide warnings about reused PIDs.
17705 wait $am_sleep_pid 2>/dev
/null
17707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
17708 $as_echo "done" >&6; }
17709 if test -n "$EXEEXT"; then
17711 am__EXEEXT_FALSE
='#'
17713 am__EXEEXT_TRUE
='#'
17717 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
17718 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
17719 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17721 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
17722 as_fn_error $?
"conditional \"AMDEP\" was never defined.
17723 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17725 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
17726 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
17727 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17729 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
17730 as_fn_error $?
"conditional \"am__fastdepCXX\" was never defined.
17731 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17733 if test -z "${ENABLE_BFD_64_BIT_TRUE}" && test -z "${ENABLE_BFD_64_BIT_FALSE}"; then
17734 as_fn_error $?
"conditional \"ENABLE_BFD_64_BIT\" was never defined.
17735 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17737 if test -z "${ENABLE_LIBCTF_TRUE}" && test -z "${ENABLE_LIBCTF_FALSE}"; then
17738 as_fn_error $?
"conditional \"ENABLE_LIBCTF\" was never defined.
17739 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17741 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
17742 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
17743 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17745 if test -z "${GENINSRC_NEVER_TRUE}" && test -z "${GENINSRC_NEVER_FALSE}"; then
17746 as_fn_error $?
"conditional \"GENINSRC_NEVER\" was never defined.
17747 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17750 : "${CONFIG_STATUS=./config.status}"
17752 ac_clean_files_save
=$ac_clean_files
17753 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
17754 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17755 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17757 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17759 # Generated by $as_me.
17760 # Run this file to recreate the current configuration.
17761 # Compiler output produced by configure, useful for debugging
17762 # configure, is in config.log if it exists.
17765 ac_cs_recheck=false
17768 SHELL=\${CONFIG_SHELL-$SHELL}
17771 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
17772 ## -------------------- ##
17773 ## M4sh Initialization. ##
17774 ## -------------------- ##
17776 # Be more Bourne compatible
17777 DUALCASE
=1; export DUALCASE
# for MKS sh
17778 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
17781 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17782 # is contrary to our usage. Disable this feature.
17783 alias -g '${1+"$@"}'='"$@"'
17784 setopt NO_GLOB_SUBST
17786 case `(set -o) 2>/dev/null` in #(
17798 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17799 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17800 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17801 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17802 # Prefer a ksh shell builtin over an external printf program on Solaris,
17803 # but without wasting forks for bash or zsh.
17804 if test -z "$BASH_VERSION$ZSH_VERSION" \
17805 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17806 as_echo='print
-r --'
17807 as_echo_n='print
-rn --'
17808 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17809 as_echo='printf %s
\n'
17810 as_echo_n='printf %s
'
17812 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17813 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
17814 as_echo_n='/usr
/ucb
/echo -n'
17816 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17817 as_echo_n_body='eval
17821 expr "X$arg" : "X\\(.*\\)$as_nl";
17822 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17824 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
17826 export as_echo_n_body
17827 as_echo_n='sh
-c $as_echo_n_body as_echo
'
17829 export as_echo_body
17830 as_echo='sh
-c $as_echo_body as_echo
'
17833 # The user is always right.
17834 if test "${PATH_SEPARATOR+set}" != set; then
17836 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17837 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17844 # We need space, tab and new line, in precisely that order. Quoting is
17845 # there to prevent editors from complaining about space-tab.
17846 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17847 # splitting by setting IFS to empty value.)
17850 # Find who we are. Look in the path if we contain no directory separator.
17853 *[\\/]* ) as_myself=$0 ;;
17854 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17855 for as_dir in $PATH
17858 test -z "$as_dir" && as_dir=.
17859 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17865 # We did not find ourselves, most probably we were run as `sh COMMAND'
17866 # in which case we are not to be found in the path.
17867 if test "x$as_myself" = x
; then
17870 if test ! -f "$as_myself"; then
17871 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17875 # Unset variables that we do not need and which cause bugs (e.g. in
17876 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
17877 # suppresses any "Segmentation fault" message there. '((' could
17878 # trigger a bug in pdksh 5.2.14.
17879 for as_var
in BASH_ENV ENV MAIL MAILPATH
17880 do eval test x\
${$as_var+set} = xset \
17881 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
17894 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
17897 # as_fn_error STATUS ERROR [LINENO LOG_FD]
17898 # ----------------------------------------
17899 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17900 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17901 # script with STATUS, using 1 if that was 0.
17904 as_status
=$1; test $as_status -eq 0 && as_status
=1
17906 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
17907 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17909 $as_echo "$as_me: error: $2" >&2
17910 as_fn_exit
$as_status
17914 # as_fn_set_status STATUS
17915 # -----------------------
17916 # Set $? to STATUS, without forking.
17917 as_fn_set_status
()
17920 } # as_fn_set_status
17922 # as_fn_exit STATUS
17923 # -----------------
17924 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17928 as_fn_set_status
$1
17934 # Portably unset VAR.
17937 { eval $1=; unset $1;}
17939 as_unset
=as_fn_unset
17940 # as_fn_append VAR VALUE
17941 # ----------------------
17942 # Append the text in VALUE to the end of the definition contained in VAR. Take
17943 # advantage of any shell optimizations that allow amortized linear growth over
17944 # repeated appends, instead of the typical quadratic growth present in naive
17946 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
17947 eval 'as_fn_append ()
17958 # as_fn_arith ARG...
17959 # ------------------
17960 # Perform arithmetic evaluation on the ARGs, and store the result in the
17961 # global $as_val. Take advantage of shells that can avoid forks. The arguments
17962 # must be portable across $(()) and expr.
17963 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
17964 eval 'as_fn_arith ()
17971 as_val
=`expr "$@" || test $? -eq 1`
17976 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
17977 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
17983 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17984 as_basename
=basename
17989 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
17995 as_me
=`$as_basename -- "$0" ||
17996 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17997 X"$0" : 'X\(//\)$' \| \
17998 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18000 sed '/^.*\/\([^/][^/]*\)\/*$/{
18014 # Avoid depending upon Character Ranges.
18015 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
18016 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18017 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
18018 as_cr_digits
='0123456789'
18019 as_cr_alnum
=$as_cr_Letters$as_cr_digits
18021 ECHO_C
= ECHO_N
= ECHO_T
=
18022 case `echo -n x` in #(((((
18024 case `echo 'xy\c'` in
18025 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
18027 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
18034 rm -f conf$$ conf$$.exe conf$$.
file
18035 if test -d conf$$.dir
; then
18036 rm -f conf$$.dir
/conf$$.
file
18039 mkdir conf$$.dir
2>/dev
/null
18041 if (echo >conf$$.
file) 2>/dev
/null
; then
18042 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
18044 # ... but there are two gotchas:
18045 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18046 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18047 # In both cases, we have to default to `cp -pR'.
18048 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
18050 elif ln conf$$.
file conf$$
2>/dev
/null
; then
18058 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
18059 rmdir conf$$.dir
2>/dev
/null
18064 # Create "$as_dir" as a directory, including parents if necessary.
18069 -*) as_dir
=.
/$as_dir;;
18071 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
18075 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18076 *) as_qdir
=$as_dir;;
18078 as_dirs
="'$as_qdir' $as_dirs"
18079 as_dir
=`$as_dirname -- "$as_dir" ||
18080 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18081 X"$as_dir" : 'X\(//\)[^/]' \| \
18082 X"$as_dir" : 'X\(//\)$' \| \
18083 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18084 $as_echo X"$as_dir" |
18085 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18089 /^X\(\/\/\)[^/].*/{
18102 test -d "$as_dir" && break
18104 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
18105 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
18109 if mkdir
-p .
2>/dev
/null
; then
18110 as_mkdir_p
='mkdir -p "$as_dir"'
18112 test -d .
/-p && rmdir .
/-p
18117 # as_fn_executable_p FILE
18118 # -----------------------
18119 # Test if FILE is an executable regular file.
18120 as_fn_executable_p
()
18122 test -f "$1" && test -x "$1"
18123 } # as_fn_executable_p
18124 as_test_x
='test -x'
18125 as_executable_p
=as_fn_executable_p
18127 # Sed expression to map a string onto a valid CPP name.
18128 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18130 # Sed expression to map a string onto a valid variable name.
18131 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18135 ## ----------------------------------- ##
18136 ## Main body of $CONFIG_STATUS script. ##
18137 ## ----------------------------------- ##
18139 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
18141 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18142 # Save the log message, to keep $0 and so on meaningful, and to
18143 # report actual input values of CONFIG_FILES etc. instead of their
18144 # values after options handling.
18146 This file was extended by ld $as_me 2.41.50, which was
18147 generated by GNU Autoconf 2.69. Invocation command line was
18149 CONFIG_FILES = $CONFIG_FILES
18150 CONFIG_HEADERS = $CONFIG_HEADERS
18151 CONFIG_LINKS = $CONFIG_LINKS
18152 CONFIG_COMMANDS = $CONFIG_COMMANDS
18155 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18160 case $ac_config_files in *"
18161 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
18164 case $ac_config_headers in *"
18165 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
18169 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18170 # Files that config.status was made for.
18171 config_files="$ac_config_files"
18172 config_headers="$ac_config_headers"
18173 config_commands="$ac_config_commands"
18177 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18179 \`$as_me' instantiates files and other configuration actions
18180 from templates according to the current configuration. Unless the files
18181 and actions are specified as TAGs, all are instantiated by default.
18183 Usage: $0 [OPTION]... [TAG]...
18185 -h, --help print this help, then exit
18186 -V, --version print version number and configuration settings, then exit
18187 --config print configuration, then exit
18188 -q, --quiet, --silent
18189 do not print progress messages
18190 -d, --debug don't remove temporary files
18191 --recheck update $as_me by reconfiguring in the same conditions
18192 --file=FILE[:TEMPLATE]
18193 instantiate the configuration file FILE
18194 --header=FILE[:TEMPLATE]
18195 instantiate the configuration header FILE
18197 Configuration files:
18200 Configuration headers:
18203 Configuration commands:
18206 Report bugs to the package provider."
18209 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18210 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18212 ld config.status 2.41.50
18213 configured by $0, generated by GNU Autoconf 2.69,
18214 with options \\"\$ac_cs_config\\"
18216 Copyright (C) 2012 Free Software Foundation, Inc.
18217 This config.status script is free software; the Free Software Foundation
18218 gives unlimited permission to copy, distribute and modify it."
18225 test -n "\$AWK" || AWK=awk
18228 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18229 # The default lists apply if the user does not specify any file.
18235 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18236 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
18240 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18252 # Handling of the options.
18253 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
18255 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
18256 $as_echo "$ac_cs_version"; exit ;;
18257 --config |
--confi |
--conf |
--con |
--co |
--c )
18258 $as_echo "$ac_cs_config"; exit ;;
18259 --debug |
--debu |
--deb |
--de |
--d |
-d )
18261 --file |
--fil |
--fi |
--f )
18264 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18265 '') as_fn_error $?
"missing file argument" ;;
18267 as_fn_append CONFIG_FILES
" '$ac_optarg'"
18268 ac_need_defaults
=false
;;
18269 --header |
--heade |
--head |
--hea )
18272 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18274 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
18275 ac_need_defaults
=false
;;
18277 # Conflict between --help and --header
18278 as_fn_error $?
"ambiguous option: \`$1'
18279 Try \`$0 --help' for more information.";;
18280 --help |
--hel |
-h )
18281 $as_echo "$ac_cs_usage"; exit ;;
18282 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
18283 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
18286 # This is an error.
18287 -*) as_fn_error $?
"unrecognized option: \`$1'
18288 Try \`$0 --help' for more information." ;;
18290 *) as_fn_append ac_config_targets
" $1"
18291 ac_need_defaults
=false
;;
18297 ac_configure_extra_args
=
18299 if $ac_cs_silent; then
18301 ac_configure_extra_args
="$ac_configure_extra_args --silent"
18305 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18306 if \$ac_cs_recheck; then
18307 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18309 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18310 CONFIG_SHELL='$SHELL'
18311 export CONFIG_SHELL
18316 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18320 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18321 ## Running $as_me. ##
18327 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18331 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
18334 # The HP-UX ksh and POSIX shell print the target directory to stdout
18335 # if CDPATH is set.
18336 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18338 sed_quote_subst='$sed_quote_subst'
18339 double_quote_subst='$double_quote_subst'
18340 delay_variable_subst='$delay_variable_subst'
18341 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
18342 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
18343 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
18344 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
18345 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
18346 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
18347 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
18348 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
18349 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
18350 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
18351 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
18352 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
18353 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
18354 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
18355 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
18356 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
18357 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
18358 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
18359 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
18360 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
18361 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
18362 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
18363 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
18364 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
18365 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
18366 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
18367 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
18368 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
18369 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
18370 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
18371 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
18372 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
18373 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
18374 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
18375 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
18376 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
18377 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
18378 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
18379 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
18380 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
18381 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
18382 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
18383 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
18384 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
18385 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
18386 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
18387 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
18388 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
18389 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"`'
18390 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
18391 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
18392 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
18393 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
18394 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
18395 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
18396 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
18397 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
18398 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
18399 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
18400 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
18401 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
18402 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
18403 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
18404 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
18405 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
18406 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
18407 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
18408 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
18409 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
18410 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
18411 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
18412 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
18413 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
18414 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
18415 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
18416 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
18417 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
18418 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
18419 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
18420 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
18421 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
18422 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
18423 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
18424 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
18425 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
18426 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
18427 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
18428 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
18429 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
18430 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
18431 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
18432 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
18433 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
18434 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
18435 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
18436 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
18437 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
18438 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
18439 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
18440 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
18441 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
18442 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
18443 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
18444 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
18445 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
18446 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
18447 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
18448 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
18449 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
18450 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
18451 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
18452 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
18453 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
18454 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
18455 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
18456 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
18457 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
18458 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
18459 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
18460 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
18461 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
18462 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
18463 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
18464 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
18465 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
18466 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
18467 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
18468 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
18469 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18470 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18471 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
18472 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
18473 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
18474 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
18475 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
18476 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
18477 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
18478 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
18479 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
18480 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
18481 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
18482 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
18483 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18484 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18485 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18486 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18487 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18488 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18489 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
18490 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
18491 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
18492 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
18493 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
18494 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
18495 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
18496 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
18497 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
18498 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
18499 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
18500 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
18501 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
18502 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
18503 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
18504 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18505 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
18506 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
18507 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18508 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
18509 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
18510 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
18511 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
18512 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
18513 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
18514 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
18515 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
18518 LTCFLAGS='$LTCFLAGS'
18519 compiler='$compiler_DEFAULT'
18521 # A function that is used when there is no print builtin or printf.
18522 func_fallback_echo ()
18524 eval 'cat <<_LTECHO_EOF
18529 # Quote evaled strings.
18543 deplibs_check_method \
18552 lt_cv_sys_global_symbol_pipe \
18553 lt_cv_sys_global_symbol_to_cdecl \
18554 lt_cv_sys_global_symbol_to_c_name_address \
18555 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
18556 lt_prog_compiler_no_builtin_flag \
18557 lt_prog_compiler_wl \
18558 lt_prog_compiler_pic \
18559 lt_prog_compiler_static \
18560 lt_cv_prog_compiler_c_o \
18568 export_dynamic_flag_spec \
18569 whole_archive_flag_spec \
18570 compiler_needs_object \
18572 allow_undefined_flag \
18573 no_undefined_flag \
18574 hardcode_libdir_flag_spec \
18575 hardcode_libdir_flag_spec_ld \
18576 hardcode_libdir_separator \
18581 variables_saved_for_relink \
18583 library_names_spec \
18585 install_override_mode \
18589 compiler_lib_search_dirs \
18594 compiler_lib_search_path \
18598 lt_prog_compiler_no_builtin_flag_CXX \
18599 lt_prog_compiler_wl_CXX \
18600 lt_prog_compiler_pic_CXX \
18601 lt_prog_compiler_static_CXX \
18602 lt_cv_prog_compiler_c_o_CXX \
18603 export_dynamic_flag_spec_CXX \
18604 whole_archive_flag_spec_CXX \
18605 compiler_needs_object_CXX \
18607 allow_undefined_flag_CXX \
18608 no_undefined_flag_CXX \
18609 hardcode_libdir_flag_spec_CXX \
18610 hardcode_libdir_flag_spec_ld_CXX \
18611 hardcode_libdir_separator_CXX \
18612 fix_srcfile_path_CXX \
18613 exclude_expsyms_CXX \
18614 include_expsyms_CXX \
18615 file_list_spec_CXX \
18616 compiler_lib_search_dirs_CXX \
18617 predep_objects_CXX \
18618 postdep_objects_CXX \
18621 compiler_lib_search_path_CXX; do
18622 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18623 *[\\\\\\\`\\"\\\$]*)
18624 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
18627 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18632 # Double-quote double-evaled strings.
18633 for var in reload_cmds \
18634 old_postinstall_cmds \
18635 old_postuninstall_cmds \
18637 extract_expsyms_cmds \
18638 old_archive_from_new_cmds \
18639 old_archive_from_expsyms_cmds \
18641 archive_expsym_cmds \
18643 module_expsym_cmds \
18644 export_symbols_cmds \
18647 postuninstall_cmds \
18649 sys_lib_search_path_spec \
18650 sys_lib_dlsearch_path_spec \
18652 old_archive_cmds_CXX \
18653 old_archive_from_new_cmds_CXX \
18654 old_archive_from_expsyms_cmds_CXX \
18656 archive_expsym_cmds_CXX \
18658 module_expsym_cmds_CXX \
18659 export_symbols_cmds_CXX \
18660 prelink_cmds_CXX; do
18661 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18662 *[\\\\\\\`\\"\\\$]*)
18663 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
18666 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18671 ac_aux_dir='$ac_aux_dir'
18672 xsi_shell='$xsi_shell'
18673 lt_shell_append='$lt_shell_append'
18675 # See if we are running on zsh, and set the options which allow our
18676 # commands through without removal of \ escapes INIT.
18677 if test -n "\${ZSH_VERSION+set}" ; then
18678 setopt NO_GLOB_SUBST
18684 TIMESTAMP='$TIMESTAMP'
18692 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
18693 # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
18695 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
18696 # Capture the value of LINGUAS because we need it to compute CATALOGS.
18697 LINGUAS="${LINGUAS-%UNSET%}"
18703 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18705 # Handling of arguments.
18706 for ac_config_target
in $ac_config_targets
18708 case $ac_config_target in
18709 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
18710 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
18711 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
18712 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
18713 "default") CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
18714 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
18715 "po/Makefile.in") CONFIG_FILES
="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
18717 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18722 # If the user did not use the arguments to specify the items to instantiate,
18723 # then the envvar interface is used. Set only those that are not.
18724 # We use the long form for the default assignment because of an extremely
18725 # bizarre bug on SunOS 4.1.3.
18726 if $ac_need_defaults; then
18727 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
18728 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
18729 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
18732 # Have a temporary directory for convenience. Make it in the build tree
18733 # simply because there is no reason against having it here, and in addition,
18734 # creating and moving files from /tmp can sometimes cause problems.
18735 # Hook for its removal unless debugging.
18736 # Note that there is a small window in which the directory will not be cleaned:
18737 # after its creation but before its name has been assigned to `$tmp'.
18741 trap 'exit_status=$?
18742 : "${ac_tmp:=$tmp}"
18743 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18745 trap 'as_fn_exit 1' 1 2 13 15
18747 # Create a (secure) tmp directory for tmp files.
18750 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18754 tmp
=.
/conf$$
-$RANDOM
18755 (umask 077 && mkdir
"$tmp")
18756 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
18759 # Set up the scripts for CONFIG_FILES section.
18760 # No need to generate them if there are no CONFIG_FILES.
18761 # This happens for instance with `./config.status config.h'.
18762 if test -n "$CONFIG_FILES"; then
18765 ac_cr
=`echo X | tr X '\015'`
18766 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18767 # But we know of no other shell where ac_cr would be empty at this
18768 # point, so we can use a bashism as a fallback.
18769 if test "x$ac_cr" = x
; then
18770 eval ac_cr
=\$
\'\\r
\'
18772 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18773 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18776 ac_cs_awk_cr
=$ac_cr
18779 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18784 echo "cat >conf$$subs.awk <<_ACEOF" &&
18785 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18787 } >conf$$subs.sh ||
18788 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18789 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18791 for ac_last_try in false false false false false :; do
18792 . ./conf$$subs.sh ||
18793 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18795 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
18796 if test $ac_delim_n = $ac_delim_num; then
18798 elif $ac_last_try; then
18799 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18801 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18804 rm -f conf$$subs.sh
18806 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18807 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
18811 s/^/S["/; s
/!.
*/"]=/
18821 s/\(.\{148\}\)..*/\1/
18823 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
18828 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18835 s/\(.\{148\}\)..*/\1/
18837 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
18841 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18846 ' <conf$$subs.awk | sed '
18851 ' >>$CONFIG_STATUS || ac_write_fail=1
18852 rm -f conf$$subs.awk
18853 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18855 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
18856 for (key in S) S_is_set[key] = 1
18862 nfields = split(line, field, "@
")
18864 len = length(field[1])
18865 for (i = 2; i < nfields; i++) {
18867 keylen = length(key)
18868 if (S_is_set[key]) {
18870 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18871 len += length(value) + length(field[++i])
18882 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18883 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18884 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
18887 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
18888 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
18891 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18892 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
18893 # trailing colons and then remove the whole line if VPATH becomes empty
18894 # (actually we leave an empty line to preserve line numbers).
18895 if test "x
$srcdir" = x.; then
18896 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18914 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18915 fi # test -n "$CONFIG_FILES"
18917 # Set up the scripts for CONFIG_HEADERS section.
18918 # No need to generate them if there are no CONFIG_HEADERS.
18919 # This happens for instance with `./config.status Makefile'.
18920 if test -n "$CONFIG_HEADERS"; then
18921 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
18925 # Transform confdefs.h into an awk script `defines.awk', embedded as
18926 # here-document in config.status, that substitutes the proper values into
18927 # config.h.in to produce config.h.
18929 # Create a delimiter string that does not exist in confdefs.h, to ease
18930 # handling of long lines.
18932 for ac_last_try in false false :; do
18933 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
18934 if test -z "$ac_tt"; then
18936 elif $ac_last_try; then
18937 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
18939 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18943 # For the awk script, D is an array of macro values keyed by name,
18944 # likewise P contains macro parameters if any. Preserve backslash
18945 # newline sequences.
18947 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18949 s/.\{148\}/&'"$ac_delim"'/g
18952 s/^[ ]*#[ ]*define[ ][ ]*/ /
18959 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
18961 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
18965 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
18966 D["\
1"]=" \
3\\\\\\n
"\\/p
18968 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
18973 s/.\{148\}/&'"$ac_delim"'/g
18978 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
18981 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
18983 ' <confdefs.h | sed '
18984 s/'"$ac_delim"'/"\\\
18985 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18987 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18988 for (key in D) D_is_set[key] = 1
18991 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18993 split(line, arg, " ")
18994 if (arg[1] == "#") {
18998 defundef
= substr
(arg
[1], 2)
19001 split(mac1
, mac2
, "(") #)
19003 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
19004 if (D_is_set
[macro
]) {
19005 # Preserve the white space surrounding the "#".
19006 print prefix
"define", macro P
[macro
] D
[macro
]
19009 # Replace #undef with comments. This is necessary, for example,
19010 # in the case of _POSIX_SOURCE, which is predefined and required
19011 # on some systems where configure will not decide to define it.
19012 if (defundef
== "undef") {
19013 print
"/*", prefix defundef
, macro
, "*/"
19021 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19022 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
19023 fi # test -n "$CONFIG_HEADERS"
19026 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
19031 :[FHLC
]) ac_mode
=$ac_tag; continue;;
19033 case $ac_mode$ac_tag in
19035 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
19036 :[FH
]-) ac_tag
=-:-;;
19037 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
19054 -) ac_f
="$ac_tmp/stdin";;
19055 *) # Look for the file first in the build tree, then in the source tree
19056 # (if the path is not absolute). The absolute path cannot be DOS-style,
19057 # because $ac_f cannot contain `:'.
19061 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
19063 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19065 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19066 as_fn_append ac_file_inputs
" '$ac_f'"
19069 # Let's still pretend it is `configure' which instantiates (i.e., don't
19070 # use $as_me), people would be surprised to read:
19071 # /* config.h. Generated by config.status. */
19072 configure_input
='Generated from '`
19073 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19075 if test x
"$ac_file" != x-
; then
19076 configure_input
="$ac_file. $configure_input"
19077 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19078 $as_echo "$as_me: creating $ac_file" >&6;}
19080 # Neutralize special characters interpreted by sed in replacement strings.
19081 case $configure_input in #(
19082 *\
&* |
*\|
* |
*\\* )
19083 ac_sed_conf_input
=`$as_echo "$configure_input" |
19084 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19085 *) ac_sed_conf_input
=$configure_input;;
19089 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
19090 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
19095 ac_dir
=`$as_dirname -- "$ac_file" ||
19096 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19097 X"$ac_file" : 'X\(//\)[^/]' \| \
19098 X"$ac_file" : 'X\(//\)$' \| \
19099 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19100 $as_echo X"$ac_file" |
19101 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19105 /^X\(\/\/\)[^/].*/{
19118 as_dir
="$ac_dir"; as_fn_mkdir_p
19122 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
19124 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19125 # A ".." for each directory in $ac_dir_suffix.
19126 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19127 case $ac_top_builddir_sub in
19128 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
19129 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
19132 ac_abs_top_builddir
=$ac_pwd
19133 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
19134 # for backward compatibility:
19135 ac_top_builddir
=$ac_top_build_prefix
19138 .
) # We are building in place.
19140 ac_top_srcdir
=$ac_top_builddir_sub
19141 ac_abs_top_srcdir
=$ac_pwd ;;
19142 [\\/]* | ?
:[\\/]* ) # Absolute name.
19143 ac_srcdir
=$srcdir$ac_dir_suffix;
19144 ac_top_srcdir
=$srcdir
19145 ac_abs_top_srcdir
=$srcdir ;;
19146 *) # Relative name.
19147 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
19148 ac_top_srcdir
=$ac_top_build_prefix$srcdir
19149 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
19151 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
19161 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
19162 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
19164 ac_MKDIR_P
=$MKDIR_P
19166 [\\/$
]* | ?
:[\\/]* ) ;;
19167 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
19171 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19172 # If the template does not know about datarootdir, expand it.
19173 # FIXME: This hack should be removed a few years after 2.60.
19174 ac_datarootdir_hack
=; ac_datarootdir_seen
=
19185 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19186 *datarootdir
*) ac_datarootdir_seen
=yes;;
19187 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
19188 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19189 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19191 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19192 ac_datarootdir_hack='
19193 s&@datadir@&$datadir&g
19194 s&@docdir@&$docdir&g
19195 s&@infodir@&$infodir&g
19196 s&@localedir@&$localedir&g
19197 s&@mandir@&$mandir&g
19198 s&\\\${datarootdir}&$datarootdir&g' ;;
19202 # Neutralize VPATH when `$srcdir' = `.'.
19203 # Shell code in configure.ac might set extrasub.
19204 # FIXME: do we really want to maintain this feature?
19205 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19206 ac_sed_extra="$ac_vpsub
19209 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19211 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
19212 s|@configure_input@|
$ac_sed_conf_input|
;t t
19213 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
19214 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
19215 s
&@srcdir@
&$ac_srcdir&;t t
19216 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
19217 s
&@top_srcdir@
&$ac_top_srcdir&;t t
19218 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
19219 s
&@builddir@
&$ac_builddir&;t t
19220 s
&@abs_builddir@
&$ac_abs_builddir&;t t
19221 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
19222 s
&@INSTALL@
&$ac_INSTALL&;t t
19223 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
19224 $ac_datarootdir_hack
19226 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
19227 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
19229 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19230 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
19231 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19232 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
19233 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
19234 which seems to be undefined. Please make sure it is defined" >&5
19235 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
19236 which seems to be undefined. Please make sure it is defined" >&2;}
19238 rm -f "$ac_tmp/stdin"
19240 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19241 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19243 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19249 if test x"$ac_file" != x-; then
19251 $as_echo "/* $configure_input */" \
19252 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19253 } >"$ac_tmp/config.h" \
19254 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19255 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19256 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19257 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19260 mv "$ac_tmp/config.h" "$ac_file" \
19261 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19264 $as_echo "/* $configure_input */" \
19265 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19266 || as_fn_error $? "could not create -" "$LINENO" 5
19268 # Compute "$ac_file"'s index
in $config_headers.
19271 for _am_header
in $config_headers :; do
19272 case $_am_header in
19273 $_am_arg |
$_am_arg:* )
19276 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
19279 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
19280 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19281 X"$_am_arg" : 'X\(//\)[^/]' \| \
19282 X"$_am_arg" : 'X\(//\)$' \| \
19283 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
19284 $as_echo X"$_am_arg" |
19285 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19289 /^X\(\/\/\)[^/].*/{
19301 s/.*/./; q'`/stamp-h
$_am_stamp_count
19304 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19305 $as_echo "$as_me: executing $ac_file commands" >&6;}
19310 case $ac_file$ac_mode in
19311 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
19312 # Older Autoconf quotes --file arguments for eval, but not when files
19313 # are listed without --file. Let's play safe and only enable the eval
19314 # if we detect the quoting.
19315 case $CONFIG_FILES in
19316 *\'*) eval set x
"$CONFIG_FILES" ;;
19317 *) set x
$CONFIG_FILES ;;
19322 # Strip MF so we end up with the name of the file.
19323 mf
=`echo "$mf" | sed -e 's/:.*$//'`
19324 # Check whether this is an Automake generated Makefile or not.
19325 # We used to match only the files named 'Makefile.in', but
19326 # some people rename them; so instead we look at the file content.
19327 # Grep'ing the first line is not enough: some people post-process
19328 # each Makefile.in and add a new line on top of each file to say so.
19329 # Grep'ing the whole file is not good either: AIX grep has a line
19330 # limit of 2048, but all sed's we know have understand at least 4000.
19331 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
19332 dirpart
=`$as_dirname -- "$mf" ||
19333 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19334 X"$mf" : 'X\(//\)[^/]' \| \
19335 X"$mf" : 'X\(//\)$' \| \
19336 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
19338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19342 /^X\(\/\/\)[^/].*/{
19358 # Extract the definition of DEPDIR, am__include, and am__quote
19359 # from the Makefile without running 'make'.
19360 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
19361 test -z "$DEPDIR" && continue
19362 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
19363 test -z "$am__include" && continue
19364 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
19365 # Find all dependency output files, they are included files with
19366 # $(DEPDIR) in their names. We invoke sed twice because it is the
19367 # simplest approach to changing $(DEPDIR) to its actual value in the
19369 for file in `sed -n "
19370 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
19371 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
19372 # Make sure the directory exists.
19373 test -f "$dirpart/$file" && continue
19374 fdir
=`$as_dirname -- "$file" ||
19375 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19376 X"$file" : 'X\(//\)[^/]' \| \
19377 X"$file" : 'X\(//\)$' \| \
19378 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
19379 $as_echo X"$file" |
19380 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19384 /^X\(\/\/\)[^/].*/{
19397 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
19398 # echo "creating $dirpart/$file"
19399 echo '# dummy' > "$dirpart/$file"
19406 # See if we are running on zsh, and set the options which allow our
19407 # commands through without removal of \ escapes.
19408 if test -n "${ZSH_VERSION+set}" ; then
19409 setopt NO_GLOB_SUBST
19412 cfgfile
="${ofile}T"
19413 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
19416 cat <<_LT_EOF >> "$cfgfile"
19419 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
19420 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
19421 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19422 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
19424 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
19425 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
19426 # Written by Gordon Matzigkeit, 1996
19428 # This file is part of GNU Libtool.
19430 # GNU Libtool is free software; you can redistribute it and/or
19431 # modify it under the terms of the GNU General Public License as
19432 # published by the Free Software Foundation; either version 2 of
19433 # the License, or (at your option) any later version.
19435 # As a special exception to the GNU General Public License,
19436 # if you distribute this file as part of a program or library that
19437 # is built using GNU Libtool, you may include this file under the
19438 # same distribution terms that you use for the rest of that program.
19440 # GNU Libtool is distributed in the hope that it will be useful,
19441 # but WITHOUT ANY WARRANTY; without even the implied warranty of
19442 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19443 # GNU General Public License for more details.
19445 # You should have received a copy of the GNU General Public License
19446 # along with GNU Libtool; see the file COPYING. If not, a copy
19447 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
19448 # obtained by writing to the Free Software Foundation, Inc.,
19449 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
19452 # The names of the tagged configurations supported by this script.
19453 available_tags="CXX "
19455 # ### BEGIN LIBTOOL CONFIG
19457 # Which release of libtool.m4 was used?
19458 macro_version=$macro_version
19459 macro_revision=$macro_revision
19461 # Whether or not to build shared libraries.
19462 build_libtool_libs=$enable_shared
19464 # Whether or not to build static libraries.
19465 build_old_libs=$enable_static
19467 # What type of objects to build.
19470 # Whether or not to optimize for fast installation.
19471 fast_install=$enable_fast_install
19473 # Shell to use when invoking shell scripts.
19476 # An echo program that protects backslashes.
19480 host_alias=$host_alias
19484 # The build system.
19485 build_alias=$build_alias
19489 # A sed program that does not truncate output.
19492 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
19493 Xsed="\$SED -e 1s/^X//"
19495 # A grep program that handles long lines.
19501 # A literal string matcher.
19504 # A BSD- or MS-compatible name lister.
19507 # Whether we need soft or hard links.
19510 # What is the maximum length of a command?
19511 max_cmd_len=$max_cmd_len
19513 # Object file suffix (normally "o").
19516 # Executable file suffix (normally "").
19519 # whether the shell understands "unset".
19522 # turn spaces into newlines.
19525 # turn newlines into spaces.
19528 # An object symbol dumper.
19529 OBJDUMP=$lt_OBJDUMP
19531 # Method to check whether dependent libraries are shared objects.
19532 deplibs_check_method=$lt_deplibs_check_method
19534 # Command to use when deplibs_check_method == "file_magic".
19535 file_magic_cmd=$lt_file_magic_cmd
19539 AR_FLAGS=$lt_AR_FLAGS
19541 # A symbol stripping program.
19544 # Commands used to install an old-style archive.
19546 old_postinstall_cmds=$lt_old_postinstall_cmds
19547 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19549 # Whether to use a lock for old archive extraction.
19550 lock_old_archive_extraction=$lock_old_archive_extraction
19555 # LTCC compiler flags.
19556 LTCFLAGS=$lt_CFLAGS
19558 # Take the output of nm and produce a listing of raw symbols and C names.
19559 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19561 # Transform the output of nm in a proper C declaration.
19562 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19564 # Transform the output of nm in a C name address pair.
19565 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19567 # Transform the output of nm in a C name address pair when lib prefix is needed.
19568 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
19570 # The name of the directory that contains temporary libtool files.
19573 # Used to examine libraries when file_magic_cmd begins with "file".
19574 MAGIC_CMD=$MAGIC_CMD
19576 # Must we lock files when doing compilation?
19577 need_locks=$lt_need_locks
19579 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
19580 DSYMUTIL=$lt_DSYMUTIL
19582 # Tool to change global to local symbols on Mac OS X.
19585 # Tool to manipulate fat objects and archives on Mac OS X.
19588 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
19591 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
19592 OTOOL64=$lt_OTOOL64
19594 # Old archive suffix (normally "a").
19597 # Shared library suffix (normally ".so").
19598 shrext_cmds=$lt_shrext_cmds
19600 # The commands to extract the exported symbol list from a shared archive.
19601 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19603 # Variables whose values should be saved in libtool wrapper scripts and
19604 # restored at link time.
19605 variables_saved_for_relink=$lt_variables_saved_for_relink
19607 # Do we need the "lib" prefix for modules?
19608 need_lib_prefix=$need_lib_prefix
19610 # Do we need a version for libraries?
19611 need_version=$need_version
19613 # Library versioning type.
19614 version_type=$version_type
19616 # Shared library runtime path variable.
19617 runpath_var=$runpath_var
19619 # Shared library path variable.
19620 shlibpath_var=$shlibpath_var
19622 # Is shlibpath searched before the hard-coded library search path?
19623 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19625 # Format of library name prefix.
19626 libname_spec=$lt_libname_spec
19628 # List of archive names. First name is the real one, the rest are links.
19629 # The last name is the one that the linker finds with -lNAME
19630 library_names_spec=$lt_library_names_spec
19632 # The coded name of the library, if different from the real name.
19633 soname_spec=$lt_soname_spec
19635 # Permission mode override for installation of shared libraries.
19636 install_override_mode=$lt_install_override_mode
19638 # Command to use after installation of a shared archive.
19639 postinstall_cmds=$lt_postinstall_cmds
19641 # Command to use after uninstallation of a shared archive.
19642 postuninstall_cmds=$lt_postuninstall_cmds
19644 # Commands used to finish a libtool library installation in a directory.
19645 finish_cmds=$lt_finish_cmds
19647 # As "finish_cmds", except a single script fragment to be evaled but
19649 finish_eval=$lt_finish_eval
19651 # Whether we should hardcode library paths into libraries.
19652 hardcode_into_libs=$hardcode_into_libs
19654 # Compile-time system search path for libraries.
19655 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19657 # Run-time system search path for libraries.
19658 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19660 # Whether dlopen is supported.
19661 dlopen_support=$enable_dlopen
19663 # Whether dlopen of programs is supported.
19664 dlopen_self=$enable_dlopen_self
19666 # Whether dlopen of statically linked programs is supported.
19667 dlopen_self_static=$enable_dlopen_self_static
19669 # Commands to strip libraries.
19670 old_striplib=$lt_old_striplib
19671 striplib=$lt_striplib
19674 # The linker used to build libraries.
19677 # How to create reloadable object files.
19678 reload_flag=$lt_reload_flag
19679 reload_cmds=$lt_reload_cmds
19681 # Commands used to build an old-style archive.
19682 old_archive_cmds=$lt_old_archive_cmds
19684 # A language specific compiler.
19687 # Is the compiler the GNU compiler?
19690 # Compiler flag to turn off builtin functions.
19691 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
19693 # How to pass a linker flag through the compiler.
19694 wl=$lt_lt_prog_compiler_wl
19696 # Additional compiler flags for building library objects.
19697 pic_flag=$lt_lt_prog_compiler_pic
19699 # Compiler flag to prevent dynamic linking.
19700 link_static_flag=$lt_lt_prog_compiler_static
19702 # Does compiler simultaneously support -c and -o options?
19703 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
19705 # Whether or not to add -lc for building shared libraries.
19706 build_libtool_need_lc=$archive_cmds_need_lc
19708 # Whether or not to disallow shared libs when runtime libs are static.
19709 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
19711 # Compiler flag to allow reflexive dlopens.
19712 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
19714 # Compiler flag to generate shared objects directly from archives.
19715 whole_archive_flag_spec=$lt_whole_archive_flag_spec
19717 # Whether the compiler copes with passing no objects directly.
19718 compiler_needs_object=$lt_compiler_needs_object
19720 # Create an old-style archive from a shared archive.
19721 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
19723 # Create a temporary old-style archive to link instead of a shared archive.
19724 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
19726 # Commands used to build a shared archive.
19727 archive_cmds=$lt_archive_cmds
19728 archive_expsym_cmds=$lt_archive_expsym_cmds
19730 # Commands used to build a loadable module if different from building
19731 # a shared archive.
19732 module_cmds=$lt_module_cmds
19733 module_expsym_cmds=$lt_module_expsym_cmds
19735 # Whether we are building with GNU ld or not.
19736 with_gnu_ld=$lt_with_gnu_ld
19738 # Flag that allows shared libraries with undefined symbols to be built.
19739 allow_undefined_flag=$lt_allow_undefined_flag
19741 # Flag that enforces no undefined symbols.
19742 no_undefined_flag=$lt_no_undefined_flag
19744 # Flag to hardcode \$libdir into a binary during linking.
19745 # This must work even if \$libdir does not exist
19746 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
19748 # If ld is used when linking, flag to hardcode \$libdir into a binary
19749 # during linking. This must work even if \$libdir does not exist.
19750 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
19752 # Whether we need a single "-rpath" flag with a separated argument.
19753 hardcode_libdir_separator=$lt_hardcode_libdir_separator
19755 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19756 # DIR into the resulting binary.
19757 hardcode_direct=$hardcode_direct
19759 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19760 # DIR into the resulting binary and the resulting library dependency is
19761 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
19762 # library is relocated.
19763 hardcode_direct_absolute=$hardcode_direct_absolute
19765 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
19766 # into the resulting binary.
19767 hardcode_minus_L=$hardcode_minus_L
19769 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19770 # into the resulting binary.
19771 hardcode_shlibpath_var=$hardcode_shlibpath_var
19773 # Set to "yes" if building a shared library automatically hardcodes DIR
19774 # into the library and all subsequent libraries and executables linked
19776 hardcode_automatic=$hardcode_automatic
19778 # Set to yes if linker adds runtime paths of dependent libraries
19779 # to runtime path list.
19780 inherit_rpath=$inherit_rpath
19782 # Whether libtool must link a program against all its dependency libraries.
19783 link_all_deplibs=$link_all_deplibs
19785 # Fix the shell variable \$srcfile for the compiler.
19786 fix_srcfile_path=$lt_fix_srcfile_path
19788 # Set to "yes" if exported symbols are required.
19789 always_export_symbols=$always_export_symbols
19791 # The commands to list exported symbols.
19792 export_symbols_cmds=$lt_export_symbols_cmds
19794 # Symbols that should not be listed in the preloaded symbols.
19795 exclude_expsyms=$lt_exclude_expsyms
19797 # Symbols that must always be exported.
19798 include_expsyms=$lt_include_expsyms
19800 # Commands necessary for linking programs (against libraries) with templates.
19801 prelink_cmds=$lt_prelink_cmds
19803 # Specify filename containing input files.
19804 file_list_spec=$lt_file_list_spec
19806 # How to hardcode a shared library path into an executable.
19807 hardcode_action=$hardcode_action
19809 # The directories searched by this compiler when creating a shared library.
19810 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
19812 # Dependencies to place before and after the objects being linked to
19813 # create a shared library.
19814 predep_objects=$lt_predep_objects
19815 postdep_objects=$lt_postdep_objects
19816 predeps=$lt_predeps
19817 postdeps=$lt_postdeps
19819 # The library search path used internally by the compiler when linking
19820 # a shared library.
19821 compiler_lib_search_path=$lt_compiler_lib_search_path
19823 # ### END LIBTOOL CONFIG
19829 cat <<\_LT_EOF
>> "$cfgfile"
19830 # AIX sometimes has problems with the GCC collect2 program. For some
19831 # reason, if we set the COLLECT_NAMES environment variable, the problems
19832 # vanish in a puff of smoke.
19833 if test "X${COLLECT_NAMES+set}" != Xset
; then
19835 export COLLECT_NAMES
19842 ltmain
="$ac_aux_dir/ltmain.sh"
19845 # We use sed instead of cat because bash on DJGPP gets confused if
19846 # if finds mixed CR/LF and LF-only lines. Since sed operates in
19847 # text mode, it properly converts lines to CR/LF. This bash problem
19848 # is reportedly fixed, but why not run on old versions too?
19849 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
19850 ||
(rm -f "$cfgfile"; exit 1)
19854 cat << \_LT_EOF
>> "$cfgfile"
19856 # func_dirname file append nondir_replacement
19857 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
19858 # otherwise set result to NONDIR_REPLACEMENT.
19862 */*) func_dirname_result
="${1%/*}${2}" ;;
19863 * ) func_dirname_result
="${3}" ;;
19867 # func_basename file
19870 func_basename_result
="${1##*/}"
19873 # func_dirname_and_basename file append nondir_replacement
19874 # perform func_basename and func_dirname in a single function
19876 # dirname: Compute the dirname of FILE. If nonempty,
19877 # add APPEND to the result, otherwise set result
19878 # to NONDIR_REPLACEMENT.
19879 # value returned in "$func_dirname_result"
19880 # basename: Compute filename of FILE.
19881 # value retuned in "$func_basename_result"
19882 # Implementation must be kept synchronized with func_dirname
19883 # and func_basename. For efficiency, we do not delegate to
19884 # those functions but instead duplicate the functionality here.
19885 func_dirname_and_basename
()
19888 */*) func_dirname_result
="${1%/*}${2}" ;;
19889 * ) func_dirname_result
="${3}" ;;
19891 func_basename_result
="${1##*/}"
19894 # func_stripname prefix suffix name
19895 # strip PREFIX and SUFFIX off of NAME.
19896 # PREFIX and SUFFIX must not contain globbing or regex special
19897 # characters, hashes, percent signs, but SUFFIX may contain a leading
19898 # dot (in which case that matches only a dot).
19901 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
19902 # positional parameters, so assign one to ordinary parameter first.
19903 func_stripname_result
=${3}
19904 func_stripname_result
=${func_stripname_result#"${1}"}
19905 func_stripname_result
=${func_stripname_result%"${2}"}
19911 func_opt_split_opt
=${1%%=*}
19912 func_opt_split_arg
=${1#*=}
19919 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
19920 *) func_lo2o_result
=${1} ;;
19924 # func_xform libobj-or-source
19927 func_xform_result
=${1%.*}.lo
19930 # func_arith arithmetic-term...
19933 func_arith_result
=$
(( $
* ))
19937 # STRING may not start with a hyphen.
19940 func_len_result
=${#1}
19945 *) # Bourne compatible functions.
19946 cat << \_LT_EOF
>> "$cfgfile"
19948 # func_dirname file append nondir_replacement
19949 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
19950 # otherwise set result to NONDIR_REPLACEMENT.
19953 # Extract subdirectory from the argument.
19954 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
19955 if test "X$func_dirname_result" = "X${1}"; then
19956 func_dirname_result
="${3}"
19958 func_dirname_result
="$func_dirname_result${2}"
19962 # func_basename file
19965 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
19969 # func_stripname prefix suffix name
19970 # strip PREFIX and SUFFIX off of NAME.
19971 # PREFIX and SUFFIX must not contain globbing or regex special
19972 # characters, hashes, percent signs, but SUFFIX may contain a leading
19973 # dot (in which case that matches only a dot).
19974 # func_strip_suffix prefix name
19978 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
19979 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
19984 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
19985 my_sed_long_arg
='1s/^-[^=]*=//'
19990 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
19991 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
19997 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
20000 # func_xform libobj-or-source
20003 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
20006 # func_arith arithmetic-term...
20009 func_arith_result
=`expr "$@"`
20013 # STRING may not start with a hyphen.
20016 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
20022 case $lt_shell_append in
20024 cat << \_LT_EOF
>> "$cfgfile"
20026 # func_append var value
20027 # Append VALUE to the end of shell variable VAR.
20035 cat << \_LT_EOF
>> "$cfgfile"
20037 # func_append var value
20038 # Append VALUE to the end of shell variable VAR.
20049 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
20050 ||
(rm -f "$cfgfile"; exit 1)
20052 mv -f "$cfgfile" "$ofile" ||
20053 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
20057 cat <<_LT_EOF >> "$ofile"
20059 # ### BEGIN LIBTOOL TAG CONFIG: CXX
20061 # The linker used to build libraries.
20064 # How to create reloadable object files.
20065 reload_flag=$lt_reload_flag_CXX
20066 reload_cmds=$lt_reload_cmds_CXX
20068 # Commands used to build an old-style archive.
20069 old_archive_cmds=$lt_old_archive_cmds_CXX
20071 # A language specific compiler.
20072 CC=$lt_compiler_CXX
20074 # Is the compiler the GNU compiler?
20077 # Compiler flag to turn off builtin functions.
20078 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
20080 # How to pass a linker flag through the compiler.
20081 wl=$lt_lt_prog_compiler_wl_CXX
20083 # Additional compiler flags for building library objects.
20084 pic_flag=$lt_lt_prog_compiler_pic_CXX
20086 # Compiler flag to prevent dynamic linking.
20087 link_static_flag=$lt_lt_prog_compiler_static_CXX
20089 # Does compiler simultaneously support -c and -o options?
20090 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
20092 # Whether or not to add -lc for building shared libraries.
20093 build_libtool_need_lc=$archive_cmds_need_lc_CXX
20095 # Whether or not to disallow shared libs when runtime libs are static.
20096 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
20098 # Compiler flag to allow reflexive dlopens.
20099 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
20101 # Compiler flag to generate shared objects directly from archives.
20102 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
20104 # Whether the compiler copes with passing no objects directly.
20105 compiler_needs_object=$lt_compiler_needs_object_CXX
20107 # Create an old-style archive from a shared archive.
20108 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
20110 # Create a temporary old-style archive to link instead of a shared archive.
20111 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
20113 # Commands used to build a shared archive.
20114 archive_cmds=$lt_archive_cmds_CXX
20115 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
20117 # Commands used to build a loadable module if different from building
20118 # a shared archive.
20119 module_cmds=$lt_module_cmds_CXX
20120 module_expsym_cmds=$lt_module_expsym_cmds_CXX
20122 # Whether we are building with GNU ld or not.
20123 with_gnu_ld=$lt_with_gnu_ld_CXX
20125 # Flag that allows shared libraries with undefined symbols to be built.
20126 allow_undefined_flag=$lt_allow_undefined_flag_CXX
20128 # Flag that enforces no undefined symbols.
20129 no_undefined_flag=$lt_no_undefined_flag_CXX
20131 # Flag to hardcode \$libdir into a binary during linking.
20132 # This must work even if \$libdir does not exist
20133 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
20135 # If ld is used when linking, flag to hardcode \$libdir into a binary
20136 # during linking. This must work even if \$libdir does not exist.
20137 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
20139 # Whether we need a single "-rpath" flag with a separated argument.
20140 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
20142 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
20143 # DIR into the resulting binary.
20144 hardcode_direct=$hardcode_direct_CXX
20146 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
20147 # DIR into the resulting binary and the resulting library dependency is
20148 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
20149 # library is relocated.
20150 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
20152 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
20153 # into the resulting binary.
20154 hardcode_minus_L=$hardcode_minus_L_CXX
20156 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
20157 # into the resulting binary.
20158 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
20160 # Set to "yes" if building a shared library automatically hardcodes DIR
20161 # into the library and all subsequent libraries and executables linked
20163 hardcode_automatic=$hardcode_automatic_CXX
20165 # Set to yes if linker adds runtime paths of dependent libraries
20166 # to runtime path list.
20167 inherit_rpath=$inherit_rpath_CXX
20169 # Whether libtool must link a program against all its dependency libraries.
20170 link_all_deplibs=$link_all_deplibs_CXX
20172 # Fix the shell variable \$srcfile for the compiler.
20173 fix_srcfile_path=$lt_fix_srcfile_path_CXX
20175 # Set to "yes" if exported symbols are required.
20176 always_export_symbols=$always_export_symbols_CXX
20178 # The commands to list exported symbols.
20179 export_symbols_cmds=$lt_export_symbols_cmds_CXX
20181 # Symbols that should not be listed in the preloaded symbols.
20182 exclude_expsyms=$lt_exclude_expsyms_CXX
20184 # Symbols that must always be exported.
20185 include_expsyms=$lt_include_expsyms_CXX
20187 # Commands necessary for linking programs (against libraries) with templates.
20188 prelink_cmds=$lt_prelink_cmds_CXX
20190 # Specify filename containing input files.
20191 file_list_spec=$lt_file_list_spec_CXX
20193 # How to hardcode a shared library path into an executable.
20194 hardcode_action=$hardcode_action_CXX
20196 # The directories searched by this compiler when creating a shared library.
20197 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
20199 # Dependencies to place before and after the objects being linked to
20200 # create a shared library.
20201 predep_objects=$lt_predep_objects_CXX
20202 postdep_objects=$lt_postdep_objects_CXX
20203 predeps=$lt_predeps_CXX
20204 postdeps=$lt_postdeps_CXX
20206 # The library search path used internally by the compiler when linking
20207 # a shared library.
20208 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
20210 # ### END LIBTOOL TAG CONFIG: CXX
20215 for ac_file
in $CONFIG_FILES; do
20216 # Support "outfile[:infile[:infile...]]"
20218 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
20220 # PO directories have a Makefile.in generated from Makefile.in.in.
20221 case "$ac_file" in */Makefile.
in)
20222 # Adjust a relative srcdir.
20223 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
20224 ac_dir_suffix
=/`echo "$ac_dir"|sed 's%^\./%%'`
20225 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
20226 # In autoconf-2.13 it is called $ac_given_srcdir.
20227 # In autoconf-2.50 it is called $srcdir.
20228 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
20229 case "$ac_given_srcdir" in
20230 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
20231 /*) top_srcdir
="$ac_given_srcdir" ;;
20232 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
20234 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
20235 rm -f "$ac_dir/POTFILES"
20236 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" ||
echo "creating $ac_dir/POTFILES"
20237 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" |
sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," |
sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
20238 POMAKEFILEDEPS
="POTFILES.in"
20239 # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
20240 # on $ac_dir but don't depend on user-specified configuration
20242 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
20243 # The LINGUAS file contains the set of available languages.
20244 if test -n "$OBSOLETE_ALL_LINGUAS"; then
20245 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.ac is obsolete" ||
echo "setting ALL_LINGUAS in configure.ac is obsolete"
20247 ALL_LINGUAS_
=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
20248 # Hide the ALL_LINGUAS assigment from automake.
20249 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
20250 POMAKEFILEDEPS
="$POMAKEFILEDEPS LINGUAS"
20252 # The set of available languages was given in configure.ac.
20253 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
20255 case "$ac_given_srcdir" in
20257 *) srcdirpre
='$(srcdir)/' ;;
20263 for lang
in $ALL_LINGUAS; do
20264 POFILES
="$POFILES $srcdirpre$lang.po"
20265 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
20266 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
20267 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
20269 # CATALOGS depends on both $ac_dir and the user's LINGUAS
20270 # environment variable.
20272 if test -n "$ALL_LINGUAS"; then
20273 for presentlang
in $ALL_LINGUAS; do
20275 if test "%UNSET%" != "$LINGUAS"; then
20276 desiredlanguages
="$LINGUAS"
20278 desiredlanguages
="$ALL_LINGUAS"
20280 for desiredlang
in $desiredlanguages; do
20281 # Use the presentlang catalog if desiredlang is
20282 # a. equal to presentlang, or
20283 # b. a variant of presentlang (because in this case,
20284 # presentlang can be used as a fallback for messages
20285 # which are not translated in the desiredlang catalog).
20286 case "$desiredlang" in
20287 "$presentlang"*) useit
=yes;;
20290 if test $useit = yes; then
20291 INST_LINGUAS
="$INST_LINGUAS $presentlang"
20296 if test -n "$INST_LINGUAS"; then
20297 for lang
in $INST_LINGUAS; do
20298 CATALOGS
="$CATALOGS $lang.gmo"
20301 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
20302 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"
20303 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
20304 if test -f "$f"; then
20306 *.orig |
*.bak |
*~
) ;;
20307 *) cat "$f" >> "$ac_dir/Makefile" ;;
20318 *) srcdirpre
='$(srcdir)/' ;;
20322 for lang
in dummy
$OBSOLETE_ALL_LINGUAS; do
20323 if test $lang != dummy
; then
20324 POFILES
="$POFILES $srcdirpre$lang.po"
20325 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
20328 sed -e '/^SRC-POTFILES =/r po/SRC-POTFILES' \
20329 -e '/^BLD-POTFILES =/r po/BLD-POTFILES' \
20330 -e "s,@POFILES@,$POFILES," \
20331 -e "s,@GMOFILES@,$GMOFILES," \
20332 po
/Makefile.
in > po
/Makefile
;;
20340 ac_clean_files
=$ac_clean_files_save
20342 test $ac_write_fail = 0 ||
20343 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
20346 # configure is writing to config.log, and then calls config.status.
20347 # config.status does its own redirection, appending to config.log.
20348 # Unfortunately, on DOS this fails, as config.log is still kept open
20349 # by configure, so config.status won't be able to write to it; its
20350 # output is simply discarded. So we exec the FD to /dev/null,
20351 # effectively closing config.log, so it can be properly (re)opened and
20352 # appended to by config.status. When coming back to configure, we
20353 # need to make the FD available again.
20354 if test "$no_create" != yes; then
20356 ac_config_status_args
=
20357 test "$silent" = yes &&
20358 ac_config_status_args
="$ac_config_status_args --quiet"
20360 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
20362 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20363 # would make configure fail if this is the last instruction.
20364 $ac_cs_success || as_fn_exit
1
20366 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
20367 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20368 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
20373 touch config.status.tmp
20374 if touch --reference=config.status config.status.tmp
> /dev
/null
2>&1; then
20375 sed '/as_fn_exit 0/i \
20376 sed -e \"s/^\t\\\(\\\$(AM_V_CCLD)\\\)/\t+ \\\1/\" Makefile > Makefile.tmp \
20377 touch --reference=Makefile Makefile.tmp \
20378 mv Makefile.tmp Makefile \
20379 ' config.status
> config.status.tmp
20380 touch --reference=config.status config.status.tmp
20381 mv config.status.tmp config.status
20382 chmod +x config.status
20383 sed -e "s/^\t\(\$(AM_V_CCLD)\)/\t+ \1/" Makefile
> Makefile.tmp
20384 touch --reference=Makefile Makefile.tmp
20385 mv Makefile.tmp Makefile
20387 rm -f config.status.tmp