2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for ld 2.43.1.
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.43.1'
591 PACKAGE_STRING
='ld 2.43.1'
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>
634 ac_subst_vars
='am__EXEEXT_FALSE
647 elf_plt_unwind_list_options
648 elf_shlib_list_options
686 WARN_CFLAGS_FOR_BUILD
693 enable_initfini_array
696 TARGET_SYSTEM_ROOT_DEFINE
699 ENABLE_BFD_64_BIT_FALSE
700 ENABLE_BFD_64_BIT_TRUE
749 MAINTAINER_MODE_FALSE
763 INSTALL_STRIP_PROGRAM
817 program_transform_name
830 enable_option_checking
832 enable_maintainer_mode
833 enable_dependency_tracking
849 enable_compressed_debug_sections
850 enable_default_compressed_debug_sections_algorithm
857 enable_warn_execstack
858 enable_error_execstack
859 enable_warn_rwx_segments
860 enable_error_rwx_segments
861 enable_default_execstack
862 enable_error_handling_script
863 enable_default_hash_style
864 enable_initfini_array
868 enable_build_warnings
878 ac_precious_vars
='build_alias
902 # Initialize some variables set by options.
904 ac_init_version
=false
905 ac_unrecognized_opts
=
907 # The variables have the same names as the options, with
908 # dashes changed to underlines.
916 program_transform_name
=s
,x
,x
,
924 # Installation directory options.
925 # These are left unexpanded so users can "make install exec_prefix=/foo"
926 # and all the variables that are supposed to be based on exec_prefix
927 # by default will actually change.
928 # Use braces instead of parens because sh, perl, etc. also accept them.
929 # (The list follows the same order as the GNU Coding Standards.)
930 bindir
='${exec_prefix}/bin'
931 sbindir
='${exec_prefix}/sbin'
932 libexecdir
='${exec_prefix}/libexec'
933 datarootdir
='${prefix}/share'
934 datadir
='${datarootdir}'
935 sysconfdir
='${prefix}/etc'
936 sharedstatedir
='${prefix}/com'
937 localstatedir
='${prefix}/var'
938 includedir
='${prefix}/include'
939 oldincludedir
='/usr/include'
940 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
941 infodir
='${datarootdir}/info'
946 libdir
='${exec_prefix}/lib'
947 localedir
='${datarootdir}/locale'
948 mandir
='${datarootdir}/man'
954 # If the previous option needs an argument, assign it.
955 if test -n "$ac_prev"; then
956 eval $ac_prev=\
$ac_option
962 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
967 # Accept the important Cygnus configure options, so we can diagnose typos.
969 case $ac_dashdash$ac_option in
973 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
975 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
978 -build |
--build |
--buil |
--bui |
--bu)
979 ac_prev
=build_alias
;;
980 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
981 build_alias
=$ac_optarg ;;
983 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
984 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
985 ac_prev
=cache_file
;;
986 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
987 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
988 cache_file
=$ac_optarg ;;
991 cache_file
=config.cache
;;
993 -datadir |
--datadir |
--datadi |
--datad)
995 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
996 datadir
=$ac_optarg ;;
998 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
999 |
--dataroo |
--dataro |
--datar)
1000 ac_prev
=datarootdir
;;
1001 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1002 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1003 datarootdir
=$ac_optarg ;;
1005 -disable-* |
--disable-*)
1006 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1007 # Reject names that are not valid shell variable names.
1008 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1009 as_fn_error $?
"invalid feature name: $ac_useropt"
1010 ac_useropt_orig
=$ac_useropt
1011 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1012 case $ac_user_opts in
1014 "enable_
$ac_useropt"
1016 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1017 ac_unrecognized_sep
=', ';;
1019 eval enable_
$ac_useropt=no
;;
1021 -docdir |
--docdir |
--docdi |
--doc |
--do)
1023 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1024 docdir
=$ac_optarg ;;
1026 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1028 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1029 dvidir
=$ac_optarg ;;
1031 -enable-* |
--enable-*)
1032 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1033 # Reject names that are not valid shell variable names.
1034 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1035 as_fn_error $?
"invalid feature name: $ac_useropt"
1036 ac_useropt_orig
=$ac_useropt
1037 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1038 case $ac_user_opts in
1040 "enable_
$ac_useropt"
1042 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1043 ac_unrecognized_sep
=', ';;
1045 eval enable_
$ac_useropt=\
$ac_optarg ;;
1047 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1048 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1049 |
--exec |
--exe |
--ex)
1050 ac_prev
=exec_prefix
;;
1051 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1052 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1053 |
--exec=* |
--exe=* |
--ex=*)
1054 exec_prefix
=$ac_optarg ;;
1056 -gas |
--gas |
--ga |
--g)
1057 # Obsolete; use --with-gas.
1060 -help |
--help |
--hel |
--he |
-h)
1061 ac_init_help
=long
;;
1062 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1063 ac_init_help
=recursive
;;
1064 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1065 ac_init_help
=short
;;
1067 -host |
--host |
--hos |
--ho)
1068 ac_prev
=host_alias
;;
1069 -host=* |
--host=* |
--hos=* |
--ho=*)
1070 host_alias
=$ac_optarg ;;
1072 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1074 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1076 htmldir
=$ac_optarg ;;
1078 -includedir |
--includedir |
--includedi |
--included |
--include \
1079 |
--includ |
--inclu |
--incl |
--inc)
1080 ac_prev
=includedir
;;
1081 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1082 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1083 includedir
=$ac_optarg ;;
1085 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1087 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1088 infodir
=$ac_optarg ;;
1090 -libdir |
--libdir |
--libdi |
--libd)
1092 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1093 libdir
=$ac_optarg ;;
1095 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1096 |
--libexe |
--libex |
--libe)
1097 ac_prev
=libexecdir
;;
1098 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1099 |
--libexe=* |
--libex=* |
--libe=*)
1100 libexecdir
=$ac_optarg ;;
1102 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1103 ac_prev
=localedir
;;
1104 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1105 localedir
=$ac_optarg ;;
1107 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1108 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1109 ac_prev
=localstatedir
;;
1110 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1111 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1112 localstatedir
=$ac_optarg ;;
1114 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1116 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1117 mandir
=$ac_optarg ;;
1119 -nfp |
--nfp |
--nf)
1120 # Obsolete; use --without-fp.
1123 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1124 |
--no-cr |
--no-c |
-n)
1127 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1128 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1131 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1132 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1133 |
--oldin |
--oldi |
--old |
--ol |
--o)
1134 ac_prev
=oldincludedir
;;
1135 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1136 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1137 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1138 oldincludedir
=$ac_optarg ;;
1140 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1142 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1143 prefix
=$ac_optarg ;;
1145 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1146 |
--program-pre |
--program-pr |
--program-p)
1147 ac_prev
=program_prefix
;;
1148 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1149 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1150 program_prefix
=$ac_optarg ;;
1152 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1153 |
--program-suf |
--program-su |
--program-s)
1154 ac_prev
=program_suffix
;;
1155 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1156 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1157 program_suffix
=$ac_optarg ;;
1159 -program-transform-name |
--program-transform-name \
1160 |
--program-transform-nam |
--program-transform-na \
1161 |
--program-transform-n |
--program-transform- \
1162 |
--program-transform |
--program-transfor \
1163 |
--program-transfo |
--program-transf \
1164 |
--program-trans |
--program-tran \
1165 |
--progr-tra |
--program-tr |
--program-t)
1166 ac_prev
=program_transform_name
;;
1167 -program-transform-name=* |
--program-transform-name=* \
1168 |
--program-transform-nam=* |
--program-transform-na=* \
1169 |
--program-transform-n=* |
--program-transform-=* \
1170 |
--program-transform=* |
--program-transfor=* \
1171 |
--program-transfo=* |
--program-transf=* \
1172 |
--program-trans=* |
--program-tran=* \
1173 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1174 program_transform_name
=$ac_optarg ;;
1176 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1178 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1179 pdfdir
=$ac_optarg ;;
1181 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1183 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1186 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1187 |
-silent |
--silent |
--silen |
--sile |
--sil)
1190 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1192 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1194 sbindir
=$ac_optarg ;;
1196 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1197 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1198 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1200 ac_prev
=sharedstatedir
;;
1201 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1202 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1203 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1205 sharedstatedir
=$ac_optarg ;;
1207 -site |
--site |
--sit)
1209 -site=* |
--site=* |
--sit=*)
1212 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1214 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1215 srcdir
=$ac_optarg ;;
1217 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1218 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1219 ac_prev
=sysconfdir
;;
1220 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1221 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1222 sysconfdir
=$ac_optarg ;;
1224 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1225 ac_prev
=target_alias
;;
1226 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1227 target_alias
=$ac_optarg ;;
1229 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1232 -version |
--version |
--versio |
--versi |
--vers |
-V)
1233 ac_init_version
=: ;;
1236 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1237 # Reject names that are not valid shell variable names.
1238 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1239 as_fn_error $?
"invalid package name: $ac_useropt"
1240 ac_useropt_orig
=$ac_useropt
1241 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1242 case $ac_user_opts in
1246 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1247 ac_unrecognized_sep
=', ';;
1249 eval with_
$ac_useropt=\
$ac_optarg ;;
1251 -without-* |
--without-*)
1252 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1253 # Reject names that are not valid shell variable names.
1254 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1255 as_fn_error $?
"invalid package name: $ac_useropt"
1256 ac_useropt_orig
=$ac_useropt
1257 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1258 case $ac_user_opts in
1262 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1263 ac_unrecognized_sep
=', ';;
1265 eval with_
$ac_useropt=no
;;
1268 # Obsolete; use --with-x.
1271 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1272 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1273 ac_prev
=x_includes
;;
1274 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1275 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1276 x_includes
=$ac_optarg ;;
1278 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1279 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1280 ac_prev
=x_libraries
;;
1281 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1282 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1283 x_libraries
=$ac_optarg ;;
1285 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1286 Try \`$0 --help' for more information"
1290 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1291 # Reject names that are not valid shell variable names.
1292 case $ac_envvar in #(
1293 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1294 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1296 eval $ac_envvar=\
$ac_optarg
1297 export $ac_envvar ;;
1300 # FIXME: should be removed in autoconf 3.0.
1301 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1302 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1303 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1304 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1310 if test -n "$ac_prev"; then
1311 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1312 as_fn_error $?
"missing argument to $ac_option"
1315 if test -n "$ac_unrecognized_opts"; then
1316 case $enable_option_checking in
1318 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1319 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1323 # Check all directory arguments for consistency.
1324 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1325 datadir sysconfdir sharedstatedir localstatedir includedir \
1326 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1327 libdir localedir mandir
1329 eval ac_val
=\$
$ac_var
1330 # Remove trailing slashes.
1333 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1334 eval $ac_var=\
$ac_val;;
1336 # Be sure to have absolute directory names.
1338 [\\/$
]* | ?
:[\\/]* ) continue;;
1339 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1341 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1344 # There might be people who depend on the old broken behavior: `$host'
1345 # used to hold the argument of --host etc.
1346 # FIXME: To remove some day.
1349 target
=$target_alias
1351 # FIXME: To remove some day.
1352 if test "x$host_alias" != x
; then
1353 if test "x$build_alias" = x
; then
1354 cross_compiling
=maybe
1355 elif test "x$build_alias" != "x$host_alias"; then
1361 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1363 test "$silent" = yes && exec 6>/dev
/null
1366 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1367 ac_ls_di
=`ls -di .` &&
1368 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1369 as_fn_error $?
"working directory cannot be determined"
1370 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1371 as_fn_error $?
"pwd does not report name of working directory"
1374 # Find the source files, if location was not specified.
1375 if test -z "$srcdir"; then
1376 ac_srcdir_defaulted
=yes
1377 # Try the directory containing this script, then the parent directory.
1378 ac_confdir
=`$as_dirname -- "$as_myself" ||
1379 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1380 X"$as_myself" : 'X\(//\)[^/]' \| \
1381 X"$as_myself" : 'X\(//\)$' \| \
1382 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1383 $as_echo X"$as_myself" |
1384 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1402 if test ! -r "$srcdir/$ac_unique_file"; then
1406 ac_srcdir_defaulted
=no
1408 if test ! -r "$srcdir/$ac_unique_file"; then
1409 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1410 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1412 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1414 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1416 # When building in place, set srcdir=.
1417 if test "$ac_abs_confdir" = "$ac_pwd"; then
1420 # Remove unnecessary trailing slashes from srcdir.
1421 # Double slashes in file names in object file debugging info
1422 # mess up M-x gdb in Emacs.
1424 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1426 for ac_var
in $ac_precious_vars; do
1427 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1428 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1429 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1430 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1434 # Report the --help message.
1436 if test "$ac_init_help" = "long"; then
1437 # Omit some internal or obsolete options to make the list less imposing.
1438 # This message is too long to be a string in the A/UX 3.1 sh.
1440 \`configure' configures ld 2.43.1 to adapt to many kinds of systems.
1442 Usage: $0 [OPTION]... [VAR=VALUE]...
1444 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1445 VAR=VALUE. See below for descriptions of some of the useful variables.
1447 Defaults for the options are specified in brackets.
1450 -h, --help display this help and exit
1451 --help=short display options specific to this package
1452 --help=recursive display the short help of all the included packages
1453 -V, --version display version information and exit
1454 -q, --quiet, --silent do not print \`checking ...' messages
1455 --cache-file=FILE cache test results in FILE [disabled]
1456 -C, --config-cache alias for \`--cache-file=config.cache'
1457 -n, --no-create do not create output files
1458 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1460 Installation directories:
1461 --prefix=PREFIX install architecture-independent files in PREFIX
1462 [$ac_default_prefix]
1463 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1466 By default, \`make install' will install all the files in
1467 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1468 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1469 for instance \`--prefix=\$HOME'.
1471 For better control, use the options below.
1473 Fine tuning of the installation directories:
1474 --bindir=DIR user executables [EPREFIX/bin]
1475 --sbindir=DIR system admin executables [EPREFIX/sbin]
1476 --libexecdir=DIR program executables [EPREFIX/libexec]
1477 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1478 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1479 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1480 --libdir=DIR object code libraries [EPREFIX/lib]
1481 --includedir=DIR C header files [PREFIX/include]
1482 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1483 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1484 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1485 --infodir=DIR info documentation [DATAROOTDIR/info]
1486 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1487 --mandir=DIR man documentation [DATAROOTDIR/man]
1488 --docdir=DIR documentation root [DATAROOTDIR/doc/ld]
1489 --htmldir=DIR html documentation [DOCDIR]
1490 --dvidir=DIR dvi documentation [DOCDIR]
1491 --pdfdir=DIR pdf documentation [DOCDIR]
1492 --psdir=DIR ps documentation [DOCDIR]
1498 --program-prefix=PREFIX prepend PREFIX to installed program names
1499 --program-suffix=SUFFIX append SUFFIX to installed program names
1500 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1503 --build=BUILD configure
for building on BUILD
[guessed
]
1504 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1505 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1509 if test -n "$ac_init_help"; then
1510 case $ac_init_help in
1511 short | recursive
) echo "Configuration of ld 2.43.1:";;
1516 --disable-option-checking ignore unrecognized
--enable/--with options
1517 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1518 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1519 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1520 --disable-silent-rules verbose build output
(undo
: "make V=0")
1521 --enable-maintainer-mode
1522 enable make rules and dependencies not useful
(and
1523 sometimes confusing
) to the casual installer
1524 --enable-dependency-tracking
1525 do not reject slow dependency extractors
1526 --disable-dependency-tracking
1527 speeds up one-time build
1528 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1529 --enable-static[=PKGS
] build static libraries
[default
=yes]
1530 --enable-fast-install[=PKGS
]
1531 optimize
for fast installation
[default
=yes]
1532 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1533 --enable-plugins Enable support
for plugins
1534 --disable-largefile omit support
for large files
1535 --enable-checking enable run-time checks
1536 --enable-targets alternative target configurations
1537 --enable-64-bit-bfd 64-bit support
(on hosts with narrower word sizes
)
1538 --enable-gold[=ARG
] build gold
[ARG
={default
,yes,no
}]
1539 --enable-got=<type> GOT handling scheme
(target
, single
, negative
,
1541 --enable-compressed-debug-sections={all
,ld
,none
}
1542 compress debug sections by default
]
1543 --enable-default-compressed-debug-sections-algorithm={zlib
,zstd
}
1544 Default compression algorithm
for
1545 --enable-compressed-debug-sections.
1546 --enable-new-dtags set DT_RUNPATH instead of DT_RPATH by default
]
1547 --enable-relro enable -z relro
in ELF linker by default
1548 --enable-textrel-check=[yes|no|warning|error
]
1549 enable DT_TEXTREL check
in ELF linker
1550 --enable-separate-code enable -z separate-code
in ELF linker by default
1551 --enable-rosegment enable --rosegment in the ELF linker by default
1552 --enable-mark-plt enable -z mark-plt
in ELF x86-64 linker by default
1553 --enable-warn-execstack enable warnings when creating an executable stack
1554 --enable-error-execstack
1555 turn executable stack warnings into errors
1556 --enable-warn-rwx-segments
1557 enable warnings when creating segments with RWX
1559 --enable-error-rwx-segments
1560 turn executable segment warnings into errors
1561 --enable-default-execstack
1562 create an executable stack
if an input
file is
1563 missing a .note.GNU-stack section
1564 --enable-error-handling-script
1565 enable
/disable support
for the
1566 --error-handling-script option
1567 --enable-default-hash-style={sysv
,gnu
,both
}
1568 use this default
hash style
1569 --disable-initfini-array do not use .init_array
/.fini_array sections
1570 --enable-libctf Handle .ctf type-info sections
[default
=yes]
1571 --enable-jansson enable jansson
[default
=no
]
1572 --enable-werror treat compile warnings as errors
1573 --enable-build-warnings enable build-time compiler warnings
1574 --disable-nls do not use Native Language Support
1575 --disable-rpath do not hardcode runtime library paths
1578 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1579 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1580 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1582 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1583 --with-lib-path=dir1
:dir2...
set default LIB_PATH
1584 --with-sysroot=DIR Search
for usr
/lib et al within DIR.
1585 --with-gnu-ld assume the C compiler uses GNU ld default
=no
1586 --with-libiconv-prefix[=DIR
] search
for libiconv
in DIR
/include and DIR
/lib
1587 --without-libiconv-prefix don
't search for libiconv in includedir and libdir
1588 --with-libiconv-type=TYPE type of library to search for (auto/static/shared)
1589 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
1590 --without-libintl-prefix don't search
for libintl
in includedir and libdir
1591 --with-libintl-type=TYPE
type of library to search
for (auto
/static
/shared
)
1592 --with-system-zlib use installed libz
1593 --with-zstd support zstd compressed debug sections
1596 Some influential environment variables
:
1597 CC C compiler
command
1598 CFLAGS C compiler flags
1599 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1600 nonstandard directory
<lib dir
>
1601 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1602 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1603 you have headers
in a nonstandard directory
<include dir
>
1604 CXX C
++ compiler
command
1605 CXXFLAGS C
++ compiler flags
1607 PKG_CONFIG path to pkg-config utility
1609 directories to add to pkg-config
's search path
1611 path overriding pkg-config's built-in search path
1612 CXXCPP C
++ preprocessor
1614 C compiler flags
for JANSSON
, overriding pkg-config
1616 linker flags
for JANSSON
, overriding pkg-config
1617 YACC The
`Yet Another Compiler Compiler' implementation to use.
1618 Defaults to the first program found out of: `bison
-y', `byacc',
1620 YFLAGS The list of arguments that will be passed by default to $YACC.
1621 This script will default YFLAGS to the empty string to avoid a
1622 default value of `-d' given by some make applications.
1623 ZSTD_CFLAGS C compiler flags for ZSTD, overriding pkg-config
1624 ZSTD_LIBS linker flags for ZSTD, overriding pkg-config
1626 Use these variables to override the choices made by `configure' or to
help
1627 it to
find libraries and programs with nonstandard names
/locations.
1629 Report bugs to the package provider.
1634 if test "$ac_init_help" = "recursive"; then
1635 # If there are subdirs, report their specific --help.
1636 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1637 test -d "$ac_dir" ||
1638 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1643 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1645 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1646 # A ".." for each directory in $ac_dir_suffix.
1647 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1648 case $ac_top_builddir_sub in
1649 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1650 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1653 ac_abs_top_builddir
=$ac_pwd
1654 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1655 # for backward compatibility:
1656 ac_top_builddir
=$ac_top_build_prefix
1659 .
) # We are building in place.
1661 ac_top_srcdir
=$ac_top_builddir_sub
1662 ac_abs_top_srcdir
=$ac_pwd ;;
1663 [\\/]* | ?
:[\\/]* ) # Absolute name.
1664 ac_srcdir
=$srcdir$ac_dir_suffix;
1665 ac_top_srcdir
=$srcdir
1666 ac_abs_top_srcdir
=$srcdir ;;
1668 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1669 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1670 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1672 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1674 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1675 # Check for guested configure.
1676 if test -f "$ac_srcdir/configure.gnu"; then
1678 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1679 elif test -f "$ac_srcdir/configure"; then
1681 $SHELL "$ac_srcdir/configure" --help=recursive
1683 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1685 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1689 test -n "$ac_init_help" && exit $ac_status
1690 if $ac_init_version; then
1693 generated by GNU Autoconf
2.69
1695 Copyright
(C
) 2012 Free Software Foundation
, Inc.
1696 This configure
script is free software
; the Free Software Foundation
1697 gives unlimited permission to copy
, distribute and modify it.
1702 ## ------------------------ ##
1703 ## Autoconf initialization. ##
1704 ## ------------------------ ##
1706 # ac_fn_c_try_compile LINENO
1707 # --------------------------
1708 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1709 ac_fn_c_try_compile
()
1711 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1712 rm -f conftest.
$ac_objext
1713 if { { ac_try
="$ac_compile"
1715 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1716 *) ac_try_echo=$ac_try;;
1718 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1719 $as_echo "$ac_try_echo"; } >&5
1720 (eval "$ac_compile") 2>conftest.err
1722 if test -s conftest.err; then
1723 grep -v '^ *+' conftest.err >conftest.er1
1724 cat conftest.er1 >&5
1725 mv -f conftest.er1 conftest.err
1727 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1728 test $ac_status = 0; } && {
1729 test -z "$ac_c_werror_flag" ||
1730 test ! -s conftest.err
1731 } && test -s conftest.$ac_objext; then :
1734 $as_echo "$as_me: failed program was:" >&5
1735 sed 's/^/| /' conftest.$ac_ext >&5
1739 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1740 as_fn_set_status $ac_retval
1742 } # ac_fn_c_try_compile
1744 # ac_fn_cxx_try_compile LINENO
1745 # ----------------------------
1746 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1747 ac_fn_cxx_try_compile ()
1749 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1750 rm -f conftest.$ac_objext
1751 if { { ac_try="$ac_compile"
1753 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1754 *) ac_try_echo
=$ac_try;;
1756 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1757 $as_echo "$ac_try_echo"; } >&5
1758 (eval "$ac_compile") 2>conftest.err
1760 if test -s conftest.err
; then
1761 grep -v '^ *+' conftest.err
>conftest.er1
1762 cat conftest.er1
>&5
1763 mv -f conftest.er1 conftest.err
1765 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1766 test $ac_status = 0; } && {
1767 test -z "$ac_cxx_werror_flag" ||
1768 test ! -s conftest.err
1769 } && test -s conftest.
$ac_objext; then :
1772 $as_echo "$as_me: failed program was:" >&5
1773 sed 's/^/| /' conftest.
$ac_ext >&5
1777 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1778 as_fn_set_status
$ac_retval
1780 } # ac_fn_cxx_try_compile
1782 # ac_fn_c_try_cpp LINENO
1783 # ----------------------
1784 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1787 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1788 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1790 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1791 *) ac_try_echo=$ac_try;;
1793 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1794 $as_echo "$ac_try_echo"; } >&5
1795 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1797 if test -s conftest.err; then
1798 grep -v '^ *+' conftest.err >conftest.er1
1799 cat conftest.er1 >&5
1800 mv -f conftest.er1 conftest.err
1802 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1803 test $ac_status = 0; } > conftest.i && {
1804 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1805 test ! -s conftest.err
1809 $as_echo "$as_me: failed program was:" >&5
1810 sed 's/^/| /' conftest.$ac_ext >&5
1814 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1815 as_fn_set_status $ac_retval
1819 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1820 # -------------------------------------------------------
1821 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1822 # the include files in INCLUDES and setting the cache variable VAR
1824 ac_fn_c_check_header_mongrel ()
1826 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1827 if eval \${$3+:} false; then :
1828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1829 $as_echo_n "checking for $2... " >&6; }
1830 if eval \${$3+:} false; then :
1831 $as_echo_n "(cached) " >&6
1834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1835 $as_echo "$ac_res" >&6; }
1837 # Is the header compilable?
1838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1839 $as_echo_n "checking $2 usability... " >&6; }
1840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1841 /* end confdefs.h. */
1845 if ac_fn_c_try_compile "$LINENO"; then :
1846 ac_header_compiler=yes
1848 ac_header_compiler=no
1850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1852 $as_echo "$ac_header_compiler" >&6; }
1854 # Is the header present?
1855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1856 $as_echo_n "checking $2 presence... " >&6; }
1857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1858 /* end confdefs.h. */
1861 if ac_fn_c_try_cpp "$LINENO"; then :
1862 ac_header_preproc=yes
1864 ac_header_preproc=no
1866 rm -f conftest.err conftest.i conftest.$ac_ext
1867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1868 $as_echo "$ac_header_preproc" >&6; }
1870 # So? What about this header?
1871 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1873 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1874 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1875 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1876 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1879 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1880 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1881 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1882 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1883 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1884 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1885 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1886 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1887 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1888 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1892 $as_echo_n "checking for $2... " >&6; }
1893 if eval \${$3+:} false; then :
1894 $as_echo_n "(cached) " >&6
1896 eval "$3=\$ac_header_compiler"
1899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1900 $as_echo "$ac_res" >&6; }
1902 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1904 } # ac_fn_c_check_header_mongrel
1906 # ac_fn_c_try_run LINENO
1907 # ----------------------
1908 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1909 # that executables *can* be run.
1912 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1913 if { { ac_try="$ac_link"
1915 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1916 *) ac_try_echo
=$ac_try;;
1918 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1919 $as_echo "$ac_try_echo"; } >&5
1920 (eval "$ac_link") 2>&5
1922 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1923 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1924 { { case "(($ac_try" in
1925 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1926 *) ac_try_echo=$ac_try;;
1928 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1929 $as_echo "$ac_try_echo"; } >&5
1930 (eval "$ac_try") 2>&5
1932 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1933 test $ac_status = 0; }; }; then :
1936 $as_echo "$as_me: program exited with status $ac_status" >&5
1937 $as_echo "$as_me: failed program was:" >&5
1938 sed 's/^/| /' conftest.$ac_ext >&5
1940 ac_retval=$ac_status
1942 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1943 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1944 as_fn_set_status $ac_retval
1948 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1949 # -------------------------------------------------------
1950 # Tests whether HEADER exists and can be compiled using the include files in
1951 # INCLUDES, setting the cache variable VAR accordingly.
1952 ac_fn_c_check_header_compile ()
1954 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1956 $as_echo_n "checking for $2... " >&6; }
1957 if eval \${$3+:} false; then :
1958 $as_echo_n "(cached) " >&6
1960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1961 /* end confdefs.h. */
1965 if ac_fn_c_try_compile "$LINENO"; then :
1970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1974 $as_echo "$ac_res" >&6; }
1975 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1977 } # ac_fn_c_check_header_compile
1979 # ac_fn_c_try_link LINENO
1980 # -----------------------
1981 # Try to link conftest.$ac_ext, and return whether this succeeded.
1984 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1985 rm -f conftest.$ac_objext conftest$ac_exeext
1986 if { { ac_try="$ac_link"
1988 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1989 *) ac_try_echo
=$ac_try;;
1991 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1992 $as_echo "$ac_try_echo"; } >&5
1993 (eval "$ac_link") 2>conftest.err
1995 if test -s conftest.err
; then
1996 grep -v '^ *+' conftest.err
>conftest.er1
1997 cat conftest.er1
>&5
1998 mv -f conftest.er1 conftest.err
2000 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2001 test $ac_status = 0; } && {
2002 test -z "$ac_c_werror_flag" ||
2003 test ! -s conftest.err
2004 } && test -s conftest
$ac_exeext && {
2005 test "$cross_compiling" = yes ||
2006 test -x conftest
$ac_exeext
2010 $as_echo "$as_me: failed program was:" >&5
2011 sed 's/^/| /' conftest.
$ac_ext >&5
2015 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2016 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2017 # interfere with the next link command; also delete a directory that is
2018 # left behind by Apple's compiler. We do this before executing the actions.
2019 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2020 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2021 as_fn_set_status
$ac_retval
2023 } # ac_fn_c_try_link
2025 # ac_fn_c_check_func LINENO FUNC VAR
2026 # ----------------------------------
2027 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2028 ac_fn_c_check_func
()
2030 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2032 $as_echo_n "checking for $2... " >&6; }
2033 if eval \
${$3+:} false
; then :
2034 $as_echo_n "(cached) " >&6
2036 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2037 /* end confdefs.h. */
2038 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2039 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2040 #define $2 innocuous_$2
2042 /* System header to define __stub macros and hopefully few prototypes,
2043 which can conflict with char $2 (); below.
2044 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2045 <limits.h> exists even on freestanding compilers. */
2048 # include <limits.h>
2050 # include <assert.h>
2055 /* Override any GCC internal prototype to avoid an error.
2056 Use char because int might match the return type of a GCC
2057 builtin and then its argument prototype would still apply. */
2062 /* The GNU C library defines this for functions which it implements
2063 to always fail with ENOSYS. Some functions are actually named
2064 something starting with __ and the normal name is an alias. */
2065 #if defined __stub_$2 || defined __stub___$2
2077 if ac_fn_c_try_link
"$LINENO"; then :
2082 rm -f core conftest.err conftest.
$ac_objext \
2083 conftest
$ac_exeext conftest.
$ac_ext
2086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2087 $as_echo "$ac_res" >&6; }
2088 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2090 } # ac_fn_c_check_func
2092 # ac_fn_cxx_try_cpp LINENO
2093 # ------------------------
2094 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2095 ac_fn_cxx_try_cpp
()
2097 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2098 if { { ac_try
="$ac_cpp conftest.$ac_ext"
2100 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2101 *) ac_try_echo=$ac_try;;
2103 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2104 $as_echo "$ac_try_echo"; } >&5
2105 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2107 if test -s conftest.err; then
2108 grep -v '^ *+' conftest.err >conftest.er1
2109 cat conftest.er1 >&5
2110 mv -f conftest.er1 conftest.err
2112 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2113 test $ac_status = 0; } > conftest.i && {
2114 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2115 test ! -s conftest.err
2119 $as_echo "$as_me: failed program was:" >&5
2120 sed 's/^/| /' conftest.$ac_ext >&5
2124 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2125 as_fn_set_status $ac_retval
2127 } # ac_fn_cxx_try_cpp
2129 # ac_fn_cxx_try_link LINENO
2130 # -------------------------
2131 # Try to link conftest.$ac_ext, and return whether this succeeded.
2132 ac_fn_cxx_try_link ()
2134 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2135 rm -f conftest.$ac_objext conftest$ac_exeext
2136 if { { ac_try="$ac_link"
2138 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2139 *) ac_try_echo
=$ac_try;;
2141 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2142 $as_echo "$ac_try_echo"; } >&5
2143 (eval "$ac_link") 2>conftest.err
2145 if test -s conftest.err
; then
2146 grep -v '^ *+' conftest.err
>conftest.er1
2147 cat conftest.er1
>&5
2148 mv -f conftest.er1 conftest.err
2150 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2151 test $ac_status = 0; } && {
2152 test -z "$ac_cxx_werror_flag" ||
2153 test ! -s conftest.err
2154 } && test -s conftest
$ac_exeext && {
2155 test "$cross_compiling" = yes ||
2156 test -x conftest
$ac_exeext
2160 $as_echo "$as_me: failed program was:" >&5
2161 sed 's/^/| /' conftest.
$ac_ext >&5
2165 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2166 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2167 # interfere with the next link command; also delete a directory that is
2168 # left behind by Apple's compiler. We do this before executing the actions.
2169 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2170 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2171 as_fn_set_status
$ac_retval
2173 } # ac_fn_cxx_try_link
2175 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2176 # --------------------------------------------
2177 # Tries to find the compile-time value of EXPR in a program that includes
2178 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2180 ac_fn_c_compute_int
()
2182 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2183 if test "$cross_compiling" = yes; then
2184 # Depending upon the size, compute the lo and hi bounds.
2185 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2186 /* end confdefs.h. */
2191 static int test_array [1 - 2 * !(($2) >= 0)];
2193 return test_array [0];
2199 if ac_fn_c_try_compile
"$LINENO"; then :
2202 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2203 /* end confdefs.h. */
2208 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2210 return test_array [0];
2216 if ac_fn_c_try_compile
"$LINENO"; then :
2217 ac_hi
=$ac_mid; break
2219 as_fn_arith
$ac_mid + 1 && ac_lo
=$as_val
2220 if test $ac_lo -le $ac_mid; then
2224 as_fn_arith
2 '*' $ac_mid + 1 && ac_mid
=$as_val
2226 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2229 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2230 /* end confdefs.h. */
2235 static int test_array [1 - 2 * !(($2) < 0)];
2237 return test_array [0];
2243 if ac_fn_c_try_compile
"$LINENO"; then :
2246 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2247 /* end confdefs.h. */
2252 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2254 return test_array [0];
2260 if ac_fn_c_try_compile
"$LINENO"; then :
2261 ac_lo
=$ac_mid; break
2263 as_fn_arith
'(' $ac_mid ')' - 1 && ac_hi
=$as_val
2264 if test $ac_mid -le $ac_hi; then
2268 as_fn_arith
2 '*' $ac_mid && ac_mid
=$as_val
2270 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2275 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2277 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2278 # Binary search between lo and hi bounds.
2279 while test "x$ac_lo" != "x$ac_hi"; do
2280 as_fn_arith
'(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid
=$as_val
2281 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2282 /* end confdefs.h. */
2287 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2289 return test_array [0];
2295 if ac_fn_c_try_compile
"$LINENO"; then :
2298 as_fn_arith
'(' $ac_mid ')' + 1 && ac_lo
=$as_val
2300 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2303 ?
*) eval "$3=\$ac_lo"; ac_retval
=0 ;;
2307 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2308 /* end confdefs.h. */
2310 static long int longval () { return $2; }
2311 static unsigned long int ulongval () { return $2; }
2318 FILE *f = fopen ("conftest.val", "w");
2323 long int i = longval ();
2326 fprintf (f, "%ld", i);
2330 unsigned long int i = ulongval ();
2333 fprintf (f, "%lu", i);
2335 /* Do not output a trailing newline, as this causes \r\n confusion
2336 on some platforms. */
2337 return ferror (f) || fclose (f) != 0;
2343 if ac_fn_c_try_run
"$LINENO"; then :
2344 echo >>conftest.val
; read $3 <conftest.val
; ac_retval
=0
2348 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
2349 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
2353 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2354 as_fn_set_status
$ac_retval
2356 } # ac_fn_c_compute_int
2358 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2359 # ---------------------------------------------
2360 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2362 ac_fn_c_check_decl
()
2364 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2365 as_decl_name
=`echo $2|sed 's/ *(.*//'`
2366 as_decl_use
=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2368 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2369 if eval \
${$3+:} false
; then :
2370 $as_echo_n "(cached) " >&6
2372 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2373 /* end confdefs.h. */
2378 #ifndef $as_decl_name
2380 (void) $as_decl_use;
2382 (void) $as_decl_name;
2390 if ac_fn_c_try_compile
"$LINENO"; then :
2395 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2399 $as_echo "$ac_res" >&6; }
2400 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2402 } # ac_fn_c_check_decl
2403 cat >config.log
<<_ACEOF
2404 This file contains any messages produced by compilers while
2405 running configure, to aid debugging if configure makes a mistake.
2407 It was created by ld $as_me 2.43.1, which was
2408 generated by GNU Autoconf 2.69. Invocation command line was
2420 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2421 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2422 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2423 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2424 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2426 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2427 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2429 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2430 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2431 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2432 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2433 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2434 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2435 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2439 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2443 test -z "$as_dir" && as_dir
=.
2444 $as_echo "PATH: $as_dir"
2460 # Keep a trace of the command line.
2461 # Strip out --no-create and --no-recursion so they do not pile up.
2462 # Strip out --silent because we don't want to record it for future runs.
2463 # Also quote any args containing shell meta-characters.
2464 # Make two passes to allow for proper duplicate-argument suppression.
2468 ac_must_keep_next
=false
2474 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2475 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2476 |
-silent |
--silent |
--silen |
--sile |
--sil)
2479 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2482 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2484 as_fn_append ac_configure_args1
" '$ac_arg'"
2485 if test $ac_must_keep_next = true
; then
2486 ac_must_keep_next
=false
# Got value, back to normal.
2489 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2490 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2491 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2492 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2493 case "$ac_configure_args0 " in
2494 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2497 -* ) ac_must_keep_next
=true
;;
2500 as_fn_append ac_configure_args
" '$ac_arg'"
2505 { ac_configure_args0
=; unset ac_configure_args0
;}
2506 { ac_configure_args1
=; unset ac_configure_args1
;}
2508 # When interrupted or exit'd, cleanup temporary files, and complete
2509 # config.log. We remove comments because anyway the quotes in there
2510 # would cause problems or look ugly.
2511 # WARNING: Use '\'' to represent an apostrophe within the trap.
2512 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2513 trap 'exit_status=$?
2514 # Save into config.log some information that might help in debugging.
2518 $as_echo "## ---------------- ##
2519 ## Cache variables. ##
2520 ## ---------------- ##"
2522 # The following way of writing the cache mishandles newlines in values,
2524 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2525 eval ac_val=\$$ac_var
2529 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2530 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2533 _ | IFS | as_nl) ;; #(
2534 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2535 *) { eval $ac_var=; unset $ac_var;} ;;
2540 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2541 *${as_nl}ac_space=\ *)
2543 "s/'\''/'\''\\\\'\'''\''/g;
2544 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2547 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2554 $as_echo "## ----------------- ##
2555 ## Output variables. ##
2556 ## ----------------- ##"
2558 for ac_var in $ac_subst_vars
2560 eval ac_val=\$$ac_var
2562 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2564 $as_echo "$ac_var='\''$ac_val'\''"
2568 if test -n "$ac_subst_files"; then
2569 $as_echo "## ------------------- ##
2570 ## File substitutions. ##
2571 ## ------------------- ##"
2573 for ac_var
in $ac_subst_files
2575 eval ac_val
=\$
$ac_var
2577 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2579 $as_echo "$ac_var='\''$ac_val'\''"
2584 if test -s confdefs.h; then
2585 $as_echo "## ----------- ##
2592 test "$ac_signal" != 0 &&
2593 $as_echo "$as_me: caught signal $ac_signal"
2594 $as_echo "$as_me: exit $exit_status"
2596 rm -f core *.core core.conftest.* &&
2597 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2600 for ac_signal
in 1 2 13 15; do
2601 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2605 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2606 rm -f -r conftest
* confdefs.h
2608 $as_echo "/* confdefs.h */" > confdefs.h
2610 # Predefined preprocessor variables.
2612 cat >>confdefs.h
<<_ACEOF
2613 #define PACKAGE_NAME "$PACKAGE_NAME"
2616 cat >>confdefs.h
<<_ACEOF
2617 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2620 cat >>confdefs.h
<<_ACEOF
2621 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2624 cat >>confdefs.h
<<_ACEOF
2625 #define PACKAGE_STRING "$PACKAGE_STRING"
2628 cat >>confdefs.h
<<_ACEOF
2629 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2632 cat >>confdefs.h
<<_ACEOF
2633 #define PACKAGE_URL "$PACKAGE_URL"
2637 # Let the site file select an alternate cache file if it wants to.
2638 # Prefer an explicitly selected file to automatically selected ones.
2641 if test -n "$CONFIG_SITE"; then
2642 # We do not want a PATH search for config.site.
2643 case $CONFIG_SITE in #((
2644 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2645 */*) ac_site_file1
=$CONFIG_SITE;;
2646 *) ac_site_file1
=.
/$CONFIG_SITE;;
2648 elif test "x$prefix" != xNONE
; then
2649 ac_site_file1
=$prefix/share
/config.site
2650 ac_site_file2
=$prefix/etc
/config.site
2652 ac_site_file1
=$ac_default_prefix/share
/config.site
2653 ac_site_file2
=$ac_default_prefix/etc
/config.site
2655 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2657 test "x$ac_site_file" = xNONE
&& continue
2658 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2659 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2660 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2661 sed 's/^/| /' "$ac_site_file" >&5
2663 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2664 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2665 as_fn_error $?
"failed to load site script $ac_site_file
2666 See \`config.log' for more details" "$LINENO" 5; }
2670 if test -r "$cache_file"; then
2671 # Some versions of bash will fail to source /dev/null (special files
2672 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2673 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2674 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2675 $as_echo "$as_me: loading cache $cache_file" >&6;}
2677 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2678 *) .
"./$cache_file";;
2682 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2683 $as_echo "$as_me: creating cache $cache_file" >&6;}
2687 gt_needs
="$gt_needs "
2688 as_fn_append ac_header_list
" stdlib.h"
2689 as_fn_append ac_header_list
" unistd.h"
2690 as_fn_append ac_header_list
" sys/param.h"
2691 # Check that the precious variables saved in the cache have kept the same
2693 ac_cache_corrupted
=false
2694 for ac_var
in $ac_precious_vars; do
2695 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2696 eval ac_new_set
=\
$ac_env_${ac_var}_set
2697 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2698 eval ac_new_val
=\
$ac_env_${ac_var}_value
2699 case $ac_old_set,$ac_new_set in
2701 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2702 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2703 ac_cache_corrupted
=: ;;
2705 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2706 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2707 ac_cache_corrupted
=: ;;
2710 if test "x$ac_old_val" != "x$ac_new_val"; then
2711 # differences in whitespace do not lead to failure.
2712 ac_old_val_w
=`echo x $ac_old_val`
2713 ac_new_val_w
=`echo x $ac_new_val`
2714 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2715 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2716 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2717 ac_cache_corrupted
=:
2719 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2720 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2721 eval $ac_var=\
$ac_old_val
2723 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2724 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2725 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2726 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2729 # Pass precious variables to config.status.
2730 if test "$ac_new_set" = set; then
2732 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2733 *) ac_arg
=$ac_var=$ac_new_val ;;
2735 case " $ac_configure_args " in
2736 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2737 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2741 if $ac_cache_corrupted; then
2742 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2743 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2744 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2745 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2746 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2748 ## -------------------- ##
2749 ## Main body of script. ##
2750 ## -------------------- ##
2753 ac_cpp
='$CPP $CPPFLAGS'
2754 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2755 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2756 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2765 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2766 if test -f "$ac_dir/install-sh"; then
2768 ac_install_sh
="$ac_aux_dir/install-sh -c"
2770 elif test -f "$ac_dir/install.sh"; then
2772 ac_install_sh
="$ac_aux_dir/install.sh -c"
2774 elif test -f "$ac_dir/shtool"; then
2776 ac_install_sh
="$ac_aux_dir/shtool install -c"
2780 if test -z "$ac_aux_dir"; then
2781 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2784 # These three variables are undocumented and unsupported,
2785 # and are intended to be withdrawn in a future Autoconf release.
2786 # They can cause serious problems if a builder's source tree is in a directory
2787 # whose full name contains unusual characters.
2788 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2789 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2790 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2793 # Make sure we can run config.sub.
2794 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2795 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2798 $as_echo_n "checking build system type... " >&6; }
2799 if ${ac_cv_build+:} false
; then :
2800 $as_echo_n "(cached) " >&6
2802 ac_build_alias
=$build_alias
2803 test "x$ac_build_alias" = x
&&
2804 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2805 test "x$ac_build_alias" = x
&&
2806 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2807 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2808 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2812 $as_echo "$ac_cv_build" >&6; }
2813 case $ac_cv_build in
2815 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2818 ac_save_IFS
=$IFS; IFS
='-'
2824 # Remember, the first character of IFS is used to create $*,
2825 # except with old shells:
2828 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2832 $as_echo_n "checking host system type... " >&6; }
2833 if ${ac_cv_host+:} false
; then :
2834 $as_echo_n "(cached) " >&6
2836 if test "x$host_alias" = x
; then
2837 ac_cv_host
=$ac_cv_build
2839 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2840 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2845 $as_echo "$ac_cv_host" >&6; }
2848 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2851 ac_save_IFS
=$IFS; IFS
='-'
2857 # Remember, the first character of IFS is used to create $*,
2858 # except with old shells:
2861 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2865 $as_echo_n "checking target system type... " >&6; }
2866 if ${ac_cv_target+:} false
; then :
2867 $as_echo_n "(cached) " >&6
2869 if test "x$target_alias" = x
; then
2870 ac_cv_target
=$ac_cv_host
2872 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2873 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2878 $as_echo "$ac_cv_target" >&6; }
2879 case $ac_cv_target in
2881 *) as_fn_error $?
"invalid value of canonical target" "$LINENO" 5;;
2883 target
=$ac_cv_target
2884 ac_save_IFS
=$IFS; IFS
='-'
2890 # Remember, the first character of IFS is used to create $*,
2891 # except with old shells:
2894 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2897 # The aliases save the names the user supplied, while $host etc.
2898 # will get canonicalized.
2899 test -n "$target_alias" &&
2900 test "$program_prefix$program_suffix$program_transform_name" = \
2902 program_prefix
=${target_alias}-
2905 am__api_version
='1.15'
2907 # Find a good install program. We prefer a C program (faster),
2908 # so one script is as good as another. But avoid the broken or
2909 # incompatible versions:
2910 # SysV /etc/install, /usr/sbin/install
2911 # SunOS /usr/etc/install
2912 # IRIX /sbin/install
2914 # AmigaOS /C/install, which installs bootblocks on floppy discs
2915 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2916 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2917 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2918 # OS/2's system install, which has a completely different semantic
2919 # ./install, which can be erroneously created by make from ./install.sh.
2920 # Reject install programs that cannot install multiple files.
2921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2922 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2923 if test -z "$INSTALL"; then
2924 if ${ac_cv_path_install+:} false
; then :
2925 $as_echo_n "(cached) " >&6
2927 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2931 test -z "$as_dir" && as_dir
=.
2932 # Account for people who put trailing slashes in PATH elements.
2933 case $as_dir/ in #((
2934 .
/ | .
// |
/[cC
]/* | \
2935 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2936 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2939 # OSF1 and SCO ODT 3.0 have their own names for install.
2940 # Don't use installbsd from OSF since it installs stuff as root
2942 for ac_prog
in ginstall scoinst
install; do
2943 for ac_exec_ext
in '' $ac_executable_extensions; do
2944 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
2945 if test $ac_prog = install &&
2946 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2947 # AIX install. It has an incompatible calling convention.
2949 elif test $ac_prog = install &&
2950 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2951 # program-specific install script used by HP pwplus--don't use.
2954 rm -rf conftest.one conftest.two conftest.dir
2955 echo one
> conftest.one
2956 echo two
> conftest.two
2958 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2959 test -s conftest.one
&& test -s conftest.two
&&
2960 test -s conftest.dir
/conftest.one
&&
2961 test -s conftest.dir
/conftest.two
2963 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2976 rm -rf conftest.one conftest.two conftest.dir
2979 if test "${ac_cv_path_install+set}" = set; then
2980 INSTALL
=$ac_cv_path_install
2982 # As a last resort, use the slow shell script. Don't cache a
2983 # value for INSTALL within a source directory, because that will
2984 # break other packages using the cache if that directory is
2985 # removed, or if the value is a relative name.
2986 INSTALL
=$ac_install_sh
2989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2990 $as_echo "$INSTALL" >&6; }
2992 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2993 # It thinks the first close brace ends the variable substitution.
2994 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2996 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2998 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3001 $as_echo_n "checking whether build environment is sane... " >&6; }
3002 # Reject unsafe characters in $srcdir or the absolute working directory
3003 # name. Accept space and tab only in the latter.
3007 *[\\\"\
#\$\&\'\`$am_lf]*)
3008 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
3011 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
3012 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
3015 # Do 'set' in a subshell so we don't clobber the current shell's
3016 # arguments. Must try -L first in case configure is actually a
3017 # symlink; some systems play weird games with the mod time of symlinks
3018 # (eg FreeBSD returns the mod time of the symlink's containing
3022 for am_try
in 1 2; do
3023 echo "timestamp, slept: $am_has_slept" > conftest.
file
3024 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3025 if test "$*" = "X"; then
3027 set X
`ls -t "$srcdir/configure" conftest.file`
3029 if test "$*" != "X $srcdir/configure conftest.file" \
3030 && test "$*" != "X conftest.file $srcdir/configure"; then
3032 # If neither matched, then we have a broken ls. This can happen
3033 # if, for instance, CONFIG_SHELL is bash and it inherits a
3034 # broken ls alias from the environment. This has actually
3035 # happened. Such a system could not be considered "sane".
3036 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
3037 alias in your environment" "$LINENO" 5
3039 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
3046 test "$2" = conftest.
file
3052 as_fn_error $?
"newly created file is older than distributed files!
3053 Check your system clock" "$LINENO" 5
3055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3056 $as_echo "yes" >&6; }
3057 # If we didn't sleep, we still need to ensure time stamps of config.status and
3058 # generated files are strictly newer.
3060 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
3067 test "$program_prefix" != NONE
&&
3068 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
3069 # Use a double $ so make ignores it.
3070 test "$program_suffix" != NONE
&&
3071 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
3072 # Double any \ or $.
3073 # By default was `s,x,x', remove it if useless.
3074 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
3075 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
3077 # Expand $ac_aux_dir to an absolute path.
3078 am_aux_dir
=`cd "$ac_aux_dir" && pwd`
3080 if test x
"${MISSING+set}" != xset
; then
3083 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
3085 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
3088 # Use eval to expand $SHELL
3089 if eval "$MISSING --is-lightweight"; then
3090 am_missing_run
="$MISSING "
3093 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3094 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3097 if test x
"${install_sh+set}" != xset
; then
3100 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
3102 install_sh
="\${SHELL} $am_aux_dir/install-sh"
3106 # Installed binaries are usually stripped using 'strip' when the user
3107 # run "make install-strip". However 'strip' might not be the right
3108 # tool to use in cross-compilation environments, therefore Automake
3109 # will honor the 'STRIP' environment variable to overrule this program.
3110 if test "$cross_compiling" != no
; then
3111 if test -n "$ac_tool_prefix"; then
3112 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3113 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3115 $as_echo_n "checking for $ac_word... " >&6; }
3116 if ${ac_cv_prog_STRIP+:} false
; then :
3117 $as_echo_n "(cached) " >&6
3119 if test -n "$STRIP"; then
3120 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3122 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3126 test -z "$as_dir" && as_dir
=.
3127 for ac_exec_ext
in '' $ac_executable_extensions; do
3128 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3129 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3130 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3139 STRIP
=$ac_cv_prog_STRIP
3140 if test -n "$STRIP"; then
3141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3142 $as_echo "$STRIP" >&6; }
3144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3145 $as_echo "no" >&6; }
3150 if test -z "$ac_cv_prog_STRIP"; then
3152 # Extract the first word of "strip", so it can be a program name with args.
3153 set dummy strip
; ac_word
=$2
3154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3155 $as_echo_n "checking for $ac_word... " >&6; }
3156 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
3157 $as_echo_n "(cached) " >&6
3159 if test -n "$ac_ct_STRIP"; then
3160 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3162 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3166 test -z "$as_dir" && as_dir
=.
3167 for ac_exec_ext
in '' $ac_executable_extensions; do
3168 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3169 ac_cv_prog_ac_ct_STRIP
="strip"
3170 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3179 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3180 if test -n "$ac_ct_STRIP"; then
3181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3182 $as_echo "$ac_ct_STRIP" >&6; }
3184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3185 $as_echo "no" >&6; }
3188 if test "x$ac_ct_STRIP" = x
; then
3191 case $cross_compiling:$ac_tool_warned in
3193 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3194 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3195 ac_tool_warned
=yes ;;
3200 STRIP
="$ac_cv_prog_STRIP"
3204 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
3206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3207 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3208 if test -z "$MKDIR_P"; then
3209 if ${ac_cv_path_mkdir+:} false
; then :
3210 $as_echo_n "(cached) " >&6
3212 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3213 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3216 test -z "$as_dir" && as_dir
=.
3217 for ac_prog
in mkdir gmkdir
; do
3218 for ac_exec_ext
in '' $ac_executable_extensions; do
3219 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
3220 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3221 'mkdir (GNU coreutils) '* | \
3222 'mkdir (coreutils) '* | \
3223 'mkdir (fileutils) '4.1*)
3224 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3234 test -d .
/--version && rmdir .
/--version
3235 if test "${ac_cv_path_mkdir+set}" = set; then
3236 MKDIR_P
="$ac_cv_path_mkdir -p"
3238 # As a last resort, use the slow shell script. Don't cache a
3239 # value for MKDIR_P within a source directory, because that will
3240 # break other packages using the cache if that directory is
3241 # removed, or if the value is a relative name.
3242 MKDIR_P
="$ac_install_sh -d"
3245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3246 $as_echo "$MKDIR_P" >&6; }
3248 for ac_prog
in gawk mawk nawk
awk
3250 # Extract the first word of "$ac_prog", so it can be a program name with args.
3251 set dummy
$ac_prog; ac_word
=$2
3252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3253 $as_echo_n "checking for $ac_word... " >&6; }
3254 if ${ac_cv_prog_AWK+:} false
; then :
3255 $as_echo_n "(cached) " >&6
3257 if test -n "$AWK"; then
3258 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3260 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3264 test -z "$as_dir" && as_dir
=.
3265 for ac_exec_ext
in '' $ac_executable_extensions; do
3266 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3267 ac_cv_prog_AWK
="$ac_prog"
3268 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3278 if test -n "$AWK"; then
3279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3280 $as_echo "$AWK" >&6; }
3282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3283 $as_echo "no" >&6; }
3287 test -n "$AWK" && break
3290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3291 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3293 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3294 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3295 $as_echo_n "(cached) " >&6
3297 cat >conftest.
make <<\_ACEOF
3300 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3302 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3303 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3305 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3307 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3311 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3313 $as_echo "yes" >&6; }
3316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3317 $as_echo "no" >&6; }
3318 SET_MAKE
="MAKE=${MAKE-make}"
3321 rm -rf .tst
2>/dev
/null
3322 mkdir .tst
2>/dev
/null
3323 if test -d .tst
; then
3328 rmdir .tst
2>/dev
/null
3330 # Check whether --enable-silent-rules was given.
3331 if test "${enable_silent_rules+set}" = set; then :
3332 enableval
=$enable_silent_rules;
3335 case $enable_silent_rules in # (((
3336 yes) AM_DEFAULT_VERBOSITY
=0;;
3337 no
) AM_DEFAULT_VERBOSITY
=1;;
3338 *) AM_DEFAULT_VERBOSITY
=1;;
3340 am_make
=${MAKE-make}
3341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3342 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3343 if ${am_cv_make_support_nested_variables+:} false
; then :
3344 $as_echo_n "(cached) " >&6
3346 if $as_echo 'TRUE=$(BAR$(V))
3352 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
3353 am_cv_make_support_nested_variables
=yes
3355 am_cv_make_support_nested_variables
=no
3358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3359 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3360 if test $am_cv_make_support_nested_variables = yes; then
3362 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
3364 AM_V
=$AM_DEFAULT_VERBOSITY
3365 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
3369 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3370 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3371 # is not polluted with repeated "-I."
3372 am__isrc
=' -I$(srcdir)'
3373 # test to see if srcdir already configured
3374 if test -f $srcdir/config.status
; then
3375 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3379 # test whether we have cygpath
3380 if test -z "$CYGPATH_W"; then
3381 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3382 CYGPATH_W
='cygpath -w'
3389 # Define the identity of the package.
3394 cat >>confdefs.h
<<_ACEOF
3395 #define PACKAGE "$PACKAGE"
3399 cat >>confdefs.h
<<_ACEOF
3400 #define VERSION "$VERSION"
3403 # Some tools Automake needs.
3405 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3408 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3411 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3414 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3417 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3419 # For better backward compatibility. To be removed once Automake 1.9.x
3420 # dies out for good. For more background, see:
3421 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3422 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3423 mkdir_p
='$(MKDIR_P)'
3425 # We need awk for the "check" target (and possibly the TAP driver). The
3426 # system "awk" is bad on some platforms.
3427 # Always define AMTAR for backward compatibility. Yes, it's still used
3428 # in the wild :-( We should find a proper way to deprecate it ...
3432 # We'll loop over all known methods to create a tar archive until one works.
3433 _am_tools
='gnutar pax cpio none'
3435 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
3442 # POSIX will say in a future version that running "rm -f" with no argument
3443 # is OK; and we want to be able to make that assumption in our Makefile
3444 # recipes. So use an aggressive probe to check that the usage we want is
3445 # actually supported "in the wild" to an acceptable degree.
3446 # See automake bug#10828.
3447 # To make any issue more visible, cause the running configure to be aborted
3448 # by default if the 'rm' program in use doesn't match our expectations; the
3449 # user can still override this though.
3450 if rm -f && rm -fr && rm -rf; then : OK
; else
3454 Your 'rm' program seems unable to run without file operands specified
3455 on the command line, even when the '-f' option is present. This is contrary
3456 to the behaviour of most rm programs out there, and not conforming with
3457 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3459 Please tell bug-automake@gnu.org about your system, including the value
3460 of your $PATH and any error possibly output before this message. This
3461 can help us improve future automake versions.
3464 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
3465 echo 'Configuration will proceed anyway, since you have set the' >&2
3466 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3470 Aborting the configuration process, to ensure you take notice of the issue.
3472 You can download and install GNU coreutils to get an 'rm' implementation
3473 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3475 If you want to complete the configuration process using your problematic
3476 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3477 to "yes", and re-run configure.
3480 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
3484 # Check whether --enable-silent-rules was given.
3485 if test "${enable_silent_rules+set}" = set; then :
3486 enableval
=$enable_silent_rules;
3489 case $enable_silent_rules in # (((
3490 yes) AM_DEFAULT_VERBOSITY
=0;;
3491 no
) AM_DEFAULT_VERBOSITY
=1;;
3492 *) AM_DEFAULT_VERBOSITY
=0;;
3494 am_make
=${MAKE-make}
3495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3496 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3497 if ${am_cv_make_support_nested_variables+:} false
; then :
3498 $as_echo_n "(cached) " >&6
3500 if $as_echo 'TRUE=$(BAR$(V))
3506 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
3507 am_cv_make_support_nested_variables
=yes
3509 am_cv_make_support_nested_variables
=no
3512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3513 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3514 if test $am_cv_make_support_nested_variables = yes; then
3516 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
3518 AM_V
=$AM_DEFAULT_VERBOSITY
3519 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
3524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3525 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3526 # Check whether --enable-maintainer-mode was given.
3527 if test "${enable_maintainer_mode+set}" = set; then :
3528 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3530 USE_MAINTAINER_MODE=no
3533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3534 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3535 if test $USE_MAINTAINER_MODE = yes; then
3536 MAINTAINER_MODE_TRUE=
3537 MAINTAINER_MODE_FALSE='#'
3539 MAINTAINER_MODE_TRUE
='#'
3540 MAINTAINER_MODE_FALSE
=
3543 MAINT
=$MAINTAINER_MODE_TRUE
3548 ac_cpp
='$CPP $CPPFLAGS'
3549 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3550 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3551 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3552 if test -n "$ac_tool_prefix"; then
3553 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3554 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3556 $as_echo_n "checking for $ac_word... " >&6; }
3557 if ${ac_cv_prog_CC+:} false
; then :
3558 $as_echo_n "(cached) " >&6
3560 if test -n "$CC"; then
3561 ac_cv_prog_CC
="$CC" # Let the user override the test.
3563 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3567 test -z "$as_dir" && as_dir
=.
3568 for ac_exec_ext
in '' $ac_executable_extensions; do
3569 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3570 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3571 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3581 if test -n "$CC"; then
3582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3583 $as_echo "$CC" >&6; }
3585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3586 $as_echo "no" >&6; }
3591 if test -z "$ac_cv_prog_CC"; then
3593 # Extract the first word of "gcc", so it can be a program name with args.
3594 set dummy gcc
; ac_word
=$2
3595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3596 $as_echo_n "checking for $ac_word... " >&6; }
3597 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3598 $as_echo_n "(cached) " >&6
3600 if test -n "$ac_ct_CC"; then
3601 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3603 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3607 test -z "$as_dir" && as_dir
=.
3608 for ac_exec_ext
in '' $ac_executable_extensions; do
3609 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3610 ac_cv_prog_ac_ct_CC
="gcc"
3611 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3620 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3621 if test -n "$ac_ct_CC"; then
3622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3623 $as_echo "$ac_ct_CC" >&6; }
3625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3626 $as_echo "no" >&6; }
3629 if test "x$ac_ct_CC" = x
; then
3632 case $cross_compiling:$ac_tool_warned in
3634 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3635 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3636 ac_tool_warned
=yes ;;
3644 if test -z "$CC"; then
3645 if test -n "$ac_tool_prefix"; then
3646 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3647 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3649 $as_echo_n "checking for $ac_word... " >&6; }
3650 if ${ac_cv_prog_CC+:} false
; then :
3651 $as_echo_n "(cached) " >&6
3653 if test -n "$CC"; then
3654 ac_cv_prog_CC
="$CC" # Let the user override the test.
3656 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3660 test -z "$as_dir" && as_dir
=.
3661 for ac_exec_ext
in '' $ac_executable_extensions; do
3662 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3663 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3664 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3674 if test -n "$CC"; then
3675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3676 $as_echo "$CC" >&6; }
3678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3679 $as_echo "no" >&6; }
3685 if test -z "$CC"; then
3686 # Extract the first word of "cc", so it can be a program name with args.
3687 set dummy cc
; ac_word
=$2
3688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3689 $as_echo_n "checking for $ac_word... " >&6; }
3690 if ${ac_cv_prog_CC+:} false
; then :
3691 $as_echo_n "(cached) " >&6
3693 if test -n "$CC"; then
3694 ac_cv_prog_CC
="$CC" # Let the user override the test.
3697 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3701 test -z "$as_dir" && as_dir
=.
3702 for ac_exec_ext
in '' $ac_executable_extensions; do
3703 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3704 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3705 ac_prog_rejected
=yes
3709 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3716 if test $ac_prog_rejected = yes; then
3717 # We found a bogon in the path, so make sure we never use it.
3718 set dummy
$ac_cv_prog_CC
3720 if test $# != 0; then
3721 # We chose a different compiler from the bogus one.
3722 # However, it has the same basename, so the bogon will be chosen
3723 # first if we set CC to just the basename; use the full file name.
3725 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3731 if test -n "$CC"; then
3732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3733 $as_echo "$CC" >&6; }
3735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3736 $as_echo "no" >&6; }
3741 if test -z "$CC"; then
3742 if test -n "$ac_tool_prefix"; then
3743 for ac_prog
in cl.exe
3745 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3746 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3748 $as_echo_n "checking for $ac_word... " >&6; }
3749 if ${ac_cv_prog_CC+:} false
; then :
3750 $as_echo_n "(cached) " >&6
3752 if test -n "$CC"; then
3753 ac_cv_prog_CC
="$CC" # Let the user override the test.
3755 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3759 test -z "$as_dir" && as_dir
=.
3760 for ac_exec_ext
in '' $ac_executable_extensions; do
3761 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3762 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3763 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3773 if test -n "$CC"; then
3774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3775 $as_echo "$CC" >&6; }
3777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3778 $as_echo "no" >&6; }
3782 test -n "$CC" && break
3785 if test -z "$CC"; then
3787 for ac_prog
in cl.exe
3789 # Extract the first word of "$ac_prog", so it can be a program name with args.
3790 set dummy
$ac_prog; ac_word
=$2
3791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3792 $as_echo_n "checking for $ac_word... " >&6; }
3793 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3794 $as_echo_n "(cached) " >&6
3796 if test -n "$ac_ct_CC"; then
3797 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3799 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3803 test -z "$as_dir" && as_dir
=.
3804 for ac_exec_ext
in '' $ac_executable_extensions; do
3805 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3806 ac_cv_prog_ac_ct_CC
="$ac_prog"
3807 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3816 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3817 if test -n "$ac_ct_CC"; then
3818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3819 $as_echo "$ac_ct_CC" >&6; }
3821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3822 $as_echo "no" >&6; }
3826 test -n "$ac_ct_CC" && break
3829 if test "x$ac_ct_CC" = x
; then
3832 case $cross_compiling:$ac_tool_warned in
3834 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3835 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3836 ac_tool_warned
=yes ;;
3845 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3846 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3847 as_fn_error $?
"no acceptable C compiler found in \$PATH
3848 See \`config.log' for more details" "$LINENO" 5; }
3850 # Provide some information about the compiler.
3851 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3854 for ac_option
in --version -v -V -qversion; do
3855 { { ac_try
="$ac_compiler $ac_option >&5"
3857 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3858 *) ac_try_echo=$ac_try;;
3860 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3861 $as_echo "$ac_try_echo"; } >&5
3862 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3864 if test -s conftest.err; then
3866 ... rest of stderr output deleted ...
3867 10q' conftest.err >conftest.er1
3868 cat conftest.er1 >&5
3870 rm -f conftest.er1 conftest.err
3871 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3872 test $ac_status = 0; }
3875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3876 /* end confdefs.h. */
3886 ac_clean_files_save=$ac_clean_files
3887 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3888 # Try to create an executable without -o first, disregard a.out.
3889 # It will help us diagnose broken compilers, and finding out an intuition
3891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3892 $as_echo_n "checking whether the C compiler works... " >&6; }
3893 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3895 # The possible output files:
3896 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3899 for ac_file in $ac_files
3902 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3903 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3908 if { { ac_try="$ac_link_default"
3910 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3911 *) ac_try_echo
=$ac_try;;
3913 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3914 $as_echo "$ac_try_echo"; } >&5
3915 (eval "$ac_link_default") 2>&5
3917 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3918 test $ac_status = 0; }; then :
3919 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3920 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3921 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3922 # so that the user can short-circuit this test for compilers unknown to
3924 for ac_file
in $ac_files ''
3926 test -f "$ac_file" ||
continue
3928 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3931 # We found the default executable, but exeext='' is most
3935 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3937 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3939 # We set ac_cv_exeext here because the later test for it is not
3940 # safe: cross compilers may not add the suffix if given an `-o'
3941 # argument, so we may need to know it at that point already.
3942 # Even if this section looks crufty: it has the advantage of
3949 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3954 if test -z "$ac_file"; then :
3955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3956 $as_echo "no" >&6; }
3957 $as_echo "$as_me: failed program was:" >&5
3958 sed 's/^/| /' conftest.
$ac_ext >&5
3960 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3961 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3962 as_fn_error
77 "C compiler cannot create executables
3963 See \`config.log' for more details" "$LINENO" 5; }
3965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3966 $as_echo "yes" >&6; }
3968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3969 $as_echo_n "checking for C compiler default output file name... " >&6; }
3970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3971 $as_echo "$ac_file" >&6; }
3972 ac_exeext
=$ac_cv_exeext
3974 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3975 ac_clean_files
=$ac_clean_files_save
3976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3977 $as_echo_n "checking for suffix of executables... " >&6; }
3978 if { { ac_try
="$ac_link"
3980 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3981 *) ac_try_echo=$ac_try;;
3983 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3984 $as_echo "$ac_try_echo"; } >&5
3985 (eval "$ac_link") 2>&5
3987 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3988 test $ac_status = 0; }; then :
3989 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3990 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3991 # work properly (i.e., refer to `conftest.exe'), while it won't with
3993 for ac_file
in conftest.exe conftest conftest.
*; do
3994 test -f "$ac_file" ||
continue
3996 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3997 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4003 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4004 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4005 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
4006 See \`config.log' for more details" "$LINENO" 5; }
4008 rm -f conftest conftest
$ac_cv_exeext
4009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4010 $as_echo "$ac_cv_exeext" >&6; }
4012 rm -f conftest.
$ac_ext
4013 EXEEXT
=$ac_cv_exeext
4015 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4016 /* end confdefs.h. */
4021 FILE *f = fopen ("conftest.out", "w");
4022 return ferror (f) || fclose (f) != 0;
4028 ac_clean_files
="$ac_clean_files conftest.out"
4029 # Check that the compiler produces executables we can run. If not, either
4030 # the compiler is broken, or we cross compile.
4031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4032 $as_echo_n "checking whether we are cross compiling... " >&6; }
4033 if test "$cross_compiling" != yes; then
4034 { { ac_try
="$ac_link"
4036 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4037 *) ac_try_echo=$ac_try;;
4039 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4040 $as_echo "$ac_try_echo"; } >&5
4041 (eval "$ac_link") 2>&5
4043 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4044 test $ac_status = 0; }
4045 if { ac_try='./conftest$ac_cv_exeext'
4046 { { case "(($ac_try" in
4047 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4048 *) ac_try_echo
=$ac_try;;
4050 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4051 $as_echo "$ac_try_echo"; } >&5
4052 (eval "$ac_try") 2>&5
4054 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4055 test $ac_status = 0; }; }; then
4058 if test "$cross_compiling" = maybe
; then
4061 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4062 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4063 as_fn_error $?
"cannot run C compiled programs.
4064 If you meant to cross compile, use \`--host'.
4065 See \`config.log' for more details" "$LINENO" 5; }
4069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4070 $as_echo "$cross_compiling" >&6; }
4072 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4073 ac_clean_files
=$ac_clean_files_save
4074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4075 $as_echo_n "checking for suffix of object files... " >&6; }
4076 if ${ac_cv_objext+:} false
; then :
4077 $as_echo_n "(cached) " >&6
4079 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4080 /* end confdefs.h. */
4090 rm -f conftest.o conftest.obj
4091 if { { ac_try
="$ac_compile"
4093 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4094 *) ac_try_echo=$ac_try;;
4096 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4097 $as_echo "$ac_try_echo"; } >&5
4098 (eval "$ac_compile") 2>&5
4100 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4101 test $ac_status = 0; }; then :
4102 for ac_file in conftest.o conftest.obj conftest.*; do
4103 test -f "$ac_file" || continue;
4105 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4106 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4111 $as_echo "$as_me: failed program was:" >&5
4112 sed 's/^/| /' conftest.$ac_ext >&5
4114 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4115 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4116 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4117 See \
`config.log' for more details" "$LINENO" 5; }
4119 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4122 $as_echo "$ac_cv_objext" >&6; }
4123 OBJEXT=$ac_cv_objext
4125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4126 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4127 if ${ac_cv_c_compiler_gnu+:} false; then :
4128 $as_echo_n "(cached) " >&6
4130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4131 /* end confdefs.h. */
4144 if ac_fn_c_try_compile "$LINENO"; then :
4149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4150 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4154 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4155 if test $ac_compiler_gnu = yes; then
4160 ac_test_CFLAGS=${CFLAGS+set}
4161 ac_save_CFLAGS=$CFLAGS
4162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4163 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4164 if ${ac_cv_prog_cc_g+:} false; then :
4165 $as_echo_n "(cached) " >&6
4167 ac_save_c_werror_flag=$ac_c_werror_flag
4168 ac_c_werror_flag=yes
4171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4172 /* end confdefs.h. */
4182 if ac_fn_c_try_compile "$LINENO"; then :
4186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4187 /* end confdefs.h. */
4197 if ac_fn_c_try_compile "$LINENO"; then :
4200 ac_c_werror_flag=$ac_save_c_werror_flag
4202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4203 /* end confdefs.h. */
4213 if ac_fn_c_try_compile "$LINENO"; then :
4216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4221 ac_c_werror_flag=$ac_save_c_werror_flag
4223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4224 $as_echo "$ac_cv_prog_cc_g" >&6; }
4225 if test "$ac_test_CFLAGS" = set; then
4226 CFLAGS=$ac_save_CFLAGS
4227 elif test $ac_cv_prog_cc_g = yes; then
4228 if test "$GCC" = yes; then
4234 if test "$GCC" = yes; then
4240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4241 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4242 if ${ac_cv_prog_cc_c89+:} false; then :
4243 $as_echo_n "(cached) " >&6
4245 ac_cv_prog_cc_c89=no
4247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4248 /* end confdefs.h. */
4252 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4253 struct buf { int x; };
4254 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4255 static char *e (p, i)
4261 static char *f (char * (*g) (char **, int), char **p, ...)
4266 s = g (p, va_arg (v,int));
4271 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4272 function prototypes and stuff, but not '\xHH' hex character constants.
4273 These don't provoke an error unfortunately, instead are silently treated
4274 as 'x'. The following induces an error, until -std is added to get
4275 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4276 array size at least. It's necessary to write '\x00'==0 to get something
4277 that's true only with -std. */
4278 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4280 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4281 inside strings and character constants. */
4283 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4285 int test (int i, double x);
4286 struct s1 {int (*f) (int a);};
4287 struct s2 {int (*f) (double a);};
4288 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4294 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4299 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4300 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4302 CC="$ac_save_CC $ac_arg"
4303 if ac_fn_c_try_compile "$LINENO"; then :
4304 ac_cv_prog_cc_c89=$ac_arg
4306 rm -f core conftest.err conftest.$ac_objext
4307 test "x$ac_cv_prog_cc_c89" != "xno" && break
4309 rm -f conftest.$ac_ext
4314 case "x$ac_cv_prog_cc_c89" in
4316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4317 $as_echo "none needed" >&6; } ;;
4319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4320 $as_echo "unsupported" >&6; } ;;
4322 CC="$CC $ac_cv_prog_cc_c89"
4323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4324 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4326 if test "x$ac_cv_prog_cc_c89" != xno; then :
4331 ac_cpp='$CPP $CPPFLAGS'
4332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4337 ac_cpp='$CPP $CPPFLAGS'
4338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4342 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4343 if ${am_cv_prog_cc_c_o+:} false; then :
4344 $as_echo_n "(cached) " >&6
4346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4347 /* end confdefs.h. */
4357 # Make sure it works both with $CC and with simple cc.
4358 # Following AC_PROG_CC_C_O, we do the test twice because some
4359 # compilers refuse to overwrite an existing .o file with -o,
4360 # though they will create one.
4361 am_cv_prog_cc_c_o=yes
4363 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4364 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4367 (exit $ac_status); } \
4368 && test -f conftest2.$ac_objext; then
4371 am_cv_prog_cc_c_o=no
4375 rm -f core conftest*
4378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4379 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4380 if test "$am_cv_prog_cc_c_o" != yes; then
4381 # Losing compiler, so override with the script.
4382 # FIXME: It is wrong to rewrite CC.
4383 # But if we don't then we get into trouble of one sort or another.
4384 # A longer-term fix would be to have automake use am__CC in this case,
4385 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4386 CC="$am_aux_dir/compile $CC"
4389 ac_cpp='$CPP $CPPFLAGS'
4390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4394 DEPDIR="${am__leading_dot}deps"
4396 ac_config_commands="$ac_config_commands depfiles"
4399 am_make=${MAKE-make}
4400 cat > confinc << 'END'
4402 @echo this is the am__doit target
4405 # If we don't find an include directive, just comment out the code.
4406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4407 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4411 # First try GNU make style include.
4412 echo "include confinc" > confmf
4413 # Ignore all kinds of additional output from 'make'.
4414 case `$am_make -s -f confmf
2> /dev
/null
` in #(
4415 *the\ am__doit\ target*)
4421 # Now try BSD make style include.
4422 if test "$am__include" = "#"; then
4423 echo '.include "confinc"' > confmf
4424 case `$am_make -s -f confmf
2> /dev
/null
` in #(
4425 *the\ am__doit\ target*)
4426 am__include=.include
4434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4435 $as_echo "$_am_result" >&6; }
4436 rm -f confinc confmf
4438 # Check whether --enable-dependency-tracking was given.
4439 if test "${enable_dependency_tracking+set}" = set; then :
4440 enableval=$enable_dependency_tracking;
4443 if test "x$enable_dependency_tracking" != xno; then
4444 am_depcomp="$ac_aux_dir/depcomp"
4448 if test "x$enable_dependency_tracking" != xno; then
4458 depcc="$CC" am_compiler_list=
4460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4461 $as_echo_n "checking dependency style of $depcc... " >&6; }
4462 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4463 $as_echo_n "(cached) " >&6
4465 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4466 # We make a subdir and do the tests there. Otherwise we can end up
4467 # making bogus files that we don't know about and never remove. For
4468 # instance it was reported that on HP-UX the gcc test will end up
4469 # making a dummy file named 'D' -- because '-MD' means "put the output
4473 # Copy depcomp to subdir because otherwise we won't find it if we're
4474 # using a relative directory.
4475 cp "$am_depcomp" conftest.dir
4477 # We will build objects and dependencies in a subdirectory because
4478 # it helps to detect inapplicable dependency modes. For instance
4479 # both Tru64's cc and ICC support -MD to output dependencies as a
4480 # side effect of compilation, but ICC will put the dependencies in
4481 # the current directory while Tru64 will put them in the object
4485 am_cv_CC_dependencies_compiler_type=none
4486 if test "$am_compiler_list" = ""; then
4487 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4490 case " $depcc " in #(
4491 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4494 for depmode in $am_compiler_list; do
4495 # Setup a source with many dependencies, because some compilers
4496 # like to wrap large dependency lists on column 80 (with \), and
4497 # we should not choose a depcomp mode which is confused by this.
4499 # We need to recreate these files for each test, as the compiler may
4500 # overwrite some of them when testing with obscure command lines.
4501 # This happens at least with the AIX C compiler.
4503 for i in 1 2 3 4 5 6; do
4504 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4505 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4506 # Solaris 10 /bin/sh.
4507 echo '/* dummy */' > sub/conftst$i.h
4509 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4511 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4512 # mode. It turns out that the SunPro C++ compiler does not properly
4513 # handle '-M -o', and we need to detect this. Also, some Intel
4514 # versions had trouble with output in subdirs.
4515 am__obj=sub/conftest.${OBJEXT-o}
4516 am__minus_obj="-o $am__obj"
4519 # This depmode causes a compiler race in universal mode.
4520 test "$am__universal" = false || continue
4523 # After this tag, mechanisms are not by side-effect, so they'll
4524 # only be used when explicitly requested.
4525 if test "x$enable_dependency_tracking" = xyes; then
4531 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4532 # This compiler won't grok '-c -o', but also, the minuso test has
4533 # not run yet. These depmodes are late enough in the game, and
4534 # so weak that their functioning should not be impacted.
4535 am__obj=conftest.${OBJEXT-o}
4540 if depmode=$depmode \
4541 source=sub/conftest.c object=$am__obj \
4542 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4543 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4544 >/dev/null 2>conftest.err &&
4545 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4546 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4547 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4548 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4549 # icc doesn't choke on unknown options, it will just issue warnings
4550 # or remarks (even with -Werror). So we grep stderr for any message
4551 # that says an option was ignored or not supported.
4552 # When given -MP, icc 7.0 and 7.1 complain thusly:
4553 # icc: Command line warning: ignoring option '-M'; no argument required
4554 # The diagnosis changed in icc 8.0:
4555 # icc: Command line remark: option '-MP' not supported
4556 if (grep 'ignoring option' conftest.err ||
4557 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4558 am_cv_CC_dependencies_compiler_type=$depmode
4567 am_cv_CC_dependencies_compiler_type=none
4571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4572 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4573 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4576 test "x$enable_dependency_tracking" != xno \
4577 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4579 am__fastdepCC_FALSE='#'
4581 am__fastdepCC_TRUE='#'
4582 am__fastdepCC_FALSE=
4587 ac_cpp='$CXXCPP $CPPFLAGS'
4588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4591 if test -z "$CXX"; then
4592 if test -n "$CCC"; then
4595 if test -n "$ac_tool_prefix"; then
4596 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4598 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4599 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4601 $as_echo_n "checking for $ac_word... " >&6; }
4602 if ${ac_cv_prog_CXX+:} false; then :
4603 $as_echo_n "(cached) " >&6
4605 if test -n "$CXX"; then
4606 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4608 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4612 test -z "$as_dir" && as_dir=.
4613 for ac_exec_ext in '' $ac_executable_extensions; do
4614 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4615 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4616 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4626 if test -n "$CXX"; then
4627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4628 $as_echo "$CXX" >&6; }
4630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4631 $as_echo "no" >&6; }
4635 test -n "$CXX" && break
4638 if test -z "$CXX"; then
4640 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4642 # Extract the first word of "$ac_prog", so it can be a program name with args.
4643 set dummy $ac_prog; ac_word=$2
4644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4645 $as_echo_n "checking for $ac_word... " >&6; }
4646 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4647 $as_echo_n "(cached) " >&6
4649 if test -n "$ac_ct_CXX"; then
4650 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4652 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4656 test -z "$as_dir" && as_dir=.
4657 for ac_exec_ext in '' $ac_executable_extensions; do
4658 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4659 ac_cv_prog_ac_ct_CXX="$ac_prog"
4660 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4669 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4670 if test -n "$ac_ct_CXX"; then
4671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4672 $as_echo "$ac_ct_CXX" >&6; }
4674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4675 $as_echo "no" >&6; }
4679 test -n "$ac_ct_CXX" && break
4682 if test "x$ac_ct_CXX" = x; then
4685 case $cross_compiling:$ac_tool_warned in
4687 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4688 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4689 ac_tool_warned=yes ;;
4697 # Provide some information about the compiler.
4698 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4701 for ac_option in --version -v -V -qversion; do
4702 { { ac_try="$ac_compiler $ac_option >&5"
4704 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4705 *) ac_try_echo
=$ac_try;;
4707 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4708 $as_echo "$ac_try_echo"; } >&5
4709 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4711 if test -s conftest.err
; then
4713 ... rest of stderr output deleted ...
4714 10q' conftest.err
>conftest.er1
4715 cat conftest.er1
>&5
4717 rm -f conftest.er1 conftest.err
4718 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4719 test $ac_status = 0; }
4722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4723 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4724 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
4725 $as_echo_n "(cached) " >&6
4727 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4728 /* end confdefs.h. */
4741 if ac_fn_cxx_try_compile
"$LINENO"; then :
4746 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4747 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4751 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4752 if test $ac_compiler_gnu = yes; then
4757 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4758 ac_save_CXXFLAGS
=$CXXFLAGS
4759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4760 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4761 if ${ac_cv_prog_cxx_g+:} false
; then :
4762 $as_echo_n "(cached) " >&6
4764 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4765 ac_cxx_werror_flag
=yes
4768 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4769 /* end confdefs.h. */
4779 if ac_fn_cxx_try_compile
"$LINENO"; then :
4780 ac_cv_prog_cxx_g
=yes
4783 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4784 /* end confdefs.h. */
4794 if ac_fn_cxx_try_compile
"$LINENO"; then :
4797 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4799 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4800 /* end confdefs.h. */
4810 if ac_fn_cxx_try_compile
"$LINENO"; then :
4811 ac_cv_prog_cxx_g
=yes
4813 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4815 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4817 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4818 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4821 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4822 if test "$ac_test_CXXFLAGS" = set; then
4823 CXXFLAGS
=$ac_save_CXXFLAGS
4824 elif test $ac_cv_prog_cxx_g = yes; then
4825 if test "$GXX" = yes; then
4831 if test "$GXX" = yes; then
4838 ac_cpp
='$CPP $CPPFLAGS'
4839 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4840 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4841 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4843 depcc
="$CXX" am_compiler_list
=
4845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4846 $as_echo_n "checking dependency style of $depcc... " >&6; }
4847 if ${am_cv_CXX_dependencies_compiler_type+:} false
; then :
4848 $as_echo_n "(cached) " >&6
4850 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4851 # We make a subdir and do the tests there. Otherwise we can end up
4852 # making bogus files that we don't know about and never remove. For
4853 # instance it was reported that on HP-UX the gcc test will end up
4854 # making a dummy file named 'D' -- because '-MD' means "put the output
4858 # Copy depcomp to subdir because otherwise we won't find it if we're
4859 # using a relative directory.
4860 cp "$am_depcomp" conftest.dir
4862 # We will build objects and dependencies in a subdirectory because
4863 # it helps to detect inapplicable dependency modes. For instance
4864 # both Tru64's cc and ICC support -MD to output dependencies as a
4865 # side effect of compilation, but ICC will put the dependencies in
4866 # the current directory while Tru64 will put them in the object
4870 am_cv_CXX_dependencies_compiler_type
=none
4871 if test "$am_compiler_list" = ""; then
4872 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4875 case " $depcc " in #(
4876 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4879 for depmode
in $am_compiler_list; do
4880 # Setup a source with many dependencies, because some compilers
4881 # like to wrap large dependency lists on column 80 (with \), and
4882 # we should not choose a depcomp mode which is confused by this.
4884 # We need to recreate these files for each test, as the compiler may
4885 # overwrite some of them when testing with obscure command lines.
4886 # This happens at least with the AIX C compiler.
4888 for i
in 1 2 3 4 5 6; do
4889 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4890 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4891 # Solaris 10 /bin/sh.
4892 echo '/* dummy */' > sub
/conftst
$i.h
4894 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4896 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4897 # mode. It turns out that the SunPro C++ compiler does not properly
4898 # handle '-M -o', and we need to detect this. Also, some Intel
4899 # versions had trouble with output in subdirs.
4900 am__obj
=sub
/conftest.
${OBJEXT-o}
4901 am__minus_obj
="-o $am__obj"
4904 # This depmode causes a compiler race in universal mode.
4905 test "$am__universal" = false ||
continue
4908 # After this tag, mechanisms are not by side-effect, so they'll
4909 # only be used when explicitly requested.
4910 if test "x$enable_dependency_tracking" = xyes
; then
4916 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
4917 # This compiler won't grok '-c -o', but also, the minuso test has
4918 # not run yet. These depmodes are late enough in the game, and
4919 # so weak that their functioning should not be impacted.
4920 am__obj
=conftest.
${OBJEXT-o}
4925 if depmode
=$depmode \
4926 source=sub
/conftest.c object
=$am__obj \
4927 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4928 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4929 >/dev
/null
2>conftest.err
&&
4930 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4931 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4932 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4933 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4934 # icc doesn't choke on unknown options, it will just issue warnings
4935 # or remarks (even with -Werror). So we grep stderr for any message
4936 # that says an option was ignored or not supported.
4937 # When given -MP, icc 7.0 and 7.1 complain thusly:
4938 # icc: Command line warning: ignoring option '-M'; no argument required
4939 # The diagnosis changed in icc 8.0:
4940 # icc: Command line remark: option '-MP' not supported
4941 if (grep 'ignoring option' conftest.err ||
4942 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4943 am_cv_CXX_dependencies_compiler_type
=$depmode
4952 am_cv_CXX_dependencies_compiler_type
=none
4956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4957 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4958 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
4961 test "x$enable_dependency_tracking" != xno \
4962 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
4963 am__fastdepCXX_TRUE
=
4964 am__fastdepCXX_FALSE
='#'
4966 am__fastdepCXX_TRUE
='#'
4967 am__fastdepCXX_FALSE
=
4971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4972 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4973 if ${ac_cv_path_GREP+:} false
; then :
4974 $as_echo_n "(cached) " >&6
4976 if test -z "$GREP"; then
4977 ac_path_GREP_found
=false
4978 # Loop through the user's path and test for each of PROGNAME-LIST
4979 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4980 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4983 test -z "$as_dir" && as_dir
=.
4984 for ac_prog
in grep ggrep
; do
4985 for ac_exec_ext
in '' $ac_executable_extensions; do
4986 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4987 as_fn_executable_p
"$ac_path_GREP" ||
continue
4988 # Check for GNU ac_path_GREP and select it if it is found.
4989 # Check for GNU $ac_path_GREP
4990 case `"$ac_path_GREP" --version 2>&1` in
4992 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4995 $as_echo_n 0123456789 >"conftest.in"
4998 cat "conftest.in" "conftest.in" >"conftest.tmp"
4999 mv "conftest.tmp" "conftest.in"
5000 cp "conftest.in" "conftest.nl"
5001 $as_echo 'GREP' >> "conftest.nl"
5002 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5003 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5004 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5005 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5006 # Best one so far, save it but keep looking for a better one
5007 ac_cv_path_GREP
="$ac_path_GREP"
5008 ac_path_GREP_max
=$ac_count
5010 # 10*(2^10) chars as input seems more than enough
5011 test $ac_count -gt 10 && break
5013 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5016 $ac_path_GREP_found && break 3
5021 if test -z "$ac_cv_path_GREP"; then
5022 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5025 ac_cv_path_GREP
=$GREP
5029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5030 $as_echo "$ac_cv_path_GREP" >&6; }
5031 GREP
="$ac_cv_path_GREP"
5036 ac_cpp
='$CPP $CPPFLAGS'
5037 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5038 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5039 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5041 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5042 # On Suns, sometimes $CPP names a directory.
5043 if test -n "$CPP" && test -d "$CPP"; then
5046 if test -z "$CPP"; then
5047 if ${ac_cv_prog_CPP+:} false
; then :
5048 $as_echo_n "(cached) " >&6
5050 # Double quotes because CPP needs to be expanded
5051 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5054 for ac_c_preproc_warn_flag
in '' yes
5056 # Use a header file that comes with gcc, so configuring glibc
5057 # with a fresh cross-compiler works.
5058 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5059 # <limits.h> exists even on freestanding compilers.
5060 # On the NeXT, cc -E runs the code through the compiler's parser,
5061 # not just through cpp. "Syntax error" is here to catch this case.
5062 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5063 /* end confdefs.h. */
5065 # include <limits.h>
5067 # include <assert.h>
5071 if ac_fn_c_try_cpp
"$LINENO"; then :
5074 # Broken: fails on valid input.
5077 rm -f conftest.err conftest.i conftest.
$ac_ext
5079 # OK, works on sane cases. Now check whether nonexistent headers
5080 # can be detected and how.
5081 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5082 /* end confdefs.h. */
5083 #include <ac_nonexistent.h>
5085 if ac_fn_c_try_cpp
"$LINENO"; then :
5086 # Broken: success on invalid input.
5089 # Passes both tests.
5093 rm -f conftest.err conftest.i conftest.
$ac_ext
5096 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5097 rm -f conftest.i conftest.err conftest.
$ac_ext
5098 if $ac_preproc_ok; then :
5110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5111 $as_echo "$CPP" >&6; }
5113 for ac_c_preproc_warn_flag
in '' yes
5115 # Use a header file that comes with gcc, so configuring glibc
5116 # with a fresh cross-compiler works.
5117 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5118 # <limits.h> exists even on freestanding compilers.
5119 # On the NeXT, cc -E runs the code through the compiler's parser,
5120 # not just through cpp. "Syntax error" is here to catch this case.
5121 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5122 /* end confdefs.h. */
5124 # include <limits.h>
5126 # include <assert.h>
5130 if ac_fn_c_try_cpp
"$LINENO"; then :
5133 # Broken: fails on valid input.
5136 rm -f conftest.err conftest.i conftest.
$ac_ext
5138 # OK, works on sane cases. Now check whether nonexistent headers
5139 # can be detected and how.
5140 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5141 /* end confdefs.h. */
5142 #include <ac_nonexistent.h>
5144 if ac_fn_c_try_cpp
"$LINENO"; then :
5145 # Broken: success on invalid input.
5148 # Passes both tests.
5152 rm -f conftest.err conftest.i conftest.
$ac_ext
5155 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5156 rm -f conftest.i conftest.err conftest.
$ac_ext
5157 if $ac_preproc_ok; then :
5160 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5161 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5162 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
5163 See \`config.log' for more details" "$LINENO" 5; }
5167 ac_cpp
='$CPP $CPPFLAGS'
5168 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5169 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5170 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5174 $as_echo_n "checking for egrep... " >&6; }
5175 if ${ac_cv_path_EGREP+:} false
; then :
5176 $as_echo_n "(cached) " >&6
5178 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5179 then ac_cv_path_EGREP
="$GREP -E"
5181 if test -z "$EGREP"; then
5182 ac_path_EGREP_found
=false
5183 # Loop through the user's path and test for each of PROGNAME-LIST
5184 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5185 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5188 test -z "$as_dir" && as_dir
=.
5189 for ac_prog
in egrep; do
5190 for ac_exec_ext
in '' $ac_executable_extensions; do
5191 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5192 as_fn_executable_p
"$ac_path_EGREP" ||
continue
5193 # Check for GNU ac_path_EGREP and select it if it is found.
5194 # Check for GNU $ac_path_EGREP
5195 case `"$ac_path_EGREP" --version 2>&1` in
5197 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5200 $as_echo_n 0123456789 >"conftest.in"
5203 cat "conftest.in" "conftest.in" >"conftest.tmp"
5204 mv "conftest.tmp" "conftest.in"
5205 cp "conftest.in" "conftest.nl"
5206 $as_echo 'EGREP' >> "conftest.nl"
5207 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5208 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5209 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5210 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5211 # Best one so far, save it but keep looking for a better one
5212 ac_cv_path_EGREP
="$ac_path_EGREP"
5213 ac_path_EGREP_max
=$ac_count
5215 # 10*(2^10) chars as input seems more than enough
5216 test $ac_count -gt 10 && break
5218 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5221 $ac_path_EGREP_found && break 3
5226 if test -z "$ac_cv_path_EGREP"; then
5227 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5230 ac_cv_path_EGREP
=$EGREP
5235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5236 $as_echo "$ac_cv_path_EGREP" >&6; }
5237 EGREP
="$ac_cv_path_EGREP"
5240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5241 $as_echo_n "checking for ANSI C header files... " >&6; }
5242 if ${ac_cv_header_stdc+:} false
; then :
5243 $as_echo_n "(cached) " >&6
5245 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5246 /* end confdefs.h. */
5260 if ac_fn_c_try_compile
"$LINENO"; then :
5261 ac_cv_header_stdc
=yes
5263 ac_cv_header_stdc
=no
5265 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5267 if test $ac_cv_header_stdc = yes; then
5268 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5269 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5270 /* end confdefs.h. */
5274 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5275 $EGREP "memchr" >/dev
/null
2>&1; then :
5278 ac_cv_header_stdc
=no
5284 if test $ac_cv_header_stdc = yes; then
5285 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5286 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5287 /* end confdefs.h. */
5291 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5292 $EGREP "free" >/dev
/null
2>&1; then :
5295 ac_cv_header_stdc
=no
5301 if test $ac_cv_header_stdc = yes; then
5302 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5303 if test "$cross_compiling" = yes; then :
5306 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5307 /* end confdefs.h. */
5310 #if ((' ' & 0x0FF) == 0x020)
5311 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5312 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5314 # define ISLOWER(c) \
5315 (('a' <= (c) && (c) <= 'i') \
5316 || ('j' <= (c) && (c) <= 'r') \
5317 || ('s' <= (c) && (c) <= 'z'))
5318 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5321 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5326 for (i = 0; i < 256; i++)
5327 if (XOR (islower (i), ISLOWER (i))
5328 || toupper (i) != TOUPPER (i))
5333 if ac_fn_c_try_run
"$LINENO"; then :
5336 ac_cv_header_stdc
=no
5338 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5339 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5345 $as_echo "$ac_cv_header_stdc" >&6; }
5346 if test $ac_cv_header_stdc = yes; then
5348 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5352 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5353 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5354 inttypes.h stdint.h unistd.h
5356 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5357 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5359 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5360 cat >>confdefs.h
<<_ACEOF
5361 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5370 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
5371 if test "x$ac_cv_header_minix_config_h" = xyes
; then :
5378 if test "$MINIX" = yes; then
5380 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
5383 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
5386 $as_echo "#define _MINIX 1" >>confdefs.h
5391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
5392 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
5393 if ${ac_cv_safe_to_define___extensions__+:} false
; then :
5394 $as_echo_n "(cached) " >&6
5396 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5397 /* end confdefs.h. */
5399 # define __EXTENSIONS__ 1
5400 $ac_includes_default
5409 if ac_fn_c_try_compile
"$LINENO"; then :
5410 ac_cv_safe_to_define___extensions__
=yes
5412 ac_cv_safe_to_define___extensions__
=no
5414 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
5417 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
5418 test $ac_cv_safe_to_define___extensions__ = yes &&
5419 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
5421 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
5423 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
5425 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
5427 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
5438 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
5439 if test -n "$ac_tool_prefix"; then
5440 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5441 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
5442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5443 $as_echo_n "checking for $ac_word... " >&6; }
5444 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
5445 $as_echo_n "(cached) " >&6
5449 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
5452 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5456 test -z "$as_dir" && as_dir
=.
5457 for ac_exec_ext
in '' $ac_executable_extensions; do
5458 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5459 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
5460 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5470 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
5471 if test -n "$PKG_CONFIG"; then
5472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5473 $as_echo "$PKG_CONFIG" >&6; }
5475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5476 $as_echo "no" >&6; }
5481 if test -z "$ac_cv_path_PKG_CONFIG"; then
5482 ac_pt_PKG_CONFIG
=$PKG_CONFIG
5483 # Extract the first word of "pkg-config", so it can be a program name with args.
5484 set dummy pkg-config
; ac_word
=$2
5485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5486 $as_echo_n "checking for $ac_word... " >&6; }
5487 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
5488 $as_echo_n "(cached) " >&6
5490 case $ac_pt_PKG_CONFIG in
5492 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
5495 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5499 test -z "$as_dir" && as_dir
=.
5500 for ac_exec_ext
in '' $ac_executable_extensions; do
5501 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5502 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
5503 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5513 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
5514 if test -n "$ac_pt_PKG_CONFIG"; then
5515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
5516 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
5518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5519 $as_echo "no" >&6; }
5522 if test "x$ac_pt_PKG_CONFIG" = x
; then
5525 case $cross_compiling:$ac_tool_warned in
5527 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5528 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5529 ac_tool_warned
=yes ;;
5531 PKG_CONFIG
=$ac_pt_PKG_CONFIG
5534 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
5538 if test -n "$PKG_CONFIG"; then
5539 _pkg_min_version
=0.9.0
5540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
5541 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
5542 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
5543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5544 $as_echo "yes" >&6; }
5546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5547 $as_echo "no" >&6; }
5554 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5555 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5560 macro_version
='2.2.7a'
5561 macro_revision
='1.3134'
5575 ltmain
="$ac_aux_dir/ltmain.sh"
5577 # Backslashify metacharacters that are still active within
5578 # double-quoted strings.
5579 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
5581 # Same as above, but do not quote variable references.
5582 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
5584 # Sed substitution to delay expansion of an escaped shell variable in a
5585 # double_quote_subst'ed string.
5586 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
5588 # Sed substitution to delay expansion of an escaped single quote.
5589 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
5591 # Sed substitution to avoid accidental globbing in evaled expressions
5592 no_glob_subst
='s/\*/\\\*/g'
5594 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5595 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5596 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5599 $as_echo_n "checking how to print strings... " >&6; }
5600 # Test print first, because it will be a builtin if present.
5601 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5602 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5604 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5607 # Use this function as a fallback that always works.
5608 func_fallback_echo ()
5610 eval 'cat <<_LTECHO_EOF
5614 ECHO='func_fallback_echo
'
5617 # func_echo_all arg...
5618 # Invoke $ECHO with all args, space-separated.
5625 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5626 $as_echo "printf" >&6; } ;;
5627 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5628 $as_echo "print -r" >&6; } ;;
5629 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5630 $as_echo "cat" >&6; } ;;
5646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5647 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5648 if ${ac_cv_path_SED+:} false; then :
5649 $as_echo_n "(cached) " >&6
5651 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5652 for ac_i in 1 2 3 4 5 6 7; do
5653 ac_script="$ac_script$as_nl$ac_script"
5655 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5656 { ac_script=; unset ac_script;}
5657 if test -z "$SED"; then
5658 ac_path_SED_found=false
5659 # Loop through the user's path and
test for each of PROGNAME-LIST
5660 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5664 test -z "$as_dir" && as_dir
=.
5665 for ac_prog
in sed gsed
; do
5666 for ac_exec_ext
in '' $ac_executable_extensions; do
5667 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
5668 as_fn_executable_p
"$ac_path_SED" ||
continue
5669 # Check for GNU ac_path_SED and select it if it is found.
5670 # Check for GNU $ac_path_SED
5671 case `"$ac_path_SED" --version 2>&1` in
5673 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
5676 $as_echo_n 0123456789 >"conftest.in"
5679 cat "conftest.in" "conftest.in" >"conftest.tmp"
5680 mv "conftest.tmp" "conftest.in"
5681 cp "conftest.in" "conftest.nl"
5682 $as_echo '' >> "conftest.nl"
5683 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5684 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5685 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5686 if test $ac_count -gt ${ac_path_SED_max-0}; then
5687 # Best one so far, save it but keep looking for a better one
5688 ac_cv_path_SED
="$ac_path_SED"
5689 ac_path_SED_max
=$ac_count
5691 # 10*(2^10) chars as input seems more than enough
5692 test $ac_count -gt 10 && break
5694 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5697 $ac_path_SED_found && break 3
5702 if test -z "$ac_cv_path_SED"; then
5703 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
5710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5711 $as_echo "$ac_cv_path_SED" >&6; }
5712 SED
="$ac_cv_path_SED"
5715 test -z "$SED" && SED
=sed
5716 Xsed
="$SED -e 1s/^X//"
5728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5729 $as_echo_n "checking for fgrep... " >&6; }
5730 if ${ac_cv_path_FGREP+:} false
; then :
5731 $as_echo_n "(cached) " >&6
5733 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
5734 then ac_cv_path_FGREP
="$GREP -F"
5736 if test -z "$FGREP"; then
5737 ac_path_FGREP_found
=false
5738 # Loop through the user's path and test for each of PROGNAME-LIST
5739 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5740 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5743 test -z "$as_dir" && as_dir
=.
5744 for ac_prog
in fgrep
; do
5745 for ac_exec_ext
in '' $ac_executable_extensions; do
5746 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
5747 as_fn_executable_p
"$ac_path_FGREP" ||
continue
5748 # Check for GNU ac_path_FGREP and select it if it is found.
5749 # Check for GNU $ac_path_FGREP
5750 case `"$ac_path_FGREP" --version 2>&1` in
5752 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
5755 $as_echo_n 0123456789 >"conftest.in"
5758 cat "conftest.in" "conftest.in" >"conftest.tmp"
5759 mv "conftest.tmp" "conftest.in"
5760 cp "conftest.in" "conftest.nl"
5761 $as_echo 'FGREP' >> "conftest.nl"
5762 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5763 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5764 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5765 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5766 # Best one so far, save it but keep looking for a better one
5767 ac_cv_path_FGREP
="$ac_path_FGREP"
5768 ac_path_FGREP_max
=$ac_count
5770 # 10*(2^10) chars as input seems more than enough
5771 test $ac_count -gt 10 && break
5773 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5776 $ac_path_FGREP_found && break 3
5781 if test -z "$ac_cv_path_FGREP"; then
5782 as_fn_error $?
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5785 ac_cv_path_FGREP
=$FGREP
5790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5791 $as_echo "$ac_cv_path_FGREP" >&6; }
5792 FGREP
="$ac_cv_path_FGREP"
5795 test -z "$GREP" && GREP
=grep
5815 # Check whether --with-gnu-ld was given.
5816 if test "${with_gnu_ld+set}" = set; then :
5817 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
5823 if test "$GCC" = yes; then
5824 # Check if gcc -print-prog-name=ld gives a path.
5825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5826 $as_echo_n "checking for ld used by $CC... " >&6; }
5829 # gcc leaves a trailing carriage return which upsets mingw
5830 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5832 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5835 # Accept absolute paths.
5837 re_direlt
='/[^/][^/]*/\.\./'
5838 # Canonicalize the pathname of ld
5839 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5840 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
5841 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5843 test -z "$LD" && LD
="$ac_prog"
5846 # If it fails, then pretend we aren't using GCC.
5850 # If it is relative, then search for the first ld in PATH.
5854 elif test "$with_gnu_ld" = yes; then
5855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5856 $as_echo_n "checking for GNU ld... " >&6; }
5858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5859 $as_echo_n "checking for non-GNU ld... " >&6; }
5861 if ${lt_cv_path_LD+:} false
; then :
5862 $as_echo_n "(cached) " >&6
5864 if test -z "$LD"; then
5865 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5866 for ac_dir
in $PATH; do
5868 test -z "$ac_dir" && ac_dir
=.
5869 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5870 lt_cv_path_LD
="$ac_dir/$ac_prog"
5871 # Check to see if the program is GNU ld. I'd rather use --version,
5872 # but apparently some variants of GNU ld only accept -v.
5873 # Break only if it was the GNU/non-GNU ld that we prefer.
5874 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5875 *GNU
* |
*'with BFD'*)
5876 test "$with_gnu_ld" != no
&& break
5879 test "$with_gnu_ld" != yes && break
5886 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
5891 if test -n "$LD"; then
5892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5893 $as_echo "$LD" >&6; }
5895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5896 $as_echo "no" >&6; }
5898 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
5899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5900 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5901 if ${lt_cv_prog_gnu_ld+:} false
; then :
5902 $as_echo_n "(cached) " >&6
5904 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5905 case `$LD -v 2>&1 </dev/null` in
5906 *GNU
* |
*'with BFD'*)
5907 lt_cv_prog_gnu_ld
=yes
5910 lt_cv_prog_gnu_ld
=no
5914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5915 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5916 with_gnu_ld
=$lt_cv_prog_gnu_ld
5926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5927 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5928 if ${lt_cv_path_NM+:} false
; then :
5929 $as_echo_n "(cached) " >&6
5931 if test -n "$NM"; then
5932 # Let the user override the nm to test.
5933 lt_nm_to_check
="$NM"
5935 lt_nm_to_check
="${ac_tool_prefix}nm"
5936 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5937 lt_nm_to_check
="$lt_nm_to_check nm"
5940 for lt_tmp_nm
in "$lt_nm_to_check"; do
5941 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5942 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
5944 test -z "$ac_dir" && ac_dir
=.
5945 # Strip out any user-provided options from the nm to test twice,
5946 # the first time to test to see if nm (rather than its options) has
5947 # an explicit path, the second time to yield a file which can be
5949 tmp_nm_path
="`$ECHO "$lt_tmp_nm" | sed 's, -.*$,,'`"
5950 case "$tmp_nm_path" in
5951 */*|
*\\*) tmp_nm
="$lt_tmp_nm";;
5952 *) tmp_nm
="$ac_dir/$lt_tmp_nm";;
5954 tmp_nm_to_nm
="`$ECHO "$tmp_nm" | sed 's, -.*$,,'`"
5955 if test -f "$tmp_nm_to_nm" ||
test -f "$tmp_nm_to_nm$ac_exeext" ; then
5956 # Check to see if the nm accepts a BSD-compat flag.
5957 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5958 # nm: unknown option "B" ignored
5959 case `"$tmp_nm" -B "$tmp_nm_to_nm" 2>&1 | grep -v '^ *$' | sed '1q'` in
5960 *$tmp_nm*) lt_cv_path_NM
="$tmp_nm -B"
5964 case `"$tmp_nm" -p "$tmp_nm_to_nm" 2>&1 | grep -v '^ *$' | sed '1q'` in
5966 lt_cv_path_NM
="$tmp_nm -p"
5970 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5971 continue # so that we can try to find one that supports BSD flags
5980 : ${lt_cv_path_NM=no}
5982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5983 $as_echo "$lt_cv_path_NM" >&6; }
5984 if test "$lt_cv_path_NM" != "no"; then
5987 # Didn't find any BSD compatible name lister, look for dumpbin.
5988 if test -n "$DUMPBIN"; then :
5989 # Let the user override the test.
5991 if test -n "$ac_tool_prefix"; then
5992 for ac_prog
in dumpbin
"link -dump"
5994 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5995 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5997 $as_echo_n "checking for $ac_word... " >&6; }
5998 if ${ac_cv_prog_DUMPBIN+:} false
; then :
5999 $as_echo_n "(cached) " >&6
6001 if test -n "$DUMPBIN"; then
6002 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
6004 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6008 test -z "$as_dir" && as_dir
=.
6009 for ac_exec_ext
in '' $ac_executable_extensions; do
6010 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6011 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
6012 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6021 DUMPBIN
=$ac_cv_prog_DUMPBIN
6022 if test -n "$DUMPBIN"; then
6023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6024 $as_echo "$DUMPBIN" >&6; }
6026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6027 $as_echo "no" >&6; }
6031 test -n "$DUMPBIN" && break
6034 if test -z "$DUMPBIN"; then
6035 ac_ct_DUMPBIN
=$DUMPBIN
6036 for ac_prog
in dumpbin
"link -dump"
6038 # Extract the first word of "$ac_prog", so it can be a program name with args.
6039 set dummy
$ac_prog; ac_word
=$2
6040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6041 $as_echo_n "checking for $ac_word... " >&6; }
6042 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false
; then :
6043 $as_echo_n "(cached) " >&6
6045 if test -n "$ac_ct_DUMPBIN"; then
6046 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
6048 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6052 test -z "$as_dir" && as_dir
=.
6053 for ac_exec_ext
in '' $ac_executable_extensions; do
6054 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6055 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
6056 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6065 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
6066 if test -n "$ac_ct_DUMPBIN"; then
6067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6068 $as_echo "$ac_ct_DUMPBIN" >&6; }
6070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6071 $as_echo "no" >&6; }
6075 test -n "$ac_ct_DUMPBIN" && break
6078 if test "x$ac_ct_DUMPBIN" = x
; then
6081 case $cross_compiling:$ac_tool_warned in
6083 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6084 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6085 ac_tool_warned
=yes ;;
6087 DUMPBIN
=$ac_ct_DUMPBIN
6091 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6093 DUMPBIN
="$DUMPBIN -symbols"
6101 if test "$DUMPBIN" != ":"; then
6105 test -z "$NM" && NM
=nm
6112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6113 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6114 if ${lt_cv_nm_interface+:} false
; then :
6115 $as_echo_n "(cached) " >&6
6117 lt_cv_nm_interface
="BSD nm"
6118 echo "int some_variable = 0;" > conftest.
$ac_ext
6119 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6120 (eval "$ac_compile" 2>conftest.err
)
6121 cat conftest.err
>&5
6122 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6123 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
6124 cat conftest.err
>&5
6125 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6126 cat conftest.out
>&5
6127 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
6128 lt_cv_nm_interface
="MS dumpbin"
6132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6133 $as_echo "$lt_cv_nm_interface" >&6; }
6135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6136 $as_echo_n "checking whether ln -s works... " >&6; }
6138 if test "$LN_S" = "ln -s"; then
6139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6140 $as_echo "yes" >&6; }
6142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6143 $as_echo "no, using $LN_S" >&6; }
6146 # find the maximum length of command line arguments
6147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6148 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6149 if ${lt_cv_sys_max_cmd_len+:} false
; then :
6150 $as_echo_n "(cached) " >&6
6157 # On DJGPP, this test can blow up pretty badly due to problems in libc
6158 # (any single argument exceeding 2000 bytes causes a buffer overrun
6159 # during glob expansion). Even if it were fixed, the result of this
6160 # check would be larger than it should be.
6161 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
6165 # Under GNU Hurd, this test is not required because there is
6166 # no limit to the length of command line arguments.
6167 # Libtool will interpret -1 as no limit whatsoever
6168 lt_cv_sys_max_cmd_len
=-1;
6171 cygwin
* | mingw
* | cegcc
*)
6172 # On Win9x/ME, this test blows up -- it succeeds, but takes
6173 # about 5 minutes as the teststring grows exponentially.
6174 # Worse, since 9x/ME are not pre-emptively multitasking,
6175 # you end up with a "frozen" computer, even though with patience
6176 # the test eventually succeeds (with a max line length of 256k).
6177 # Instead, let's just punt: use the minimum linelength reported by
6178 # all of the supported platforms: 8192 (on NT/2K/XP).
6179 lt_cv_sys_max_cmd_len
=8192;
6183 # On MiNT this can take a long time and run out of memory.
6184 lt_cv_sys_max_cmd_len
=8192;
6188 # On AmigaOS with pdksh, this test takes hours, literally.
6189 # So we just punt and use a minimum line length of 8192.
6190 lt_cv_sys_max_cmd_len
=8192;
6193 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
6194 # This has been around since 386BSD, at least. Likely further.
6195 if test -x /sbin
/sysctl
; then
6196 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
6197 elif test -x /usr
/sbin
/sysctl
; then
6198 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
6200 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
6202 # And add a safety zone
6203 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6204 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6208 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6209 lt_cv_sys_max_cmd_len
=196608
6213 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6214 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6215 # nice to cause kernel panics so lets avoid the loop below.
6216 # First set a reasonable default.
6217 lt_cv_sys_max_cmd_len
=16384
6219 if test -x /sbin
/sysconfig
; then
6220 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6221 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
6226 lt_cv_sys_max_cmd_len
=102400
6228 sysv5
* | sco5v6
* | sysv4.2uw2
*)
6229 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6230 if test -n "$kargmax"; then
6231 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
6233 lt_cv_sys_max_cmd_len
=32768
6237 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
6238 if test -n "$lt_cv_sys_max_cmd_len"; then
6239 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6240 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6242 # Make teststring a little bigger before we do anything with it.
6243 # a 1K string should be a reasonable start.
6244 for i
in 1 2 3 4 5 6 7 8 ; do
6245 teststring
=$teststring$teststring
6247 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
6248 # If test is not a shell built-in, we'll probably end up computing a
6249 # maximum length that is only half of the actual maximum length, but
6251 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6252 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
6253 test $i != 17 # 1/2 MB should be enough
6256 teststring
=$teststring$teststring
6258 # Only check the string length outside the loop.
6259 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
6261 # Add a significant safety factor because C++ compilers can tack on
6262 # massive amounts of additional arguments before passing them to the
6263 # linker. It appears as though 1/2 is a usable value.
6264 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
6271 if test -n $lt_cv_sys_max_cmd_len ; then
6272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6273 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6276 $as_echo "none" >&6; }
6278 max_cmd_len
=$lt_cv_sys_max_cmd_len
6289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6290 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6291 # Try some XSI features
6294 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6296 && eval 'test $(( 1 + 1 )) -eq 2 \
6297 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6299 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
6300 $as_echo "$xsi_shell" >&6; }
6303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
6304 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
6306 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
6308 && lt_shell_append=yes
6309 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
6310 $as_echo "$lt_shell_append" >&6; }
6313 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6323 # test EBCDIC or ASCII
6324 case `echo X|tr X '\101'` in
6325 A) # ASCII based system
6326 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6327 lt_SP2NL='tr \040 \012'
6328 lt_NL2SP='tr \015\012 \040\040'
6330 *) # EBCDIC based system
6331 lt_SP2NL='tr \100 \n'
6332 lt_NL2SP='tr \r\n \100\100'
6344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
6345 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
6346 if ${lt_cv_ld_reload_flag+:} false; then :
6347 $as_echo_n "(cached
) " >&6
6349 lt_cv_ld_reload_flag='-r'
6351 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
6352 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6353 reload_flag=$lt_cv_ld_reload_flag
6354 case $reload_flag in
6356 *) reload_flag=" $reload_flag" ;;
6358 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6361 if test "$GCC" = yes; then
6362 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6364 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6377 if test -n "$ac_tool_prefix"; then
6378 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
6379 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6381 $as_echo_n "checking
for $ac_word...
" >&6; }
6382 if ${ac_cv_prog_OBJDUMP+:} false; then :
6383 $as_echo_n "(cached
) " >&6
6385 if test -n "$OBJDUMP"; then
6386 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6388 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6392 test -z "$as_dir" && as_dir=.
6393 for ac_exec_ext in '' $ac_executable_extensions; do
6394 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6395 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
6396 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6405 OBJDUMP=$ac_cv_prog_OBJDUMP
6406 if test -n "$OBJDUMP"; then
6407 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
6408 $as_echo "$OBJDUMP" >&6; }
6410 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6411 $as_echo "no
" >&6; }
6416 if test -z "$ac_cv_prog_OBJDUMP"; then
6417 ac_ct_OBJDUMP=$OBJDUMP
6418 # Extract the first word of "objdump
", so it can be a program name with args.
6419 set dummy objdump; ac_word=$2
6420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6421 $as_echo_n "checking
for $ac_word...
" >&6; }
6422 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6423 $as_echo_n "(cached
) " >&6
6425 if test -n "$ac_ct_OBJDUMP"; then
6426 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6428 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6432 test -z "$as_dir" && as_dir=.
6433 for ac_exec_ext in '' $ac_executable_extensions; do
6434 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6435 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
6436 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6445 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6446 if test -n "$ac_ct_OBJDUMP"; then
6447 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
6448 $as_echo "$ac_ct_OBJDUMP" >&6; }
6450 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6451 $as_echo "no
" >&6; }
6454 if test "x
$ac_ct_OBJDUMP" = x; then
6457 case $cross_compiling:$ac_tool_warned in
6459 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6460 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6461 ac_tool_warned=yes ;;
6463 OBJDUMP=$ac_ct_OBJDUMP
6466 OBJDUMP="$ac_cv_prog_OBJDUMP"
6469 test -z "$OBJDUMP" && OBJDUMP=objdump
6479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
6480 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
6481 if ${lt_cv_deplibs_check_method+:} false; then :
6482 $as_echo_n "(cached
) " >&6
6484 lt_cv_file_magic_cmd='$MAGIC_CMD'
6485 lt_cv_file_magic_test_file=
6486 lt_cv_deplibs_check_method='unknown'
6487 # Need to set the preceding variable on all platforms that support
6488 # interlibrary dependencies.
6489 # 'none' -- dependencies not supported.
6490 # `unknown' -- same as none, but documents that we really don't know.
6491 # 'pass_all' -- all dependencies passed with no checks.
6492 # 'test_compile' -- check by making test program.
6493 # 'file_magic [[regex]]' -- check by looking for files in library path
6494 # which responds to the $file_magic_cmd with a given extended regex.
6495 # If you have `file' or equivalent on your system and you're not sure
6496 # whether `pass_all' will *always* work, you probably want this one.
6500 lt_cv_deplibs_check_method=pass_all
6504 lt_cv_deplibs_check_method=pass_all
6508 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6509 lt_cv_file_magic_cmd='/usr/bin/file -L'
6510 lt_cv_file_magic_test_file=/shlib/libc.so
6514 # func_win32_libid is a shell function defined in ltmain.sh
6515 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6516 lt_cv_file_magic_cmd='func_win32_libid'
6520 # Base MSYS/MinGW do not provide the 'file' command needed by
6521 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6522 # unless we find 'file', for example because we are cross-compiling.
6523 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6524 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
6525 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6526 lt_cv_file_magic_cmd='func_win32_libid'
6528 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6529 lt_cv_file_magic_cmd='$OBJDUMP -f'
6534 # use the weaker test based on 'objdump'. See mingw*.
6535 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6536 lt_cv_file_magic_cmd='$OBJDUMP -f'
6539 darwin* | rhapsody*)
6540 lt_cv_deplibs_check_method=pass_all
6543 freebsd* | dragonfly*)
6544 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6547 # Not sure whether the presence of OpenBSD here was a mistake.
6548 # Let's accept both of them until this is cleared up.
6549 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6550 lt_cv_file_magic_cmd=/usr/bin/file
6551 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6555 lt_cv_deplibs_check_method=pass_all
6560 lt_cv_deplibs_check_method=pass_all
6564 lt_cv_deplibs_check_method=pass_all
6567 hpux10.20* | hpux11*)
6568 lt_cv_file_magic_cmd=/usr/bin/file
6571 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6572 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6575 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]'
6576 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6579 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6580 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6586 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6587 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6590 irix5* | irix6* | nonstopux*)
6592 *-32|*"-32 ") libmagic=32-bit;;
6593 *-n32|*"-n32 ") libmagic=N32;;
6594 *-64|*"-64 ") libmagic=64-bit;;
6595 *) libmagic=never-match;;
6597 lt_cv_deplibs_check_method=pass_all
6600 # This must be Linux ELF.
6601 linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
6602 lt_cv_deplibs_check_method=pass_all
6606 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6607 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6609 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6614 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6615 lt_cv_file_magic_cmd=/usr/bin/file
6616 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6620 lt_cv_deplibs_check_method=pass_all
6624 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
6625 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6627 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6631 osf3* | osf4* | osf5*)
6632 lt_cv_deplibs_check_method=pass_all
6636 lt_cv_deplibs_check_method=pass_all
6640 lt_cv_deplibs_check_method=pass_all
6643 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6644 lt_cv_deplibs_check_method=pass_all
6648 case $host_vendor in
6650 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]'
6651 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6654 lt_cv_deplibs_check_method=pass_all
6657 lt_cv_file_magic_cmd='/bin/file'
6658 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6661 lt_cv_file_magic_cmd='/bin/file'
6662 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
6663 lt_cv_file_magic_test_file=/lib/libc.so
6666 lt_cv_deplibs_check_method=pass_all
6669 lt_cv_deplibs_check_method=pass_all
6675 lt_cv_deplibs_check_method=pass_all
6678 # Assume VxWorks cross toolchains are built on Linux, possibly
6679 # as canadian for Windows hosts.
6680 lt_cv_deplibs_check_method=pass_all
6685 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
6686 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6687 file_magic_cmd=$lt_cv_file_magic_cmd
6688 deplibs_check_method=$lt_cv_deplibs_check_method
6689 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6703 plugin_names="liblto_plugin.so liblto_plugin-0.dll cyglto_plugin-0.dll
"
6704 for plugin in $plugin_names; do
6705 plugin_so=`${CC} ${CFLAGS} --print-prog-name $plugin`
6706 if test x$plugin_so = x$plugin; then
6707 plugin_so=`${CC} ${CFLAGS} --print-file-name $plugin`
6709 if test x$plugin_so != x$plugin; then
6710 plugin_option="--plugin $plugin_so"
6715 if test -n "$ac_tool_prefix"; then
6716 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6717 set dummy ${ac_tool_prefix}ar; ac_word=$2
6718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6719 $as_echo_n "checking
for $ac_word...
" >&6; }
6720 if ${ac_cv_prog_AR+:} false; then :
6721 $as_echo_n "(cached
) " >&6
6723 if test -n "$AR"; then
6724 ac_cv_prog_AR="$AR" # Let the user override the test.
6726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6730 test -z "$as_dir" && as_dir=.
6731 for ac_exec_ext in '' $ac_executable_extensions; do
6732 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6733 ac_cv_prog_AR="${ac_tool_prefix}ar"
6734 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6744 if test -n "$AR"; then
6745 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
6746 $as_echo "$AR" >&6; }
6748 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6749 $as_echo "no
" >&6; }
6754 if test -z "$ac_cv_prog_AR"; then
6756 # Extract the first word of "ar", so it can be a program name with args.
6757 set dummy ar; ac_word=$2
6758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6759 $as_echo_n "checking
for $ac_word...
" >&6; }
6760 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6761 $as_echo_n "(cached
) " >&6
6763 if test -n "$ac_ct_AR"; then
6764 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6770 test -z "$as_dir" && as_dir=.
6771 for ac_exec_ext in '' $ac_executable_extensions; do
6772 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6773 ac_cv_prog_ac_ct_AR="ar"
6774 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6783 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6784 if test -n "$ac_ct_AR"; then
6785 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
6786 $as_echo "$ac_ct_AR" >&6; }
6788 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6789 $as_echo "no
" >&6; }
6792 if test "x
$ac_ct_AR" = x; then
6795 case $cross_compiling:$ac_tool_warned in
6797 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6798 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6799 ac_tool_warned=yes ;;
6807 test -z "$AR" && AR=ar
6808 if test -n "$plugin_option"; then
6809 if $AR --help 2>&1 | grep -q "\
--plugin"; then
6811 $AR $plugin_option rc conftest.a conftest.c
6812 if test "$?
" != 0; then
6813 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: Failed
: $AR $plugin_option rc
" >&5
6814 $as_echo "$as_me: WARNING
: Failed
: $AR $plugin_option rc
" >&2;}
6816 AR="$AR $plugin_option"
6821 test -z "$AR_FLAGS" && AR_FLAGS=cru
6833 if test -n "$ac_tool_prefix"; then
6834 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6835 set dummy ${ac_tool_prefix}strip; ac_word=$2
6836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6837 $as_echo_n "checking
for $ac_word...
" >&6; }
6838 if ${ac_cv_prog_STRIP+:} false; then :
6839 $as_echo_n "(cached
) " >&6
6841 if test -n "$STRIP"; then
6842 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6844 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6848 test -z "$as_dir" && as_dir=.
6849 for ac_exec_ext in '' $ac_executable_extensions; do
6850 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6851 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6852 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6861 STRIP=$ac_cv_prog_STRIP
6862 if test -n "$STRIP"; then
6863 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
6864 $as_echo "$STRIP" >&6; }
6866 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6867 $as_echo "no
" >&6; }
6872 if test -z "$ac_cv_prog_STRIP"; then
6874 # Extract the first word of "strip
", so it can be a program name with args.
6875 set dummy strip; ac_word=$2
6876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6877 $as_echo_n "checking
for $ac_word...
" >&6; }
6878 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6879 $as_echo_n "(cached
) " >&6
6881 if test -n "$ac_ct_STRIP"; then
6882 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6884 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6888 test -z "$as_dir" && as_dir=.
6889 for ac_exec_ext in '' $ac_executable_extensions; do
6890 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6891 ac_cv_prog_ac_ct_STRIP="strip
"
6892 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6901 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6902 if test -n "$ac_ct_STRIP"; then
6903 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
6904 $as_echo "$ac_ct_STRIP" >&6; }
6906 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6907 $as_echo "no
" >&6; }
6910 if test "x
$ac_ct_STRIP" = x; then
6913 case $cross_compiling:$ac_tool_warned in
6915 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6916 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6917 ac_tool_warned=yes ;;
6922 STRIP="$ac_cv_prog_STRIP"
6925 test -z "$STRIP" && STRIP=:
6932 if test -n "$ac_tool_prefix"; then
6933 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6934 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6936 $as_echo_n "checking
for $ac_word...
" >&6; }
6937 if ${ac_cv_prog_RANLIB+:} false; then :
6938 $as_echo_n "(cached
) " >&6
6940 if test -n "$RANLIB"; then
6941 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6947 test -z "$as_dir" && as_dir=.
6948 for ac_exec_ext in '' $ac_executable_extensions; do
6949 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6950 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
6951 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6960 RANLIB=$ac_cv_prog_RANLIB
6961 if test -n "$RANLIB"; then
6962 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
6963 $as_echo "$RANLIB" >&6; }
6965 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6966 $as_echo "no
" >&6; }
6971 if test -z "$ac_cv_prog_RANLIB"; then
6972 ac_ct_RANLIB=$RANLIB
6973 # Extract the first word of "ranlib
", so it can be a program name with args.
6974 set dummy ranlib; ac_word=$2
6975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6976 $as_echo_n "checking
for $ac_word...
" >&6; }
6977 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6978 $as_echo_n "(cached
) " >&6
6980 if test -n "$ac_ct_RANLIB"; then
6981 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6983 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6987 test -z "$as_dir" && as_dir=.
6988 for ac_exec_ext in '' $ac_executable_extensions; do
6989 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6990 ac_cv_prog_ac_ct_RANLIB="ranlib
"
6991 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7000 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7001 if test -n "$ac_ct_RANLIB"; then
7002 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
7003 $as_echo "$ac_ct_RANLIB" >&6; }
7005 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7006 $as_echo "no
" >&6; }
7009 if test "x
$ac_ct_RANLIB" = x; then
7012 case $cross_compiling:$ac_tool_warned in
7014 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7015 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7016 ac_tool_warned=yes ;;
7018 RANLIB=$ac_ct_RANLIB
7021 RANLIB="$ac_cv_prog_RANLIB"
7024 test -z "$RANLIB" && RANLIB=:
7025 if test -n "$plugin_option" && test "$RANLIB" != ":"; then
7026 if $RANLIB --help 2>&1 | grep -q "\
--plugin"; then
7027 RANLIB="$RANLIB $plugin_option"
7036 # Determine commands to create old-style static archives.
7037 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7038 old_postinstall_cmds='chmod 644 $oldlib'
7039 old_postuninstall_cmds=
7041 if test -n "$RANLIB"; then
7044 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
7047 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
7050 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
7055 lock_old_archive_extraction=yes ;;
7057 lock_old_archive_extraction=no ;;
7098 # If no C compiler was specified, use CC.
7101 # If no C compiler flags were specified, use CFLAGS.
7102 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7104 # Allow CC to be a program name with arguments.
7108 # Check for command to grab the raw symbol name followed by C symbol from nm.
7109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
7110 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
7111 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7112 $as_echo_n "(cached
) " >&6
7115 # These are sane defaults that work on at least a few old systems.
7116 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7118 # Character class describing NM global symbol codes.
7119 symcode='[BCDEGRST]'
7121 # Regexp to match symbols that can be accessed directly from C.
7122 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7124 # Define system-specific variables.
7129 cygwin* | mingw* | pw32* | cegcc*)
7130 symcode='[ABCDGISTW]'
7133 if test "$host_cpu" = ia64; then
7134 symcode='[ABCDEGRST]'
7138 symcode='[BCDEGRST]'
7141 symcode='[BCDEGQRST]'
7152 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7160 # If we're using GNU nm, then use its standard symbol codes.
7161 case `$NM -V 2>&1` in
7162 *GNU* | *'with BFD'*)
7163 symcode='[ABCDGIRSTW]' ;;
7166 # Transform an extracted symbol line into a proper C declaration.
7167 # Some systems (esp. on ia64) link data and code symbols differently,
7168 # so use this general approach.
7169 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7171 # Transform an extracted symbol line into symbol name and symbol address
7172 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7173 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'"
7175 # Handle CRLF in mingw tool chain
7179 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7183 # Try without a prefix underscore, then with it.
7184 for ac_symprfx in "" "_
"; do
7186 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7187 symxfrm="\\1 $ac_symprfx\\2 \\2"
7189 # Write the raw and C identifiers.
7190 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
7191 # Fake it for dumpbin and say T for any non-static function
7192 # and D for any global variable.
7193 # Also find C++ and __fastcall symbols from MSVC++,
7194 # which start with @ or ?.
7195 lt_cv_sys_global_symbol_pipe="$AWK '"\
7196 " {last_section=section; section=\$ 3};"\
7197 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7198 " \$ 0!~/External *\|/{next};"\
7199 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7200 " {if(hide[section]) next};"\
7201 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7202 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7203 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7204 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7205 " ' prfx
=^
$ac_symprfx"
7207 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7210 # Check to see that the pipe works correctly.
7214 cat > conftest.$ac_ext <<_LT_EOF
7219 void nm_test_func(void);
7220 void nm_test_func(void){}
7224 int main(){nm_test_var='a';nm_test_func();return(0);}
7227 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7228 (eval $ac_compile) 2>&5
7230 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7231 test $ac_status = 0; }; then
7232 # Now try to grab the symbols.
7234 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
7235 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7237 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7238 test $ac_status = 0; } && test -s "$nlist"; then
7239 # Try sorting and uniquifying the output.
7240 if sort "$nlist" | uniq > "$nlist"T; then
7241 mv -f "$nlist"T "$nlist"
7246 # Make sure that we snagged all the symbols we need.
7247 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7248 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7249 cat <<_LT_EOF > conftest.$ac_ext
7255 # Now generate the symbol file.
7256 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7258 cat <<_LT_EOF >> conftest.$ac_ext
7260 /* The mapping between symbol names and symbols. */
7265 lt__PROGRAM__LTX_preloaded_symbols[] =
7267 { "@PROGRAM@
", (void *) 0 },
7269 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7270 cat <<\_LT_EOF >> conftest.$ac_ext
7274 /* This works around a problem in FreeBSD linker */
7275 #ifdef FREEBSD_WORKAROUND
7276 static const void *lt_preloaded_setup() {
7277 return lt__PROGRAM__LTX_preloaded_symbols;
7285 # Now try linking the two files.
7286 mv conftest.$ac_objext conftstm.$ac_objext
7287 lt_save_LIBS="$LIBS"
7288 lt_save_CFLAGS="$CFLAGS"
7289 LIBS="conftstm.
$ac_objext"
7290 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7291 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7292 (eval $ac_link) 2>&5
7294 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7295 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7298 LIBS="$lt_save_LIBS"
7299 CFLAGS="$lt_save_CFLAGS"
7301 echo "cannot
find nm_test_func
in $nlist" >&5
7304 echo "cannot
find nm_test_var
in $nlist" >&5
7307 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
7310 echo "$progname: failed program was
:" >&5
7311 cat conftest.$ac_ext >&5
7313 rm -rf conftest* conftst*
7315 # Do not use the global_symbol_pipe unless it works.
7316 if test "$pipe_works" = yes; then
7319 lt_cv_sys_global_symbol_pipe=
7325 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7326 lt_cv_sys_global_symbol_to_cdecl=
7328 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7329 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
7330 $as_echo "failed
" >&6; }
7332 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
7333 $as_echo "ok
" >&6; }
7357 # Check whether --enable-libtool-lock was given.
7358 if test "${enable_libtool_lock+set}" = set; then :
7359 enableval=$enable_libtool_lock;
7362 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
7364 # Some flags need to be propagated to the compiler or linker for good
7368 # Find out which ABI we are using.
7369 echo 'int i;' > conftest.$ac_ext
7370 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7371 (eval $ac_compile) 2>&5
7373 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7374 test $ac_status = 0; }; then
7375 case `/usr/bin/file conftest.$ac_objext` in
7387 # Find out which ABI we are using.
7388 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
7389 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7390 (eval $ac_compile) 2>&5
7392 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7393 test $ac_status = 0; }; then
7394 if test "$lt_cv_prog_gnu_ld" = yes; then
7395 case `/usr/bin/file conftest.$ac_objext` in
7397 LD="${LD-ld} -melf32bsmip"
7400 LD="${LD-ld} -melf32bmipn32"
7403 LD="${LD-ld} -melf64bmip"
7407 case `/usr/bin/file conftest.$ac_objext` in
7423 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7424 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7425 # Find out which ABI we are using.
7426 echo 'int i;' > conftest.$ac_ext
7427 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7428 (eval $ac_compile) 2>&5
7430 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7431 test $ac_status = 0; }; then
7432 case `/usr/bin/file conftest.o` in
7435 x86_64-*kfreebsd*-gnu)
7436 LD="${LD-ld} -m elf_i386_fbsd
"
7439 case `/usr/bin/file conftest.o` in
7441 LD="${LD-ld} -m elf32_x86_64
"
7444 LD="${LD-ld} -m elf_i386
"
7448 powerpc64le-*linux*)
7449 LD="${LD-ld} -m elf32lppclinux
"
7452 LD="${LD-ld} -m elf32ppclinux
"
7455 LD="${LD-ld} -m elf_s390
"
7458 LD="${LD-ld} -m elf32_sparc
"
7464 x86_64-*kfreebsd*-gnu)
7465 LD="${LD-ld} -m elf_x86_64_fbsd
"
7468 LD="${LD-ld} -m elf_x86_64
"
7471 LD="${LD-ld} -m elf64lppc
"
7474 LD="${LD-ld} -m elf64ppc
"
7476 s390*-*linux*|s390*-*tpf*)
7477 LD="${LD-ld} -m elf64_s390
"
7480 LD="${LD-ld} -m elf64_sparc
"
7490 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7491 SAVE_CFLAGS="$CFLAGS"
7492 CFLAGS="$CFLAGS -belf"
7493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
7494 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
7495 if ${lt_cv_cc_needs_belf+:} false; then :
7496 $as_echo_n "(cached
) " >&6
7499 ac_cpp='$CPP $CPPFLAGS'
7500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7505 /* end confdefs.h. */
7515 if ac_fn_c_try_link "$LINENO"; then :
7516 lt_cv_cc_needs_belf=yes
7518 lt_cv_cc_needs_belf=no
7520 rm -f core conftest.err conftest.$ac_objext \
7521 conftest$ac_exeext conftest.$ac_ext
7523 ac_cpp='$CPP $CPPFLAGS'
7524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7529 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
7530 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7531 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7532 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7533 CFLAGS="$SAVE_CFLAGS"
7537 # Find out which ABI we are using.
7538 echo 'int i;' > conftest.$ac_ext
7539 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7540 (eval $ac_compile) 2>&5
7542 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7543 test $ac_status = 0; }; then
7544 case `/usr/bin/file conftest.o` in
7546 case $lt_cv_prog_gnu_ld in
7547 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
7549 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7561 need_locks="$enable_libtool_lock"
7565 rhapsody* | darwin*)
7566 if test -n "$ac_tool_prefix"; then
7567 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
7568 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7570 $as_echo_n "checking
for $ac_word...
" >&6; }
7571 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7572 $as_echo_n "(cached
) " >&6
7574 if test -n "$DSYMUTIL"; then
7575 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7577 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7581 test -z "$as_dir" && as_dir=.
7582 for ac_exec_ext in '' $ac_executable_extensions; do
7583 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7584 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
7585 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7594 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7595 if test -n "$DSYMUTIL"; then
7596 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
7597 $as_echo "$DSYMUTIL" >&6; }
7599 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7600 $as_echo "no
" >&6; }
7605 if test -z "$ac_cv_prog_DSYMUTIL"; then
7606 ac_ct_DSYMUTIL=$DSYMUTIL
7607 # Extract the first word of "dsymutil
", so it can be a program name with args.
7608 set dummy dsymutil; ac_word=$2
7609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7610 $as_echo_n "checking
for $ac_word...
" >&6; }
7611 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7612 $as_echo_n "(cached
) " >&6
7614 if test -n "$ac_ct_DSYMUTIL"; then
7615 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7621 test -z "$as_dir" && as_dir=.
7622 for ac_exec_ext in '' $ac_executable_extensions; do
7623 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7624 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
7625 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7634 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7635 if test -n "$ac_ct_DSYMUTIL"; then
7636 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
7637 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7639 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7640 $as_echo "no
" >&6; }
7643 if test "x
$ac_ct_DSYMUTIL" = x; then
7646 case $cross_compiling:$ac_tool_warned in
7648 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7649 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7650 ac_tool_warned=yes ;;
7652 DSYMUTIL=$ac_ct_DSYMUTIL
7655 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7658 if test -n "$ac_tool_prefix"; then
7659 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
7660 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7662 $as_echo_n "checking
for $ac_word...
" >&6; }
7663 if ${ac_cv_prog_NMEDIT+:} false; then :
7664 $as_echo_n "(cached
) " >&6
7666 if test -n "$NMEDIT"; then
7667 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7669 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7673 test -z "$as_dir" && as_dir=.
7674 for ac_exec_ext in '' $ac_executable_extensions; do
7675 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7676 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
7677 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7686 NMEDIT=$ac_cv_prog_NMEDIT
7687 if test -n "$NMEDIT"; then
7688 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
7689 $as_echo "$NMEDIT" >&6; }
7691 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7692 $as_echo "no
" >&6; }
7697 if test -z "$ac_cv_prog_NMEDIT"; then
7698 ac_ct_NMEDIT=$NMEDIT
7699 # Extract the first word of "nmedit
", so it can be a program name with args.
7700 set dummy nmedit; ac_word=$2
7701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7702 $as_echo_n "checking
for $ac_word...
" >&6; }
7703 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7704 $as_echo_n "(cached
) " >&6
7706 if test -n "$ac_ct_NMEDIT"; then
7707 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7709 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7713 test -z "$as_dir" && as_dir=.
7714 for ac_exec_ext in '' $ac_executable_extensions; do
7715 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7716 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
7717 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7726 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7727 if test -n "$ac_ct_NMEDIT"; then
7728 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
7729 $as_echo "$ac_ct_NMEDIT" >&6; }
7731 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7732 $as_echo "no
" >&6; }
7735 if test "x
$ac_ct_NMEDIT" = x; then
7738 case $cross_compiling:$ac_tool_warned in
7740 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7741 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7742 ac_tool_warned=yes ;;
7744 NMEDIT=$ac_ct_NMEDIT
7747 NMEDIT="$ac_cv_prog_NMEDIT"
7750 if test -n "$ac_tool_prefix"; then
7751 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
7752 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7754 $as_echo_n "checking
for $ac_word...
" >&6; }
7755 if ${ac_cv_prog_LIPO+:} false; then :
7756 $as_echo_n "(cached
) " >&6
7758 if test -n "$LIPO"; then
7759 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7765 test -z "$as_dir" && as_dir=.
7766 for ac_exec_ext in '' $ac_executable_extensions; do
7767 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7768 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
7769 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7778 LIPO=$ac_cv_prog_LIPO
7779 if test -n "$LIPO"; then
7780 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
7781 $as_echo "$LIPO" >&6; }
7783 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7784 $as_echo "no
" >&6; }
7789 if test -z "$ac_cv_prog_LIPO"; then
7791 # Extract the first word of "lipo
", so it can be a program name with args.
7792 set dummy lipo; ac_word=$2
7793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7794 $as_echo_n "checking
for $ac_word...
" >&6; }
7795 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7796 $as_echo_n "(cached
) " >&6
7798 if test -n "$ac_ct_LIPO"; then
7799 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7805 test -z "$as_dir" && as_dir=.
7806 for ac_exec_ext in '' $ac_executable_extensions; do
7807 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7808 ac_cv_prog_ac_ct_LIPO="lipo
"
7809 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7818 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7819 if test -n "$ac_ct_LIPO"; then
7820 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
7821 $as_echo "$ac_ct_LIPO" >&6; }
7823 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7824 $as_echo "no
" >&6; }
7827 if test "x
$ac_ct_LIPO" = x; then
7830 case $cross_compiling:$ac_tool_warned in
7832 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7833 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7834 ac_tool_warned=yes ;;
7839 LIPO="$ac_cv_prog_LIPO"
7842 if test -n "$ac_tool_prefix"; then
7843 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
7844 set dummy ${ac_tool_prefix}otool; ac_word=$2
7845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7846 $as_echo_n "checking
for $ac_word...
" >&6; }
7847 if ${ac_cv_prog_OTOOL+:} false; then :
7848 $as_echo_n "(cached
) " >&6
7850 if test -n "$OTOOL"; then
7851 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7853 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7857 test -z "$as_dir" && as_dir=.
7858 for ac_exec_ext in '' $ac_executable_extensions; do
7859 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7860 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
7861 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7870 OTOOL=$ac_cv_prog_OTOOL
7871 if test -n "$OTOOL"; then
7872 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
7873 $as_echo "$OTOOL" >&6; }
7875 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7876 $as_echo "no
" >&6; }
7881 if test -z "$ac_cv_prog_OTOOL"; then
7883 # Extract the first word of "otool
", so it can be a program name with args.
7884 set dummy otool; ac_word=$2
7885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7886 $as_echo_n "checking
for $ac_word...
" >&6; }
7887 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7888 $as_echo_n "(cached
) " >&6
7890 if test -n "$ac_ct_OTOOL"; then
7891 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7897 test -z "$as_dir" && as_dir=.
7898 for ac_exec_ext in '' $ac_executable_extensions; do
7899 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7900 ac_cv_prog_ac_ct_OTOOL="otool
"
7901 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7910 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7911 if test -n "$ac_ct_OTOOL"; then
7912 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
7913 $as_echo "$ac_ct_OTOOL" >&6; }
7915 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7916 $as_echo "no
" >&6; }
7919 if test "x
$ac_ct_OTOOL" = x; then
7922 case $cross_compiling:$ac_tool_warned in
7924 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7925 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7926 ac_tool_warned=yes ;;
7931 OTOOL="$ac_cv_prog_OTOOL"
7934 if test -n "$ac_tool_prefix"; then
7935 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
7936 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7938 $as_echo_n "checking
for $ac_word...
" >&6; }
7939 if ${ac_cv_prog_OTOOL64+:} false; then :
7940 $as_echo_n "(cached
) " >&6
7942 if test -n "$OTOOL64"; then
7943 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7949 test -z "$as_dir" && as_dir=.
7950 for ac_exec_ext in '' $ac_executable_extensions; do
7951 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7952 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
7953 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7962 OTOOL64=$ac_cv_prog_OTOOL64
7963 if test -n "$OTOOL64"; then
7964 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
7965 $as_echo "$OTOOL64" >&6; }
7967 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7968 $as_echo "no
" >&6; }
7973 if test -z "$ac_cv_prog_OTOOL64"; then
7974 ac_ct_OTOOL64=$OTOOL64
7975 # Extract the first word of "otool64
", so it can be a program name with args.
7976 set dummy otool64; ac_word=$2
7977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7978 $as_echo_n "checking
for $ac_word...
" >&6; }
7979 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7980 $as_echo_n "(cached
) " >&6
7982 if test -n "$ac_ct_OTOOL64"; then
7983 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7989 test -z "$as_dir" && as_dir=.
7990 for ac_exec_ext in '' $ac_executable_extensions; do
7991 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7992 ac_cv_prog_ac_ct_OTOOL64="otool64
"
7993 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8002 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8003 if test -n "$ac_ct_OTOOL64"; then
8004 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
8005 $as_echo "$ac_ct_OTOOL64" >&6; }
8007 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8008 $as_echo "no
" >&6; }
8011 if test "x
$ac_ct_OTOOL64" = x; then
8014 case $cross_compiling:$ac_tool_warned in
8016 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8017 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8018 ac_tool_warned=yes ;;
8020 OTOOL64=$ac_ct_OTOOL64
8023 OTOOL64="$ac_cv_prog_OTOOL64"
8052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
8053 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
8054 if ${lt_cv_apple_cc_single_mod+:} false; then :
8055 $as_echo_n "(cached
) " >&6
8057 lt_cv_apple_cc_single_mod=no
8058 if test -z "${LT_MULTI_MODULE}"; then
8059 # By default we will add the -single_module flag. You can override
8060 # by either setting the environment variable LT_MULTI_MODULE
8061 # non-empty at configure time, or by adding -multi_module to the
8063 rm -rf libconftest.dylib*
8064 echo "int foo
(void
){return 1;}" > conftest.c
8065 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8066 -dynamiclib -Wl,-single_module conftest.c
" >&5
8067 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8068 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8070 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
8071 lt_cv_apple_cc_single_mod=yes
8073 cat conftest.err >&5
8075 rm -rf libconftest.dylib*
8079 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
8080 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
8082 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
8083 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8084 $as_echo_n "(cached
) " >&6
8086 lt_cv_ld_exported_symbols_list=no
8087 save_LDFLAGS=$LDFLAGS
8088 echo "_main
" > conftest.sym
8089 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
8090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8091 /* end confdefs.h. */
8101 if ac_fn_c_try_link "$LINENO"; then :
8102 lt_cv_ld_exported_symbols_list=yes
8104 lt_cv_ld_exported_symbols_list=no
8106 rm -f core conftest.err conftest.$ac_objext \
8107 conftest$ac_exeext conftest.$ac_ext
8108 LDFLAGS="$save_LDFLAGS"
8111 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
8112 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
8114 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
8115 if ${lt_cv_ld_force_load+:} false; then :
8116 $as_echo_n "(cached
) " >&6
8118 lt_cv_ld_force_load=no
8119 cat > conftest.c << _LT_EOF
8120 int forced_loaded() { return 2;}
8122 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
8123 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8124 echo "$AR cru libconftest.a conftest.o
" >&5
8125 $AR cru libconftest.a conftest.o 2>&5
8126 cat > conftest.c << _LT_EOF
8127 int main() { return 0;}
8129 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
8130 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8132 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
8133 lt_cv_ld_force_load=yes
8135 cat conftest.err >&5
8137 rm -f conftest.err libconftest.a conftest conftest.c
8138 rm -rf conftest.dSYM
8141 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
8142 $as_echo "$lt_cv_ld_force_load" >&6; }
8143 # Allow for Darwin 4-7 (macOS 10.0-10.3) although these are not expect to
8144 # build without first building modern cctools / linker.
8145 case $host_cpu-$host_os in
8146 *-rhapsody* | *-darwin1.[012])
8147 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8149 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8151 # darwin 5.x (macOS 10.1) onwards we only need to adjust when the
8152 # deployment target is forced to an earlier version.
8153 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host in
8154 UNSET,*-darwin[89]*|UNSET,*-darwin[12][0123456789]*)
8157 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8164 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8165 _lt_dar_single_mod='$single_module'
8167 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8168 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8170 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8172 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
8173 _lt_dsymutil='~$DSYMUTIL $lib || :'
8180 for ac_header in dlfcn.h
8182 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h
" "ac_cv_header_dlfcn_h
" "$ac_includes_default
8184 if test "x
$ac_cv_header_dlfcn_h" = xyes; then :
8185 cat >>confdefs.h <<_ACEOF
8186 #define HAVE_DLFCN_H 1
8208 # Check whether --enable-shared was given.
8209 if test "${enable_shared+set}" = set; then :
8210 enableval=$enable_shared; p=${PACKAGE-default}
8212 yes) enable_shared=yes ;;
8213 no) enable_shared=no ;;
8216 # Look at the argument we got. We use all the common list separators.
8217 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8218 for pkg in $enableval; do
8220 if test "X
$pkg" = "X
$p"; then
8239 # Check whether --enable-static was given.
8240 if test "${enable_static+set}" = set; then :
8241 enableval=$enable_static; p=${PACKAGE-default}
8243 yes) enable_static=yes ;;
8244 no) enable_static=no ;;
8247 # Look at the argument we got. We use all the common list separators.
8248 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8249 for pkg in $enableval; do
8251 if test "X
$pkg" = "X
$p"; then
8271 # Check whether --with-pic was given.
8272 if test "${with_pic+set}" = set; then :
8273 withval=$with_pic; pic_mode="$withval"
8279 test -z "$pic_mode" && pic_mode=default
8287 # Check whether --enable-fast-install was given.
8288 if test "${enable_fast_install+set}" = set; then :
8289 enableval=$enable_fast_install; p=${PACKAGE-default}
8291 yes) enable_fast_install=yes ;;
8292 no) enable_fast_install=no ;;
8294 enable_fast_install=no
8295 # Look at the argument we got. We use all the common list separators.
8296 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8297 for pkg in $enableval; do
8299 if test "X
$pkg" = "X
$p"; then
8300 enable_fast_install=yes
8307 enable_fast_install=yes
8320 # This can be used to rebuild libtool when needed
8321 LIBTOOL_DEPS="$ltmain"
8323 # Always use our own libtool.
8324 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8351 test -z "$LN_S" && LN_S="ln -s"
8366 if test -n "${ZSH_VERSION+set}" ; then
8367 setopt NO_GLOB_SUBST
8370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdir
" >&5
8371 $as_echo_n "checking
for objdir...
" >&6; }
8372 if ${lt_cv_objdir+:} false; then :
8373 $as_echo_n "(cached
) " >&6
8375 rm -f .libs 2>/dev/null
8376 mkdir .libs 2>/dev/null
8377 if test -d .libs; then
8380 # MS-DOS does not allow filenames that begin with a dot.
8383 rmdir .libs 2>/dev/null
8385 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_objdir" >&5
8386 $as_echo "$lt_cv_objdir" >&6; }
8387 objdir=$lt_cv_objdir
8393 cat >>confdefs.h <<_ACEOF
8394 #define LT_OBJDIR "$lt_cv_objdir/"
8402 # AIX sometimes has problems with the GCC collect2 program. For some
8403 # reason, if we set the COLLECT_NAMES environment variable, the problems
8404 # vanish in a puff of smoke.
8405 if test "X
${COLLECT_NAMES+set}" != Xset; then
8407 export COLLECT_NAMES
8414 can_build_shared=yes
8416 # All known linkers require a `.a' archive for static linking (except MSVC,
8417 # which needs '.lib').
8420 with_gnu_ld="$lt_cv_prog_gnu_ld"
8423 old_CFLAGS="$CFLAGS"
8425 # Set sane defaults for various variables
8426 test -z "$CC" && CC=cc
8427 test -z "$LTCC" && LTCC=$CC
8428 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8429 test -z "$LD" && LD=ld
8430 test -z "$ac_objext" && ac_objext=o
8432 for cc_temp in $compiler""; do
8434 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8435 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8440 cc_basename=`$ECHO "$cc_temp" | $SED "s
%.
*/%%; s
%^
$host_alias-%%"`
8443 # Only perform the check for file, if the check method requires it
8444 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8445 case $deplibs_check_method in
8447 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ac_tool_prefix}file" >&5
8449 $as_echo_n "checking
for ${ac_tool_prefix}file...
" >&6; }
8450 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8451 $as_echo_n "(cached
) " >&6
8455 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8458 lt_save_MAGIC_CMD="$MAGIC_CMD"
8459 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8460 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
8461 for ac_dir in $ac_dummy; do
8463 test -z "$ac_dir" && ac_dir=.
8464 if test -f $ac_dir/${ac_tool_prefix}file; then
8465 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8466 if test -n "$file_magic_test_file"; then
8467 case $deplibs_check_method in
8469 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
8470 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8471 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8472 $EGREP "$file_magic_regex" > /dev/null; then
8477 *** Warning: the command libtool uses to detect shared libraries,
8478 *** $file_magic_cmd, produces output that libtool cannot recognize.
8479 *** The result is that libtool may fail to recognize shared libraries
8480 *** as such. This will affect the creation of libtool libraries that
8481 *** depend on shared libraries, but programs linked with such libtool
8482 *** libraries will work regardless of this problem. Nevertheless, you
8483 *** may want to report the problem to your system manager and/or to
8484 *** bug-libtool@gnu.org
8494 MAGIC_CMD="$lt_save_MAGIC_CMD"
8499 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8500 if test -n "$MAGIC_CMD"; then
8501 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
8502 $as_echo "$MAGIC_CMD" >&6; }
8504 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8505 $as_echo "no
" >&6; }
8512 if test -z "$lt_cv_path_MAGIC_CMD"; then
8513 if test -n "$ac_tool_prefix"; then
8514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for file" >&5
8515 $as_echo_n "checking
for file...
" >&6; }
8516 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8517 $as_echo_n "(cached
) " >&6
8521 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8524 lt_save_MAGIC_CMD="$MAGIC_CMD"
8525 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8526 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
8527 for ac_dir in $ac_dummy; do
8529 test -z "$ac_dir" && ac_dir=.
8530 if test -f $ac_dir/file; then
8531 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8532 if test -n "$file_magic_test_file"; then
8533 case $deplibs_check_method in
8535 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
8536 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8537 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8538 $EGREP "$file_magic_regex" > /dev/null; then
8543 *** Warning: the command libtool uses to detect shared libraries,
8544 *** $file_magic_cmd, produces output that libtool cannot recognize.
8545 *** The result is that libtool may fail to recognize shared libraries
8546 *** as such. This will affect the creation of libtool libraries that
8547 *** depend on shared libraries, but programs linked with such libtool
8548 *** libraries will work regardless of this problem. Nevertheless, you
8549 *** may want to report the problem to your system manager and/or to
8550 *** bug-libtool@gnu.org
8560 MAGIC_CMD="$lt_save_MAGIC_CMD"
8565 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8566 if test -n "$MAGIC_CMD"; then
8567 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
8568 $as_echo "$MAGIC_CMD" >&6; }
8570 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8571 $as_echo "no
" >&6; }
8584 # Use C for the default configuration in the libtool script
8588 ac_cpp='$CPP $CPPFLAGS'
8589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8594 # Source file extension for C test sources.
8597 # Object file extension for compiled C test sources.
8601 # Code to be used in simple compile tests
8602 lt_simple_compile_test_code="int some_variable
= 0;"
8604 # Code to be used in simple link tests
8605 lt_simple_link_test_code='int main(){return(0);}'
8613 # If no C compiler was specified, use CC.
8616 # If no C compiler flags were specified, use CFLAGS.
8617 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8619 # Allow CC to be a program name with arguments.
8622 # Save the default compiler, since it gets overwritten when the other
8623 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8624 compiler_DEFAULT=$CC
8626 # save warnings/boilerplate of simple test code
8627 ac_outfile=conftest.$ac_objext
8628 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8629 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8630 _lt_compiler_boilerplate=`cat conftest.err`
8633 ac_outfile=conftest.$ac_objext
8634 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8635 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8636 _lt_linker_boilerplate=`cat conftest.err`
8641 ## There is no encapsulation within the following macros, do not change
8642 ## the running order or otherwise move them around unless you know exactly
8643 ## what you are doing...
8644 if test -n "$compiler"; then
8646 lt_prog_compiler_no_builtin_flag=
8648 if test "$GCC" = yes; then
8649 case $cc_basename in
8651 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8653 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-fno-rtti -fno-exceptions" >&5
8657 $as_echo_n "checking
if $compiler supports
-fno-rtti -fno-exceptions...
" >&6; }
8658 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8659 $as_echo_n "(cached
) " >&6
8661 lt_cv_prog_compiler_rtti_exceptions=no
8662 ac_outfile=conftest.$ac_objext
8663 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8664 lt_compiler_flag="-fno-rtti -fno-exceptions"
8665 # Insert the option either (1) after the last *FLAGS variable, or
8666 # (2) before a word containing "conftest.
", or (3) at the end.
8667 # Note that $ac_compile itself does not contain backslashes and begins
8668 # with a dollar sign (not a hyphen), so the echo should work correctly.
8669 # The option is referenced via a variable to avoid confusing sed.
8670 lt_compile=`echo "$ac_compile" | $SED \
8671 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8672 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8673 -e 's:$: $lt_compiler_flag:'`
8674 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
8675 (eval "$lt_compile" 2>conftest.err)
8677 cat conftest.err >&5
8678 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8679 if (exit $ac_status) && test -s "$ac_outfile"; then
8680 # The compiler can only warn and ignore the option if not recognized
8681 # So say no if there are warnings other than the usual output.
8682 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8683 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8684 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8685 lt_cv_prog_compiler_rtti_exceptions=yes
8691 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_rtti_exceptions" >&5
8692 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8694 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8695 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8707 lt_prog_compiler_wl=
8708 lt_prog_compiler_pic=
8709 lt_prog_compiler_static=
8711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $compiler option to produce PIC
" >&5
8712 $as_echo_n "checking
for $compiler option to produce PIC...
" >&6; }
8714 if test "$GCC" = yes; then
8715 lt_prog_compiler_wl='-Wl,'
8716 lt_prog_compiler_static='-static'
8720 # All AIX code is PIC.
8721 if test "$host_cpu" = ia64; then
8722 # AIX 5 now supports IA64 processor
8723 lt_prog_compiler_static='-Bstatic'
8725 lt_prog_compiler_pic='-fPIC'
8731 # see comment about AmigaOS4 .so support
8732 lt_prog_compiler_pic='-fPIC'
8735 # FIXME: we need at least 68020 code to build shared libraries, but
8736 # adding the `-m68020' flag to GCC prevents building anything better,
8738 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8743 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8744 # PIC is the default for these OSes.
8747 mingw* | cygwin* | pw32* | os2* | cegcc*)
8748 # This hack is so that the source file can tell whether it is being
8749 # built for inclusion in a dll (and should export symbols for example).
8750 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8751 # (--disable-auto-import) libraries
8752 lt_prog_compiler_pic='-DDLL_EXPORT'
8755 darwin* | rhapsody*)
8756 # PIC is the default on this platform
8757 # Common symbols not allowed in MH_DYLIB files
8758 lt_prog_compiler_pic='-fno-common'
8762 # PIC is the default for Haiku.
8763 # The "-static" flag exists, but is broken.
8764 lt_prog_compiler_static=
8768 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8769 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8770 # sets the default TLS model and affects inlining.
8776 lt_prog_compiler_pic='-fPIC'
8782 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8783 # Instead, we relocate shared libraries at runtime.
8787 # Just because we use GCC doesn't mean we suddenly get shared libraries
8788 # on systems that don't support them.
8789 lt_prog_compiler_can_build_shared=no
8794 # QNX uses GNU C++, but need to define -shared option too, otherwise
8796 lt_prog_compiler_pic='-fPIC -shared'
8800 if test -d /usr/nec; then
8801 lt_prog_compiler_pic=-Kconform_pic
8806 lt_prog_compiler_pic='-fPIC'
8810 case $cc_basename in
8811 nvcc*) # Cuda Compiler Driver 2.2
8812 lt_prog_compiler_wl='-Xlinker '
8813 lt_prog_compiler_pic='-Xcompiler -fPIC'
8817 # PORTME Check for flag to pass linker flags through the system compiler.
8820 lt_prog_compiler_wl='-Wl,'
8821 if test "$host_cpu" = ia64; then
8822 # AIX 5 now supports IA64 processor
8823 lt_prog_compiler_static='-Bstatic'
8825 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8829 mingw* | cygwin* | pw32* | os2* | cegcc*)
8830 # This hack is so that the source file can tell whether it is being
8831 # built for inclusion in a dll (and should export symbols for example).
8832 lt_prog_compiler_pic='-DDLL_EXPORT'
8835 hpux9* | hpux10* | hpux11*)
8836 lt_prog_compiler_wl='-Wl,'
8837 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8844 lt_prog_compiler_pic='+Z'
8847 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8848 lt_prog_compiler_static='${wl}-a ${wl}archive'
8851 irix5* | irix6* | nonstopux*)
8852 lt_prog_compiler_wl='-Wl,'
8853 # PIC (with -KPIC) is the default.
8854 lt_prog_compiler_static='-non_shared'
8857 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8858 case $cc_basename in
8859 # old Intel for x86_64 which still supported -KPIC.
8861 lt_prog_compiler_wl='-Wl,'
8862 lt_prog_compiler_pic='-KPIC'
8863 lt_prog_compiler_static='-static'
8865 # icc used to be incompatible with GCC.
8866 # ICC 10 doesn't accept -KPIC any more.
8868 lt_prog_compiler_wl='-Wl,'
8869 lt_prog_compiler_pic='-fPIC'
8870 lt_prog_compiler_static='-static'
8872 # Lahey Fortran 8.1.
8874 lt_prog_compiler_wl='-Wl,'
8875 lt_prog_compiler_pic='--shared'
8876 lt_prog_compiler_static='--static'
8878 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8879 # Portland Group compilers (*not* the Pentium gcc compiler,
8880 # which looks to be a dead project)
8881 lt_prog_compiler_wl='-Wl,'
8882 lt_prog_compiler_pic='-fpic'
8883 lt_prog_compiler_static='-Bstatic'
8886 lt_prog_compiler_wl='-Wl,'
8887 # All Alpha code is PIC.
8888 lt_prog_compiler_static='-non_shared'
8890 xl* | bgxl* | bgf* | mpixl*)
8891 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8892 lt_prog_compiler_wl='-Wl,'
8893 lt_prog_compiler_pic='-qpic'
8894 lt_prog_compiler_static='-qstaticlink'
8897 case `$CC -V 2>&1 | sed 5q` in
8898 *Sun\ F* | *Sun*Fortran*)
8899 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8900 lt_prog_compiler_pic='-KPIC'
8901 lt_prog_compiler_static='-Bstatic'
8902 lt_prog_compiler_wl=''
8906 lt_prog_compiler_pic='-KPIC'
8907 lt_prog_compiler_static='-Bstatic'
8908 lt_prog_compiler_wl='-Wl,'
8916 lt_prog_compiler_pic='-KPIC'
8917 lt_prog_compiler_static='-Bstatic'
8921 # QNX uses GNU C++, but need to define -shared option too, otherwise
8923 lt_prog_compiler_pic='-fPIC -shared'
8926 osf3* | osf4* | osf5*)
8927 lt_prog_compiler_wl='-Wl,'
8928 # All OSF/1 code is PIC.
8929 lt_prog_compiler_static='-non_shared'
8933 lt_prog_compiler_static='-non_shared'
8937 lt_prog_compiler_pic='-KPIC'
8938 lt_prog_compiler_static='-Bstatic'
8939 case $cc_basename in
8941 lt_prog_compiler_wl='-Qoption ld ';;
8943 lt_prog_compiler_wl='-Wl,';;
8948 lt_prog_compiler_wl='-Qoption ld '
8949 lt_prog_compiler_pic='-PIC'
8950 lt_prog_compiler_static='-Bstatic'
8953 sysv4 | sysv4.2uw2* | sysv4.3*)
8954 lt_prog_compiler_wl='-Wl,'
8955 lt_prog_compiler_pic='-KPIC'
8956 lt_prog_compiler_static='-Bstatic'
8960 if test -d /usr/nec ;then
8961 lt_prog_compiler_pic='-Kconform_pic'
8962 lt_prog_compiler_static='-Bstatic'
8966 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8967 lt_prog_compiler_wl='-Wl,'
8968 lt_prog_compiler_pic='-KPIC'
8969 lt_prog_compiler_static='-Bstatic'
8973 lt_prog_compiler_wl='-Wl,'
8974 lt_prog_compiler_can_build_shared=no
8978 lt_prog_compiler_pic='-pic'
8979 lt_prog_compiler_static='-Bstatic'
8983 lt_prog_compiler_can_build_shared=no
8989 # For platforms which do not support PIC, -DPIC is meaningless:
8991 lt_prog_compiler_pic=
8994 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8997 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_prog_compiler_pic" >&5
8998 $as_echo "$lt_prog_compiler_pic" >&6; }
9006 # Check to make sure the PIC flag actually works.
9008 if test -n "$lt_prog_compiler_pic"; then
9009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler PIC flag
$lt_prog_compiler_pic works
" >&5
9010 $as_echo_n "checking
if $compiler PIC flag
$lt_prog_compiler_pic works...
" >&6; }
9011 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9012 $as_echo_n "(cached
) " >&6
9014 lt_cv_prog_compiler_pic_works=no
9015 ac_outfile=conftest.$ac_objext
9016 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9017 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9018 # Insert the option either (1) after the last *FLAGS variable, or
9019 # (2) before a word containing "conftest.
", or (3) at the end.
9020 # Note that $ac_compile itself does not contain backslashes and begins
9021 # with a dollar sign (not a hyphen), so the echo should work correctly.
9022 # The option is referenced via a variable to avoid confusing sed.
9023 lt_compile=`echo "$ac_compile" | $SED \
9024 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9025 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9026 -e 's:$: $lt_compiler_flag:'`
9027 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
9028 (eval "$lt_compile" 2>conftest.err)
9030 cat conftest.err >&5
9031 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9032 if (exit $ac_status) && test -s "$ac_outfile"; then
9033 # The compiler can only warn and ignore the option if not recognized
9034 # So say no if there are warnings other than the usual output.
9035 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9036 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9037 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9038 lt_cv_prog_compiler_pic_works=yes
9044 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_pic_works" >&5
9045 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9047 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9048 case $lt_prog_compiler_pic in
9050 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9053 lt_prog_compiler_pic=
9054 lt_prog_compiler_can_build_shared=no
9065 # Check to make sure the static flag actually works.
9067 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler static flag
$lt_tmp_static_flag works
" >&5
9069 $as_echo_n "checking
if $compiler static flag
$lt_tmp_static_flag works...
" >&6; }
9070 if ${lt_cv_prog_compiler_static_works+:} false; then :
9071 $as_echo_n "(cached
) " >&6
9073 lt_cv_prog_compiler_static_works=no
9074 save_LDFLAGS="$LDFLAGS"
9075 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9076 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9077 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9078 # The linker can only warn and ignore the option if not recognized
9079 # So say no if there are warnings
9080 if test -s conftest.err; then
9081 # Append any errors to the config.log.
9082 cat conftest.err 1>&5
9083 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9084 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9085 if diff conftest.exp conftest.er2 >/dev/null; then
9086 lt_cv_prog_compiler_static_works=yes
9089 lt_cv_prog_compiler_static_works=yes
9093 LDFLAGS="$save_LDFLAGS"
9096 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_static_works" >&5
9097 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9099 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9102 lt_prog_compiler_static=
9111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
9112 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
9113 if ${lt_cv_prog_compiler_c_o+:} false; then :
9114 $as_echo_n "(cached
) " >&6
9116 lt_cv_prog_compiler_c_o=no
9117 $RM -r conftest 2>/dev/null
9121 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9123 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
9124 # Insert the option either (1) after the last *FLAGS variable, or
9125 # (2) before a word containing "conftest.
", or (3) at the end.
9126 # Note that $ac_compile itself does not contain backslashes and begins
9127 # with a dollar sign (not a hyphen), so the echo should work correctly.
9128 lt_compile=`echo "$ac_compile" | $SED \
9129 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9130 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9131 -e 's:$: $lt_compiler_flag:'`
9132 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
9133 (eval "$lt_compile" 2>out/conftest.err)
9135 cat out/conftest.err >&5
9136 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9137 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9139 # The compiler can only warn and ignore the option if not recognized
9140 # So say no if there are warnings
9141 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9142 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9143 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9144 lt_cv_prog_compiler_c_o=yes
9149 # SGI C++ compiler will create directory out/ii_files/ for
9150 # template instantiation
9151 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9152 $RM out/* && rmdir out
9158 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
9159 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
9167 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
9168 if ${lt_cv_prog_compiler_c_o+:} false; then :
9169 $as_echo_n "(cached
) " >&6
9171 lt_cv_prog_compiler_c_o=no
9172 $RM -r conftest 2>/dev/null
9176 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9178 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
9179 # Insert the option either (1) after the last *FLAGS variable, or
9180 # (2) before a word containing "conftest.
", or (3) at the end.
9181 # Note that $ac_compile itself does not contain backslashes and begins
9182 # with a dollar sign (not a hyphen), so the echo should work correctly.
9183 lt_compile=`echo "$ac_compile" | $SED \
9184 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9185 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9186 -e 's:$: $lt_compiler_flag:'`
9187 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
9188 (eval "$lt_compile" 2>out/conftest.err)
9190 cat out/conftest.err >&5
9191 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9192 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9194 # The compiler can only warn and ignore the option if not recognized
9195 # So say no if there are warnings
9196 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9197 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9198 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9199 lt_cv_prog_compiler_c_o=yes
9204 # SGI C++ compiler will create directory out/ii_files/ for
9205 # template instantiation
9206 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9207 $RM out/* && rmdir out
9213 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
9214 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9219 hard_links="nottested
"
9220 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9221 # do not overwrite the value of need_locks provided by the user
9222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if we can lock with hard links
" >&5
9223 $as_echo_n "checking
if we can lock with hard links...
" >&6; }
9226 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9228 ln conftest.a conftest.b 2>&5 || hard_links=no
9229 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9230 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $hard_links" >&5
9231 $as_echo "$hard_links" >&6; }
9232 if test "$hard_links" = no; then
9233 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&5
9234 $as_echo "$as_me: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&2;}
9246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the
$compiler linker
($LD) supports shared libraries
" >&5
9247 $as_echo_n "checking whether the
$compiler linker
($LD) supports shared libraries...
" >&6; }
9250 allow_undefined_flag=
9251 always_export_symbols=no
9253 archive_expsym_cmds=
9254 compiler_needs_object=no
9255 enable_shared_with_static_runtimes=no
9256 export_dynamic_flag_spec=
9257 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9258 hardcode_automatic=no
9260 hardcode_direct_absolute=no
9261 hardcode_libdir_flag_spec=
9262 hardcode_libdir_flag_spec_ld=
9263 hardcode_libdir_separator=
9265 hardcode_shlibpath_var=unsupported
9267 link_all_deplibs=unknown
9270 old_archive_from_new_cmds=
9271 old_archive_from_expsyms_cmds=
9272 thread_safe_flag_spec=
9273 whole_archive_flag_spec=
9274 # include_expsyms should be a list of space-separated symbols to be *always*
9275 # included in the symbol list
9277 # exclude_expsyms can be an extended regexp of symbols to exclude
9278 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9279 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9280 # as well as any symbol that contains `d'.
9281 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9282 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9283 # platforms (ab)use it in PIC code, but their linkers get confused if
9284 # the symbol is explicitly referenced. Since portable code cannot
9285 # rely on this symbol name, it's probably fine to never include it in
9286 # preloaded symbol tables.
9287 # Exclude shared library initialization/finalization symbols.
9288 extract_expsyms_cmds=
9291 cygwin* | mingw* | pw32* | cegcc*)
9292 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9293 # When not using gcc, we currently assume that we are using
9294 # Microsoft Visual C++.
9295 if test "$GCC" != yes; then
9300 # we just hope/assume this is gcc and not c89 (= MSVC++)
9310 # On some targets, GNU ld is compatible enough with the native linker
9311 # that we're better off using the native interface for both.
9312 lt_use_gnu_ld_interface=no
9313 if test "$with_gnu_ld" = yes; then
9316 # The AIX port of GNU ld has always aspired to compatibility
9317 # with the native linker. However, as the warning in the GNU ld
9318 # block says, versions before 2.19.5* couldn't really create working
9319 # shared libraries, regardless of the interface used.
9320 case `$LD -v 2>&1` in
9321 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9322 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9323 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9325 lt_use_gnu_ld_interface=yes
9330 lt_use_gnu_ld_interface=yes
9335 if test "$lt_use_gnu_ld_interface" = yes; then
9336 # If archive_cmds runs LD, not CC, wlarc should be empty
9339 # Set some defaults for GNU ld with shared library support. These
9340 # are reset later if shared libraries are not supported. Putting them
9341 # here allows them to be overridden if necessary.
9342 runpath_var=LD_RUN_PATH
9343 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9344 export_dynamic_flag_spec='${wl}--export-dynamic'
9345 # ancient GNU ld didn't support --whole-archive et. al.
9346 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9347 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9349 whole_archive_flag_spec=
9351 supports_anon_versioning=no
9352 case `$LD -v 2>&1` in
9353 *GNU\ gold*) supports_anon_versioning=yes ;;
9354 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9355 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9356 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9357 *\ 2.11.*) ;; # other 2.11 versions
9358 *) supports_anon_versioning=yes ;;
9361 # See if GNU ld supports shared libraries.
9364 # On AIX/PPC, the GNU linker is very broken
9365 if test "$host_cpu" != ia64; then
9369 *** Warning: the GNU linker, at least up to release 2.19, is reported
9370 *** to be unable to reliably create shared libraries on AIX.
9371 *** Therefore, libtool is disabling shared libraries support. If you
9372 *** really care for shared libraries, you may want to install binutils
9373 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9374 *** You will then need to restart the configuration process.
9383 # see comment about AmigaOS4 .so support
9384 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9385 archive_expsym_cmds=''
9388 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)'
9389 hardcode_libdir_flag_spec
='-L$libdir'
9390 hardcode_minus_L
=yes
9396 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9397 allow_undefined_flag
=unsupported
9398 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9399 # support --undefined. This deserves some investigation. FIXME
9400 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9406 cygwin
* | mingw
* | pw32
* | cegcc
*)
9407 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9408 # as there is no search path for DLLs.
9409 hardcode_libdir_flag_spec
='-L$libdir'
9410 export_dynamic_flag_spec
='${wl}--export-all-symbols'
9411 allow_undefined_flag
=unsupported
9412 always_export_symbols
=no
9413 enable_shared_with_static_runtimes
=yes
9414 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9416 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
9417 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9418 # If the export-symbols file already is a .def file (1st line
9419 # is EXPORTS), use it as is; otherwise, prepend...
9420 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9421 cp $export_symbols $output_objdir/$soname.def;
9423 echo EXPORTS > $output_objdir/$soname.def;
9424 cat $export_symbols >> $output_objdir/$soname.def;
9426 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9433 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9434 link_all_deplibs
=yes
9439 hardcode_shlibpath_var
=no
9440 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9441 export_dynamic_flag_spec
='${wl}-E'
9442 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9443 # Instead, shared libraries are loaded at an image base (0x10000000 by
9444 # default) and relocated if they conflict, which is a slow very memory
9445 # consuming and fragmenting process. To avoid this, we pick a random,
9446 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9447 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9448 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9449 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'
9452 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu | uclinuxfdpiceabi
)
9454 if test "$host_os" = linux-dietlibc
; then
9455 case $cc_basename in
9456 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9459 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
9460 && test "$tmp_diet" = no
9462 tmp_addflag
=' $pic_flag'
9463 tmp_sharedflag
='-shared'
9464 case $cc_basename,$host_cpu in
9465 pgcc
*) # Portland Group C compiler
9466 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'
9467 tmp_addflag
=' $pic_flag'
9469 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9470 # Portland Group f77 and f90 compilers
9471 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'
9472 tmp_addflag
=' $pic_flag -Mnomain' ;;
9473 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9474 tmp_addflag
=' -i_dynamic' ;;
9475 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9476 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9477 ifc
* | ifort
*) # Intel Fortran compiler
9478 tmp_addflag
=' -nofor_main' ;;
9479 lf95
*) # Lahey Fortran 8.1
9480 whole_archive_flag_spec
=
9481 tmp_sharedflag
='--shared' ;;
9482 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9483 tmp_sharedflag
='-qmkshrobj'
9485 nvcc
*) # Cuda Compiler Driver 2.2
9486 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'
9487 compiler_needs_object
=yes
9490 case `$CC -V 2>&1 | sed 5q` in
9491 *Sun\ C
*) # Sun C 5.9
9492 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'
9493 compiler_needs_object
=yes
9494 tmp_sharedflag
='-G' ;;
9495 *Sun\ F
*) # Sun Fortran 8.3
9496 tmp_sharedflag
='-G' ;;
9498 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9500 if test "x$supports_anon_versioning" = xyes
; then
9501 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9502 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9503 echo "local: *; };" >> $output_objdir/$libname.ver~
9504 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9507 case $cc_basename in
9508 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
9509 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9510 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9511 hardcode_libdir_flag_spec
=
9512 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
9513 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9514 if test "x$supports_anon_versioning" = xyes
; then
9515 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9516 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9517 echo "local: *; };" >> $output_objdir/$libname.ver~
9518 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9528 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9529 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9532 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9533 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9538 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
9542 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9543 *** create shared libraries on Solaris systems. Therefore, libtool
9544 *** is disabling shared libraries support. We urge you to upgrade GNU
9545 *** binutils to release 2.9.1 or newer. Another option is to modify
9546 *** your PATH or compiler configuration so that the native linker is
9547 *** used, and then restart.
9550 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9551 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9552 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9558 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9559 case `$LD -v 2>&1` in
9560 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9564 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9565 *** reliably create shared libraries on SCO systems. Therefore, libtool
9566 *** is disabling shared libraries support. We urge you to upgrade GNU
9567 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9568 *** your PATH or compiler configuration so that the native linker is
9569 *** used, and then restart.
9574 # For security reasons, it is highly recommended that you always
9575 # use absolute paths for naming shared libraries, and exclude the
9576 # DT_RUNPATH tag from executables and libraries. But doing so
9577 # requires that you compile everything twice, which is a pain.
9578 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9579 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9580 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9581 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9590 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9593 hardcode_shlibpath_var
=no
9597 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9598 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9599 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9606 if test "$ld_shlibs" = no
; then
9608 hardcode_libdir_flag_spec
=
9609 export_dynamic_flag_spec
=
9610 whole_archive_flag_spec
=
9613 # PORTME fill in a description of your system's linker (not GNU ld)
9616 allow_undefined_flag
=unsupported
9617 always_export_symbols
=yes
9618 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'
9619 # Note: this linker hardcodes the directories in LIBPATH if there
9620 # are no directories specified by -L.
9621 hardcode_minus_L
=yes
9622 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9623 # Neither direct hardcoding nor static linking is supported with a
9625 hardcode_direct
=unsupported
9630 if test "$host_cpu" = ia64
; then
9631 # On IA64, the linker does run time linking by default, so we don't
9632 # have to do anything special.
9633 aix_use_runtimelinking
=no
9634 exp_sym_flag
='-Bexport'
9637 # If we're using GNU nm, then we don't want the "-C" option.
9638 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9639 # Also, AIX nm treats weak defined symbols like other global
9640 # defined symbols, whereas GNU nm marks them as "W".
9641 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9642 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'
9644 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'
9646 aix_use_runtimelinking
=no
9648 # Test if we are trying to use run time linking or normal
9649 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9650 # need to do runtime linking.
9651 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9652 for ld_flag
in $LDFLAGS; do
9653 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9654 aix_use_runtimelinking
=yes
9661 exp_sym_flag
='-bexport'
9662 no_entry_flag
='-bnoentry'
9665 # When large executables or shared objects are built, AIX ld can
9666 # have problems creating the table of contents. If linking a library
9667 # or program results in "error TOC overflow" add -mminimal-toc to
9668 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9669 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9673 hardcode_direct_absolute
=yes
9674 hardcode_libdir_separator
=':'
9675 link_all_deplibs
=yes
9676 file_list_spec
='${wl}-f,'
9678 if test "$GCC" = yes; then
9679 case $host_os in aix4.
[012]|aix4.
[012].
*)
9680 # We only want to do this on AIX 4.2 and lower, the check
9681 # below for broken collect2 doesn't work under 4.3+
9682 collect2name
=`${CC} -print-prog-name=collect2`
9683 if test -f "$collect2name" &&
9684 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9686 # We have reworked collect2
9689 # We have old collect2
9690 hardcode_direct
=unsupported
9691 # It fails to find uninstalled libraries when the uninstalled
9692 # path is not listed in the libpath. Setting hardcode_minus_L
9693 # to unsupported forces relinking
9694 hardcode_minus_L
=yes
9695 hardcode_libdir_flag_spec
='-L$libdir'
9696 hardcode_libdir_separator
=
9700 shared_flag
='-shared'
9701 if test "$aix_use_runtimelinking" = yes; then
9702 shared_flag
="$shared_flag "'${wl}-G'
9706 if test "$host_cpu" = ia64
; then
9707 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9708 # chokes on -Wl,-G. The following line is correct:
9711 if test "$aix_use_runtimelinking" = yes; then
9712 shared_flag
='${wl}-G'
9714 shared_flag
='${wl}-bM:SRE'
9719 export_dynamic_flag_spec
='${wl}-bexpall'
9720 # It seems that -bexpall does not export symbols beginning with
9721 # underscore (_), so it is better to generate a list of symbols to export.
9722 always_export_symbols
=yes
9723 if test "$aix_use_runtimelinking" = yes; then
9724 # Warning - without using the other runtime loading flags (-brtl),
9725 # -berok will link without error, but may produce a broken library.
9726 allow_undefined_flag
='-berok'
9727 # Determine the default libpath from the value encoded in an
9729 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9730 /* end confdefs.h. */
9740 if ac_fn_c_try_link
"$LINENO"; then :
9742 lt_aix_libpath_sed
='
9743 /Import File Strings/,/^$/ {
9749 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9750 # Check for a 64-bit object if we didn't find anything.
9751 if test -z "$aix_libpath"; then
9752 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9755 rm -f core conftest.err conftest.
$ac_objext \
9756 conftest
$ac_exeext conftest.
$ac_ext
9757 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9759 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9760 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"
9762 if test "$host_cpu" = ia64
; then
9763 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9764 allow_undefined_flag
="-z nodefs"
9765 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"
9767 # Determine the default libpath from the value encoded in an
9769 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9770 /* end confdefs.h. */
9780 if ac_fn_c_try_link
"$LINENO"; then :
9782 lt_aix_libpath_sed
='
9783 /Import File Strings/,/^$/ {
9789 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9790 # Check for a 64-bit object if we didn't find anything.
9791 if test -z "$aix_libpath"; then
9792 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9795 rm -f core conftest.err conftest.
$ac_objext \
9796 conftest
$ac_exeext conftest.
$ac_ext
9797 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9799 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9800 # Warning - without using the other run time loading flags,
9801 # -berok will link without error, but may produce a broken library.
9802 no_undefined_flag
=' ${wl}-bernotok'
9803 allow_undefined_flag
=' ${wl}-berok'
9804 if test "$with_gnu_ld" = yes; then
9805 # We only use this code for GNU lds that support --whole-archive.
9806 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9808 # Exported symbols can be pulled into shared objects from archives
9809 whole_archive_flag_spec
='$convenience'
9811 archive_cmds_need_lc
=yes
9812 # This is similar to how AIX traditionally builds its shared libraries.
9813 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'
9821 # see comment about AmigaOS4 .so support
9822 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9823 archive_expsym_cmds
=''
9826 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)'
9827 hardcode_libdir_flag_spec
='-L$libdir'
9828 hardcode_minus_L
=yes
9834 export_dynamic_flag_spec
=-rdynamic
9837 cygwin
* | mingw
* | pw32
* | cegcc
*)
9838 # When not using gcc, we currently assume that we are using
9839 # Microsoft Visual C++.
9840 # hardcode_libdir_flag_spec is actually meaningless, as there is
9841 # no search path for DLLs.
9842 hardcode_libdir_flag_spec
=' '
9843 allow_undefined_flag
=unsupported
9844 # Tell ltmain to make .lib files, not .a files.
9846 # Tell ltmain to make .dll files, not .so files.
9848 # FIXME: Setting linknames here is a bad hack.
9849 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9850 # The linker will automatically build a .lib file if we build a DLL.
9851 old_archive_from_new_cmds
='true'
9852 # FIXME: Should let the user specify the lib program.
9853 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9854 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9855 enable_shared_with_static_runtimes
=yes
9858 darwin
* | rhapsody
*)
9861 archive_cmds_need_lc
=no
9863 hardcode_automatic
=yes
9864 hardcode_shlibpath_var
=unsupported
9865 if test "$lt_cv_ld_force_load" = "yes"; then
9866 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\"`'
9868 whole_archive_flag_spec
=''
9870 link_all_deplibs
=yes
9871 allow_undefined_flag
="$_lt_dar_allow_undefined"
9872 case $cc_basename in
9873 ifort
*) _lt_dar_can_shared
=yes ;;
9874 *) _lt_dar_can_shared
=$GCC ;;
9876 if test "$_lt_dar_can_shared" = "yes"; then
9877 output_verbose_link_cmd
=func_echo_all
9878 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9879 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9880 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}"
9881 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}"
9890 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9891 hardcode_libdir_flag_spec
='-L$libdir'
9892 hardcode_shlibpath_var
=no
9895 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9896 # support. Future versions do this automatically, but an explicit c++rt0.o
9897 # does not break anything, and helps significantly (at the cost of a little
9900 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9901 hardcode_libdir_flag_spec
='-R$libdir'
9903 hardcode_shlibpath_var
=no
9906 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9908 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9910 hardcode_minus_L
=yes
9911 hardcode_shlibpath_var
=no
9914 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9915 freebsd
* | dragonfly
*)
9916 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9917 hardcode_libdir_flag_spec
='-R$libdir'
9919 hardcode_shlibpath_var
=no
9923 if test "$GCC" = yes; then
9924 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'
9926 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'
9928 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9929 hardcode_libdir_separator
=:
9932 # hardcode_minus_L: Not really in the search PATH,
9933 # but as the default location of the library.
9934 hardcode_minus_L
=yes
9935 export_dynamic_flag_spec
='${wl}-E'
9939 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9940 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9942 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9944 if test "$with_gnu_ld" = no
; then
9945 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9946 hardcode_libdir_flag_spec_ld
='+b $libdir'
9947 hardcode_libdir_separator
=:
9949 hardcode_direct_absolute
=yes
9950 export_dynamic_flag_spec
='${wl}-E'
9951 # hardcode_minus_L: Not really in the search PATH,
9952 # but as the default location of the library.
9953 hardcode_minus_L
=yes
9958 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9961 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9964 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9967 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9973 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9976 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9980 # Older versions of the 11.00 compiler do not understand -b yet
9981 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9983 $as_echo_n "checking if $CC understands -b... " >&6; }
9984 if ${lt_cv_prog_compiler__b+:} false
; then :
9985 $as_echo_n "(cached) " >&6
9987 lt_cv_prog_compiler__b
=no
9988 save_LDFLAGS
="$LDFLAGS"
9989 LDFLAGS
="$LDFLAGS -b"
9990 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9991 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9992 # The linker can only warn and ignore the option if not recognized
9993 # So say no if there are warnings
9994 if test -s conftest.err
; then
9995 # Append any errors to the config.log.
9996 cat conftest.err
1>&5
9997 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9998 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9999 if diff conftest.exp conftest.er2
>/dev
/null
; then
10000 lt_cv_prog_compiler__b
=yes
10003 lt_cv_prog_compiler__b
=yes
10007 LDFLAGS
="$save_LDFLAGS"
10010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10011 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10013 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
10014 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10016 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10022 if test "$with_gnu_ld" = no
; then
10023 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10024 hardcode_libdir_separator
=:
10029 hardcode_shlibpath_var
=no
10032 hardcode_direct
=yes
10033 hardcode_direct_absolute
=yes
10034 export_dynamic_flag_spec
='${wl}-E'
10036 # hardcode_minus_L: Not really in the search PATH,
10037 # but as the default location of the library.
10038 hardcode_minus_L
=yes
10044 irix5
* | irix6
* | nonstopux
*)
10045 if test "$GCC" = yes; then
10046 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'
10047 # Try to use the -exported_symbol ld option, if it does not
10048 # work, assume that -exports_file does not work either and
10049 # implicitly export all symbols.
10050 save_LDFLAGS
="$LDFLAGS"
10051 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10052 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10053 /* end confdefs.h. */
10056 if ac_fn_c_try_link
"$LINENO"; then :
10057 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'
10060 rm -f core conftest.err conftest.
$ac_objext \
10061 conftest
$ac_exeext conftest.
$ac_ext
10062 LDFLAGS
="$save_LDFLAGS"
10064 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'
10065 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'
10067 archive_cmds_need_lc
='no'
10068 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10069 hardcode_libdir_separator
=:
10071 link_all_deplibs
=yes
10075 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10076 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10078 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10080 hardcode_libdir_flag_spec
='-R$libdir'
10081 hardcode_direct
=yes
10082 hardcode_shlibpath_var
=no
10086 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10087 hardcode_direct
=yes
10088 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10089 hardcode_libdir_separator
=:
10090 hardcode_shlibpath_var
=no
10097 if test -f /usr
/libexec
/ld.so
; then
10098 hardcode_direct
=yes
10099 hardcode_shlibpath_var
=no
10100 hardcode_direct_absolute
=yes
10101 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10102 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10103 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10104 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10105 export_dynamic_flag_spec
='${wl}-E'
10108 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
10109 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10110 hardcode_libdir_flag_spec
='-R$libdir'
10113 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10114 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10124 hardcode_libdir_flag_spec
='-L$libdir'
10125 hardcode_minus_L
=yes
10126 allow_undefined_flag
=unsupported
10127 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'
10128 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10132 if test "$GCC" = yes; then
10133 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10134 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'
10136 allow_undefined_flag
=' -expect_unresolved \*'
10137 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'
10139 archive_cmds_need_lc
='no'
10140 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10141 hardcode_libdir_separator
=:
10144 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10145 if test "$GCC" = yes; then
10146 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10147 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'
10148 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10150 allow_undefined_flag
=' -expect_unresolved \*'
10151 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'
10152 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~
10153 $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'
10155 # Both c and cxx compiler support -rpath directly
10156 hardcode_libdir_flag_spec
='-rpath $libdir'
10158 archive_cmds_need_lc
='no'
10159 hardcode_libdir_separator
=:
10163 no_undefined_flag
=' -z defs'
10164 if test "$GCC" = yes; then
10166 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10167 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10168 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10170 case `$CC -V 2>&1` in
10173 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10174 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10175 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10179 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10180 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10181 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10185 hardcode_libdir_flag_spec
='-R$libdir'
10186 hardcode_shlibpath_var
=no
10188 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10190 # The compiler driver will combine and reorder linker options,
10191 # but understands `-z linker_flag'. GCC discards it without `$wl',
10192 # but is careful enough not to reorder.
10193 # Supported since Solaris 2.6 (maybe 2.5.1?)
10194 if test "$GCC" = yes; then
10195 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10197 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10201 link_all_deplibs
=yes
10205 if test "x$host_vendor" = xsequent
; then
10206 # Use $CC to link under sequent, because it throws in some extra .o
10207 # files that make .init and .fini sections work.
10208 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10210 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10212 hardcode_libdir_flag_spec
='-L$libdir'
10213 hardcode_direct
=yes
10214 hardcode_minus_L
=yes
10215 hardcode_shlibpath_var
=no
10219 case $host_vendor in
10221 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10222 hardcode_direct
=yes # is this really true???
10225 ## LD is ld it makes a PLAMLIB
10226 ## CC just makes a GrossModule.
10227 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10228 reload_cmds
='$CC -r -o $output$reload_objs'
10232 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10233 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10236 runpath_var
='LD_RUN_PATH'
10237 hardcode_shlibpath_var
=no
10241 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10242 hardcode_shlibpath_var
=no
10243 export_dynamic_flag_spec
='-Bexport'
10247 if test -d /usr
/nec
; then
10248 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10249 hardcode_shlibpath_var
=no
10250 runpath_var
=LD_RUN_PATH
10251 hardcode_runpath_var
=yes
10256 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10257 no_undefined_flag
='${wl}-z,text'
10258 archive_cmds_need_lc
=no
10259 hardcode_shlibpath_var
=no
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'
10271 sysv5
* | sco3.2v5
* | sco5v6
*)
10272 # Note: We can NOT use -z defs as we might desire, because we do not
10273 # link with -lc, and that would cause any symbols used from libc to
10274 # always be unresolved, which means just about no library would
10275 # ever link correctly. If we're not using GNU ld we use -z text
10276 # though, which does catch some bad symbols but isn't as heavy-handed
10278 no_undefined_flag
='${wl}-z,text'
10279 allow_undefined_flag
='${wl}-z,nodefs'
10280 archive_cmds_need_lc
=no
10281 hardcode_shlibpath_var
=no
10282 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10283 hardcode_libdir_separator
=':'
10284 link_all_deplibs
=yes
10285 export_dynamic_flag_spec
='${wl}-Bexport'
10286 runpath_var
='LD_RUN_PATH'
10288 if test "$GCC" = yes; then
10289 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10290 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10292 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10293 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10298 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10299 hardcode_libdir_flag_spec
='-L$libdir'
10300 hardcode_shlibpath_var
=no
10308 if test x
$host_vendor = xsni
; then
10310 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10311 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10318 $as_echo "$ld_shlibs" >&6; }
10319 test "$ld_shlibs" = no
&& can_build_shared
=no
10321 with_gnu_ld
=$with_gnu_ld
10338 # Do we need to explicitly link libc?
10340 case "x$archive_cmds_need_lc" in
10342 # Assume -lc should be added
10343 archive_cmds_need_lc
=yes
10345 if test "$enable_shared" = yes && test "$GCC" = yes; then
10346 case $archive_cmds in
10348 # FIXME: we may have to deal with multi-command sequences.
10351 # Test whether the compiler implicitly links with -lc since on some
10352 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10353 # to ld, don't add -lc before -lgcc.
10354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10355 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10356 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
10357 $as_echo_n "(cached) " >&6
10360 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10362 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10363 (eval $ac_compile) 2>&5
10365 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10366 test $ac_status = 0; } 2>conftest.err
; then
10369 libobjs
=conftest.
$ac_objext
10371 wl
=$lt_prog_compiler_wl
10372 pic_flag
=$lt_prog_compiler_pic
10378 lt_save_allow_undefined_flag
=$allow_undefined_flag
10379 allow_undefined_flag
=
10380 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10381 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10383 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10384 test $ac_status = 0; }
10386 lt_cv_archive_cmds_need_lc
=no
10388 lt_cv_archive_cmds_need_lc
=yes
10390 allow_undefined_flag
=$lt_save_allow_undefined_flag
10392 cat conftest.err
1>&5
10397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10398 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10399 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
10562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10563 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10565 if test "$GCC" = yes; then
10567 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10568 *) lt_awk_arg
="/^libraries:/" ;;
10571 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
10572 *) lt_sed_strip_eq
="s,=/,/,g" ;;
10574 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10575 case $lt_search_path_spec in
10577 # if the path contains ";" then we assume it to be the separator
10578 # otherwise default to the standard path separator (i.e. ":") - it is
10579 # assumed that no part of a normal pathname contains ";" but that should
10580 # okay in the real world where ";" in dirpaths is itself problematic.
10581 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10584 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10587 # Ok, now we have the path, separated by spaces, we can step through it
10588 # and add multilib dir if necessary.
10589 lt_tmp_lt_search_path_spec
=
10590 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10591 for lt_sys_path
in $lt_search_path_spec; do
10592 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10593 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10595 test -d "$lt_sys_path" && \
10596 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10599 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10600 BEGIN {RS=" "; FS="/|\n";} {
10603 for (lt_i = NF; lt_i > 0; lt_i--) {
10604 if ($lt_i != "" && $lt_i != ".") {
10605 if ($lt_i == "..") {
10608 if (lt_count == 0) {
10609 lt_foo="/" $lt_i lt_foo;
10616 if (lt_foo != "") { lt_freq[lt_foo]++; }
10617 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10619 # AWK program above erroneously prepends '/' to C:/dos/paths
10622 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
10623 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10625 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10627 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10629 library_names_spec
=
10630 libname_spec
='lib$name'
10634 postuninstall_cmds
=
10638 shlibpath_overrides_runpath
=unknown
10640 dynamic_linker
="$host_os ld.so"
10641 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10642 need_lib_prefix
=unknown
10643 hardcode_into_libs
=no
10645 # when you set need_version to no, make sure it does not cause -set_version
10646 # flags to be left without arguments
10647 need_version
=unknown
10652 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10653 shlibpath_var
=LIBPATH
10655 # AIX 3 has no versioning support, so we append a major version to the name.
10656 soname_spec
='${libname}${release}${shared_ext}$major'
10663 hardcode_into_libs
=yes
10664 if test "$host_cpu" = ia64
; then
10665 # AIX 5 supports IA64
10666 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10667 shlibpath_var
=LD_LIBRARY_PATH
10669 # With GCC up to 2.95.x, collect2 would create an import file
10670 # for dependence libraries. The import file would start with
10671 # the line `#! .'. This would cause the generated library to
10672 # depend on `.', always an invalid library. This was fixed in
10673 # development snapshots of GCC prior to 3.0.
10675 aix4 | aix4.
[01] | aix4.
[01].
*)
10676 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10678 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10681 can_build_shared
=no
10685 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10686 # soname into executable. Probably we can add versioning support to
10687 # collect2, so additional links can be useful in future.
10688 if test "$aix_use_runtimelinking" = yes; then
10689 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10690 # instead of lib<name>.a to let people know that these are not
10691 # typical AIX shared libraries.
10692 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10694 # We preserve .a as extension for shared libraries through AIX4.2
10695 # and later when we are not doing run time linking.
10696 library_names_spec
='${libname}${release}.a $libname.a'
10697 soname_spec
='${libname}${release}${shared_ext}$major'
10699 shlibpath_var
=LIBPATH
10706 # Since July 2007 AmigaOS4 officially supports .so libraries.
10707 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10708 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10711 library_names_spec
='$libname.ixlibrary $libname.a'
10712 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10713 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'
10719 library_names_spec
='${libname}${shared_ext}'
10720 dynamic_linker
="$host_os ld.so"
10721 shlibpath_var
=LIBRARY_PATH
10727 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10728 soname_spec
='${libname}${release}${shared_ext}$major'
10729 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10730 shlibpath_var
=LD_LIBRARY_PATH
10731 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10732 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10733 # the default ld.so.conf also contains /usr/contrib/lib and
10734 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10735 # libtool to hard-code these into programs
10738 cygwin
* | mingw
* | pw32
* | cegcc
*)
10739 version_type
=windows
10744 case $GCC,$host_os in
10745 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
10746 library_names_spec
='$libname.dll.a'
10747 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10748 postinstall_cmds
='base_file=`basename \${file}`~
10749 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10750 dldir=$destdir/`dirname \$dlpath`~
10751 test -d \$dldir || mkdir -p \$dldir~
10752 $install_prog $dir/$dlname \$dldir/$dlname~
10753 chmod a+x \$dldir/$dlname~
10754 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10755 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10757 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10758 dlpath=$dir/\$dldll~
10760 shlibpath_overrides_runpath
=yes
10764 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10765 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10767 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
10770 # MinGW DLLs use traditional 'lib' prefix
10771 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10774 # pw32 DLLs use 'pw' prefix rather than 'lib'
10775 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10781 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10784 dynamic_linker
='Win32 ld.exe'
10785 # FIXME: first we should search . and the directory the executable is in
10789 darwin
* | rhapsody
*)
10790 dynamic_linker
="$host_os dyld"
10791 version_type
=darwin
10794 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10795 soname_spec
='${libname}${release}${major}$shared_ext'
10796 shlibpath_overrides_runpath
=yes
10797 shlibpath_var
=DYLD_LIBRARY_PATH
10798 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10800 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10801 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10808 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10809 soname_spec
='${libname}${release}${shared_ext}$major'
10810 shlibpath_var
=LD_LIBRARY_PATH
10813 freebsd
* | dragonfly
*)
10814 # DragonFly does not have aout. When/if they implement a new
10815 # versioning mechanism, adjust this.
10816 if test -x /usr
/bin
/objformat
; then
10817 objformat
=`/usr/bin/objformat`
10820 freebsd
[23].
*) objformat
=aout
;;
10821 *) objformat
=elf
;;
10824 version_type
=freebsd-
$objformat
10825 case $version_type in
10827 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10832 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10836 shlibpath_var
=LD_LIBRARY_PATH
10839 shlibpath_overrides_runpath
=yes
10841 freebsd3.
[01]* | freebsdelf3.
[01]*)
10842 shlibpath_overrides_runpath
=yes
10843 hardcode_into_libs
=yes
10845 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10846 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10847 shlibpath_overrides_runpath
=no
10848 hardcode_into_libs
=yes
10850 *) # from 4.6 on, and DragonFly
10851 shlibpath_overrides_runpath
=yes
10852 hardcode_into_libs
=yes
10861 dynamic_linker
="$host_os runtime_loader"
10862 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10863 soname_spec
='${libname}${release}${shared_ext}$major'
10864 shlibpath_var
=LIBRARY_PATH
10865 shlibpath_overrides_runpath
=yes
10866 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10867 hardcode_into_libs
=yes
10870 hpux9
* | hpux10
* | hpux11
*)
10871 # Give a soname corresponding to the major version so that dld.sl refuses to
10872 # link against other versions.
10879 hardcode_into_libs
=yes
10880 dynamic_linker
="$host_os dld.so"
10881 shlibpath_var
=LD_LIBRARY_PATH
10882 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10883 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10884 soname_spec
='${libname}${release}${shared_ext}$major'
10885 if test "X$HPUX_IA64_MODE" = X32
; then
10886 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10888 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10890 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10894 hardcode_into_libs
=yes
10895 dynamic_linker
="$host_os dld.sl"
10896 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10897 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10898 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10899 soname_spec
='${libname}${release}${shared_ext}$major'
10900 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10901 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10905 dynamic_linker
="$host_os dld.sl"
10906 shlibpath_var
=SHLIB_PATH
10907 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10908 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10909 soname_spec
='${libname}${release}${shared_ext}$major'
10912 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10913 postinstall_cmds
='chmod 555 $lib'
10914 # or fails outright, so override atomically:
10915 install_override_mode
=555
10922 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10923 soname_spec
='${libname}${release}${shared_ext}$major'
10924 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10925 shlibpath_var
=LD_LIBRARY_PATH
10926 shlibpath_overrides_runpath
=no
10927 hardcode_into_libs
=yes
10930 irix5
* | irix6
* | nonstopux
*)
10932 nonstopux
*) version_type
=nonstopux
;;
10934 if test "$lt_cv_prog_gnu_ld" = yes; then
10942 soname_spec
='${libname}${release}${shared_ext}$major'
10943 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10945 irix5
* | nonstopux
*)
10946 libsuff
= shlibsuff
=
10949 case $LD in # libtool.m4 will add one of these switches to LD
10950 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10951 libsuff
= shlibsuff
= libmagic
=32-bit;;
10952 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10953 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10954 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10955 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10956 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10960 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10961 shlibpath_overrides_runpath
=no
10962 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10963 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10964 hardcode_into_libs
=yes
10967 # No shared lib support for Linux oldld, aout, or coff.
10968 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10972 # This must be Linux ELF.
10974 # uclinux* changes (here and below) have been submitted to the libtool
10975 # project, but have not yet been accepted: they are GCC-local changes
10976 # for the time being. (See
10977 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
10978 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
* | uclinuxfdpiceabi
)
10982 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10983 soname_spec
='${libname}${release}${shared_ext}$major'
10984 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10985 shlibpath_var
=LD_LIBRARY_PATH
10986 shlibpath_overrides_runpath
=no
10988 # Some binutils ld are patched to set DT_RUNPATH
10989 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
10990 $as_echo_n "(cached) " >&6
10992 lt_cv_shlibpath_overrides_runpath
=no
10993 save_LDFLAGS
=$LDFLAGS
10994 save_libdir
=$libdir
10995 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10996 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10997 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10998 /* end confdefs.h. */
11008 if ac_fn_c_try_link
"$LINENO"; then :
11009 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
11010 lt_cv_shlibpath_overrides_runpath
=yes
11013 rm -f core conftest.err conftest.
$ac_objext \
11014 conftest
$ac_exeext conftest.
$ac_ext
11015 LDFLAGS
=$save_LDFLAGS
11016 libdir
=$save_libdir
11020 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
11022 # This implies no fast_install, which is unacceptable.
11023 # Some rework will be needed to allow for fast_install
11024 # before this can be enabled.
11025 hardcode_into_libs
=yes
11027 # Append ld.so.conf contents to the search path
11028 if test -f /etc
/ld.so.conf
; then
11029 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' ' '`
11030 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
11033 # We used to test for /lib/ld.so.1 and disable shared libraries on
11034 # powerpc, because MkLinux only supported shared libraries with the
11035 # GNU dynamic linker. Since this was broken with cross compilers,
11036 # most powerpc-linux boxes support dynamic linking these days and
11037 # people can always --disable-shared, the test was removed, and we
11038 # assume the GNU/Linux dynamic linker is in use.
11039 dynamic_linker
='GNU/Linux ld.so'
11046 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11047 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11048 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11049 dynamic_linker
='NetBSD (a.out) ld.so'
11051 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11052 soname_spec
='${libname}${release}${shared_ext}$major'
11053 dynamic_linker
='NetBSD ld.elf_so'
11055 shlibpath_var
=LD_LIBRARY_PATH
11056 shlibpath_overrides_runpath
=yes
11057 hardcode_into_libs
=yes
11062 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11063 shlibpath_var
=LD_LIBRARY_PATH
11064 shlibpath_overrides_runpath
=yes
11071 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11072 soname_spec
='${libname}${release}${shared_ext}$major'
11073 shlibpath_var
=LD_LIBRARY_PATH
11074 shlibpath_overrides_runpath
=no
11075 hardcode_into_libs
=yes
11076 dynamic_linker
='ldqnx.so'
11081 sys_lib_dlsearch_path_spec
="/usr/lib"
11083 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11085 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
11086 *) need_version
=no
;;
11088 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11089 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11090 shlibpath_var
=LD_LIBRARY_PATH
11091 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11093 openbsd2.
[89] | openbsd2.
[89].
*)
11094 shlibpath_overrides_runpath
=no
11097 shlibpath_overrides_runpath
=yes
11101 shlibpath_overrides_runpath
=yes
11106 libname_spec
='$name'
11109 library_names_spec
='$libname${shared_ext} $libname.a'
11110 dynamic_linker
='OS/2 ld.exe'
11111 shlibpath_var
=LIBPATH
11114 osf3
* | osf4
* | osf5
*)
11118 soname_spec
='${libname}${release}${shared_ext}$major'
11119 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11120 shlibpath_var
=LD_LIBRARY_PATH
11121 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11122 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11133 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11134 soname_spec
='${libname}${release}${shared_ext}$major'
11135 shlibpath_var
=LD_LIBRARY_PATH
11136 shlibpath_overrides_runpath
=yes
11137 hardcode_into_libs
=yes
11138 # ldd complains unless libraries are executable
11139 postinstall_cmds
='chmod +x $lib'
11144 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11145 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11146 shlibpath_var
=LD_LIBRARY_PATH
11147 shlibpath_overrides_runpath
=yes
11148 if test "$with_gnu_ld" = yes; then
11156 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11157 soname_spec
='${libname}${release}${shared_ext}$major'
11158 shlibpath_var
=LD_LIBRARY_PATH
11159 case $host_vendor in
11161 shlibpath_overrides_runpath
=no
11163 runpath_var
=LD_RUN_PATH
11171 shlibpath_overrides_runpath
=no
11172 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11178 if test -d /usr
/nec
;then
11180 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11181 soname_spec
='$libname${shared_ext}.$major'
11182 shlibpath_var
=LD_LIBRARY_PATH
11186 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11187 version_type
=freebsd-elf
11190 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11191 soname_spec
='${libname}${release}${shared_ext}$major'
11192 shlibpath_var
=LD_LIBRARY_PATH
11193 shlibpath_overrides_runpath
=yes
11194 hardcode_into_libs
=yes
11195 if test "$with_gnu_ld" = yes; then
11196 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11198 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11201 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11205 sys_lib_dlsearch_path_spec
='/usr/lib'
11209 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11213 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11214 shlibpath_var
=LD_LIBRARY_PATH
11215 shlibpath_overrides_runpath
=no
11216 hardcode_into_libs
=yes
11221 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11222 soname_spec
='${libname}${release}${shared_ext}$major'
11223 shlibpath_var
=LD_LIBRARY_PATH
11226 # Shared libraries for VwWorks, >= 7 only at this stage
11227 # and (fpic) still incompatible with "large" code models
11228 # in a few configurations. Only for RTP mode in any case,
11229 # and upon explicit request at configure time.
11232 case ${with_multisubdir}-${enable_shared} in
11239 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11240 soname_spec
='${libname}${release}${shared_ext}$major'
11241 dynamic_linker
="$host_os module_loader"
11249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11250 $as_echo "$dynamic_linker" >&6; }
11251 test "$dynamic_linker" = no
&& can_build_shared
=no
11253 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11254 if test "$GCC" = yes; then
11255 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11258 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11259 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
11261 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11262 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
11356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11357 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11359 if test -n "$hardcode_libdir_flag_spec" ||
11360 test -n "$runpath_var" ||
11361 test "X$hardcode_automatic" = "Xyes" ; then
11363 # We can hardcode non-existent directories.
11364 if test "$hardcode_direct" != no
&&
11365 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11366 # have to relink, otherwise we might link with an installed library
11367 # when we should be linking with a yet-to-be-installed one
11368 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11369 test "$hardcode_minus_L" != no
; then
11370 # Linking always hardcodes the temporary library directory.
11371 hardcode_action
=relink
11373 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11374 hardcode_action
=immediate
11377 # We cannot hardcode anything, or else we can only hardcode existing
11379 hardcode_action
=unsupported
11381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11382 $as_echo "$hardcode_action" >&6; }
11384 if test "$hardcode_action" = relink ||
11385 test "$inherit_rpath" = yes; then
11386 # Fast installation is not supported
11387 enable_fast_install
=no
11388 elif test "$shlibpath_overrides_runpath" = yes ||
11389 test "$enable_shared" = no
; then
11390 # Fast installation is not necessary
11391 enable_fast_install
=needless
11399 if test "x$enable_dlopen" != xyes
; then
11400 enable_dlopen
=unknown
11401 enable_dlopen_self
=unknown
11402 enable_dlopen_self_static
=unknown
11409 lt_cv_dlopen
="load_add_on"
11411 lt_cv_dlopen_self
=yes
11414 mingw
* | pw32
* | cegcc
*)
11415 lt_cv_dlopen
="LoadLibrary"
11420 lt_cv_dlopen
="dlopen"
11425 # if libdl is installed we need to link against it
11426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11427 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11428 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11429 $as_echo_n "(cached) " >&6
11431 ac_check_lib_save_LIBS
=$LIBS
11433 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11434 /* end confdefs.h. */
11436 /* Override any GCC internal prototype to avoid an error.
11437 Use char because int might match the return type of a GCC
11438 builtin and then its argument prototype would still apply. */
11451 if ac_fn_c_try_link
"$LINENO"; then :
11452 ac_cv_lib_dl_dlopen
=yes
11454 ac_cv_lib_dl_dlopen
=no
11456 rm -f core conftest.err conftest.
$ac_objext \
11457 conftest
$ac_exeext conftest.
$ac_ext
11458 LIBS
=$ac_check_lib_save_LIBS
11460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11461 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11462 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11463 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11466 lt_cv_dlopen
="dyld"
11468 lt_cv_dlopen_self
=yes
11475 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
11476 if test "x$ac_cv_func_shl_load" = xyes
; then :
11477 lt_cv_dlopen
="shl_load"
11479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11480 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11481 if ${ac_cv_lib_dld_shl_load+:} false
; then :
11482 $as_echo_n "(cached) " >&6
11484 ac_check_lib_save_LIBS
=$LIBS
11486 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11487 /* end confdefs.h. */
11489 /* Override any GCC internal prototype to avoid an error.
11490 Use char because int might match the return type of a GCC
11491 builtin and then its argument prototype would still apply. */
11499 return shl_load ();
11504 if ac_fn_c_try_link
"$LINENO"; then :
11505 ac_cv_lib_dld_shl_load
=yes
11507 ac_cv_lib_dld_shl_load
=no
11509 rm -f core conftest.err conftest.
$ac_objext \
11510 conftest
$ac_exeext conftest.
$ac_ext
11511 LIBS
=$ac_check_lib_save_LIBS
11513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11514 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11515 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
11516 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
11518 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
11519 if test "x$ac_cv_func_dlopen" = xyes
; then :
11520 lt_cv_dlopen
="dlopen"
11522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11523 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11524 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11525 $as_echo_n "(cached) " >&6
11527 ac_check_lib_save_LIBS
=$LIBS
11529 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11530 /* end confdefs.h. */
11532 /* Override any GCC internal prototype to avoid an error.
11533 Use char because int might match the return type of a GCC
11534 builtin and then its argument prototype would still apply. */
11547 if ac_fn_c_try_link
"$LINENO"; then :
11548 ac_cv_lib_dl_dlopen
=yes
11550 ac_cv_lib_dl_dlopen
=no
11552 rm -f core conftest.err conftest.
$ac_objext \
11553 conftest
$ac_exeext conftest.
$ac_ext
11554 LIBS
=$ac_check_lib_save_LIBS
11556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11557 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11558 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11559 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11562 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11563 if ${ac_cv_lib_svld_dlopen+:} false
; then :
11564 $as_echo_n "(cached) " >&6
11566 ac_check_lib_save_LIBS
=$LIBS
11567 LIBS
="-lsvld $LIBS"
11568 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11569 /* end confdefs.h. */
11571 /* Override any GCC internal prototype to avoid an error.
11572 Use char because int might match the return type of a GCC
11573 builtin and then its argument prototype would still apply. */
11586 if ac_fn_c_try_link
"$LINENO"; then :
11587 ac_cv_lib_svld_dlopen
=yes
11589 ac_cv_lib_svld_dlopen
=no
11591 rm -f core conftest.err conftest.
$ac_objext \
11592 conftest
$ac_exeext conftest.
$ac_ext
11593 LIBS
=$ac_check_lib_save_LIBS
11595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11596 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11597 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
11598 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11601 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11602 if ${ac_cv_lib_dld_dld_link+:} false
; then :
11603 $as_echo_n "(cached) " >&6
11605 ac_check_lib_save_LIBS
=$LIBS
11607 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11608 /* end confdefs.h. */
11610 /* Override any GCC internal prototype to avoid an error.
11611 Use char because int might match the return type of a GCC
11612 builtin and then its argument prototype would still apply. */
11620 return dld_link ();
11625 if ac_fn_c_try_link
"$LINENO"; then :
11626 ac_cv_lib_dld_dld_link
=yes
11628 ac_cv_lib_dld_dld_link
=no
11630 rm -f core conftest.err conftest.
$ac_objext \
11631 conftest
$ac_exeext conftest.
$ac_ext
11632 LIBS
=$ac_check_lib_save_LIBS
11634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11635 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11636 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
11637 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11658 if test "x$lt_cv_dlopen" != xno
; then
11664 case $lt_cv_dlopen in
11666 save_CPPFLAGS
="$CPPFLAGS"
11667 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11669 save_LDFLAGS
="$LDFLAGS"
11670 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11673 LIBS
="$lt_cv_dlopen_libs $LIBS"
11675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11676 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11677 if ${lt_cv_dlopen_self+:} false
; then :
11678 $as_echo_n "(cached) " >&6
11680 if test "$cross_compiling" = yes; then :
11681 lt_cv_dlopen_self
=cross
11683 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11684 lt_status
=$lt_dlunknown
11685 cat > conftest.
$ac_ext <<_LT_EOF
11686 #line 11686 "configure"
11687 #include "confdefs.h"
11696 # define LT_DLGLOBAL RTLD_GLOBAL
11699 # define LT_DLGLOBAL DL_GLOBAL
11701 # define LT_DLGLOBAL 0
11705 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11706 find out it does not work in some platform. */
11707 #ifndef LT_DLLAZY_OR_NOW
11709 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11712 # define LT_DLLAZY_OR_NOW DL_LAZY
11715 # define LT_DLLAZY_OR_NOW RTLD_NOW
11718 # define LT_DLLAZY_OR_NOW DL_NOW
11720 # define LT_DLLAZY_OR_NOW 0
11727 /* When -fvisbility=hidden is used, assume the code has been annotated
11728 correspondingly for the symbols needed. */
11729 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11730 void fnord () __attribute__((visibility("default")));
11733 void fnord () { int i=42; }
11736 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11737 int status = $lt_dlunknown;
11741 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11744 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11745 else puts (dlerror ());
11747 /* dlclose (self); */
11755 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11756 (eval $ac_link) 2>&5
11758 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11759 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11760 (.
/conftest
; exit; ) >&5 2>/dev
/null
11762 case x
$lt_status in
11763 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11764 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11765 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11768 # compilation failed
11769 lt_cv_dlopen_self
=no
11776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11777 $as_echo "$lt_cv_dlopen_self" >&6; }
11779 if test "x$lt_cv_dlopen_self" = xyes
; then
11780 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11782 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11783 if ${lt_cv_dlopen_self_static+:} false
; then :
11784 $as_echo_n "(cached) " >&6
11786 if test "$cross_compiling" = yes; then :
11787 lt_cv_dlopen_self_static
=cross
11789 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11790 lt_status
=$lt_dlunknown
11791 cat > conftest.
$ac_ext <<_LT_EOF
11792 #line 11792 "configure"
11793 #include "confdefs.h"
11802 # define LT_DLGLOBAL RTLD_GLOBAL
11805 # define LT_DLGLOBAL DL_GLOBAL
11807 # define LT_DLGLOBAL 0
11811 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11812 find out it does not work in some platform. */
11813 #ifndef LT_DLLAZY_OR_NOW
11815 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11818 # define LT_DLLAZY_OR_NOW DL_LAZY
11821 # define LT_DLLAZY_OR_NOW RTLD_NOW
11824 # define LT_DLLAZY_OR_NOW DL_NOW
11826 # define LT_DLLAZY_OR_NOW 0
11833 /* When -fvisbility=hidden is used, assume the code has been annotated
11834 correspondingly for the symbols needed. */
11835 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11836 void fnord () __attribute__((visibility("default")));
11839 void fnord () { int i=42; }
11842 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11843 int status = $lt_dlunknown;
11847 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11850 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11851 else puts (dlerror ());
11853 /* dlclose (self); */
11861 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11862 (eval $ac_link) 2>&5
11864 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11865 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11866 (.
/conftest
; exit; ) >&5 2>/dev
/null
11868 case x
$lt_status in
11869 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11870 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11871 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11874 # compilation failed
11875 lt_cv_dlopen_self_static
=no
11882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11883 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11886 CPPFLAGS
="$save_CPPFLAGS"
11887 LDFLAGS
="$save_LDFLAGS"
11892 case $lt_cv_dlopen_self in
11893 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11894 *) enable_dlopen_self
=unknown
;;
11897 case $lt_cv_dlopen_self_static in
11898 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11899 *) enable_dlopen_self_static
=unknown
;;
11921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11922 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11923 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11924 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11925 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11927 $as_echo "yes" >&6; }
11929 # FIXME - insert some real tests, host_os isn't really good enough
11932 if test -n "$STRIP" ; then
11933 striplib
="$STRIP -x"
11934 old_striplib
="$STRIP -S"
11935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11936 $as_echo "yes" >&6; }
11938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11939 $as_echo "no" >&6; }
11943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11944 $as_echo "no" >&6; }
11960 # Report which library types will actually be built
11961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11962 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11964 $as_echo "$can_build_shared" >&6; }
11966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11967 $as_echo_n "checking whether to build shared libraries... " >&6; }
11968 test "$can_build_shared" = "no" && enable_shared
=no
11970 # On AIX, shared libraries and static libraries use the same namespace, and
11971 # are all built from PIC.
11974 test "$enable_shared" = yes && enable_static
=no
11975 if test -n "$RANLIB"; then
11976 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11977 postinstall_cmds
='$RANLIB $lib'
11982 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11983 test "$enable_shared" = yes && enable_static
=no
11987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11988 $as_echo "$enable_shared" >&6; }
11990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11991 $as_echo_n "checking whether to build static libraries... " >&6; }
11992 # Make sure either enable_shared or enable_static is yes.
11993 test "$enable_shared" = yes || enable_static
=yes
11994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11995 $as_echo "$enable_static" >&6; }
12002 ac_cpp
='$CPP $CPPFLAGS'
12003 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12004 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12005 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12009 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12010 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12011 (test "X$CXX" != "Xg++"))) ; then
12013 ac_cpp
='$CXXCPP $CPPFLAGS'
12014 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12015 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12016 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12018 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12019 if test -z "$CXXCPP"; then
12020 if ${ac_cv_prog_CXXCPP+:} false
; then :
12021 $as_echo_n "(cached) " >&6
12023 # Double quotes because CXXCPP needs to be expanded
12024 for CXXCPP
in "$CXX -E" "/lib/cpp"
12026 ac_preproc_ok
=false
12027 for ac_cxx_preproc_warn_flag
in '' yes
12029 # Use a header file that comes with gcc, so configuring glibc
12030 # with a fresh cross-compiler works.
12031 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12032 # <limits.h> exists even on freestanding compilers.
12033 # On the NeXT, cc -E runs the code through the compiler's parser,
12034 # not just through cpp. "Syntax error" is here to catch this case.
12035 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12036 /* end confdefs.h. */
12038 # include <limits.h>
12040 # include <assert.h>
12044 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12047 # Broken: fails on valid input.
12050 rm -f conftest.err conftest.i conftest.
$ac_ext
12052 # OK, works on sane cases. Now check whether nonexistent headers
12053 # can be detected and how.
12054 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12055 /* end confdefs.h. */
12056 #include <ac_nonexistent.h>
12058 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12059 # Broken: success on invalid input.
12062 # Passes both tests.
12066 rm -f conftest.err conftest.i conftest.
$ac_ext
12069 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12070 rm -f conftest.i conftest.err conftest.
$ac_ext
12071 if $ac_preproc_ok; then :
12076 ac_cv_prog_CXXCPP
=$CXXCPP
12079 CXXCPP
=$ac_cv_prog_CXXCPP
12081 ac_cv_prog_CXXCPP
=$CXXCPP
12083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12084 $as_echo "$CXXCPP" >&6; }
12085 ac_preproc_ok
=false
12086 for ac_cxx_preproc_warn_flag
in '' yes
12088 # Use a header file that comes with gcc, so configuring glibc
12089 # with a fresh cross-compiler works.
12090 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12091 # <limits.h> exists even on freestanding compilers.
12092 # On the NeXT, cc -E runs the code through the compiler's parser,
12093 # not just through cpp. "Syntax error" is here to catch this case.
12094 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12095 /* end confdefs.h. */
12097 # include <limits.h>
12099 # include <assert.h>
12103 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12106 # Broken: fails on valid input.
12109 rm -f conftest.err conftest.i conftest.
$ac_ext
12111 # OK, works on sane cases. Now check whether nonexistent headers
12112 # can be detected and how.
12113 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12114 /* end confdefs.h. */
12115 #include <ac_nonexistent.h>
12117 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12118 # Broken: success on invalid input.
12121 # Passes both tests.
12125 rm -f conftest.err conftest.i conftest.
$ac_ext
12128 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12129 rm -f conftest.i conftest.err conftest.
$ac_ext
12130 if $ac_preproc_ok; then :
12133 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12134 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12135 as_fn_error $?
"C++ preprocessor \"$CXXCPP\" fails sanity check
12136 See \`config.log' for more details" "$LINENO" 5; }
12140 ac_cpp
='$CPP $CPPFLAGS'
12141 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12142 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12143 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12146 _lt_caught_CXX_error
=yes
12150 ac_cpp
='$CXXCPP $CPPFLAGS'
12151 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12152 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12153 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12155 archive_cmds_need_lc_CXX
=no
12156 allow_undefined_flag_CXX
=
12157 always_export_symbols_CXX
=no
12158 archive_expsym_cmds_CXX
=
12159 compiler_needs_object_CXX
=no
12160 export_dynamic_flag_spec_CXX
=
12161 hardcode_direct_CXX
=no
12162 hardcode_direct_absolute_CXX
=no
12163 hardcode_libdir_flag_spec_CXX
=
12164 hardcode_libdir_flag_spec_ld_CXX
=
12165 hardcode_libdir_separator_CXX
=
12166 hardcode_minus_L_CXX
=no
12167 hardcode_shlibpath_var_CXX
=unsupported
12168 hardcode_automatic_CXX
=no
12169 inherit_rpath_CXX
=no
12171 module_expsym_cmds_CXX
=
12172 link_all_deplibs_CXX
=unknown
12173 old_archive_cmds_CXX
=$old_archive_cmds
12174 reload_flag_CXX
=$reload_flag
12175 reload_cmds_CXX
=$reload_cmds
12176 no_undefined_flag_CXX
=
12177 whole_archive_flag_spec_CXX
=
12178 enable_shared_with_static_runtimes_CXX
=no
12180 # Source file extension for C++ test sources.
12183 # Object file extension for compiled C++ test sources.
12187 # No sense in running all these tests if we already determined that
12188 # the CXX compiler isn't working. Some variables (like enable_shared)
12189 # are currently assumed to apply to all compilers on this platform,
12190 # and will be corrupted by setting them based on a non-working compiler.
12191 if test "$_lt_caught_CXX_error" != yes; then
12192 # Code to be used in simple compile tests
12193 lt_simple_compile_test_code
="int some_variable = 0;"
12195 # Code to be used in simple link tests
12196 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
12198 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12205 # If no C compiler was specified, use CC.
12208 # If no C compiler flags were specified, use CFLAGS.
12209 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
12211 # Allow CC to be a program name with arguments.
12215 # save warnings/boilerplate of simple test code
12216 ac_outfile
=conftest.
$ac_objext
12217 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
12218 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12219 _lt_compiler_boilerplate
=`cat conftest.err`
12222 ac_outfile
=conftest.
$ac_objext
12223 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
12224 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12225 _lt_linker_boilerplate
=`cat conftest.err`
12229 # Allow CC to be a program name with arguments.
12234 lt_save_with_gnu_ld
=$with_gnu_ld
12235 lt_save_path_LD
=$lt_cv_path_LD
12236 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12237 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
12239 $as_unset lt_cv_prog_gnu_ld
12241 if test -n "${lt_cv_path_LDCXX+set}"; then
12242 lt_cv_path_LD
=$lt_cv_path_LDCXX
12244 $as_unset lt_cv_path_LD
12246 test -z "${LDCXX+set}" || LD
=$LDCXX
12250 for cc_temp
in $compiler""; do
12252 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
12253 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
12258 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12261 if test -n "$compiler"; then
12262 # We don't want -fno-exception when compiling C++ code, so set the
12263 # no_builtin_flag separately
12264 if test "$GXX" = yes; then
12265 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
12267 lt_prog_compiler_no_builtin_flag_CXX
=
12270 if test "$GXX" = yes; then
12271 # Set up default GNU C++ configuration
12275 # Check whether --with-gnu-ld was given.
12276 if test "${with_gnu_ld+set}" = set; then :
12277 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
12283 if test "$GCC" = yes; then
12284 # Check if gcc -print-prog-name=ld gives a path.
12285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12286 $as_echo_n "checking for ld used by $CC... " >&6; }
12289 # gcc leaves a trailing carriage return which upsets mingw
12290 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12292 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
12295 # Accept absolute paths.
12297 re_direlt
='/[^/][^/]*/\.\./'
12298 # Canonicalize the pathname of ld
12299 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12300 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
12301 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12303 test -z "$LD" && LD
="$ac_prog"
12306 # If it fails, then pretend we aren't using GCC.
12310 # If it is relative, then search for the first ld in PATH.
12311 with_gnu_ld
=unknown
12314 elif test "$with_gnu_ld" = yes; then
12315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12316 $as_echo_n "checking for GNU ld... " >&6; }
12318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12319 $as_echo_n "checking for non-GNU ld... " >&6; }
12321 if ${lt_cv_path_LD+:} false
; then :
12322 $as_echo_n "(cached) " >&6
12324 if test -z "$LD"; then
12325 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
12326 for ac_dir
in $PATH; do
12328 test -z "$ac_dir" && ac_dir
=.
12329 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
12330 lt_cv_path_LD
="$ac_dir/$ac_prog"
12331 # Check to see if the program is GNU ld. I'd rather use --version,
12332 # but apparently some variants of GNU ld only accept -v.
12333 # Break only if it was the GNU/non-GNU ld that we prefer.
12334 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12335 *GNU
* |
*'with BFD'*)
12336 test "$with_gnu_ld" != no
&& break
12339 test "$with_gnu_ld" != yes && break
12346 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
12350 LD
="$lt_cv_path_LD"
12351 if test -n "$LD"; then
12352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12353 $as_echo "$LD" >&6; }
12355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12356 $as_echo "no" >&6; }
12358 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
12359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12360 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12361 if ${lt_cv_prog_gnu_ld+:} false
; then :
12362 $as_echo_n "(cached) " >&6
12364 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12365 case `$LD -v 2>&1 </dev/null` in
12366 *GNU
* |
*'with BFD'*)
12367 lt_cv_prog_gnu_ld
=yes
12370 lt_cv_prog_gnu_ld
=no
12374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12375 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12376 with_gnu_ld
=$lt_cv_prog_gnu_ld
12384 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12385 # archiving commands below assume that GNU ld is being used.
12386 if test "$with_gnu_ld" = yes; then
12387 archive_cmds_CXX
='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12388 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'
12390 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12391 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12393 # If archive_cmds runs LD, not CC, wlarc should be empty
12394 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12395 # investigate it a little bit more. (MM)
12398 # ancient GNU ld didn't support --whole-archive et. al.
12399 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12400 $GREP 'no-whole-archive' > /dev
/null
; then
12401 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12403 whole_archive_flag_spec_CXX
=
12409 # A generic and very simple default shared library creation
12410 # command for GNU C++ for the case where it uses the native
12411 # linker, instead of GNU ld. If possible, this setting should
12412 # overridden to take advantage of the native linker features on
12413 # the platform it is being used on.
12414 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12417 # Commands to make compiler produce verbose output that lists
12418 # what "hidden" libraries, object files and flags are used when
12419 # linking a shared library.
12420 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12428 # PORTME: fill in a description of your system's C++ link characteristics
12429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12430 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12434 # FIXME: insert proper C++ library support
12438 if test "$host_cpu" = ia64
; then
12439 # On IA64, the linker does run time linking by default, so we don't
12440 # have to do anything special.
12441 aix_use_runtimelinking
=no
12442 exp_sym_flag
='-Bexport'
12445 aix_use_runtimelinking
=no
12447 # Test if we are trying to use run time linking or normal
12448 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12449 # need to do runtime linking.
12450 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
12451 for ld_flag
in $LDFLAGS; do
12454 aix_use_runtimelinking
=yes
12462 exp_sym_flag
='-bexport'
12463 no_entry_flag
='-bnoentry'
12466 # When large executables or shared objects are built, AIX ld can
12467 # have problems creating the table of contents. If linking a library
12468 # or program results in "error TOC overflow" add -mminimal-toc to
12469 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12470 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12472 archive_cmds_CXX
=''
12473 hardcode_direct_CXX
=yes
12474 hardcode_direct_absolute_CXX
=yes
12475 hardcode_libdir_separator_CXX
=':'
12476 link_all_deplibs_CXX
=yes
12477 file_list_spec_CXX
='${wl}-f,'
12479 if test "$GXX" = yes; then
12480 case $host_os in aix4.
[012]|aix4.
[012].
*)
12481 # We only want to do this on AIX 4.2 and lower, the check
12482 # below for broken collect2 doesn't work under 4.3+
12483 collect2name
=`${CC} -print-prog-name=collect2`
12484 if test -f "$collect2name" &&
12485 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
12487 # We have reworked collect2
12490 # We have old collect2
12491 hardcode_direct_CXX
=unsupported
12492 # It fails to find uninstalled libraries when the uninstalled
12493 # path is not listed in the libpath. Setting hardcode_minus_L
12494 # to unsupported forces relinking
12495 hardcode_minus_L_CXX
=yes
12496 hardcode_libdir_flag_spec_CXX
='-L$libdir'
12497 hardcode_libdir_separator_CXX
=
12500 shared_flag
='-shared'
12501 if test "$aix_use_runtimelinking" = yes; then
12502 shared_flag
="$shared_flag "'${wl}-G'
12506 if test "$host_cpu" = ia64
; then
12507 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12508 # chokes on -Wl,-G. The following line is correct:
12511 if test "$aix_use_runtimelinking" = yes; then
12512 shared_flag
='${wl}-G'
12514 shared_flag
='${wl}-bM:SRE'
12519 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
12520 # It seems that -bexpall does not export symbols beginning with
12521 # underscore (_), so it is better to generate a list of symbols to
12523 always_export_symbols_CXX
=yes
12524 if test "$aix_use_runtimelinking" = yes; then
12525 # Warning - without using the other runtime loading flags (-brtl),
12526 # -berok will link without error, but may produce a broken library.
12527 allow_undefined_flag_CXX
='-berok'
12528 # Determine the default libpath from the value encoded in an empty
12530 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12531 /* end confdefs.h. */
12541 if ac_fn_cxx_try_link
"$LINENO"; then :
12543 lt_aix_libpath_sed
='
12544 /Import File Strings/,/^$/ {
12550 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12551 # Check for a 64-bit object if we didn't find anything.
12552 if test -z "$aix_libpath"; then
12553 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12556 rm -f core conftest.err conftest.
$ac_objext \
12557 conftest
$ac_exeext conftest.
$ac_ext
12558 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12560 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
12562 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"
12564 if test "$host_cpu" = ia64
; then
12565 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
12566 allow_undefined_flag_CXX
="-z nodefs"
12567 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"
12569 # Determine the default libpath from the value encoded in an
12570 # empty executable.
12571 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12572 /* end confdefs.h. */
12582 if ac_fn_cxx_try_link
"$LINENO"; then :
12584 lt_aix_libpath_sed
='
12585 /Import File Strings/,/^$/ {
12591 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12592 # Check for a 64-bit object if we didn't find anything.
12593 if test -z "$aix_libpath"; then
12594 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12597 rm -f core conftest.err conftest.
$ac_objext \
12598 conftest
$ac_exeext conftest.
$ac_ext
12599 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12601 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
12602 # Warning - without using the other run time loading flags,
12603 # -berok will link without error, but may produce a broken library.
12604 no_undefined_flag_CXX
=' ${wl}-bernotok'
12605 allow_undefined_flag_CXX
=' ${wl}-berok'
12606 if test "$with_gnu_ld" = yes; then
12607 # We only use this code for GNU lds that support --whole-archive.
12608 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12610 # Exported symbols can be pulled into shared objects from archives
12611 whole_archive_flag_spec_CXX
='$convenience'
12613 archive_cmds_need_lc_CXX
=yes
12614 # This is similar to how AIX traditionally builds its shared
12616 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'
12622 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12623 allow_undefined_flag_CXX
=unsupported
12624 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12625 # support --undefined. This deserves some investigation. FIXME
12626 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12633 case $cc_basename in
12635 # FIXME: insert proper C++ library support
12641 cygwin
* | mingw
* | pw32
* | cegcc
*)
12642 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12643 # as there is no search path for DLLs.
12644 hardcode_libdir_flag_spec_CXX
='-L$libdir'
12645 export_dynamic_flag_spec_CXX
='${wl}--export-all-symbols'
12646 allow_undefined_flag_CXX
=unsupported
12647 always_export_symbols_CXX
=no
12648 enable_shared_with_static_runtimes_CXX
=yes
12650 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
12651 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'
12652 # If the export-symbols file already is a .def file (1st line
12653 # is EXPORTS), use it as is; otherwise, prepend...
12654 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12655 cp $export_symbols $output_objdir/$soname.def;
12657 echo EXPORTS > $output_objdir/$soname.def;
12658 cat $export_symbols >> $output_objdir/$soname.def;
12660 $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'
12665 darwin
* | rhapsody
*)
12668 archive_cmds_need_lc_CXX
=no
12669 hardcode_direct_CXX
=no
12670 hardcode_automatic_CXX
=yes
12671 hardcode_shlibpath_var_CXX
=unsupported
12672 if test "$lt_cv_ld_force_load" = "yes"; then
12673 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\"`'
12675 whole_archive_flag_spec_CXX
=''
12677 link_all_deplibs_CXX
=yes
12678 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
12679 case $cc_basename in
12680 ifort
*) _lt_dar_can_shared
=yes ;;
12681 *) _lt_dar_can_shared
=$GCC ;;
12683 if test "$_lt_dar_can_shared" = "yes"; then
12684 output_verbose_link_cmd
=func_echo_all
12685 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}"
12686 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12687 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}"
12688 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}"
12689 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12690 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}"
12691 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}"
12701 case $cc_basename in
12703 # FIXME: insert proper C++ library support
12707 # Green Hills C++ Compiler
12708 # FIXME: insert proper C++ library support
12712 # FIXME: insert proper C++ library support
12719 # C++ shared libraries reported to be fairly broken before
12725 archive_cmds_need_lc_CXX
=no
12728 freebsd
* | dragonfly
*)
12729 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12738 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12739 link_all_deplibs_CXX
=yes
12743 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
12744 hardcode_libdir_separator_CXX
=:
12745 export_dynamic_flag_spec_CXX
='${wl}-E'
12746 hardcode_direct_CXX
=yes
12747 hardcode_minus_L_CXX
=yes # Not in the search PATH,
12748 # but as the default
12749 # location of the library.
12751 case $cc_basename in
12753 # FIXME: insert proper C++ library support
12757 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'
12758 # Commands to make compiler produce verbose output that lists
12759 # what "hidden" libraries, object files and flags are used when
12760 # linking a shared library.
12762 # There doesn't appear to be a way to prevent this compiler from
12763 # explicitly linking system object files so we need to strip them
12764 # from the output so that they don't get included in the library
12766 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"'
12769 if test "$GXX" = yes; then
12770 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'
12772 # FIXME: insert proper C++ library support
12780 if test $with_gnu_ld = no
; then
12781 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
12782 hardcode_libdir_separator_CXX
=:
12788 export_dynamic_flag_spec_CXX
='${wl}-E'
12794 hardcode_direct_CXX
=no
12795 hardcode_shlibpath_var_CXX
=no
12798 hardcode_direct_CXX
=yes
12799 hardcode_direct_absolute_CXX
=yes
12800 hardcode_minus_L_CXX
=yes # Not in the search PATH,
12801 # but as the default
12802 # location of the library.
12806 case $cc_basename in
12808 # FIXME: insert proper C++ library support
12814 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12817 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12820 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12823 # Commands to make compiler produce verbose output that lists
12824 # what "hidden" libraries, object files and flags are used when
12825 # linking a shared library.
12827 # There doesn't appear to be a way to prevent this compiler from
12828 # explicitly linking system object files so we need to strip them
12829 # from the output so that they don't get included in the library
12831 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"'
12834 if test "$GXX" = yes; then
12835 if test $with_gnu_ld = no
; then
12838 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12841 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12844 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'
12849 # FIXME: insert proper C++ library support
12857 hardcode_direct_CXX
=no
12858 hardcode_shlibpath_var_CXX
=no
12859 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12860 export_dynamic_flag_spec_CXX
='${wl}-E'
12861 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12862 # Instead, shared libraries are loaded at an image base (0x10000000 by
12863 # default) and relocated if they conflict, which is a slow very memory
12864 # consuming and fragmenting process. To avoid this, we pick a random,
12865 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12866 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12867 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'
12868 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'
12871 case $cc_basename in
12874 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'
12876 # Archives containing C++ object files must be created using
12877 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12878 # necessary to make sure instantiated templates are included
12880 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
12883 if test "$GXX" = yes; then
12884 if test "$with_gnu_ld" = no
; then
12885 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'
12887 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'
12890 link_all_deplibs_CXX
=yes
12893 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12894 hardcode_libdir_separator_CXX
=:
12895 inherit_rpath_CXX
=yes
12898 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
12899 case $cc_basename in
12901 # Kuck and Associates, Inc. (KAI) C++ Compiler
12903 # KCC will only create a shared library if the output file
12904 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12905 # to its proper name (with version) after linking.
12906 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'
12907 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'
12908 # Commands to make compiler produce verbose output that lists
12909 # what "hidden" libraries, object files and flags are used when
12910 # linking a shared library.
12912 # There doesn't appear to be a way to prevent this compiler from
12913 # explicitly linking system object files so we need to strip them
12914 # from the output so that they don't get included in the library
12916 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"'
12918 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12919 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12921 # Archives containing C++ object files must be created using
12922 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12923 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
12928 # version 8.0 and above of icpc choke on multiply defined symbols
12929 # if we add $predep_objects and $postdep_objects, however 7.1 and
12930 # earlier do not add the objects themselves.
12931 case `$CC -V 2>&1` in
12933 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12934 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'
12936 *) # Version 8.0 or newer
12939 ia64
*) tmp_idyn
=' -i_dynamic';;
12941 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12942 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'
12945 archive_cmds_need_lc_CXX
=no
12946 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12947 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12948 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12951 # Portland Group C++ compiler
12953 *pgCC\
[1-5].
* |
*pgcpp\
[1-5].
*)
12954 prelink_cmds_CXX
='tpldir=Template.dir~
12956 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12957 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
12958 old_archive_cmds_CXX
='tpldir=Template.dir~
12960 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12961 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
12963 archive_cmds_CXX
='tpldir=Template.dir~
12965 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12966 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12967 archive_expsym_cmds_CXX
='tpldir=Template.dir~
12969 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12970 $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'
12972 *) # Version 6 and above use weak symbols
12973 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12974 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'
12978 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
12979 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12980 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'
12984 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12985 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'
12987 runpath_var
=LD_RUN_PATH
12988 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
12989 hardcode_libdir_separator_CXX
=:
12991 # Commands to make compiler produce verbose output that lists
12992 # what "hidden" libraries, object files and flags are used when
12993 # linking a shared library.
12995 # There doesn't appear to be a way to prevent this compiler from
12996 # explicitly linking system object files so we need to strip them
12997 # from the output so that they don't get included in the library
12999 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'
13001 xl
* | mpixl
* | bgxl
*)
13002 # IBM XL 8.0 on PPC, with GNU ld
13003 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13004 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13005 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13006 if test "x$supports_anon_versioning" = xyes
; then
13007 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
13008 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13009 echo "local: *; };" >> $output_objdir/$libname.ver~
13010 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13014 case `$CC -V 2>&1 | sed 5q` in
13017 no_undefined_flag_CXX
=' -zdefs'
13018 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13019 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'
13020 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13021 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'
13022 compiler_needs_object_CXX
=yes
13024 # Not sure whether something based on
13025 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13027 output_verbose_link_cmd
='func_echo_all'
13029 # Archives containing C++ object files must be created using
13030 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13031 # necessary to make sure instantiated templates are included
13033 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13041 # FIXME: insert proper C++ library support
13046 # FIXME: insert proper C++ library support
13051 case $cc_basename in
13053 # FIXME: insert proper C++ library support
13057 # FIXME: insert proper C++ library support
13064 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
13065 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13067 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13068 hardcode_direct_CXX
=yes
13069 hardcode_shlibpath_var_CXX
=no
13071 # Workaround some broken pre-1.5 toolchains
13072 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13080 # C++ shared libraries are fairly broken
13085 if test -f /usr
/libexec
/ld.so
; then
13086 hardcode_direct_CXX
=yes
13087 hardcode_shlibpath_var_CXX
=no
13088 hardcode_direct_absolute_CXX
=yes
13089 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13090 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13091 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13092 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13093 export_dynamic_flag_spec_CXX
='${wl}-E'
13094 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13096 output_verbose_link_cmd
=func_echo_all
13102 osf3
* | osf4
* | osf5
*)
13103 case $cc_basename in
13105 # Kuck and Associates, Inc. (KAI) C++ Compiler
13107 # KCC will only create a shared library if the output file
13108 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13109 # to its proper name (with version) after linking.
13110 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'
13112 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13113 hardcode_libdir_separator_CXX
=:
13115 # Archives containing C++ object files must be created using
13116 # the KAI C++ compiler.
13118 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
13119 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
13123 # Rational C++ 2.4.1
13124 # FIXME: insert proper C++ library support
13130 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13131 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'
13132 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13135 allow_undefined_flag_CXX
=' -expect_unresolved \*'
13136 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'
13137 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13138 echo "-hidden">> $lib.exp~
13139 $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~
13141 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13145 hardcode_libdir_separator_CXX
=:
13147 # Commands to make compiler produce verbose output that lists
13148 # what "hidden" libraries, object files and flags are used when
13149 # linking a shared library.
13151 # There doesn't appear to be a way to prevent this compiler from
13152 # explicitly linking system object files so we need to strip them
13153 # from the output so that they don't get included in the library
13155 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"'
13158 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13159 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13162 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'
13165 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'
13169 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13170 hardcode_libdir_separator_CXX
=:
13172 # Commands to make compiler produce verbose output that lists
13173 # what "hidden" libraries, object files and flags are used when
13174 # linking a shared library.
13175 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13178 # FIXME: insert proper C++ library support
13186 # FIXME: insert proper C++ library support
13191 case $cc_basename in
13194 # FIXME: insert proper C++ library support
13199 # FIXME: insert proper C++ library support
13203 # FIXME: insert proper C++ library support
13210 case $cc_basename in
13212 # Sun C++ 4.2, 5.x and Centerline C++
13213 archive_cmds_need_lc_CXX
=yes
13214 no_undefined_flag_CXX
=' -zdefs'
13215 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13216 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13217 $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'
13219 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13220 hardcode_shlibpath_var_CXX
=no
13222 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13224 # The compiler driver will combine and reorder linker options,
13225 # but understands `-z linker_flag'.
13226 # Supported since Solaris 2.6 (maybe 2.5.1?)
13227 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
13230 link_all_deplibs_CXX
=yes
13232 output_verbose_link_cmd
='func_echo_all'
13234 # Archives containing C++ object files must be created using
13235 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13236 # necessary to make sure instantiated templates are included
13238 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13241 # Green Hills C++ Compiler
13242 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13244 # The C++ compiler must be used to create the archive.
13245 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13248 # GNU C++ compiler with Solaris linker
13249 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13250 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
13251 if $CC --version |
$GREP -v '^2\.7' > /dev
/null
; then
13252 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13253 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13254 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13256 # Commands to make compiler produce verbose output that lists
13257 # what "hidden" libraries, object files and flags are used when
13258 # linking a shared library.
13259 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13261 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13263 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13264 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13265 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13267 # Commands to make compiler produce verbose output that lists
13268 # what "hidden" libraries, object files and flags are used when
13269 # linking a shared library.
13270 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13273 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
13275 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13277 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13285 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
13286 no_undefined_flag_CXX
='${wl}-z,text'
13287 archive_cmds_need_lc_CXX
=no
13288 hardcode_shlibpath_var_CXX
=no
13289 runpath_var
='LD_RUN_PATH'
13291 case $cc_basename in
13293 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13294 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13297 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13298 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13303 sysv5
* | sco3.2v5
* | sco5v6
*)
13304 # Note: We can NOT use -z defs as we might desire, because we do not
13305 # link with -lc, and that would cause any symbols used from libc to
13306 # always be unresolved, which means just about no library would
13307 # ever link correctly. If we're not using GNU ld we use -z text
13308 # though, which does catch some bad symbols but isn't as heavy-handed
13310 no_undefined_flag_CXX
='${wl}-z,text'
13311 allow_undefined_flag_CXX
='${wl}-z,nodefs'
13312 archive_cmds_need_lc_CXX
=no
13313 hardcode_shlibpath_var_CXX
=no
13314 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
13315 hardcode_libdir_separator_CXX
=':'
13316 link_all_deplibs_CXX
=yes
13317 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
13318 runpath_var
='LD_RUN_PATH'
13320 case $cc_basename in
13322 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13323 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13324 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
13325 '"$old_archive_cmds_CXX"
13326 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
13327 '"$reload_cmds_CXX"
13330 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13331 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13337 case $cc_basename in
13339 # NonStop-UX NCC 3.20
13340 # FIXME: insert proper C++ library support
13344 # FIXME: insert proper C++ library support
13351 # For VxWorks ports, we assume the use of a GNU linker with
13352 # standard elf conventions.
13357 # FIXME: insert proper C++ library support
13362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13363 $as_echo "$ld_shlibs_CXX" >&6; }
13364 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
13370 ## There is no encapsulation within the following macros, do not change
13371 ## the running order or otherwise move them around unless you know exactly
13372 ## what you are doing...
13373 # Dependencies to place before and after the object being linked:
13374 predep_objects_CXX
=
13375 postdep_objects_CXX
=
13378 compiler_lib_search_path_CXX
=
13380 cat > conftest.
$ac_ext <<_LT_EOF
13384 Foo (void) { a = 0; }
13390 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13391 (eval $ac_compile) 2>&5
13393 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13394 test $ac_status = 0; }; then
13395 # Parse the compiler output and extract the necessary
13396 # objects, libraries and library flags.
13398 # Sentinel used to keep track of whether or not we are before
13399 # the conftest object file.
13400 pre_test_object_deps_done
=no
13402 for p
in `eval "$output_verbose_link_cmd"`; do
13406 # Some compilers place space between "-{L,R}" and the path.
13407 # Remove the space.
13408 if test $p = "-L" ||
13409 test $p = "-R"; then
13416 if test "$pre_test_object_deps_done" = no
; then
13419 # Internal compiler library paths should come after those
13420 # provided the user. The postdeps already come after the
13421 # user supplied libs so there is no need to process them.
13422 if test -z "$compiler_lib_search_path_CXX"; then
13423 compiler_lib_search_path_CXX
="${prev}${p}"
13425 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
13428 # The "-l" case would never come before the object being
13429 # linked, so don't bother handling this case.
13432 if test -z "$postdeps_CXX"; then
13433 postdeps_CXX
="${prev}${p}"
13435 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
13441 # This assumes that the test object file only shows up
13442 # once in the compiler output.
13443 if test "$p" = "conftest.$objext"; then
13444 pre_test_object_deps_done
=yes
13448 if test "$pre_test_object_deps_done" = no
; then
13449 if test -z "$predep_objects_CXX"; then
13450 predep_objects_CXX
="$p"
13452 predep_objects_CXX
="$predep_objects_CXX $p"
13455 if test -z "$postdep_objects_CXX"; then
13456 postdep_objects_CXX
="$p"
13458 postdep_objects_CXX
="$postdep_objects_CXX $p"
13463 *) ;; # Ignore the rest.
13471 echo "libtool.m4: error: problem compiling CXX test program"
13474 $RM -f confest.
$objext
13476 # PORTME: override above test on systems where it is broken
13479 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13480 # hack all around it, let's just trust "g++" to DTRT.
13481 predep_objects_CXX
=
13482 postdep_objects_CXX
=
13487 case `$CC -V 2>&1 | sed 5q` in
13491 # The more standards-conforming stlport4 library is
13492 # incompatible with the Cstd library. Avoid specifying
13493 # it if it's in CXXFLAGS. Ignore libCrun as
13494 # -library=stlport4 depends on it.
13495 case " $CXX $CXXFLAGS " in
13496 *" -library=stlport4 "*)
13497 solaris_use_stlport4
=yes
13501 if test "$solaris_use_stlport4" != yes; then
13502 postdeps_CXX
='-library=Cstd -library=Crun'
13509 case $cc_basename in
13511 # The more standards-conforming stlport4 library is
13512 # incompatible with the Cstd library. Avoid specifying
13513 # it if it's in CXXFLAGS. Ignore libCrun as
13514 # -library=stlport4 depends on it.
13515 case " $CXX $CXXFLAGS " in
13516 *" -library=stlport4 "*)
13517 solaris_use_stlport4
=yes
13521 # Adding this requires a known-good setup of shared libraries for
13522 # Sun compiler versions before 5.6, else PIC objects from an old
13523 # archive will be linked into the output, leading to subtle bugs.
13524 if test "$solaris_use_stlport4" != yes; then
13525 postdeps_CXX
='-library=Cstd -library=Crun'
13533 case " $postdeps_CXX " in
13534 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
13536 compiler_lib_search_dirs_CXX
=
13537 if test -n "${compiler_lib_search_path_CXX}"; then
13538 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13571 lt_prog_compiler_wl_CXX
=
13572 lt_prog_compiler_pic_CXX
=
13573 lt_prog_compiler_static_CXX
=
13575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13576 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13578 # C++ specific cases for pic, static, wl, etc.
13579 if test "$GXX" = yes; then
13580 lt_prog_compiler_wl_CXX
='-Wl,'
13581 lt_prog_compiler_static_CXX
='-static'
13585 # All AIX code is PIC.
13586 if test "$host_cpu" = ia64
; then
13587 # AIX 5 now supports IA64 processor
13588 lt_prog_compiler_static_CXX
='-Bstatic'
13590 lt_prog_compiler_pic_CXX
='-fPIC'
13596 # see comment about AmigaOS4 .so support
13597 lt_prog_compiler_pic_CXX
='-fPIC'
13600 # FIXME: we need at least 68020 code to build shared libraries, but
13601 # adding the `-m68020' flag to GCC prevents building anything better,
13603 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
13608 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13609 # PIC is the default for these OSes.
13611 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
13612 # This hack is so that the source file can tell whether it is being
13613 # built for inclusion in a dll (and should export symbols for example).
13614 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13615 # (--disable-auto-import) libraries
13616 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
13618 darwin
* | rhapsody
*)
13619 # PIC is the default on this platform
13620 # Common symbols not allowed in MH_DYLIB files
13621 lt_prog_compiler_pic_CXX
='-fno-common'
13624 # DJGPP does not support shared libraries at all
13625 lt_prog_compiler_pic_CXX
=
13628 # PIC is the default for Haiku.
13629 # The "-static" flag exists, but is broken.
13630 lt_prog_compiler_static_CXX
=
13633 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13634 # Instead, we relocate shared libraries at runtime.
13637 if test -d /usr
/nec
; then
13638 lt_prog_compiler_pic_CXX
=-Kconform_pic
13642 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13643 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13644 # sets the default TLS model and affects inlining.
13649 lt_prog_compiler_pic_CXX
='-fPIC'
13654 # QNX uses GNU C++, but need to define -shared option too, otherwise
13655 # it will coredump.
13656 lt_prog_compiler_pic_CXX
='-fPIC -shared'
13659 lt_prog_compiler_pic_CXX
='-fPIC'
13665 # All AIX code is PIC.
13666 if test "$host_cpu" = ia64
; then
13667 # AIX 5 now supports IA64 processor
13668 lt_prog_compiler_static_CXX
='-Bstatic'
13670 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
13674 case $cc_basename in
13676 # Green Hills C++ Compiler
13677 # _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"
13682 case $cc_basename in
13684 lt_prog_compiler_pic_CXX
='-KPIC'
13687 # Green Hills C++ Compiler
13688 lt_prog_compiler_pic_CXX
='-pic'
13694 freebsd
* | dragonfly
*)
13695 # FreeBSD uses GNU C++
13697 hpux9
* | hpux10
* | hpux11
*)
13698 case $cc_basename in
13700 lt_prog_compiler_wl_CXX
='-Wl,'
13701 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
13702 if test "$host_cpu" != ia64
; then
13703 lt_prog_compiler_pic_CXX
='+Z'
13707 lt_prog_compiler_wl_CXX
='-Wl,'
13708 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
13714 lt_prog_compiler_pic_CXX
='+Z'
13723 # This is c89, which is MS Visual C++ (no shared libs)
13724 # Anyone wants to do a port?
13726 irix5
* | irix6
* | nonstopux
*)
13727 case $cc_basename in
13729 lt_prog_compiler_wl_CXX
='-Wl,'
13730 lt_prog_compiler_static_CXX
='-non_shared'
13731 # CC pic flag -KPIC is the default.
13737 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13738 case $cc_basename in
13741 lt_prog_compiler_wl_CXX
='--backend -Wl,'
13742 lt_prog_compiler_pic_CXX
='-fPIC'
13745 # old Intel C++ for x86_64 which still supported -KPIC.
13746 lt_prog_compiler_wl_CXX
='-Wl,'
13747 lt_prog_compiler_pic_CXX
='-KPIC'
13748 lt_prog_compiler_static_CXX
='-static'
13751 # Intel C++, used to be incompatible with GCC.
13752 # ICC 10 doesn't accept -KPIC any more.
13753 lt_prog_compiler_wl_CXX
='-Wl,'
13754 lt_prog_compiler_pic_CXX
='-fPIC'
13755 lt_prog_compiler_static_CXX
='-static'
13758 # Portland Group C++ compiler
13759 lt_prog_compiler_wl_CXX
='-Wl,'
13760 lt_prog_compiler_pic_CXX
='-fpic'
13761 lt_prog_compiler_static_CXX
='-Bstatic'
13765 # Make sure the PIC flag is empty. It appears that all Alpha
13766 # Linux and Compaq Tru64 Unix objects are PIC.
13767 lt_prog_compiler_pic_CXX
=
13768 lt_prog_compiler_static_CXX
='-non_shared'
13770 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
13771 # IBM XL 8.0, 9.0 on PPC and BlueGene
13772 lt_prog_compiler_wl_CXX
='-Wl,'
13773 lt_prog_compiler_pic_CXX
='-qpic'
13774 lt_prog_compiler_static_CXX
='-qstaticlink'
13777 case `$CC -V 2>&1 | sed 5q` in
13780 lt_prog_compiler_pic_CXX
='-KPIC'
13781 lt_prog_compiler_static_CXX
='-Bstatic'
13782 lt_prog_compiler_wl_CXX
='-Qoption ld '
13793 case $cc_basename in
13795 lt_prog_compiler_pic_CXX
='-W c,exportall'
13804 # QNX uses GNU C++, but need to define -shared option too, otherwise
13805 # it will coredump.
13806 lt_prog_compiler_pic_CXX
='-fPIC -shared'
13808 osf3
* | osf4
* | osf5
*)
13809 case $cc_basename in
13811 lt_prog_compiler_wl_CXX
='--backend -Wl,'
13814 # Rational C++ 2.4.1
13815 lt_prog_compiler_pic_CXX
='-pic'
13818 # Digital/Compaq C++
13819 lt_prog_compiler_wl_CXX
='-Wl,'
13820 # Make sure the PIC flag is empty. It appears that all Alpha
13821 # Linux and Compaq Tru64 Unix objects are PIC.
13822 lt_prog_compiler_pic_CXX
=
13823 lt_prog_compiler_static_CXX
='-non_shared'
13832 case $cc_basename in
13834 # Sun C++ 4.2, 5.x and Centerline C++
13835 lt_prog_compiler_pic_CXX
='-KPIC'
13836 lt_prog_compiler_static_CXX
='-Bstatic'
13837 lt_prog_compiler_wl_CXX
='-Qoption ld '
13840 # Green Hills C++ Compiler
13841 lt_prog_compiler_pic_CXX
='-PIC'
13848 case $cc_basename in
13851 lt_prog_compiler_pic_CXX
='-pic'
13852 lt_prog_compiler_static_CXX
='-Bstatic'
13856 lt_prog_compiler_pic_CXX
='-pic'
13862 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
13863 case $cc_basename in
13865 lt_prog_compiler_wl_CXX
='-Wl,'
13866 lt_prog_compiler_pic_CXX
='-KPIC'
13867 lt_prog_compiler_static_CXX
='-Bstatic'
13872 case $cc_basename in
13874 # NonStop-UX NCC 3.20
13875 lt_prog_compiler_pic_CXX
='-KPIC'
13884 lt_prog_compiler_can_build_shared_CXX
=no
13890 # For platforms which do not support PIC, -DPIC is meaningless:
13892 lt_prog_compiler_pic_CXX
=
13895 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
13898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13899 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13904 # Check to make sure the PIC flag actually works.
13906 if test -n "$lt_prog_compiler_pic_CXX"; then
13907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13908 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13909 if ${lt_cv_prog_compiler_pic_works_CXX+:} false
; then :
13910 $as_echo_n "(cached) " >&6
13912 lt_cv_prog_compiler_pic_works_CXX
=no
13913 ac_outfile
=conftest.
$ac_objext
13914 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13915 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
13916 # Insert the option either (1) after the last *FLAGS variable, or
13917 # (2) before a word containing "conftest.", or (3) at the end.
13918 # Note that $ac_compile itself does not contain backslashes and begins
13919 # with a dollar sign (not a hyphen), so the echo should work correctly.
13920 # The option is referenced via a variable to avoid confusing sed.
13921 lt_compile
=`echo "$ac_compile" | $SED \
13922 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13923 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13924 -e 's:$: $lt_compiler_flag:'`
13925 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13926 (eval "$lt_compile" 2>conftest.err
)
13928 cat conftest.err
>&5
13929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13930 if (exit $ac_status) && test -s "$ac_outfile"; then
13931 # The compiler can only warn and ignore the option if not recognized
13932 # So say no if there are warnings other than the usual output.
13933 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
13934 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13935 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
13936 lt_cv_prog_compiler_pic_works_CXX
=yes
13942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13943 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13945 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
13946 case $lt_prog_compiler_pic_CXX in
13948 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
13951 lt_prog_compiler_pic_CXX
=
13952 lt_prog_compiler_can_build_shared_CXX
=no
13960 # Check to make sure the static flag actually works.
13962 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
13963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13964 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13965 if ${lt_cv_prog_compiler_static_works_CXX+:} false
; then :
13966 $as_echo_n "(cached) " >&6
13968 lt_cv_prog_compiler_static_works_CXX
=no
13969 save_LDFLAGS
="$LDFLAGS"
13970 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
13971 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
13972 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
13973 # The linker can only warn and ignore the option if not recognized
13974 # So say no if there are warnings
13975 if test -s conftest.err
; then
13976 # Append any errors to the config.log.
13977 cat conftest.err
1>&5
13978 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
13979 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13980 if diff conftest.exp conftest.er2
>/dev
/null
; then
13981 lt_cv_prog_compiler_static_works_CXX
=yes
13984 lt_cv_prog_compiler_static_works_CXX
=yes
13988 LDFLAGS
="$save_LDFLAGS"
13991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13992 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13994 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
13997 lt_prog_compiler_static_CXX
=
14003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14004 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14005 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
14006 $as_echo_n "(cached) " >&6
14008 lt_cv_prog_compiler_c_o_CXX
=no
14009 $RM -r conftest
2>/dev
/null
14013 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14015 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14016 # Insert the option either (1) after the last *FLAGS variable, or
14017 # (2) before a word containing "conftest.", or (3) at the end.
14018 # Note that $ac_compile itself does not contain backslashes and begins
14019 # with a dollar sign (not a hyphen), so the echo should work correctly.
14020 lt_compile
=`echo "$ac_compile" | $SED \
14021 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14022 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14023 -e 's:$: $lt_compiler_flag:'`
14024 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14025 (eval "$lt_compile" 2>out
/conftest.err
)
14027 cat out
/conftest.err
>&5
14028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14029 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14031 # The compiler can only warn and ignore the option if not recognized
14032 # So say no if there are warnings
14033 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
14034 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14035 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14036 lt_cv_prog_compiler_c_o_CXX
=yes
14041 # SGI C++ compiler will create directory out/ii_files/ for
14042 # template instantiation
14043 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14044 $RM out
/* && rmdir out
14050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14051 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14056 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14057 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
14058 $as_echo_n "(cached) " >&6
14060 lt_cv_prog_compiler_c_o_CXX
=no
14061 $RM -r conftest
2>/dev
/null
14065 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14067 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14068 # Insert the option either (1) after the last *FLAGS variable, or
14069 # (2) before a word containing "conftest.", or (3) at the end.
14070 # Note that $ac_compile itself does not contain backslashes and begins
14071 # with a dollar sign (not a hyphen), so the echo should work correctly.
14072 lt_compile
=`echo "$ac_compile" | $SED \
14073 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14074 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14075 -e 's:$: $lt_compiler_flag:'`
14076 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14077 (eval "$lt_compile" 2>out
/conftest.err
)
14079 cat out
/conftest.err
>&5
14080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14081 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14083 # The compiler can only warn and ignore the option if not recognized
14084 # So say no if there are warnings
14085 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
14086 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14087 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14088 lt_cv_prog_compiler_c_o_CXX
=yes
14093 # SGI C++ compiler will create directory out/ii_files/ for
14094 # template instantiation
14095 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14096 $RM out
/* && rmdir out
14102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14103 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14108 hard_links
="nottested"
14109 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
14110 # do not overwrite the value of need_locks provided by the user
14111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14112 $as_echo_n "checking if we can lock with hard links... " >&6; }
14115 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14117 ln conftest.a conftest.b
2>&5 || hard_links
=no
14118 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14120 $as_echo "$hard_links" >&6; }
14121 if test "$hard_links" = no
; then
14122 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14123 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14133 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14135 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14138 # If we're using GNU nm, then we don't want the "-C" option.
14139 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14140 # Also, AIX nm treats weak defined symbols like other global defined
14141 # symbols, whereas GNU nm marks them as "W".
14142 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
14143 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'
14145 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'
14149 export_symbols_cmds_CXX
="$ltdll_cmds"
14151 cygwin
* | mingw
* | cegcc
*)
14152 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'
14155 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14158 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14161 $as_echo "$ld_shlibs_CXX" >&6; }
14162 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
14164 with_gnu_ld_CXX
=$with_gnu_ld
14172 # Do we need to explicitly link libc?
14174 case "x$archive_cmds_need_lc_CXX" in
14176 # Assume -lc should be added
14177 archive_cmds_need_lc_CXX
=yes
14179 if test "$enable_shared" = yes && test "$GCC" = yes; then
14180 case $archive_cmds_CXX in
14182 # FIXME: we may have to deal with multi-command sequences.
14185 # Test whether the compiler implicitly links with -lc since on some
14186 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14187 # to ld, don't add -lc before -lgcc.
14188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14189 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14190 if ${lt_cv_archive_cmds_need_lc_CXX+:} false
; then :
14191 $as_echo_n "(cached) " >&6
14194 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14196 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14197 (eval $ac_compile) 2>&5
14199 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14200 test $ac_status = 0; } 2>conftest.err
; then
14203 libobjs
=conftest.
$ac_objext
14205 wl
=$lt_prog_compiler_wl_CXX
14206 pic_flag
=$lt_prog_compiler_pic_CXX
14212 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
14213 allow_undefined_flag_CXX
=
14214 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14215 (eval $archive_cmds_CXX 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
14217 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14218 test $ac_status = 0; }
14220 lt_cv_archive_cmds_need_lc_CXX
=no
14222 lt_cv_archive_cmds_need_lc_CXX
=yes
14224 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
14226 cat conftest.err
1>&5
14231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14232 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14233 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
14303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14304 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14306 library_names_spec
=
14307 libname_spec
='lib$name'
14311 postuninstall_cmds
=
14315 shlibpath_overrides_runpath
=unknown
14317 dynamic_linker
="$host_os ld.so"
14318 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
14319 need_lib_prefix
=unknown
14320 hardcode_into_libs
=no
14322 # when you set need_version to no, make sure it does not cause -set_version
14323 # flags to be left without arguments
14324 need_version
=unknown
14329 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
14330 shlibpath_var
=LIBPATH
14332 # AIX 3 has no versioning support, so we append a major version to the name.
14333 soname_spec
='${libname}${release}${shared_ext}$major'
14340 hardcode_into_libs
=yes
14341 if test "$host_cpu" = ia64
; then
14342 # AIX 5 supports IA64
14343 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14344 shlibpath_var
=LD_LIBRARY_PATH
14346 # With GCC up to 2.95.x, collect2 would create an import file
14347 # for dependence libraries. The import file would start with
14348 # the line `#! .'. This would cause the generated library to
14349 # depend on `.', always an invalid library. This was fixed in
14350 # development snapshots of GCC prior to 3.0.
14352 aix4 | aix4.
[01] | aix4.
[01].
*)
14353 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14355 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
14358 can_build_shared
=no
14362 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14363 # soname into executable. Probably we can add versioning support to
14364 # collect2, so additional links can be useful in future.
14365 if test "$aix_use_runtimelinking" = yes; then
14366 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14367 # instead of lib<name>.a to let people know that these are not
14368 # typical AIX shared libraries.
14369 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14371 # We preserve .a as extension for shared libraries through AIX4.2
14372 # and later when we are not doing run time linking.
14373 library_names_spec
='${libname}${release}.a $libname.a'
14374 soname_spec
='${libname}${release}${shared_ext}$major'
14376 shlibpath_var
=LIBPATH
14383 # Since July 2007 AmigaOS4 officially supports .so libraries.
14384 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14385 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14388 library_names_spec
='$libname.ixlibrary $libname.a'
14389 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14390 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'
14396 library_names_spec
='${libname}${shared_ext}'
14397 dynamic_linker
="$host_os ld.so"
14398 shlibpath_var
=LIBRARY_PATH
14404 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14405 soname_spec
='${libname}${release}${shared_ext}$major'
14406 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
14407 shlibpath_var
=LD_LIBRARY_PATH
14408 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14409 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
14410 # the default ld.so.conf also contains /usr/contrib/lib and
14411 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14412 # libtool to hard-code these into programs
14415 cygwin
* | mingw
* | pw32
* | cegcc
*)
14416 version_type
=windows
14421 case $GCC,$host_os in
14422 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
14423 library_names_spec
='$libname.dll.a'
14424 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14425 postinstall_cmds
='base_file=`basename \${file}`~
14426 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14427 dldir=$destdir/`dirname \$dlpath`~
14428 test -d \$dldir || mkdir -p \$dldir~
14429 $install_prog $dir/$dlname \$dldir/$dlname~
14430 chmod a+x \$dldir/$dlname~
14431 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14432 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14434 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14435 dlpath=$dir/\$dldll~
14437 shlibpath_overrides_runpath
=yes
14441 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14442 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14446 # MinGW DLLs use traditional 'lib' prefix
14447 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14450 # pw32 DLLs use 'pw' prefix rather than 'lib'
14451 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14457 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14460 dynamic_linker
='Win32 ld.exe'
14461 # FIXME: first we should search . and the directory the executable is in
14465 darwin
* | rhapsody
*)
14466 dynamic_linker
="$host_os dyld"
14467 version_type
=darwin
14470 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14471 soname_spec
='${libname}${release}${major}$shared_ext'
14472 shlibpath_overrides_runpath
=yes
14473 shlibpath_var
=DYLD_LIBRARY_PATH
14474 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
14476 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
14483 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14484 soname_spec
='${libname}${release}${shared_ext}$major'
14485 shlibpath_var
=LD_LIBRARY_PATH
14488 freebsd
* | dragonfly
*)
14489 # DragonFly does not have aout. When/if they implement a new
14490 # versioning mechanism, adjust this.
14491 if test -x /usr
/bin
/objformat
; then
14492 objformat
=`/usr/bin/objformat`
14495 freebsd
[23].
*) objformat
=aout
;;
14496 *) objformat
=elf
;;
14499 version_type
=freebsd-
$objformat
14500 case $version_type in
14502 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14507 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14511 shlibpath_var
=LD_LIBRARY_PATH
14514 shlibpath_overrides_runpath
=yes
14516 freebsd3.
[01]* | freebsdelf3.
[01]*)
14517 shlibpath_overrides_runpath
=yes
14518 hardcode_into_libs
=yes
14520 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
14521 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
14522 shlibpath_overrides_runpath
=no
14523 hardcode_into_libs
=yes
14525 *) # from 4.6 on, and DragonFly
14526 shlibpath_overrides_runpath
=yes
14527 hardcode_into_libs
=yes
14536 dynamic_linker
="$host_os runtime_loader"
14537 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14538 soname_spec
='${libname}${release}${shared_ext}$major'
14539 shlibpath_var
=LIBRARY_PATH
14540 shlibpath_overrides_runpath
=yes
14541 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
14542 hardcode_into_libs
=yes
14545 hpux9
* | hpux10
* | hpux11
*)
14546 # Give a soname corresponding to the major version so that dld.sl refuses to
14547 # link against other versions.
14554 hardcode_into_libs
=yes
14555 dynamic_linker
="$host_os dld.so"
14556 shlibpath_var
=LD_LIBRARY_PATH
14557 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14558 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14559 soname_spec
='${libname}${release}${shared_ext}$major'
14560 if test "X$HPUX_IA64_MODE" = X32
; then
14561 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14563 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
14565 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14569 hardcode_into_libs
=yes
14570 dynamic_linker
="$host_os dld.sl"
14571 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
14572 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14573 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14574 soname_spec
='${libname}${release}${shared_ext}$major'
14575 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14576 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14580 dynamic_linker
="$host_os dld.sl"
14581 shlibpath_var
=SHLIB_PATH
14582 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
14583 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14584 soname_spec
='${libname}${release}${shared_ext}$major'
14587 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14588 postinstall_cmds
='chmod 555 $lib'
14589 # or fails outright, so override atomically:
14590 install_override_mode
=555
14597 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14598 soname_spec
='${libname}${release}${shared_ext}$major'
14599 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
14600 shlibpath_var
=LD_LIBRARY_PATH
14601 shlibpath_overrides_runpath
=no
14602 hardcode_into_libs
=yes
14605 irix5
* | irix6
* | nonstopux
*)
14607 nonstopux
*) version_type
=nonstopux
;;
14609 if test "$lt_cv_prog_gnu_ld" = yes; then
14617 soname_spec
='${libname}${release}${shared_ext}$major'
14618 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14620 irix5
* | nonstopux
*)
14621 libsuff
= shlibsuff
=
14624 case $LD in # libtool.m4 will add one of these switches to LD
14625 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
14626 libsuff
= shlibsuff
= libmagic
=32-bit;;
14627 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
14628 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
14629 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
14630 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
14631 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
14635 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
14636 shlibpath_overrides_runpath
=no
14637 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14638 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
14639 hardcode_into_libs
=yes
14642 # No shared lib support for Linux oldld, aout, or coff.
14643 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
14647 # This must be Linux ELF.
14649 # uclinux* changes (here and below) have been submitted to the libtool
14650 # project, but have not yet been accepted: they are GCC-local changes
14651 # for the time being. (See
14652 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
14653 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
* | uclinuxfdpiceabi
)
14657 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14658 soname_spec
='${libname}${release}${shared_ext}$major'
14659 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14660 shlibpath_var
=LD_LIBRARY_PATH
14661 shlibpath_overrides_runpath
=no
14663 # Some binutils ld are patched to set DT_RUNPATH
14664 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
14665 $as_echo_n "(cached) " >&6
14667 lt_cv_shlibpath_overrides_runpath
=no
14668 save_LDFLAGS
=$LDFLAGS
14669 save_libdir
=$libdir
14670 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14671 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14672 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14673 /* end confdefs.h. */
14683 if ac_fn_cxx_try_link
"$LINENO"; then :
14684 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
14685 lt_cv_shlibpath_overrides_runpath
=yes
14688 rm -f core conftest.err conftest.
$ac_objext \
14689 conftest
$ac_exeext conftest.
$ac_ext
14690 LDFLAGS
=$save_LDFLAGS
14691 libdir
=$save_libdir
14695 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
14697 # This implies no fast_install, which is unacceptable.
14698 # Some rework will be needed to allow for fast_install
14699 # before this can be enabled.
14700 hardcode_into_libs
=yes
14702 # Append ld.so.conf contents to the search path
14703 if test -f /etc
/ld.so.conf
; then
14704 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' ' '`
14705 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
14708 # We used to test for /lib/ld.so.1 and disable shared libraries on
14709 # powerpc, because MkLinux only supported shared libraries with the
14710 # GNU dynamic linker. Since this was broken with cross compilers,
14711 # most powerpc-linux boxes support dynamic linking these days and
14712 # people can always --disable-shared, the test was removed, and we
14713 # assume the GNU/Linux dynamic linker is in use.
14714 dynamic_linker
='GNU/Linux ld.so'
14721 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
14722 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14723 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14724 dynamic_linker
='NetBSD (a.out) ld.so'
14726 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14727 soname_spec
='${libname}${release}${shared_ext}$major'
14728 dynamic_linker
='NetBSD ld.elf_so'
14730 shlibpath_var
=LD_LIBRARY_PATH
14731 shlibpath_overrides_runpath
=yes
14732 hardcode_into_libs
=yes
14737 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14738 shlibpath_var
=LD_LIBRARY_PATH
14739 shlibpath_overrides_runpath
=yes
14746 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14747 soname_spec
='${libname}${release}${shared_ext}$major'
14748 shlibpath_var
=LD_LIBRARY_PATH
14749 shlibpath_overrides_runpath
=no
14750 hardcode_into_libs
=yes
14751 dynamic_linker
='ldqnx.so'
14756 sys_lib_dlsearch_path_spec
="/usr/lib"
14758 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14760 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
14761 *) need_version
=no
;;
14763 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14764 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14765 shlibpath_var
=LD_LIBRARY_PATH
14766 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14768 openbsd2.
[89] | openbsd2.
[89].
*)
14769 shlibpath_overrides_runpath
=no
14772 shlibpath_overrides_runpath
=yes
14776 shlibpath_overrides_runpath
=yes
14781 libname_spec
='$name'
14784 library_names_spec
='$libname${shared_ext} $libname.a'
14785 dynamic_linker
='OS/2 ld.exe'
14786 shlibpath_var
=LIBPATH
14789 osf3
* | osf4
* | osf5
*)
14793 soname_spec
='${libname}${release}${shared_ext}$major'
14794 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14795 shlibpath_var
=LD_LIBRARY_PATH
14796 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14797 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
14808 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14809 soname_spec
='${libname}${release}${shared_ext}$major'
14810 shlibpath_var
=LD_LIBRARY_PATH
14811 shlibpath_overrides_runpath
=yes
14812 hardcode_into_libs
=yes
14813 # ldd complains unless libraries are executable
14814 postinstall_cmds
='chmod +x $lib'
14819 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14820 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14821 shlibpath_var
=LD_LIBRARY_PATH
14822 shlibpath_overrides_runpath
=yes
14823 if test "$with_gnu_ld" = yes; then
14831 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14832 soname_spec
='${libname}${release}${shared_ext}$major'
14833 shlibpath_var
=LD_LIBRARY_PATH
14834 case $host_vendor in
14836 shlibpath_overrides_runpath
=no
14838 runpath_var
=LD_RUN_PATH
14846 shlibpath_overrides_runpath
=no
14847 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
14853 if test -d /usr
/nec
;then
14855 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14856 soname_spec
='$libname${shared_ext}.$major'
14857 shlibpath_var
=LD_LIBRARY_PATH
14861 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
14862 version_type
=freebsd-elf
14865 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14866 soname_spec
='${libname}${release}${shared_ext}$major'
14867 shlibpath_var
=LD_LIBRARY_PATH
14868 shlibpath_overrides_runpath
=yes
14869 hardcode_into_libs
=yes
14870 if test "$with_gnu_ld" = yes; then
14871 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14873 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
14876 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
14880 sys_lib_dlsearch_path_spec
='/usr/lib'
14884 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14888 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14889 shlibpath_var
=LD_LIBRARY_PATH
14890 shlibpath_overrides_runpath
=no
14891 hardcode_into_libs
=yes
14896 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14897 soname_spec
='${libname}${release}${shared_ext}$major'
14898 shlibpath_var
=LD_LIBRARY_PATH
14901 # Shared libraries for VwWorks, >= 7 only at this stage
14902 # and (fpic) still incompatible with "large" code models
14903 # in a few configurations. Only for RTP mode in any case,
14904 # and upon explicit request at configure time.
14907 case ${with_multisubdir}-${enable_shared} in
14914 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14915 soname_spec
='${libname}${release}${shared_ext}$major'
14916 dynamic_linker
="$host_os module_loader"
14924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14925 $as_echo "$dynamic_linker" >&6; }
14926 test "$dynamic_linker" = no
&& can_build_shared
=no
14928 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
14929 if test "$GCC" = yes; then
14930 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14933 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14934 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
14936 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14937 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
14977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14978 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14979 hardcode_action_CXX
=
14980 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14981 test -n "$runpath_var_CXX" ||
14982 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14984 # We can hardcode non-existent directories.
14985 if test "$hardcode_direct_CXX" != no
&&
14986 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14987 # have to relink, otherwise we might link with an installed library
14988 # when we should be linking with a yet-to-be-installed one
14989 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14990 test "$hardcode_minus_L_CXX" != no
; then
14991 # Linking always hardcodes the temporary library directory.
14992 hardcode_action_CXX
=relink
14994 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14995 hardcode_action_CXX
=immediate
14998 # We cannot hardcode anything, or else we can only hardcode existing
15000 hardcode_action_CXX
=unsupported
15002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15003 $as_echo "$hardcode_action_CXX" >&6; }
15005 if test "$hardcode_action_CXX" = relink ||
15006 test "$inherit_rpath_CXX" = yes; then
15007 # Fast installation is not supported
15008 enable_fast_install
=no
15009 elif test "$shlibpath_overrides_runpath" = yes ||
15010 test "$enable_shared" = no
; then
15011 # Fast installation is not necessary
15012 enable_fast_install
=needless
15021 fi # test -n "$compiler"
15027 with_gnu_ld
=$lt_save_with_gnu_ld
15028 lt_cv_path_LDCXX
=$lt_cv_path_LD
15029 lt_cv_path_LD
=$lt_save_path_LD
15030 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
15031 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
15032 fi # test "$_lt_caught_CXX_error" != yes
15035 ac_cpp
='$CPP $CPPFLAGS'
15036 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15037 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15038 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15052 ac_config_commands
="$ac_config_commands libtool"
15057 # Only expand once:
15061 # The tests for host and target for $enable_largefile require
15066 # As the $enable_largefile decision depends on --enable-plugins we must set it
15067 # even in directories otherwise not depending on the $plugins option.
15071 for ac_header
in dlfcn.h
15073 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
15075 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
15076 cat >>confdefs.h
<<_ACEOF
15077 #define HAVE_DLFCN_H 1
15084 for ac_header
in windows.h
15086 ac_fn_c_check_header_compile
"$LINENO" "windows.h" "ac_cv_header_windows_h" "$ac_includes_default
15088 if test "x$ac_cv_header_windows_h" = xyes
; then :
15089 cat >>confdefs.h
<<_ACEOF
15090 #define HAVE_WINDOWS_H 1
15098 # Check whether --enable-plugins was given.
15099 if test "${enable_plugins+set}" = set; then :
15100 enableval
=$enable_plugins; case "${enableval}" in
15103 if test "$maybe_plugins" != "yes" ; then
15104 as_fn_error $?
"Building with plugin support requires a host that supports dlopen." "$LINENO" 5
15108 plugins
=$maybe_plugins
15112 if test "$plugins" = "yes"; then
15113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlsym" >&5
15114 $as_echo_n "checking for library containing dlsym... " >&6; }
15115 if ${ac_cv_search_dlsym+:} false
; then :
15116 $as_echo_n "(cached) " >&6
15118 ac_func_search_save_LIBS
=$LIBS
15119 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15120 /* end confdefs.h. */
15122 /* Override any GCC internal prototype to avoid an error.
15123 Use char because int might match the return type of a GCC
15124 builtin and then its argument prototype would still apply. */
15137 for ac_lib
in '' dl
; do
15138 if test -z "$ac_lib"; then
15139 ac_res
="none required"
15142 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15144 if ac_fn_c_try_link
"$LINENO"; then :
15145 ac_cv_search_dlsym
=$ac_res
15147 rm -f core conftest.err conftest.
$ac_objext \
15149 if ${ac_cv_search_dlsym+:} false
; then :
15153 if ${ac_cv_search_dlsym+:} false
; then :
15156 ac_cv_search_dlsym
=no
15158 rm conftest.
$ac_ext
15159 LIBS
=$ac_func_search_save_LIBS
15161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlsym" >&5
15162 $as_echo "$ac_cv_search_dlsym" >&6; }
15163 ac_res
=$ac_cv_search_dlsym
15164 if test "$ac_res" != no
; then :
15165 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15173 sparc-
*-solaris*|i?
86-*-solaris*)
15174 # On native 32-bit Solaris/SPARC and x86, large-file and procfs support
15175 # were mutually exclusive until Solaris 11.3. Without procfs support,
15176 # the bfd/ elf module cannot provide certain routines such as
15177 # elfcore_write_prpsinfo or elfcore_write_prstatus. So unless the user
15178 # explicitly requested large-file support through the
15179 # --enable-largefile switch, disable large-file support in favor of
15182 # Check if <sys/procfs.h> is incompatible with large-file support.
15183 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15184 /* end confdefs.h. */
15185 #define _FILE_OFFSET_BITS 64
15186 #define _STRUCTURED_PROC 1
15187 #include <sys/procfs.h>
15196 if ac_fn_c_try_compile
"$LINENO"; then :
15197 acx_cv_procfs_lfs
=yes
15199 acx_cv_procfs_lfs
=no
15201 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15203 # Forcefully disable large-file support only if necessary, gdb is in
15204 # tree and enabled.
15205 if test "${target}" = "${host}" -a "$acx_cv_procfs_lfs" = no \
15206 -a -d $srcdir/..
/gdb
-a "$enable_gdb" != no
; then
15207 : ${enable_largefile="no"}
15208 if test "$plugins" = yes; then
15209 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
15210 plugin support disabled; require large-file support which is incompatible with GDB." >&5
15211 $as_echo "$as_me: WARNING:
15212 plugin support disabled; require large-file support which is incompatible with GDB." >&2;}
15217 # Explicitly undef _FILE_OFFSET_BITS if enable_largefile=no for the
15218 # benefit of g++ 9+ which predefines it on Solaris.
15219 if test "$enable_largefile" = no
; then
15220 LARGEFILE_CPPFLAGS
="-U_FILE_OFFSET_BITS"
15226 # Check whether --enable-largefile was given.
15227 if test "${enable_largefile+set}" = set; then :
15228 enableval
=$enable_largefile;
15231 if test "$enable_largefile" != no
; then
15233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
15234 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
15235 if ${ac_cv_sys_largefile_CC+:} false
; then :
15236 $as_echo_n "(cached) " >&6
15238 ac_cv_sys_largefile_CC
=no
15239 if test "$GCC" != yes; then
15242 # IRIX 6.2 and later do not support large files by default,
15243 # so use the C compiler's -n32 option if that helps.
15244 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15245 /* end confdefs.h. */
15246 #include <sys/types.h>
15247 /* Check that off_t can represent 2**63 - 1 correctly.
15248 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15249 since some C++ compilers masquerading as C compilers
15250 incorrectly reject 9223372036854775807. */
15251 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15252 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15253 && LARGE_OFF_T % 2147483647 == 1)
15263 if ac_fn_c_try_compile
"$LINENO"; then :
15266 rm -f core conftest.err conftest.
$ac_objext
15268 if ac_fn_c_try_compile
"$LINENO"; then :
15269 ac_cv_sys_largefile_CC
=' -n32'; break
15271 rm -f core conftest.err conftest.
$ac_objext
15275 rm -f conftest.
$ac_ext
15278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
15279 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
15280 if test "$ac_cv_sys_largefile_CC" != no
; then
15281 CC
=$CC$ac_cv_sys_largefile_CC
15284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
15285 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
15286 if ${ac_cv_sys_file_offset_bits+:} false
; then :
15287 $as_echo_n "(cached) " >&6
15290 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15291 /* end confdefs.h. */
15292 #include <sys/types.h>
15293 /* Check that off_t can represent 2**63 - 1 correctly.
15294 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15295 since some C++ compilers masquerading as C compilers
15296 incorrectly reject 9223372036854775807. */
15297 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15298 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15299 && LARGE_OFF_T % 2147483647 == 1)
15309 if ac_fn_c_try_compile
"$LINENO"; then :
15310 ac_cv_sys_file_offset_bits
=no
; break
15312 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15313 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15314 /* end confdefs.h. */
15315 #define _FILE_OFFSET_BITS 64
15316 #include <sys/types.h>
15317 /* Check that off_t can represent 2**63 - 1 correctly.
15318 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15319 since some C++ compilers masquerading as C compilers
15320 incorrectly reject 9223372036854775807. */
15321 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15322 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15323 && LARGE_OFF_T % 2147483647 == 1)
15333 if ac_fn_c_try_compile
"$LINENO"; then :
15334 ac_cv_sys_file_offset_bits
=64; break
15336 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15337 ac_cv_sys_file_offset_bits
=unknown
15341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
15342 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
15343 case $ac_cv_sys_file_offset_bits in #(
15346 cat >>confdefs.h
<<_ACEOF
15347 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
15352 if test $ac_cv_sys_file_offset_bits = unknown
; then
15353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
15354 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
15355 if ${ac_cv_sys_large_files+:} false
; then :
15356 $as_echo_n "(cached) " >&6
15359 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15360 /* end confdefs.h. */
15361 #include <sys/types.h>
15362 /* Check that off_t can represent 2**63 - 1 correctly.
15363 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15364 since some C++ compilers masquerading as C compilers
15365 incorrectly reject 9223372036854775807. */
15366 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15367 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15368 && LARGE_OFF_T % 2147483647 == 1)
15378 if ac_fn_c_try_compile
"$LINENO"; then :
15379 ac_cv_sys_large_files
=no
; break
15381 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15382 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15383 /* end confdefs.h. */
15384 #define _LARGE_FILES 1
15385 #include <sys/types.h>
15386 /* Check that off_t can represent 2**63 - 1 correctly.
15387 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15388 since some C++ compilers masquerading as C compilers
15389 incorrectly reject 9223372036854775807. */
15390 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15391 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15392 && LARGE_OFF_T % 2147483647 == 1)
15402 if ac_fn_c_try_compile
"$LINENO"; then :
15403 ac_cv_sys_large_files
=1; break
15405 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15406 ac_cv_sys_large_files
=unknown
15410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
15411 $as_echo "$ac_cv_sys_large_files" >&6; }
15412 case $ac_cv_sys_large_files in #(
15415 cat >>confdefs.h
<<_ACEOF
15416 #define _LARGE_FILES $ac_cv_sys_large_files
15429 .
${srcdir}/..
/bfd
/development.sh
15430 test "$development" = true
&& ac_checking
=yes
15431 # Check whether --enable-checking was given.
15432 if test "${enable_checking+set}" = set; then :
15433 enableval
=$enable_checking; case "${enableval}" in
15434 no|none
) ac_checking
= ;;
15435 *) ac_checking
=yes ;;
15438 if test x
$ac_checking != x
; then
15440 $as_echo "#define ENABLE_CHECKING 1" >>confdefs.h
15445 # Check whether --with-lib-path was given.
15446 if test "${with_lib_path+set}" = set; then :
15447 withval
=$with_lib_path; LIB_PATH
=$withval
15450 # Check whether --enable-targets was given.
15451 if test "${enable_targets+set}" = set; then :
15452 enableval
=$enable_targets; case "${enableval}" in
15453 yes |
"") as_fn_error $?
"enable-targets option must specify target names or 'all'" "$LINENO" 5
15455 no
) enable_targets
= ;;
15456 *) enable_targets
=$enableval ;;
15460 # Check whether --enable-64-bit-bfd was given.
15461 if test "${enable_64_bit_bfd+set}" = set; then :
15462 enableval
=$enable_64_bit_bfd; case $enableval in #(
15466 as_fn_error $?
"bad value ${enableval} for 64-bit-bfd option" "$LINENO" 5 ;; #(
15471 enable_64_bit_bfd
=no
15475 if test "x$enable_64_bit_bfd" = "xno"; then :
15476 # The cast to long int works around a bug in the HP C Compiler
15477 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15478 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15479 # This bug is HP SR number 8606223364.
15480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
15481 $as_echo_n "checking size of void *... " >&6; }
15482 if ${ac_cv_sizeof_void_p+:} false
; then :
15483 $as_echo_n "(cached) " >&6
15485 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
15488 if test "$ac_cv_type_void_p" = yes; then
15489 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15490 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15491 as_fn_error
77 "cannot compute sizeof (void *)
15492 See \`config.log' for more details" "$LINENO" 5; }
15494 ac_cv_sizeof_void_p
=0
15499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
15500 $as_echo "$ac_cv_sizeof_void_p" >&6; }
15504 cat >>confdefs.h
<<_ACEOF
15505 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
15509 if test "x$ac_cv_sizeof_void_p" = "x8"; then :
15510 enable_64_bit_bfd
=yes
15515 if test "x$enable_64_bit_bfd" = "xyes"; then
15516 ENABLE_BFD_64_BIT_TRUE
=
15517 ENABLE_BFD_64_BIT_FALSE
='#'
15519 ENABLE_BFD_64_BIT_TRUE
='#'
15520 ENABLE_BFD_64_BIT_FALSE
=
15526 # Check whether --with-sysroot was given.
15527 if test "${with_sysroot+set}" = set; then :
15528 withval
=$with_sysroot;
15529 case ${with_sysroot} in
15530 yes) TARGET_SYSTEM_ROOT
='${exec_prefix}/${target_alias}/sys-root' ;;
15531 *) TARGET_SYSTEM_ROOT
=$with_sysroot ;;
15534 TARGET_SYSTEM_ROOT_DEFINE
='-DTARGET_SYSTEM_ROOT=\"$(TARGET_SYSTEM_ROOT)\"'
15537 if test "x$prefix" = xNONE
; then
15538 test_prefix
=/usr
/local
15540 test_prefix
=$prefix
15542 if test "x$exec_prefix" = xNONE
; then
15543 test_exec_prefix
=$test_prefix
15545 test_exec_prefix
=$exec_prefix
15547 case ${TARGET_SYSTEM_ROOT} in
15548 "${test_prefix}"|
"${test_prefix}/"*|\
15549 "${test_exec_prefix}"|
"${test_exec_prefix}/"*|\
15550 '${prefix}'|
'${prefix}/'*|\
15551 '${exec_prefix}'|
'${exec_prefix}/'*)
15552 t
="$TARGET_SYSTEM_ROOT_DEFINE -DTARGET_SYSTEM_ROOT_RELOCATABLE"
15553 TARGET_SYSTEM_ROOT_DEFINE
="$t"
15560 TARGET_SYSTEM_ROOT
=
15561 TARGET_SYSTEM_ROOT_DEFINE
='-DTARGET_SYSTEM_ROOT=\"\"'
15569 # Check whether --enable-gold was given.
15570 if test "${enable_gold+set}" = set; then :
15571 enableval
=$enable_gold; case "${enableval}" in
15573 install_as_default
=no
15574 installed_linker
=ld.bfd
15577 install_as_default
=yes
15578 installed_linker
=ld.bfd
15581 as_fn_error $?
"invalid --enable-gold argument" "$LINENO" 5
15585 install_as_default
=yes
15586 installed_linker
=ld.bfd
15592 # Check whether --enable-got was given.
15593 if test "${enable_got+set}" = set; then :
15594 enableval
=$enable_got; case "${enableval}" in
15595 target | single | negative | multigot
) got_handling
=$enableval ;;
15596 *) as_fn_error $?
"bad value ${enableval} for --enable-got option" "$LINENO" 5 ;;
15599 got_handling
=target
15603 case "${got_handling}" in
15606 $as_echo "#define GOT_HANDLING_DEFAULT GOT_HANDLING_TARGET_DEFAULT" >>confdefs.h
15610 $as_echo "#define GOT_HANDLING_DEFAULT GOT_HANDLING_SINGLE" >>confdefs.h
15614 $as_echo "#define GOT_HANDLING_DEFAULT GOT_HANDLING_NEGATIVE" >>confdefs.h
15618 $as_echo "#define GOT_HANDLING_DEFAULT GOT_HANDLING_MULTIGOT" >>confdefs.h
15620 *) as_fn_error $?
"bad value ${got_handling} for --enable-got option" "$LINENO" 5 ;;
15624 # Decide the default method for compressing debug sections.
15625 ac_default_compressed_debug_sections
=unset
15626 # Provide a configure time option to override our default.
15627 # Check whether --enable-compressed_debug_sections was given.
15628 if test "${enable_compressed_debug_sections+set}" = set; then :
15629 enableval
=$enable_compressed_debug_sections; case ,"${enableval}", in
15630 ,yes, |
,all
, |
*,ld
,*) ac_default_compressed_debug_sections
=yes ;;
15631 ,no
, |
,none
,) ac_default_compressed_debug_sections
=no
;;
15635 # Select default compression algorithm.
15636 ac_default_compressed_debug_sections_algorithm
=COMPRESS_DEBUG_GABI_ZLIB
15637 # Check whether --enable-default_compressed_debug_sections_algorithm was given.
15638 if test "${enable_default_compressed_debug_sections_algorithm+set}" = set; then :
15639 enableval
=$enable_default_compressed_debug_sections_algorithm; case "${enableval}" in
15640 zstd
) ac_default_compressed_debug_sections_algorithm
=COMPRESS_DEBUG_ZSTD
;;
15644 # Decide setting DT_RUNPATH instead of DT_RPATH by default
15645 ac_default_new_dtags
=unset
15646 # Provide a configure time option to override our default.
15647 # Check whether --enable-new_dtags was given.
15648 if test "${enable_new_dtags+set}" = set; then :
15649 enableval
=$enable_new_dtags; case "${enableval}" in
15650 yes) ac_default_new_dtags
=1 ;;
15651 no
) ac_default_new_dtags
=0 ;;
15655 # Decide if -z relro should be enabled in ELF linker by default.
15656 ac_default_ld_z_relro
=unset
15657 # Provide a configure time option to override our default.
15658 # Check whether --enable-relro was given.
15659 if test "${enable_relro+set}" = set; then :
15660 enableval
=$enable_relro; case "${enableval}" in
15661 yes) ac_default_ld_z_relro
=1 ;;
15662 no
) ac_default_ld_z_relro
=0 ;;
15666 # Decide if DT_TEXTREL check should be enabled in ELF linker.
15667 ac_default_ld_textrel_check
=unset
15668 # Check whether --enable-textrel-check was given.
15669 if test "${enable_textrel_check+set}" = set; then :
15670 enableval
=$enable_textrel_check; case "${enableval}" in
15671 yes|no|warning|error
) ac_default_ld_textrel_check
=${enableval} ;;
15676 # Decide if -z separate-code should be enabled in ELF linker by default.
15677 ac_default_ld_z_separate_code
=unset
15678 # Check whether --enable-separate-code was given.
15679 if test "${enable_separate_code+set}" = set; then :
15680 enableval
=$enable_separate_code; case "${enableval}" in
15681 yes) ac_default_ld_z_separate_code
=1 ;;
15682 no
) ac_default_ld_z_separate_code
=0 ;;
15687 # Decide if --rosegment should be enabled in the ELF linker by default.
15688 ac_default_ld_rosegment
=unset
15689 # Check whether --enable-rosegment was given.
15690 if test "${enable_rosegment+set}" = set; then :
15691 enableval
=$enable_rosegment; case "${enableval}" in
15692 yes) ac_default_ld_rosegment
=1 ;;
15693 no
) ac_default_ld_rosegment
=0 ;;
15698 # Decide if -z mark-plt should be enabled in ELF x86-64 linker by default.
15699 ac_default_ld_z_mark_plt
=unset
15700 # Check whether --enable-mark-plt was given.
15701 if test "${enable_mark_plt+set}" = set; then :
15702 enableval
=$enable_mark_plt; case "${enableval}" in
15703 yes) ac_default_ld_z_mark_plt
=1 ;;
15704 no
) ac_default_ld_z_mark_plt
=0 ;;
15710 # By default warn when an executable stack is created due to object files
15711 # requesting such, not when the user specifies -z execstack.
15712 ac_default_ld_warn_execstack
=2
15713 # Check whether --enable-warn-execstack was given.
15714 if test "${enable_warn_execstack+set}" = set; then :
15715 enableval
=$enable_warn_execstack; case "${enableval}" in
15716 yes) ac_default_ld_warn_execstack
=1 ;;
15717 no
) ac_default_ld_warn_execstack
=0 ;;
15722 ac_default_ld_error_execstack
=0
15723 # Check whether --enable-error-execstack was given.
15724 if test "${enable_error_execstack+set}" = set; then :
15725 enableval
=$enable_error_execstack; case "${enableval}" in
15726 yes) ac_default_ld_error_execstack
=1 ;;
15727 no
) ac_default_ld_error_execstack
=0 ;;
15732 ac_default_ld_warn_rwx_segments
=unset
15733 # Check whether --enable-warn-rwx-segments was given.
15734 if test "${enable_warn_rwx_segments+set}" = set; then :
15735 enableval
=$enable_warn_rwx_segments; case "${enableval}" in
15736 yes) ac_default_ld_warn_rwx_segments
=1 ;;
15737 no
) ac_default_ld_warn_rwx_segments
=0 ;;
15742 ac_default_ld_error_rwx_segments
=0
15743 # Check whether --enable-error-rwx-segments was given.
15744 if test "${enable_error_rwx_segments+set}" = set; then :
15745 enableval
=$enable_error_rwx_segments; case "${enableval}" in
15746 yes) ac_default_ld_error_rwx_segments
=1 ;;
15747 no
) ac_default_ld_error_rwx_segments
=0 ;;
15752 ac_default_ld_default_execstack
=unset
15753 # Check whether --enable-default-execstack was given.
15754 if test "${enable_default_execstack+set}" = set; then :
15755 enableval
=$enable_default_execstack; case "${enableval}" in
15756 yes) ac_default_ld_default_execstack
=1 ;;
15757 no
) ac_default_ld_default_execstack
=0 ;;
15763 # Decide if --error-handling-script should be supported.
15764 ac_support_error_handling_script
=unset
15765 # Check whether --enable-error-handling-script was given.
15766 if test "${enable_error_handling_script+set}" = set; then :
15767 enableval
=$enable_error_handling_script; case "${enableval}" in
15768 yes) ac_support_error_handling_script
=1 ;;
15769 no
) ac_support_error_handling_script
=0 ;;
15774 # Decide which "--hash-style" to use by default
15775 # Provide a configure time option to override our default.
15776 # Check whether --enable-default-hash-style was given.
15777 if test "${enable_default_hash_style+set}" = set; then :
15778 enableval
=$enable_default_hash_style; case "${enable_default_hash_style}" in
15779 sysv | gnu | both
) ;;
15780 *) as_fn_error $?
"bad value ${enable_default_hash_style} for enable-default-hash-style option" "$LINENO" 5 ;;
15783 case "${target}" in
15784 # Enable gnu hash only on GNU targets, but not mips
15785 mips
*-*-*) enable_default_hash_style
=sysv
;;
15786 *-*-gnu* |
*-*-linux* |
*-*-nacl*) enable_default_hash_style
=both
;;
15787 *) enable_default_hash_style
=sysv
;;
15792 case "${enable_default_hash_style}" in
15793 sysv | both
) ac_default_emit_sysv_hash
=1 ;;
15794 *) ac_default_emit_sysv_hash
=0 ;;
15797 case "${enable_default_hash_style}" in
15798 gnu | both
) ac_default_emit_gnu_hash
=1 ;;
15799 *) ac_default_emit_gnu_hash
=0 ;;
15802 # Check whether --enable-initfini-array was given.
15803 if test "${enable_initfini_array+set}" = set; then :
15804 enableval
=$enable_initfini_array; case "${enableval}" in
15806 *) as_fn_error $?
"invalid --enable-initfini-array argument" "$LINENO" 5 ;;
15809 enable_initfini_array
=yes
15813 if test $enable_initfini_array = yes; then
15815 $as_echo "#define HAVE_INITFINI_ARRAY 1" >>confdefs.h
15819 # Check whether --enable-libctf was given.
15820 if test "${enable_libctf+set}" = set; then :
15821 enableval
=$enable_libctf;
15822 case "$enableval" in
15824 *) as_fn_error $?
"Argument to enable/disable libctf must be yes or no" "$LINENO" 5 ;;
15832 if test "${enable_libctf}" = yes; then
15834 $as_echo "#define ENABLE_LIBCTF 1" >>confdefs.h
15837 if test "${enable_libctf}" = yes; then
15838 ENABLE_LIBCTF_TRUE
=
15839 ENABLE_LIBCTF_FALSE
='#'
15841 ENABLE_LIBCTF_TRUE
='#'
15842 ENABLE_LIBCTF_FALSE
=
15847 # Used to validate --package-metadata= input. Disabled by default.
15848 # Check whether --enable-jansson was given.
15849 if test "${enable_jansson+set}" = set; then :
15850 enableval
=$enable_jansson; enable_jansson
=$enableval
15852 enable_jansson
="no"
15856 if test "x$enable_jansson" != "xno"; then :
15859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jansson" >&5
15860 $as_echo_n "checking for jansson... " >&6; }
15862 if test -n "$JANSSON_CFLAGS"; then
15863 pkg_cv_JANSSON_CFLAGS
="$JANSSON_CFLAGS"
15864 elif test -n "$PKG_CONFIG"; then
15865 if test -n "$PKG_CONFIG" && \
15866 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"jansson\""; } >&5
15867 ($PKG_CONFIG --exists --print-errors "jansson") 2>&5
15869 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15870 test $ac_status = 0; }; then
15871 pkg_cv_JANSSON_CFLAGS
=`$PKG_CONFIG --cflags "jansson" 2>/dev/null`
15872 test "x$?" != "x0" && pkg_failed
=yes
15879 if test -n "$JANSSON_LIBS"; then
15880 pkg_cv_JANSSON_LIBS
="$JANSSON_LIBS"
15881 elif test -n "$PKG_CONFIG"; then
15882 if test -n "$PKG_CONFIG" && \
15883 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"jansson\""; } >&5
15884 ($PKG_CONFIG --exists --print-errors "jansson") 2>&5
15886 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15887 test $ac_status = 0; }; then
15888 pkg_cv_JANSSON_LIBS
=`$PKG_CONFIG --libs "jansson" 2>/dev/null`
15889 test "x$?" != "x0" && pkg_failed
=yes
15897 if test $pkg_failed = no
; then
15898 pkg_save_LDFLAGS
="$LDFLAGS"
15899 LDFLAGS
="$LDFLAGS $pkg_cv_JANSSON_LIBS"
15900 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15901 /* end confdefs.h. */
15911 if ac_fn_c_try_link
"$LINENO"; then :
15916 rm -f core conftest.err conftest.
$ac_objext \
15917 conftest
$ac_exeext conftest.
$ac_ext
15918 LDFLAGS
=$pkg_save_LDFLAGS
15923 if test $pkg_failed = yes; then
15924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15925 $as_echo "no" >&6; }
15927 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15928 _pkg_short_errors_supported
=yes
15930 _pkg_short_errors_supported
=no
15932 if test $_pkg_short_errors_supported = yes; then
15933 JANSSON_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "jansson" 2>&1`
15935 JANSSON_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "jansson" 2>&1`
15937 # Put the nasty error message in config.log where it belongs
15938 echo "$JANSSON_PKG_ERRORS" >&5
15940 as_fn_error $?
"Cannot find jansson library" "$LINENO" 5
15941 elif test $pkg_failed = untried
; then
15942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15943 $as_echo "no" >&6; }
15944 as_fn_error $?
"Cannot find jansson library" "$LINENO" 5
15946 JANSSON_CFLAGS
=$pkg_cv_JANSSON_CFLAGS
15947 JANSSON_LIBS
=$pkg_cv_JANSSON_LIBS
15948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15949 $as_echo "yes" >&6; }
15952 $as_echo "#define HAVE_JANSSON 1" >>confdefs.h
15962 # Set the 'development' global.
15963 .
$srcdir/..
/bfd
/development.sh
15965 # Set acp_cpp_for_build variable
15966 ac_cpp_for_build
="$CC_FOR_BUILD -E $CPPFLAGS_FOR_BUILD"
15968 # Default set of GCC warnings to enable.
15969 GCC_WARN_CFLAGS
="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
15970 GCC_WARN_CFLAGS_FOR_BUILD
="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
15972 # Add -Wshadow if the compiler is a sufficiently recent version of GCC.
15973 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15974 /* end confdefs.h. */
15977 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15978 $EGREP "(^[0-3]$|^__GNUC__$)" >/dev
/null
2>&1; then :
15981 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Wshadow"
15986 # Add -Wstack-usage if the compiler is a sufficiently recent version of GCC.
15987 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15988 /* end confdefs.h. */
15991 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15992 $EGREP "(^[0-4]$|^__GNUC__$)" >/dev
/null
2>&1; then :
15995 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15996 /* end confdefs.h. */
15999 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16000 $EGREP "^__clang__$" >/dev
/null
2>&1; then :
16001 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Wstack-usage=262144"
16009 # Set WARN_WRITE_STRINGS if the compiler supports -Wwrite-strings.
16010 WARN_WRITE_STRINGS
=""
16011 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16012 /* end confdefs.h. */
16015 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16016 $EGREP "(^[0-3]$|^__GNUC__$)" >/dev
/null
2>&1; then :
16019 WARN_WRITE_STRINGS
="-Wwrite-strings"
16024 # Verify CC_FOR_BUILD to be compatible with warning flags
16026 # Add -Wshadow if the compiler is a sufficiently recent version of GCC.
16027 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16028 /* end confdefs.h. */
16031 if (eval "$ac_cpp_for_build conftest.$ac_ext") 2>&5 |
16032 $EGREP "(^[0-3]$|^__GNUC__$)" >/dev
/null
2>&1; then :
16035 GCC_WARN_CFLAGS_FOR_BUILD
="$GCC_WARN_CFLAGS_FOR_BUILD -Wshadow"
16040 # Add -Wstack-usage if the compiler is a sufficiently recent version of GCC.
16041 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16042 /* end confdefs.h. */
16045 if (eval "$ac_cpp_for_build conftest.$ac_ext") 2>&5 |
16046 $EGREP "(^[0-4]$|^__GNUC__$)" >/dev
/null
2>&1; then :
16049 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16050 /* end confdefs.h. */
16053 if (eval "$ac_cpp_for_build conftest.$ac_ext") 2>&5 |
16054 $EGREP "^__clang__$" >/dev
/null
2>&1; then :
16055 GCC_WARN_CFLAGS_FOR_BUILD
="$GCC_WARN_CFLAGS_FOR_BUILD -Wstack-usage=262144"
16063 # Check whether --enable-werror was given.
16064 if test "${enable_werror+set}" = set; then :
16065 enableval
=$enable_werror; case "${enableval}" in
16066 yes | y
) ERROR_ON_WARNING
="yes" ;;
16067 no | n
) ERROR_ON_WARNING
="no" ;;
16068 *) as_fn_error $?
"bad value ${enableval} for --enable-werror" "$LINENO" 5 ;;
16073 # Disable -Wformat by default when using gcc on mingw
16076 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
16077 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Wno-format"
16078 GCC_WARN_CFLAGS_FOR_BUILD
="$GCC_WARN_CFLAGS_FOR_BUILD -Wno-format"
16084 # Enable -Werror by default when using gcc. Turn it off for releases.
16085 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" -a "$development" = true
; then
16086 ERROR_ON_WARNING
=yes
16090 if test "${ERROR_ON_WARNING}" = yes ; then
16091 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Werror"
16092 GCC_WARN_CFLAGS_FOR_BUILD
="$GCC_WARN_CFLAGS_FOR_BUILD -Werror"
16093 NO_WERROR
="-Wno-error"
16096 if test "${GCC}" = yes ; then
16097 WARN_CFLAGS
="${GCC_WARN_CFLAGS}"
16098 WARN_CFLAGS_FOR_BUILD
="${GCC_WARN_CFLAGS_FOR_BUILD}"
16101 # Check whether --enable-build-warnings was given.
16102 if test "${enable_build_warnings+set}" = set; then :
16103 enableval
=$enable_build_warnings; case "${enableval}" in
16104 yes) WARN_CFLAGS
="${GCC_WARN_CFLAGS}"
16105 WARN_CFLAGS_FOR_BUILD
="${GCC_WARN_CFLAGS_FOR_BUILD}";;
16106 no
) if test "${GCC}" = yes ; then
16108 WARN_CFLAGS_FOR_BUILD
="-w"
16110 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
16111 WARN_CFLAGS
="${GCC_WARN_CFLAGS} ${t}"
16112 WARN_CFLAGS_FOR_BUILD
="${GCC_WARN_CFLAGS_FOR_BUILD} ${t}";;
16113 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
16114 WARN_CFLAGS
="${t} ${GCC_WARN_CFLAGS}"
16115 WARN_CFLAGS_FOR_BUILD
="${t} ${GCC_WARN_CFLAGS_FOR_BUILD}";;
16116 *) WARN_CFLAGS
=`echo "${enableval}" | sed -e "s/,/ /g"`
16117 WARN_CFLAGS_FOR_BUILD
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
16122 if test x
"$silent" != x
"yes" && test x
"$WARN_CFLAGS" != x
""; then
16123 echo "Setting warning flags = $WARN_CFLAGS" 6>&1
16133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
16134 $as_echo_n "checking for LC_MESSAGES... " >&6; }
16135 if ${am_cv_val_LC_MESSAGES+:} false
; then :
16136 $as_echo_n "(cached) " >&6
16138 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16139 /* end confdefs.h. */
16140 #include <locale.h>
16149 if ac_fn_c_try_link
"$LINENO"; then :
16150 am_cv_val_LC_MESSAGES
=yes
16152 am_cv_val_LC_MESSAGES
=no
16154 rm -f core conftest.err conftest.
$ac_objext \
16155 conftest
$ac_exeext conftest.
$ac_ext
16157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
16158 $as_echo "$am_cv_val_LC_MESSAGES" >&6; }
16159 if test $am_cv_val_LC_MESSAGES = yes; then
16161 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
16166 ac_config_headers
="$ac_config_headers config.h:config.in"
16172 if test -z "$target" ; then
16173 as_fn_error $?
"Unrecognized target system type; please check config.sub." "$LINENO" 5
16175 if test -z "$host" ; then
16176 as_fn_error $?
"Unrecognized host system type; please check config.sub." "$LINENO" 5
16179 # host-specific stuff:
16181 ALL_LINGUAS
="bg da de es fi fr ga id it ja pt_BR ru sr sv tr uk vi zh_CN zh_TW"
16184 if test -n "$ac_aux_dir"; then
16185 case "$ac_aux_dir" in
16186 /*) MKINSTALLDIRS
="$ac_aux_dir/mkinstalldirs" ;;
16187 *) MKINSTALLDIRS
="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
16190 if test -z "$MKINSTALLDIRS"; then
16191 MKINSTALLDIRS
="\$(top_srcdir)/mkinstalldirs"
16196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
16197 $as_echo_n "checking whether NLS is requested... " >&6; }
16198 # Check whether --enable-nls was given.
16199 if test "${enable_nls+set}" = set; then :
16200 enableval
=$enable_nls; USE_NLS
=$enableval
16205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
16206 $as_echo "$USE_NLS" >&6; }
16213 # Prepare PATH_SEPARATOR.
16214 # The user is always right.
16215 if test "${PATH_SEPARATOR+set}" != set; then
16216 echo "#! /bin/sh" >conf$$.sh
16217 echo "exit 0" >>conf$$.sh
16219 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
16227 # Find out how to test for executable files. Don't use a zero-byte file,
16228 # as systems may use methods other than mode bits to determine executability.
16229 cat >conf$$.
file <<_ASEOF
16233 chmod +x conf$$.
file
16234 if test -x conf$$.
file >/dev
/null
2>&1; then
16235 ac_executable_p
="test -x"
16237 ac_executable_p
="test -f"
16241 # Extract the first word of "msgfmt", so it can be a program name with args.
16242 set dummy msgfmt
; ac_word
=$2
16243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16244 $as_echo_n "checking for $ac_word... " >&6; }
16245 if ${ac_cv_path_MSGFMT+:} false
; then :
16246 $as_echo_n "(cached) " >&6
16250 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
16253 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
16254 for ac_dir
in $PATH; do
16256 test -z "$ac_dir" && ac_dir
=.
16257 for ac_exec_ext
in '' $ac_executable_extensions; do
16258 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
16259 if $ac_dir/$ac_word --statistics /dev
/null
>/dev
/null
2>&1 &&
16260 (if $ac_dir/$ac_word --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
16261 ac_cv_path_MSGFMT
="$ac_dir/$ac_word$ac_exec_ext"
16268 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
16272 MSGFMT
="$ac_cv_path_MSGFMT"
16273 if test "$MSGFMT" != ":"; then
16274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
16275 $as_echo "$MSGFMT" >&6; }
16277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16278 $as_echo "no" >&6; }
16281 # Extract the first word of "gmsgfmt", so it can be a program name with args.
16282 set dummy gmsgfmt
; ac_word
=$2
16283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16284 $as_echo_n "checking for $ac_word... " >&6; }
16285 if ${ac_cv_path_GMSGFMT+:} false
; then :
16286 $as_echo_n "(cached) " >&6
16290 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
16293 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16294 for as_dir
in $PATH
16297 test -z "$as_dir" && as_dir
=.
16298 for ac_exec_ext
in '' $ac_executable_extensions; do
16299 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16300 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
16301 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16308 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
16312 GMSGFMT
=$ac_cv_path_GMSGFMT
16313 if test -n "$GMSGFMT"; then
16314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
16315 $as_echo "$GMSGFMT" >&6; }
16317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16318 $as_echo "no" >&6; }
16324 # Prepare PATH_SEPARATOR.
16325 # The user is always right.
16326 if test "${PATH_SEPARATOR+set}" != set; then
16327 echo "#! /bin/sh" >conf$$.sh
16328 echo "exit 0" >>conf$$.sh
16330 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
16338 # Find out how to test for executable files. Don't use a zero-byte file,
16339 # as systems may use methods other than mode bits to determine executability.
16340 cat >conf$$.
file <<_ASEOF
16344 chmod +x conf$$.
file
16345 if test -x conf$$.
file >/dev
/null
2>&1; then
16346 ac_executable_p
="test -x"
16348 ac_executable_p
="test -f"
16352 # Extract the first word of "xgettext", so it can be a program name with args.
16353 set dummy xgettext
; ac_word
=$2
16354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16355 $as_echo_n "checking for $ac_word... " >&6; }
16356 if ${ac_cv_path_XGETTEXT+:} false
; then :
16357 $as_echo_n "(cached) " >&6
16359 case "$XGETTEXT" in
16361 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
16364 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
16365 for ac_dir
in $PATH; do
16367 test -z "$ac_dir" && ac_dir
=.
16368 for ac_exec_ext
in '' $ac_executable_extensions; do
16369 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
16370 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
16371 (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
16372 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word$ac_exec_ext"
16379 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
16383 XGETTEXT
="$ac_cv_path_XGETTEXT"
16384 if test "$XGETTEXT" != ":"; then
16385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
16386 $as_echo "$XGETTEXT" >&6; }
16388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16389 $as_echo "no" >&6; }
16395 # Prepare PATH_SEPARATOR.
16396 # The user is always right.
16397 if test "${PATH_SEPARATOR+set}" != set; then
16398 echo "#! /bin/sh" >conf$$.sh
16399 echo "exit 0" >>conf$$.sh
16401 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
16409 # Find out how to test for executable files. Don't use a zero-byte file,
16410 # as systems may use methods other than mode bits to determine executability.
16411 cat >conf$$.
file <<_ASEOF
16415 chmod +x conf$$.
file
16416 if test -x conf$$.
file >/dev
/null
2>&1; then
16417 ac_executable_p
="test -x"
16419 ac_executable_p
="test -f"
16423 # Extract the first word of "msgmerge", so it can be a program name with args.
16424 set dummy msgmerge
; ac_word
=$2
16425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16426 $as_echo_n "checking for $ac_word... " >&6; }
16427 if ${ac_cv_path_MSGMERGE+:} false
; then :
16428 $as_echo_n "(cached) " >&6
16430 case "$MSGMERGE" in
16432 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
16435 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
16436 for ac_dir
in $PATH; do
16438 test -z "$ac_dir" && ac_dir
=.
16439 for ac_exec_ext
in '' $ac_executable_extensions; do
16440 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
16441 if $ac_dir/$ac_word --update -q /dev
/null
/dev
/null
>/dev
/null
2>&1; then
16442 ac_cv_path_MSGMERGE
="$ac_dir/$ac_word$ac_exec_ext"
16449 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE
=":"
16453 MSGMERGE
="$ac_cv_path_MSGMERGE"
16454 if test "$MSGMERGE" != ":"; then
16455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
16456 $as_echo "$MSGMERGE" >&6; }
16458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16459 $as_echo "no" >&6; }
16463 if test "$GMSGFMT" != ":"; then
16464 if $GMSGFMT --statistics /dev
/null
>/dev
/null
2>&1 &&
16465 (if $GMSGFMT --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
16468 GMSGFMT
=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
16469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
16470 $as_echo "found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; }
16475 if test "$XGETTEXT" != ":"; then
16476 if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
16477 (if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
16480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
16481 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
16487 ac_config_commands
="$ac_config_commands default-1"
16491 if test "X$prefix" = "XNONE"; then
16492 acl_final_prefix
="$ac_default_prefix"
16494 acl_final_prefix
="$prefix"
16496 if test "X$exec_prefix" = "XNONE"; then
16497 acl_final_exec_prefix
='${prefix}'
16499 acl_final_exec_prefix
="$exec_prefix"
16501 acl_save_prefix
="$prefix"
16502 prefix
="$acl_final_prefix"
16503 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
16504 prefix
="$acl_save_prefix"
16507 # Check whether --with-gnu-ld was given.
16508 if test "${with_gnu_ld+set}" = set; then :
16509 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
16514 # Prepare PATH_SEPARATOR.
16515 # The user is always right.
16516 if test "${PATH_SEPARATOR+set}" != set; then
16517 echo "#! /bin/sh" >conf$$.sh
16518 echo "exit 0" >>conf$$.sh
16520 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
16528 if test "$GCC" = yes; then
16529 # Check if gcc -print-prog-name=ld gives a path.
16530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
16531 $as_echo_n "checking for ld used by GCC... " >&6; }
16534 # gcc leaves a trailing carriage return which upsets mingw
16535 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
16537 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
16540 # Accept absolute paths.
16541 [\\/]* |
[A-Za-z
]:[\\/]*)
16542 re_direlt
='/[^/][^/]*/\.\./'
16543 # Canonicalize the path of ld
16544 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
16545 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
16546 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
16548 test -z "$LD" && LD
="$ac_prog"
16551 # If it fails, then pretend we aren't using GCC.
16555 # If it is relative, then search for the first ld in PATH.
16556 with_gnu_ld
=unknown
16559 elif test "$with_gnu_ld" = yes; then
16560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
16561 $as_echo_n "checking for GNU ld... " >&6; }
16563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
16564 $as_echo_n "checking for non-GNU ld... " >&6; }
16566 if ${acl_cv_path_LD+:} false
; then :
16567 $as_echo_n "(cached) " >&6
16569 if test -z "$LD"; then
16570 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
16571 for ac_dir
in $PATH; do
16572 test -z "$ac_dir" && ac_dir
=.
16573 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
16574 acl_cv_path_LD
="$ac_dir/$ac_prog"
16575 # Check to see if the program is GNU ld. I'd rather use --version,
16576 # but apparently some GNU ld's only accept -v.
16577 # Break only if it was the GNU/non-GNU ld that we prefer.
16578 if "$acl_cv_path_LD" -v 2>&1 < /dev
/null |
$EGREP '(GNU|with BFD)' > /dev
/null
; then
16579 test "$with_gnu_ld" != no
&& break
16581 test "$with_gnu_ld" != yes && break
16587 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
16591 LD
="$acl_cv_path_LD"
16592 if test -n "$LD"; then
16593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
16594 $as_echo "$LD" >&6; }
16596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16597 $as_echo "no" >&6; }
16599 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
16600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
16601 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
16602 if ${acl_cv_prog_gnu_ld+:} false
; then :
16603 $as_echo_n "(cached) " >&6
16605 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
16606 if $LD -v 2>&1 </dev
/null |
$EGREP '(GNU|with BFD)' 1>&5; then
16607 acl_cv_prog_gnu_ld
=yes
16609 acl_cv_prog_gnu_ld
=no
16612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
16613 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
16614 with_gnu_ld
=$acl_cv_prog_gnu_ld
16618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
16619 $as_echo_n "checking for shared library run path origin... " >&6; }
16620 if ${acl_cv_rpath+:} false
; then :
16621 $as_echo_n "(cached) " >&6
16624 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
16625 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
16627 rm -f .
/conftest.sh
16631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
16632 $as_echo "$acl_cv_rpath" >&6; }
16634 libext
="$acl_cv_libext"
16635 shlibext
="$acl_cv_shlibext"
16636 hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
16637 hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
16638 hardcode_direct
="$acl_cv_hardcode_direct"
16639 hardcode_minus_L
="$acl_cv_hardcode_minus_L"
16640 # Check whether --enable-rpath was given.
16641 if test "${enable_rpath+set}" = set; then :
16642 enableval
=$enable_rpath; :
16656 acl_save_prefix
="$prefix"
16657 prefix
="$acl_final_prefix"
16658 acl_save_exec_prefix
="$exec_prefix"
16659 exec_prefix
="$acl_final_exec_prefix"
16661 eval additional_includedir
=\"$includedir\"
16662 eval additional_libdir
=\"$libdir\"
16664 exec_prefix
="$acl_save_exec_prefix"
16665 prefix
="$acl_save_prefix"
16668 # Check whether --with-libiconv-prefix was given.
16669 if test "${with_libiconv_prefix+set}" = set; then :
16670 withval
=$with_libiconv_prefix;
16671 if test "X$withval" = "Xno"; then
16674 if test "X$withval" = "X"; then
16676 acl_save_prefix
="$prefix"
16677 prefix
="$acl_final_prefix"
16678 acl_save_exec_prefix
="$exec_prefix"
16679 exec_prefix
="$acl_final_exec_prefix"
16681 eval additional_includedir
=\"$includedir\"
16682 eval additional_libdir
=\"$libdir\"
16684 exec_prefix
="$acl_save_exec_prefix"
16685 prefix
="$acl_save_prefix"
16688 additional_includedir
="$withval/include"
16689 additional_libdir
="$withval/lib"
16696 # Check whether --with-libiconv-type was given.
16697 if test "${with_libiconv_type+set}" = set; then :
16698 withval
=$with_libiconv_type; with_libiconv_type
=$withval
16700 with_libiconv_type
=auto
16703 lib_type
=`eval echo \$with_libiconv_type`
16710 names_already_handled
=
16711 names_next_round
='iconv '
16712 while test -n "$names_next_round"; do
16713 names_this_round
="$names_next_round"
16715 for name
in $names_this_round; do
16717 for n
in $names_already_handled; do
16718 if test "$n" = "$name"; then
16719 already_handled
=yes
16723 if test -z "$already_handled"; then
16724 names_already_handled
="$names_already_handled $name"
16725 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
16726 eval value
=\"\
$HAVE_LIB$uppername\"
16727 if test -n "$value"; then
16728 if test "$value" = yes; then
16729 eval value
=\"\
$LIB$uppername\"
16730 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
16731 eval value
=\"\
$LTLIB$uppername\"
16732 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
16741 if test $use_additional = yes; then
16742 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext" && test x
$lib_type != xstatic
; then
16743 found_dir
="$additional_libdir"
16744 found_so
="$additional_libdir/lib$name.$shlibext"
16745 if test -f "$additional_libdir/lib$name.la"; then
16746 found_la
="$additional_libdir/lib$name.la"
16748 elif test x
$lib_type != xshared
; then
16749 if test -f "$additional_libdir/lib$name.$libext"; then
16750 found_dir
="$additional_libdir"
16751 found_a
="$additional_libdir/lib$name.$libext"
16752 if test -f "$additional_libdir/lib$name.la"; then
16753 found_la
="$additional_libdir/lib$name.la"
16758 if test "X$found_dir" = "X"; then
16759 for x
in $LDFLAGS $LTLIBICONV; do
16761 acl_save_prefix
="$prefix"
16762 prefix
="$acl_final_prefix"
16763 acl_save_exec_prefix
="$exec_prefix"
16764 exec_prefix
="$acl_final_exec_prefix"
16766 exec_prefix
="$acl_save_exec_prefix"
16767 prefix
="$acl_save_prefix"
16771 dir
=`echo "X$x" | sed -e 's/^X-L//'`
16772 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext" && test x
$lib_type != xstatic
; then
16774 found_so
="$dir/lib$name.$shlibext"
16775 if test -f "$dir/lib$name.la"; then
16776 found_la
="$dir/lib$name.la"
16778 elif test x
$lib_type != xshared
; then
16779 if test -f "$dir/lib$name.$libext"; then
16781 found_a
="$dir/lib$name.$libext"
16782 if test -f "$dir/lib$name.la"; then
16783 found_la
="$dir/lib$name.la"
16789 if test "X$found_dir" != "X"; then
16794 if test "X$found_dir" != "X"; then
16795 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
16796 if test "X$found_so" != "X"; then
16797 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
16798 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
16801 for x
in $ltrpathdirs; do
16802 if test "X$x" = "X$found_dir"; then
16807 if test -z "$haveit"; then
16808 ltrpathdirs
="$ltrpathdirs $found_dir"
16810 if test "$hardcode_direct" = yes; then
16811 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
16813 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
16814 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
16816 for x
in $rpathdirs; do
16817 if test "X$x" = "X$found_dir"; then
16822 if test -z "$haveit"; then
16823 rpathdirs
="$rpathdirs $found_dir"
16827 for x
in $LDFLAGS $LIBICONV; do
16829 acl_save_prefix
="$prefix"
16830 prefix
="$acl_final_prefix"
16831 acl_save_exec_prefix
="$exec_prefix"
16832 exec_prefix
="$acl_final_exec_prefix"
16834 exec_prefix
="$acl_save_exec_prefix"
16835 prefix
="$acl_save_prefix"
16837 if test "X$x" = "X-L$found_dir"; then
16842 if test -z "$haveit"; then
16843 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
16845 if test "$hardcode_minus_L" != no
; then
16846 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
16848 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
16854 if test "X$found_a" != "X"; then
16855 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
16857 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
16860 additional_includedir
=
16861 case "$found_dir" in
16863 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
16864 additional_includedir
="$basedir/include"
16867 if test "X$additional_includedir" != "X"; then
16868 if test "X$additional_includedir" != "X/usr/include"; then
16870 if test "X$additional_includedir" = "X/usr/local/include"; then
16871 if test -n "$GCC"; then
16873 linux
*) haveit
=yes;;
16877 if test -z "$haveit"; then
16878 for x
in $CPPFLAGS $INCICONV; do
16880 acl_save_prefix
="$prefix"
16881 prefix
="$acl_final_prefix"
16882 acl_save_exec_prefix
="$exec_prefix"
16883 exec_prefix
="$acl_final_exec_prefix"
16885 exec_prefix
="$acl_save_exec_prefix"
16886 prefix
="$acl_save_prefix"
16888 if test "X$x" = "X-I$additional_includedir"; then
16893 if test -z "$haveit"; then
16894 if test -d "$additional_includedir"; then
16895 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
16901 if test -n "$found_la"; then
16902 save_libdir
="$libdir"
16903 case "$found_la" in
16904 */* |
*\\*) .
"$found_la" ;;
16905 *) .
"./$found_la" ;;
16907 libdir
="$save_libdir"
16908 for dep
in $dependency_libs; do
16911 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
16912 if test "X$additional_libdir" != "X/usr/lib"; then
16914 if test "X$additional_libdir" = "X/usr/local/lib"; then
16915 if test -n "$GCC"; then
16917 linux
*) haveit
=yes;;
16921 if test -z "$haveit"; then
16923 for x
in $LDFLAGS $LIBICONV; do
16925 acl_save_prefix
="$prefix"
16926 prefix
="$acl_final_prefix"
16927 acl_save_exec_prefix
="$exec_prefix"
16928 exec_prefix
="$acl_final_exec_prefix"
16930 exec_prefix
="$acl_save_exec_prefix"
16931 prefix
="$acl_save_prefix"
16933 if test "X$x" = "X-L$additional_libdir"; then
16938 if test -z "$haveit"; then
16939 if test -d "$additional_libdir"; then
16940 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
16944 for x
in $LDFLAGS $LTLIBICONV; do
16946 acl_save_prefix
="$prefix"
16947 prefix
="$acl_final_prefix"
16948 acl_save_exec_prefix
="$exec_prefix"
16949 exec_prefix
="$acl_final_exec_prefix"
16951 exec_prefix
="$acl_save_exec_prefix"
16952 prefix
="$acl_save_prefix"
16954 if test "X$x" = "X-L$additional_libdir"; then
16959 if test -z "$haveit"; then
16960 if test -d "$additional_libdir"; then
16961 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
16968 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
16969 if test "$enable_rpath" != no
; then
16971 for x
in $rpathdirs; do
16972 if test "X$x" = "X$dir"; then
16977 if test -z "$haveit"; then
16978 rpathdirs
="$rpathdirs $dir"
16981 for x
in $ltrpathdirs; do
16982 if test "X$x" = "X$dir"; then
16987 if test -z "$haveit"; then
16988 ltrpathdirs
="$ltrpathdirs $dir"
16993 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
16996 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
16999 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
17000 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
17006 if test "x$lib_type" = "xauto" ||
test "x$lib_type" = "xshared"; then
17007 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
17008 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
17010 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l:lib$name.$libext"
17011 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l:lib$name.$libext"
17018 if test "X$rpathdirs" != "X"; then
17019 if test -n "$hardcode_libdir_separator"; then
17021 for found_dir
in $rpathdirs; do
17022 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
17024 acl_save_libdir
="$libdir"
17026 eval flag
=\"$hardcode_libdir_flag_spec\"
17027 libdir
="$acl_save_libdir"
17028 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
17030 for found_dir
in $rpathdirs; do
17031 acl_save_libdir
="$libdir"
17032 libdir
="$found_dir"
17033 eval flag
=\"$hardcode_libdir_flag_spec\"
17034 libdir
="$acl_save_libdir"
17035 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
17039 if test "X$ltrpathdirs" != "X"; then
17040 for found_dir
in $ltrpathdirs; do
17041 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
17049 if test -f ..
/gettext
/uninstalled-config.sh
; then
17050 relative_builddir
='$(top_builddir)/../gettext'
17051 . ..
/gettext
/uninstalled-config.sh
17053 # The sister gettext directory doesn't exist and won't collect information on
17054 # using gettext for us. Call a bundled AM_GNU_GETTEXT.
17078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
17079 $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
17080 if ${gt_cv_func_CFPreferencesCopyAppValue+:} false
; then :
17081 $as_echo_n "(cached) " >&6
17083 gt_save_LIBS
="$LIBS"
17084 LIBS
="$LIBS -Wl,-framework -Wl,CoreFoundation"
17085 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17086 /* end confdefs.h. */
17087 #include <CoreFoundation/CFPreferences.h>
17091 CFPreferencesCopyAppValue(NULL, NULL)
17096 if ac_fn_c_try_link
"$LINENO"; then :
17097 gt_cv_func_CFPreferencesCopyAppValue
=yes
17099 gt_cv_func_CFPreferencesCopyAppValue
=no
17101 rm -f core conftest.err conftest.
$ac_objext \
17102 conftest
$ac_exeext conftest.
$ac_ext
17103 LIBS
="$gt_save_LIBS"
17105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
17106 $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
17107 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
17109 $as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
17112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyPreferredLanguages" >&5
17113 $as_echo_n "checking for CFLocaleCopyPreferredLanguages... " >&6; }
17114 if ${gt_cv_func_CFLocaleCopyPreferredLanguages+:} false
; then :
17115 $as_echo_n "(cached) " >&6
17117 gt_save_LIBS
="$LIBS"
17118 LIBS
="$LIBS -Wl,-framework -Wl,CoreFoundation"
17119 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17120 /* end confdefs.h. */
17121 #include <CoreFoundation/CFLocale.h>
17125 CFLocaleCopyPreferredLanguages();
17130 if ac_fn_c_try_link
"$LINENO"; then :
17131 gt_cv_func_CFLocaleCopyPreferredLanguages
=yes
17133 gt_cv_func_CFLocaleCopyPreferredLanguages
=no
17135 rm -f core conftest.err conftest.
$ac_objext \
17136 conftest
$ac_exeext conftest.
$ac_ext
17137 LIBS
="$gt_save_LIBS"
17139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyPreferredLanguages" >&5
17140 $as_echo "$gt_cv_func_CFLocaleCopyPreferredLanguages" >&6; }
17141 if test $gt_cv_func_CFLocaleCopyPreferredLanguages = yes; then
17143 $as_echo "#define HAVE_CFLOCALECOPYPREFERREDLANGUAGES 1" >>confdefs.h
17147 if test $gt_cv_func_CFPreferencesCopyAppValue = yes \
17148 ||
test $gt_cv_func_CFLocaleCopyPreferredLanguages = yes; then
17149 INTL_MACOSX_LIBS
="-Wl,-framework -Wl,CoreFoundation -Wl,-framework -Wl,CoreServices"
17161 case " $gt_needs " in
17162 *" need-formatstring-macros "*) gt_api_version
=3 ;;
17163 *" need-ngettext "*) gt_api_version
=2 ;;
17164 *) gt_api_version
=1 ;;
17166 gt_func_gnugettext_libc
="gt_cv_func_gnugettext${gt_api_version}_libc"
17167 gt_func_gnugettext_libintl
="gt_cv_func_gnugettext${gt_api_version}_libintl"
17169 if test "$USE_NLS" = "yes"; then
17170 gt_use_preinstalled_gnugettext
=no
17173 if test $gt_api_version -ge 3; then
17174 gt_revision_test_code
='
17175 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
17176 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
17178 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
17181 gt_revision_test_code
=
17183 if test $gt_api_version -ge 2; then
17184 gt_expression_test_code
=' + * ngettext ("", "", 0)'
17186 gt_expression_test_code
=
17189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
17190 $as_echo_n "checking for GNU gettext in libc... " >&6; }
17191 if eval \
${$gt_func_gnugettext_libc+:} false
; then :
17192 $as_echo_n "(cached) " >&6
17194 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17195 /* end confdefs.h. */
17197 #include <libintl.h>
17198 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
17199 extern int _nl_msg_cat_cntr;
17200 extern int *_nl_domain_bindings;
17201 #define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_domain_bindings)
17203 #define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
17205 $gt_revision_test_code
17211 bindtextdomain ("", "");
17212 return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION
17218 if ac_fn_c_try_link
"$LINENO"; then :
17219 eval "$gt_func_gnugettext_libc=yes"
17221 eval "$gt_func_gnugettext_libc=no"
17223 rm -f core conftest.err conftest.
$ac_objext \
17224 conftest
$ac_exeext conftest.
$ac_ext
17226 eval ac_res
=\$
$gt_func_gnugettext_libc
17227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
17228 $as_echo "$ac_res" >&6; }
17230 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
17236 am_save_CPPFLAGS
="$CPPFLAGS"
17238 for element
in $INCICONV; do
17240 for x
in $CPPFLAGS; do
17242 acl_save_prefix
="$prefix"
17243 prefix
="$acl_final_prefix"
17244 acl_save_exec_prefix
="$exec_prefix"
17245 exec_prefix
="$acl_final_exec_prefix"
17247 exec_prefix
="$acl_save_exec_prefix"
17248 prefix
="$acl_save_prefix"
17250 if test "X$x" = "X$element"; then
17255 if test -z "$haveit"; then
17256 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
17261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
17262 $as_echo_n "checking for iconv... " >&6; }
17263 if ${am_cv_func_iconv+:} false
; then :
17264 $as_echo_n "(cached) " >&6
17267 am_cv_func_iconv
="no, consider installing GNU libiconv"
17269 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17270 /* end confdefs.h. */
17272 #include <stdlib.h>
17278 iconv_t cd = iconv_open("","");
17279 iconv(cd,NULL,NULL,NULL,NULL);
17285 if ac_fn_c_try_link
"$LINENO"; then :
17286 am_cv_func_iconv
=yes
17288 rm -f core conftest.err conftest.
$ac_objext \
17289 conftest
$ac_exeext conftest.
$ac_ext
17290 if test "$am_cv_func_iconv" != yes; then
17291 am_save_LIBS
="$LIBS"
17292 LIBS
="$LIBS $LIBICONV"
17293 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17294 /* end confdefs.h. */
17296 #include <stdlib.h>
17302 iconv_t cd = iconv_open("","");
17303 iconv(cd,NULL,NULL,NULL,NULL);
17309 if ac_fn_c_try_link
"$LINENO"; then :
17310 am_cv_lib_iconv
=yes
17311 am_cv_func_iconv
=yes
17313 rm -f core conftest.err conftest.
$ac_objext \
17314 conftest
$ac_exeext conftest.
$ac_ext
17315 LIBS
="$am_save_LIBS"
17319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
17320 $as_echo "$am_cv_func_iconv" >&6; }
17321 if test "$am_cv_func_iconv" = yes; then
17322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
17323 $as_echo_n "checking for working iconv... " >&6; }
17324 if ${am_cv_func_iconv_works+:} false
; then :
17325 $as_echo_n "(cached) " >&6
17328 am_save_LIBS
="$LIBS"
17329 if test $am_cv_lib_iconv = yes; then
17330 LIBS
="$LIBS $LIBICONV"
17332 am_cv_func_iconv_works
=no
17333 for ac_iconv_const
in '' 'const'; do
17334 if test "$cross_compiling" = yes; then :
17336 aix
* | hpux
*) am_cv_func_iconv_works
="guessing no" ;;
17337 *) am_cv_func_iconv_works
="guessing yes" ;;
17340 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17341 /* end confdefs.h. */
17344 #include <string.h>
17346 #ifndef ICONV_CONST
17347 # define ICONV_CONST $ac_iconv_const
17354 /* Test against AIX 5.1...7.2 bug: Failures are not distinguishable from
17355 successful returns. This is even documented in
17356 <https://www.ibm.com/support/knowledgecenter/ssw_aix_72/i_bostechref/iconv.html> */
17358 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
17359 if (cd_utf8_to_88591 != (iconv_t)(-1))
17361 static ICONV_CONST char input[] = "\342\202\254"; /* EURO SIGN */
17363 ICONV_CONST char *inptr = input;
17364 size_t inbytesleft = strlen (input);
17365 char *outptr = buf;
17366 size_t outbytesleft = sizeof (buf);
17367 size_t res = iconv (cd_utf8_to_88591,
17368 &inptr, &inbytesleft,
17369 &outptr, &outbytesleft);
17372 iconv_close (cd_utf8_to_88591);
17375 /* Test against Solaris 10 bug: Failures are not distinguishable from
17376 successful returns. */
17378 iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
17379 if (cd_ascii_to_88591 != (iconv_t)(-1))
17381 static ICONV_CONST char input[] = "\263";
17383 ICONV_CONST char *inptr = input;
17384 size_t inbytesleft = strlen (input);
17385 char *outptr = buf;
17386 size_t outbytesleft = sizeof (buf);
17387 size_t res = iconv (cd_ascii_to_88591,
17388 &inptr, &inbytesleft,
17389 &outptr, &outbytesleft);
17392 iconv_close (cd_ascii_to_88591);
17395 /* Test against AIX 6.1..7.1 bug: Buffer overrun. */
17397 iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1");
17398 if (cd_88591_to_utf8 != (iconv_t)(-1))
17400 static ICONV_CONST char input[] = "\304";
17401 static char buf[2] = { (char)0xDE, (char)0xAD };
17402 ICONV_CONST char *inptr = input;
17403 size_t inbytesleft = 1;
17404 char *outptr = buf;
17405 size_t outbytesleft = 1;
17406 size_t res = iconv (cd_88591_to_utf8,
17407 &inptr, &inbytesleft,
17408 &outptr, &outbytesleft);
17409 if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD)
17411 iconv_close (cd_88591_to_utf8);
17414 #if 0 /* This bug could be worked around by the caller. */
17415 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
17417 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
17418 if (cd_88591_to_utf8 != (iconv_t)(-1))
17420 static ICONV_CONST char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
17422 ICONV_CONST char *inptr = input;
17423 size_t inbytesleft = strlen (input);
17424 char *outptr = buf;
17425 size_t outbytesleft = sizeof (buf);
17426 size_t res = iconv (cd_88591_to_utf8,
17427 &inptr, &inbytesleft,
17428 &outptr, &outbytesleft);
17431 iconv_close (cd_88591_to_utf8);
17435 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
17438 /* Try standardized names. */
17439 iconv_t cd1 = iconv_open ("UTF-8", "EUC-JP");
17440 /* Try IRIX, OSF/1 names. */
17441 iconv_t cd2 = iconv_open ("UTF-8", "eucJP");
17442 /* Try AIX names. */
17443 iconv_t cd3 = iconv_open ("UTF-8", "IBM-eucJP");
17444 /* Try HP-UX names. */
17445 iconv_t cd4 = iconv_open ("utf8", "eucJP");
17446 if (cd1 == (iconv_t)(-1) && cd2 == (iconv_t)(-1)
17447 && cd3 == (iconv_t)(-1) && cd4 == (iconv_t)(-1))
17449 if (cd1 != (iconv_t)(-1))
17451 if (cd2 != (iconv_t)(-1))
17453 if (cd3 != (iconv_t)(-1))
17455 if (cd4 != (iconv_t)(-1))
17464 if ac_fn_c_try_run
"$LINENO"; then :
17465 am_cv_func_iconv_works
=yes
17467 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
17468 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
17471 test "$am_cv_func_iconv_works" = no ||
break
17473 LIBS
="$am_save_LIBS"
17476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
17477 $as_echo "$am_cv_func_iconv_works" >&6; }
17478 case "$am_cv_func_iconv_works" in
17479 *no
) am_func_iconv
=no am_cv_lib_iconv
=no
;;
17480 *) am_func_iconv
=yes ;;
17483 am_func_iconv
=no am_cv_lib_iconv
=no
17485 if test "$am_func_iconv" = yes; then
17487 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
17490 if test "$am_cv_lib_iconv" = yes; then
17491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
17492 $as_echo_n "checking how to link with libiconv... " >&6; }
17493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
17494 $as_echo "$LIBICONV" >&6; }
17496 CPPFLAGS
="$am_save_CPPFLAGS"
17508 acl_save_prefix
="$prefix"
17509 prefix
="$acl_final_prefix"
17510 acl_save_exec_prefix
="$exec_prefix"
17511 exec_prefix
="$acl_final_exec_prefix"
17513 eval additional_includedir
=\"$includedir\"
17514 eval additional_libdir
=\"$libdir\"
17516 exec_prefix
="$acl_save_exec_prefix"
17517 prefix
="$acl_save_prefix"
17520 # Check whether --with-libintl-prefix was given.
17521 if test "${with_libintl_prefix+set}" = set; then :
17522 withval
=$with_libintl_prefix;
17523 if test "X$withval" = "Xno"; then
17526 if test "X$withval" = "X"; then
17528 acl_save_prefix
="$prefix"
17529 prefix
="$acl_final_prefix"
17530 acl_save_exec_prefix
="$exec_prefix"
17531 exec_prefix
="$acl_final_exec_prefix"
17533 eval additional_includedir
=\"$includedir\"
17534 eval additional_libdir
=\"$libdir\"
17536 exec_prefix
="$acl_save_exec_prefix"
17537 prefix
="$acl_save_prefix"
17540 additional_includedir
="$withval/include"
17541 additional_libdir
="$withval/lib"
17548 # Check whether --with-libintl-type was given.
17549 if test "${with_libintl_type+set}" = set; then :
17550 withval
=$with_libintl_type; with_libintl_type
=$withval
17552 with_libintl_type
=auto
17555 lib_type
=`eval echo \$with_libintl_type`
17562 names_already_handled
=
17563 names_next_round
='intl '
17564 while test -n "$names_next_round"; do
17565 names_this_round
="$names_next_round"
17567 for name
in $names_this_round; do
17569 for n
in $names_already_handled; do
17570 if test "$n" = "$name"; then
17571 already_handled
=yes
17575 if test -z "$already_handled"; then
17576 names_already_handled
="$names_already_handled $name"
17577 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
17578 eval value
=\"\
$HAVE_LIB$uppername\"
17579 if test -n "$value"; then
17580 if test "$value" = yes; then
17581 eval value
=\"\
$LIB$uppername\"
17582 test -z "$value" || LIBINTL
="${LIBINTL}${LIBINTL:+ }$value"
17583 eval value
=\"\
$LTLIB$uppername\"
17584 test -z "$value" || LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$value"
17593 if test $use_additional = yes; then
17594 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext" && test x
$lib_type != xstatic
; then
17595 found_dir
="$additional_libdir"
17596 found_so
="$additional_libdir/lib$name.$shlibext"
17597 if test -f "$additional_libdir/lib$name.la"; then
17598 found_la
="$additional_libdir/lib$name.la"
17600 elif test x
$lib_type != xshared
; then
17601 if test -f "$additional_libdir/lib$name.$libext"; then
17602 found_dir
="$additional_libdir"
17603 found_a
="$additional_libdir/lib$name.$libext"
17604 if test -f "$additional_libdir/lib$name.la"; then
17605 found_la
="$additional_libdir/lib$name.la"
17610 if test "X$found_dir" = "X"; then
17611 for x
in $LDFLAGS $LTLIBINTL; do
17613 acl_save_prefix
="$prefix"
17614 prefix
="$acl_final_prefix"
17615 acl_save_exec_prefix
="$exec_prefix"
17616 exec_prefix
="$acl_final_exec_prefix"
17618 exec_prefix
="$acl_save_exec_prefix"
17619 prefix
="$acl_save_prefix"
17623 dir
=`echo "X$x" | sed -e 's/^X-L//'`
17624 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext" && test x
$lib_type != xstatic
; then
17626 found_so
="$dir/lib$name.$shlibext"
17627 if test -f "$dir/lib$name.la"; then
17628 found_la
="$dir/lib$name.la"
17630 elif test x
$lib_type != xshared
; then
17631 if test -f "$dir/lib$name.$libext"; then
17633 found_a
="$dir/lib$name.$libext"
17634 if test -f "$dir/lib$name.la"; then
17635 found_la
="$dir/lib$name.la"
17641 if test "X$found_dir" != "X"; then
17646 if test "X$found_dir" != "X"; then
17647 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
17648 if test "X$found_so" != "X"; then
17649 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
17650 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
17653 for x
in $ltrpathdirs; do
17654 if test "X$x" = "X$found_dir"; then
17659 if test -z "$haveit"; then
17660 ltrpathdirs
="$ltrpathdirs $found_dir"
17662 if test "$hardcode_direct" = yes; then
17663 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
17665 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
17666 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
17668 for x
in $rpathdirs; do
17669 if test "X$x" = "X$found_dir"; then
17674 if test -z "$haveit"; then
17675 rpathdirs
="$rpathdirs $found_dir"
17679 for x
in $LDFLAGS $LIBINTL; do
17681 acl_save_prefix
="$prefix"
17682 prefix
="$acl_final_prefix"
17683 acl_save_exec_prefix
="$exec_prefix"
17684 exec_prefix
="$acl_final_exec_prefix"
17686 exec_prefix
="$acl_save_exec_prefix"
17687 prefix
="$acl_save_prefix"
17689 if test "X$x" = "X-L$found_dir"; then
17694 if test -z "$haveit"; then
17695 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir"
17697 if test "$hardcode_minus_L" != no
; then
17698 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
17700 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
17706 if test "X$found_a" != "X"; then
17707 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_a"
17709 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
17712 additional_includedir
=
17713 case "$found_dir" in
17715 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
17716 additional_includedir
="$basedir/include"
17719 if test "X$additional_includedir" != "X"; then
17720 if test "X$additional_includedir" != "X/usr/include"; then
17722 if test "X$additional_includedir" = "X/usr/local/include"; then
17723 if test -n "$GCC"; then
17725 linux
*) haveit
=yes;;
17729 if test -z "$haveit"; then
17730 for x
in $CPPFLAGS $INCINTL; do
17732 acl_save_prefix
="$prefix"
17733 prefix
="$acl_final_prefix"
17734 acl_save_exec_prefix
="$exec_prefix"
17735 exec_prefix
="$acl_final_exec_prefix"
17737 exec_prefix
="$acl_save_exec_prefix"
17738 prefix
="$acl_save_prefix"
17740 if test "X$x" = "X-I$additional_includedir"; then
17745 if test -z "$haveit"; then
17746 if test -d "$additional_includedir"; then
17747 INCINTL
="${INCINTL}${INCINTL:+ }-I$additional_includedir"
17753 if test -n "$found_la"; then
17754 save_libdir
="$libdir"
17755 case "$found_la" in
17756 */* |
*\\*) .
"$found_la" ;;
17757 *) .
"./$found_la" ;;
17759 libdir
="$save_libdir"
17760 for dep
in $dependency_libs; do
17763 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
17764 if test "X$additional_libdir" != "X/usr/lib"; then
17766 if test "X$additional_libdir" = "X/usr/local/lib"; then
17767 if test -n "$GCC"; then
17769 linux
*) haveit
=yes;;
17773 if test -z "$haveit"; then
17775 for x
in $LDFLAGS $LIBINTL; do
17777 acl_save_prefix
="$prefix"
17778 prefix
="$acl_final_prefix"
17779 acl_save_exec_prefix
="$exec_prefix"
17780 exec_prefix
="$acl_final_exec_prefix"
17782 exec_prefix
="$acl_save_exec_prefix"
17783 prefix
="$acl_save_prefix"
17785 if test "X$x" = "X-L$additional_libdir"; then
17790 if test -z "$haveit"; then
17791 if test -d "$additional_libdir"; then
17792 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
17796 for x
in $LDFLAGS $LTLIBINTL; do
17798 acl_save_prefix
="$prefix"
17799 prefix
="$acl_final_prefix"
17800 acl_save_exec_prefix
="$exec_prefix"
17801 exec_prefix
="$acl_final_exec_prefix"
17803 exec_prefix
="$acl_save_exec_prefix"
17804 prefix
="$acl_save_prefix"
17806 if test "X$x" = "X-L$additional_libdir"; then
17811 if test -z "$haveit"; then
17812 if test -d "$additional_libdir"; then
17813 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
17820 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
17821 if test "$enable_rpath" != no
; then
17823 for x
in $rpathdirs; do
17824 if test "X$x" = "X$dir"; then
17829 if test -z "$haveit"; then
17830 rpathdirs
="$rpathdirs $dir"
17833 for x
in $ltrpathdirs; do
17834 if test "X$x" = "X$dir"; then
17839 if test -z "$haveit"; then
17840 ltrpathdirs
="$ltrpathdirs $dir"
17845 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
17848 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
17851 LIBINTL
="${LIBINTL}${LIBINTL:+ }$dep"
17852 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$dep"
17858 if test "x$lib_type" = "xauto" ||
test "x$lib_type" = "xshared"; then
17859 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
17860 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
17862 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l:lib$name.$libext"
17863 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-l:lib$name.$libext"
17870 if test "X$rpathdirs" != "X"; then
17871 if test -n "$hardcode_libdir_separator"; then
17873 for found_dir
in $rpathdirs; do
17874 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
17876 acl_save_libdir
="$libdir"
17878 eval flag
=\"$hardcode_libdir_flag_spec\"
17879 libdir
="$acl_save_libdir"
17880 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
17882 for found_dir
in $rpathdirs; do
17883 acl_save_libdir
="$libdir"
17884 libdir
="$found_dir"
17885 eval flag
=\"$hardcode_libdir_flag_spec\"
17886 libdir
="$acl_save_libdir"
17887 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
17891 if test "X$ltrpathdirs" != "X"; then
17892 for found_dir
in $ltrpathdirs; do
17893 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
17897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
17898 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
17899 if eval \
${$gt_func_gnugettext_libintl+:} false
; then :
17900 $as_echo_n "(cached) " >&6
17902 gt_save_CPPFLAGS
="$CPPFLAGS"
17903 CPPFLAGS
="$CPPFLAGS $INCINTL"
17904 gt_save_LIBS
="$LIBS"
17905 LIBS
="$LIBS $LIBINTL"
17906 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17907 /* end confdefs.h. */
17909 #include <libintl.h>
17910 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
17911 extern int _nl_msg_cat_cntr;
17916 const char *_nl_expand_alias (const char *);
17917 #define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_expand_alias (""))
17919 #define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
17921 $gt_revision_test_code
17927 bindtextdomain ("", "");
17928 return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION
17934 if ac_fn_c_try_link
"$LINENO"; then :
17935 eval "$gt_func_gnugettext_libintl=yes"
17937 eval "$gt_func_gnugettext_libintl=no"
17939 rm -f core conftest.err conftest.
$ac_objext \
17940 conftest
$ac_exeext conftest.
$ac_ext
17941 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
17942 LIBS
="$LIBS $LIBICONV"
17943 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17944 /* end confdefs.h. */
17946 #include <libintl.h>
17947 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
17948 extern int _nl_msg_cat_cntr;
17953 const char *_nl_expand_alias (const char *);
17954 #define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_expand_alias (""))
17956 #define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
17958 $gt_revision_test_code
17964 bindtextdomain ("", "");
17965 return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION
17971 if ac_fn_c_try_link
"$LINENO"; then :
17972 LIBINTL
="$LIBINTL $LIBICONV"
17973 LTLIBINTL
="$LTLIBINTL $LTLIBICONV"
17974 eval "$gt_func_gnugettext_libintl=yes"
17977 rm -f core conftest.err conftest.
$ac_objext \
17978 conftest
$ac_exeext conftest.
$ac_ext
17980 CPPFLAGS
="$gt_save_CPPFLAGS"
17981 LIBS
="$gt_save_LIBS"
17983 eval ac_res
=\$
$gt_func_gnugettext_libintl
17984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
17985 $as_echo "$ac_res" >&6; }
17988 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
17989 ||
{ { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
17990 && test "$PACKAGE" != gettext-runtime \
17991 && test "$PACKAGE" != gettext-tools
; }; then
17992 gt_use_preinstalled_gnugettext
=yes
18001 if test -n "$INTL_MACOSX_LIBS"; then
18002 if test "$gt_use_preinstalled_gnugettext" = "yes" \
18003 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
18004 LIBINTL
="$LIBINTL $INTL_MACOSX_LIBS"
18005 LTLIBINTL
="$LTLIBINTL $INTL_MACOSX_LIBS"
18009 if test "$gt_use_preinstalled_gnugettext" = "yes" \
18010 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
18012 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
18019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
18020 $as_echo_n "checking whether to use NLS... " >&6; }
18021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
18022 $as_echo "$USE_NLS" >&6; }
18023 if test "$USE_NLS" = "yes"; then
18024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
18025 $as_echo_n "checking where the gettext function comes from... " >&6; }
18026 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
18027 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
18028 gt_source
="external libintl"
18033 gt_source
="included intl directory"
18035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
18036 $as_echo "$gt_source" >&6; }
18039 if test "$USE_NLS" = "yes"; then
18041 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
18042 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
18043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
18044 $as_echo_n "checking how to link with libintl... " >&6; }
18045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
18046 $as_echo "$LIBINTL" >&6; }
18048 for element
in $INCINTL; do
18050 for x
in $CPPFLAGS; do
18052 acl_save_prefix
="$prefix"
18053 prefix
="$acl_final_prefix"
18054 acl_save_exec_prefix
="$exec_prefix"
18055 exec_prefix
="$acl_final_exec_prefix"
18057 exec_prefix
="$acl_save_exec_prefix"
18058 prefix
="$acl_save_prefix"
18060 if test "X$x" = "X$element"; then
18065 if test -z "$haveit"; then
18066 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
18073 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
18076 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
18085 INTLLIBS
="$LIBINTL"
18104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
18105 $as_echo_n "checking whether NLS is requested... " >&6; }
18106 if test x
"$USE_NLS" != xyes
; then
18107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18108 $as_echo "no" >&6; }
18110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18111 $as_echo "yes" >&6; }
18113 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
18116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
18117 $as_echo_n "checking for catalogs to be installed... " >&6; }
18118 # Look for .po and .gmo files in the source directory.
18121 for cat in $srcdir/po
/*.gmo
$srcdir/po
/*.po
; do
18122 # If there aren't any .gmo files the shell will give us the
18123 # literal string "../path/to/srcdir/po/*.gmo" which has to be
18125 case "$cat" in *\
**)
18128 # The quadruple backslash is collapsed to a double backslash
18129 # by the backticks, then collapsed again by the double quotes,
18130 # leaving us with one backslash in the sed expression (right
18131 # before the dot that mustn't act as a wildcard).
18132 cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
18133 lang
=`echo $cat | sed -e "s!\\\\.gmo!!"`
18134 # The user is allowed to set LINGUAS to a list of languages to
18135 # install catalogs for. If it's empty that means "all of them."
18136 if test "x$LINGUAS" = x
; then
18137 CATALOGS
="$CATALOGS $cat"
18138 XLINGUAS
="$XLINGUAS $lang"
18140 case "$LINGUAS" in *$lang*)
18141 CATALOGS
="$CATALOGS $cat"
18142 XLINGUAS
="$XLINGUAS $lang"
18147 LINGUAS
="$XLINGUAS"
18148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
18149 $as_echo "$LINGUAS" >&6; }
18165 # Prepare PATH_SEPARATOR.
18166 # The user is always right.
18167 if test "${PATH_SEPARATOR+set}" != set; then
18168 echo "#! /bin/sh" >conf$$.sh
18169 echo "exit 0" >>conf$$.sh
18171 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
18179 # Find out how to test for executable files. Don't use a zero-byte file,
18180 # as systems may use methods other than mode bits to determine executability.
18181 cat >conf$$.
file <<_ASEOF
18185 chmod +x conf$$.
file
18186 if test -x conf$$.
file >/dev
/null
2>&1; then
18187 ac_executable_p
="test -x"
18189 ac_executable_p
="test -f"
18193 # Extract the first word of "msgfmt", so it can be a program name with args.
18194 set dummy msgfmt
; ac_word
=$2
18195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18196 $as_echo_n "checking for $ac_word... " >&6; }
18197 if ${ac_cv_path_MSGFMT+:} false
; then :
18198 $as_echo_n "(cached) " >&6
18202 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
18205 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
18206 for ac_dir
in $PATH; do
18208 test -z "$ac_dir" && ac_dir
=.
18209 for ac_exec_ext
in '' $ac_executable_extensions; do
18210 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
18211 if $ac_dir/$ac_word --statistics /dev
/null
>/dev
/null
2>&1 &&
18212 (if $ac_dir/$ac_word --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
18213 ac_cv_path_MSGFMT
="$ac_dir/$ac_word$ac_exec_ext"
18220 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
18224 MSGFMT
="$ac_cv_path_MSGFMT"
18225 if test "$MSGFMT" != ":"; then
18226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
18227 $as_echo "$MSGFMT" >&6; }
18229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18230 $as_echo "no" >&6; }
18233 # Extract the first word of "gmsgfmt", so it can be a program name with args.
18234 set dummy gmsgfmt
; ac_word
=$2
18235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18236 $as_echo_n "checking for $ac_word... " >&6; }
18237 if ${ac_cv_path_GMSGFMT+:} false
; then :
18238 $as_echo_n "(cached) " >&6
18242 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
18245 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18246 for as_dir
in $PATH
18249 test -z "$as_dir" && as_dir
=.
18250 for ac_exec_ext
in '' $ac_executable_extensions; do
18251 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
18252 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
18253 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18260 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
18264 GMSGFMT
=$ac_cv_path_GMSGFMT
18265 if test -n "$GMSGFMT"; then
18266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
18267 $as_echo "$GMSGFMT" >&6; }
18269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18270 $as_echo "no" >&6; }
18276 # Prepare PATH_SEPARATOR.
18277 # The user is always right.
18278 if test "${PATH_SEPARATOR+set}" != set; then
18279 echo "#! /bin/sh" >conf$$.sh
18280 echo "exit 0" >>conf$$.sh
18282 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
18290 # Find out how to test for executable files. Don't use a zero-byte file,
18291 # as systems may use methods other than mode bits to determine executability.
18292 cat >conf$$.
file <<_ASEOF
18296 chmod +x conf$$.
file
18297 if test -x conf$$.
file >/dev
/null
2>&1; then
18298 ac_executable_p
="test -x"
18300 ac_executable_p
="test -f"
18304 # Extract the first word of "xgettext", so it can be a program name with args.
18305 set dummy xgettext
; ac_word
=$2
18306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18307 $as_echo_n "checking for $ac_word... " >&6; }
18308 if ${ac_cv_path_XGETTEXT+:} false
; then :
18309 $as_echo_n "(cached) " >&6
18311 case "$XGETTEXT" in
18313 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
18316 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
18317 for ac_dir
in $PATH; do
18319 test -z "$ac_dir" && ac_dir
=.
18320 for ac_exec_ext
in '' $ac_executable_extensions; do
18321 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
18322 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
18323 (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
18324 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word$ac_exec_ext"
18331 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
18335 XGETTEXT
="$ac_cv_path_XGETTEXT"
18336 if test "$XGETTEXT" != ":"; then
18337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
18338 $as_echo "$XGETTEXT" >&6; }
18340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18341 $as_echo "no" >&6; }
18347 # Prepare PATH_SEPARATOR.
18348 # The user is always right.
18349 if test "${PATH_SEPARATOR+set}" != set; then
18350 echo "#! /bin/sh" >conf$$.sh
18351 echo "exit 0" >>conf$$.sh
18353 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
18361 # Find out how to test for executable files. Don't use a zero-byte file,
18362 # as systems may use methods other than mode bits to determine executability.
18363 cat >conf$$.
file <<_ASEOF
18367 chmod +x conf$$.
file
18368 if test -x conf$$.
file >/dev
/null
2>&1; then
18369 ac_executable_p
="test -x"
18371 ac_executable_p
="test -f"
18375 # Extract the first word of "msgmerge", so it can be a program name with args.
18376 set dummy msgmerge
; ac_word
=$2
18377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18378 $as_echo_n "checking for $ac_word... " >&6; }
18379 if ${ac_cv_path_MSGMERGE+:} false
; then :
18380 $as_echo_n "(cached) " >&6
18382 case "$MSGMERGE" in
18384 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
18387 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
18388 for ac_dir
in $PATH; do
18390 test -z "$ac_dir" && ac_dir
=.
18391 for ac_exec_ext
in '' $ac_executable_extensions; do
18392 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
18393 if $ac_dir/$ac_word --update -q /dev
/null
/dev
/null
>/dev
/null
2>&1; then
18394 ac_cv_path_MSGMERGE
="$ac_dir/$ac_word$ac_exec_ext"
18401 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE
=":"
18405 MSGMERGE
="$ac_cv_path_MSGMERGE"
18406 if test "$MSGMERGE" != ":"; then
18407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
18408 $as_echo "$MSGMERGE" >&6; }
18410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18411 $as_echo "no" >&6; }
18415 if test "$GMSGFMT" != ":"; then
18416 if $GMSGFMT --statistics /dev
/null
>/dev
/null
2>&1 &&
18417 (if $GMSGFMT --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
18420 GMSGFMT
=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
18421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
18422 $as_echo "found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; }
18427 if test "$XGETTEXT" != ":"; then
18428 if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
18429 (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
18432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
18433 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
18439 ac_config_commands
="$ac_config_commands default-2"
18445 for ac_prog
in 'bison -y' byacc
18447 # Extract the first word of "$ac_prog", so it can be a program name with args.
18448 set dummy
$ac_prog; ac_word
=$2
18449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18450 $as_echo_n "checking for $ac_word... " >&6; }
18451 if ${ac_cv_prog_YACC+:} false
; then :
18452 $as_echo_n "(cached) " >&6
18454 if test -n "$YACC"; then
18455 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
18457 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18458 for as_dir
in $PATH
18461 test -z "$as_dir" && as_dir
=.
18462 for ac_exec_ext
in '' $ac_executable_extensions; do
18463 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
18464 ac_cv_prog_YACC
="$ac_prog"
18465 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18474 YACC
=$ac_cv_prog_YACC
18475 if test -n "$YACC"; then
18476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
18477 $as_echo "$YACC" >&6; }
18479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18480 $as_echo "no" >&6; }
18484 test -n "$YACC" && break
18486 test -n "$YACC" || YACC
="yacc"
18488 for ac_prog
in flex
lex
18490 # Extract the first word of "$ac_prog", so it can be a program name with args.
18491 set dummy
$ac_prog; ac_word
=$2
18492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18493 $as_echo_n "checking for $ac_word... " >&6; }
18494 if ${ac_cv_prog_LEX+:} false
; then :
18495 $as_echo_n "(cached) " >&6
18497 if test -n "$LEX"; then
18498 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
18500 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18501 for as_dir
in $PATH
18504 test -z "$as_dir" && as_dir
=.
18505 for ac_exec_ext
in '' $ac_executable_extensions; do
18506 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
18507 ac_cv_prog_LEX
="$ac_prog"
18508 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18517 LEX
=$ac_cv_prog_LEX
18518 if test -n "$LEX"; then
18519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
18520 $as_echo "$LEX" >&6; }
18522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18523 $as_echo "no" >&6; }
18527 test -n "$LEX" && break
18529 test -n "$LEX" || LEX
=":"
18533 *) cat >conftest.l
<<_ACEOF
18539 e { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument. */
18540 yyless ((input () != 0)); }
18541 f { unput (yytext[0]); }
18542 . { BEGIN INITIAL; }
18544 #ifdef YYTEXT_POINTER
18545 extern char *yytext;
18550 return ! yylex () + ! yywrap ();
18553 { { ac_try
="$LEX conftest.l"
18554 case "(($ac_try" in
18555 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18556 *) ac_try_echo=$ac_try;;
18558 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
18559 $as_echo "$ac_try_echo"; } >&5
18560 (eval "$LEX conftest.l") 2>&5
18562 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18563 test $ac_status = 0; }
18564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
18565 $as_echo_n "checking lex output file root... " >&6; }
18566 if ${ac_cv_prog_lex_root+:} false; then :
18567 $as_echo_n "(cached) " >&6
18570 if test -f lex.yy.c; then
18571 ac_cv_prog_lex_root=lex.yy
18572 elif test -f lexyy.c; then
18573 ac_cv_prog_lex_root=lexyy
18575 as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5
18578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
18579 $as_echo "$ac_cv_prog_lex_root" >&6; }
18580 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
18582 if test -z "${LEXLIB+set}"; then
18583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
18584 $as_echo_n "checking lex library... " >&6; }
18585 if ${ac_cv_lib_lex+:} false; then :
18586 $as_echo_n "(cached) " >&6
18590 ac_cv_lib_lex='none needed'
18591 for ac_lib in '' -lfl -ll; do
18592 LIBS="$ac_lib $ac_save_LIBS"
18593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18594 /* end confdefs.h. */
18595 `cat $LEX_OUTPUT_ROOT.c
`
18597 if ac_fn_c_try_link "$LINENO"; then :
18598 ac_cv_lib_lex=$ac_lib
18600 rm -f core conftest.err conftest.$ac_objext \
18601 conftest$ac_exeext conftest.$ac_ext
18602 test "$ac_cv_lib_lex" != 'none needed' && break
18607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5
18608 $as_echo "$ac_cv_lib_lex" >&6; }
18609 test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
18613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
18614 $as_echo_n "checking whether yytext is a pointer... " >&6; }
18615 if ${ac_cv_prog_lex_yytext_pointer+:} false; then :
18616 $as_echo_n "(cached) " >&6
18618 # POSIX says lex can declare yytext either as a pointer or an array; the
18619 # default is implementation-dependent. Figure out which it is, since
18620 # not all implementations provide the %pointer and %array declarations.
18621 ac_cv_prog_lex_yytext_pointer=no
18623 LIBS="$LEXLIB $ac_save_LIBS"
18624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18625 /* end confdefs.h. */
18627 #define YYTEXT_POINTER 1
18628 `cat $LEX_OUTPUT_ROOT.c
`
18630 if ac_fn_c_try_link "$LINENO"; then :
18631 ac_cv_prog_lex_yytext_pointer=yes
18633 rm -f core conftest.err conftest.$ac_objext \
18634 conftest$ac_exeext conftest.$ac_ext
18638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5
18639 $as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
18640 if test $ac_cv_prog_lex_yytext_pointer = yes; then
18642 $as_echo "#define YYTEXT_POINTER 1" >>confdefs.h
18645 rm -f conftest.l $LEX_OUTPUT_ROOT.c
18648 if test "$LEX" = :; then
18649 LEX=${am_missing_run}flex
18653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
18654 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
18655 # Check whether --enable-maintainer-mode was given.
18656 if test "${enable_maintainer_mode+set}" = set; then :
18657 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
18659 USE_MAINTAINER_MODE=no
18662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
18663 $as_echo "$USE_MAINTAINER_MODE" >&6; }
18664 if test $USE_MAINTAINER_MODE = yes; then
18665 MAINTAINER_MODE_TRUE=
18666 MAINTAINER_MODE_FALSE='#'
18668 MAINTAINER_MODE_TRUE='#'
18669 MAINTAINER_MODE_FALSE=
18672 MAINT=$MAINTAINER_MODE_TRUE
18676 GENINSRC_NEVER_TRUE=
18677 GENINSRC_NEVER_FALSE='#'
18679 GENINSRC_NEVER_TRUE='#'
18680 GENINSRC_NEVER_FALSE=
18683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to compare bootstrapped objects" >&5
18684 $as_echo_n "checking how to compare bootstrapped objects... " >&6; }
18685 if ${gcc_cv_prog_cmp_skip+:} false; then :
18686 $as_echo_n "(cached) " >&6
18690 gcc_cv_prog_cmp_skip='tail -c +17 $$f1 > tmp-foo1; tail -c +17 $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
18691 if cmp t1 t2 2 2 > /dev/null 2>&1; then
18692 if cmp t1 t2 1 1 > /dev/null 2>&1; then
18695 gcc_cv_prog_cmp_skip='cmp $$f1 $$f2 16 16'
18698 if cmp --ignore-initial=2 t1 t2 > /dev/null 2>&1; then
18699 if cmp --ignore-initial=1 t1 t2 > /dev/null 2>&1; then
18702 gcc_cv_prog_cmp_skip='cmp --ignore-initial=16 $$f1 $$f2'
18708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_cmp_skip" >&5
18709 $as_echo "$gcc_cv_prog_cmp_skip" >&6; }
18710 do_compare="$gcc_cv_prog_cmp_skip"
18714 . ${srcdir}/configure.host
18719 # We use headers from include/ that check various HAVE_*_H macros, thus
18720 # should ensure they are set by configure. This is true even when C99
18721 # guarantees they are available.
18722 # sha1.h and md4.h test HAVE_LIMITS_H, HAVE_SYS_TYPES_H and HAVE_STDINT_H
18723 # plugin-api.h tests HAVE_STDINT_H and HAVE_INTTYPES_H
18724 # Besides those, we need to check anything used in ld/ not in C99.
18725 for ac_header in fcntl.h elf-hints.h limits.h inttypes.h stdint.h \
18726 sys/file.h sys/mman.h sys/param.h sys/stat.h sys/time.h \
18727 sys/types.h unistd.h
18729 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
18730 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18731 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18732 cat >>confdefs.h <<_ACEOF
18733 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
18740 for ac_func in close glob lseek mkstemp open realpath waitpid
18742 as_ac_var=`$as_echo "ac_cv_func_$ac_func" |
$as_tr_sh`
18743 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18744 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18745 cat >>confdefs.h <<_ACEOF
18746 #define `$as_echo "HAVE_$ac_func" |
$as_tr_cpp` 1
18755 *-*-msdos* | *-*-go32* | *-*-mingw32* | *-*-cygwin* | *-*-windows*)
18757 $as_echo "#define USE_BINARY_FOPEN 1" >>confdefs.h
18761 ac_fn_c_check_decl "$LINENO" "asprintf" "ac_cv_have_decl_asprintf" "$ac_includes_default"
18762 if test "x$ac_cv_have_decl_asprintf" = xyes; then :
18768 cat >>confdefs.h <<_ACEOF
18769 #define HAVE_DECL_ASPRINTF $ac_have_decl
18771 ac_fn_c_check_decl "$LINENO" "environ" "ac_cv_have_decl_environ" "$ac_includes_default"
18772 if test "x$ac_cv_have_decl_environ" = xyes; then :
18778 cat >>confdefs.h <<_ACEOF
18779 #define HAVE_DECL_ENVIRON $ac_have_decl
18781 ac_fn_c_check_decl "$LINENO" "stpcpy" "ac_cv_have_decl_stpcpy" "$ac_includes_default"
18782 if test "x$ac_cv_have_decl_stpcpy" = xyes; then :
18788 cat >>confdefs.h <<_ACEOF
18789 #define HAVE_DECL_STPCPY $ac_have_decl
18796 for ac_header in $ac_header_list
18798 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
18799 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
18801 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18802 cat >>confdefs.h <<_ACEOF
18803 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
18816 save_ASAN_OPTIONS="$ASAN_OPTIONS"
18817 ASAN_OPTIONS=detect_leaks=0
18818 export ASAN_OPTIONS
18820 for ac_func in getpagesize
18822 ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize"
18823 if test "x$ac_cv_func_getpagesize" = xyes; then :
18824 cat >>confdefs.h <<_ACEOF
18825 #define HAVE_GETPAGESIZE 1
18831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
18832 $as_echo_n "checking for working mmap... " >&6; }
18833 if ${ac_cv_func_mmap_fixed_mapped+:} false; then :
18834 $as_echo_n "(cached) " >&6
18836 if test "$cross_compiling" = yes; then :
18837 ac_cv_func_mmap_fixed_mapped=no
18839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18840 /* end confdefs.h. */
18841 $ac_includes_default
18842 /* malloc might have been renamed as rpl_malloc. */
18845 /* Thanks to Mike Haertel and Jim Avera for this test.
18846 Here is a matrix of mmap possibilities:
18847 mmap private not fixed
18848 mmap private fixed at somewhere currently unmapped
18849 mmap private fixed at somewhere already mapped
18850 mmap shared not fixed
18851 mmap shared fixed at somewhere currently unmapped
18852 mmap shared fixed at somewhere already mapped
18853 For private mappings, we should verify that changes cannot be read()
18854 back from the file, nor mmap's back from the file at a different
18855 address. (There have been systems where private was not correctly
18856 implemented like the infamous i386 svr4.0, and systems where the
18857 VM page cache was not coherent with the file system buffer cache
18858 like early versions of FreeBSD and possibly contemporary NetBSD.)
18859 For shared mappings, we should conversely verify that changes get
18860 propagated back to all the places they're supposed to be.
18862 Grep wants private fixed already mapped.
18863 The main things grep needs to know about mmap are:
18864 * does it exist and is it safe to write into the mmap'd area
18865 * how to use it (BSD variants) */
18868 #include <sys/mman.h>
18870 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
18874 /* This mess was copied from the GNU getpagesize.h. */
18875 #ifndef HAVE_GETPAGESIZE
18876 # ifdef _SC_PAGESIZE
18877 # define getpagesize() sysconf(_SC_PAGESIZE)
18878 # else /* no _SC_PAGESIZE */
18879 # ifdef HAVE_SYS_PARAM_H
18880 # include <sys/param.h>
18881 # ifdef EXEC_PAGESIZE
18882 # define getpagesize() EXEC_PAGESIZE
18883 # else /* no EXEC_PAGESIZE */
18885 # define getpagesize() NBPG * CLSIZE
18888 # endif /* no CLSIZE */
18889 # else /* no NBPG */
18891 # define getpagesize() NBPC
18892 # else /* no NBPC */
18894 # define getpagesize() PAGESIZE
18895 # endif /* PAGESIZE */
18896 # endif /* no NBPC */
18897 # endif /* no NBPG */
18898 # endif /* no EXEC_PAGESIZE */
18899 # else /* no HAVE_SYS_PARAM_H */
18900 # define getpagesize() 8192 /* punt totally */
18901 # endif /* no HAVE_SYS_PARAM_H */
18902 # endif /* no _SC_PAGESIZE */
18904 #endif /* no HAVE_GETPAGESIZE */
18909 char *data, *data2, *data3;
18910 const char *cdata2;
18914 pagesize = getpagesize ();
18916 /* First, make a file with some known garbage in it. */
18917 data = (char *) malloc (pagesize);
18920 for (i = 0; i < pagesize; ++i)
18921 *(data + i) = rand ();
18923 fd = creat ("conftest.mmap", 0600);
18926 if (write (fd, data, pagesize) != pagesize)
18930 /* Next, check that the tail of a page is zero-filled. File must have
18931 non-zero length, otherwise we risk SIGBUS for entire page. */
18932 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
18936 if (write (fd2, cdata2, 1) != 1)
18938 data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
18939 if (data2 == MAP_FAILED)
18941 for (i = 0; i < pagesize; ++i)
18945 if (munmap (data2, pagesize))
18948 /* Next, try to mmap the file at a fixed address which already has
18949 something else allocated at it. If we can, also make sure that
18950 we see the same garbage. */
18951 fd = open ("conftest.mmap", O_RDWR);
18954 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
18955 MAP_PRIVATE | MAP_FIXED, fd, 0L))
18957 for (i = 0; i < pagesize; ++i)
18958 if (*(data + i) != *(data2 + i))
18961 /* Finally, make sure that changes to the mapped area do not
18962 percolate back to the file as seen by read(). (This is a bug on
18963 some variants of i386 svr4.0.) */
18964 for (i = 0; i < pagesize; ++i)
18965 *(data2 + i) = *(data2 + i) + 1;
18966 data3 = (char *) malloc (pagesize);
18969 if (read (fd, data3, pagesize) != pagesize)
18971 for (i = 0; i < pagesize; ++i)
18972 if (*(data + i) != *(data3 + i))
18978 if ac_fn_c_try_run "$LINENO"; then :
18979 ac_cv_func_mmap_fixed_mapped=yes
18981 ac_cv_func_mmap_fixed_mapped=no
18983 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
18984 conftest.$ac_objext conftest.beam conftest.$ac_ext
18988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
18989 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
18990 if test $ac_cv_func_mmap_fixed_mapped = yes; then
18992 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
18995 rm -f conftest.mmap conftest.txt
18997 ASAN_OPTIONS="$save_ASAN_OPTIONS"
19000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
19001 $as_echo_n "checking for library containing dlopen... " >&6; }
19002 if ${ac_cv_search_dlopen+:} false; then :
19003 $as_echo_n "(cached) " >&6
19005 ac_func_search_save_LIBS=$LIBS
19006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19007 /* end confdefs.h. */
19009 /* Override any GCC internal prototype to avoid an error.
19010 Use char because int might match the return type of a GCC
19011 builtin and then its argument prototype would still apply. */
19024 for ac_lib in '' dl; do
19025 if test -z "$ac_lib"; then
19026 ac_res="none required"
19029 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19031 if ac_fn_c_try_link "$LINENO"; then :
19032 ac_cv_search_dlopen=$ac_res
19034 rm -f core conftest.err conftest.$ac_objext \
19036 if ${ac_cv_search_dlopen+:} false; then :
19040 if ${ac_cv_search_dlopen+:} false; then :
19043 ac_cv_search_dlopen=no
19045 rm conftest.$ac_ext
19046 LIBS=$ac_func_search_save_LIBS
19048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
19049 $as_echo "$ac_cv_search_dlopen" >&6; }
19050 ac_res=$ac_cv_search_dlopen
19051 if test "$ac_res" != no; then :
19052 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a known getopt prototype in unistd.h" >&5
19058 $as_echo_n "checking for a known getopt prototype in unistd.h... " >&6; }
19059 if ${ld_cv_decl_getopt_unistd_h+:} false; then :
19060 $as_echo_n "(cached) " >&6
19062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19063 /* end confdefs.h. */
19064 #include <unistd.h>
19068 extern int getopt (int, char *const*, const char *);
19073 if ac_fn_c_try_compile "$LINENO"; then :
19074 ld_cv_decl_getopt_unistd_h=yes
19076 ld_cv_decl_getopt_unistd_h=no
19078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_cv_decl_getopt_unistd_h" >&5
19082 $as_echo "$ld_cv_decl_getopt_unistd_h" >&6; }
19083 if test $ld_cv_decl_getopt_unistd_h = yes; then
19085 $as_echo "#define HAVE_DECL_GETOPT 1" >>confdefs.h
19089 # Link in zlib/zstd if we can. This allows us to read and write
19090 # compressed debug sections.
19092 # Use the system's zlib library.
19093 zlibdir="-L\$(top_builddir)/../zlib"
19094 zlibinc="-I\$(top_srcdir)/../zlib"
19096 # Check whether --with-system-zlib was given.
19097 if test "${with_system_zlib+set}" = set; then :
19098 withval=$with_system_zlib; if test x$with_system_zlib = xyes ; then
19110 # Check whether --with-zstd was given.
19111 if test "${with_zstd+set}" = set; then :
19112 withval=$with_zstd;
19118 if test "$with_zstd" != no; then :
19121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libzstd >= 1.4.0" >&5
19122 $as_echo_n "checking for libzstd >= 1.4.0... " >&6; }
19124 if test -n "$ZSTD_CFLAGS"; then
19125 pkg_cv_ZSTD_CFLAGS="$ZSTD_CFLAGS"
19126 elif test -n "$PKG_CONFIG"; then
19127 if test -n "$PKG_CONFIG" && \
19128 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libzstd >= 1.4.0\""; } >&5
19129 ($PKG_CONFIG --exists --print-errors "libzstd >= 1.4.0") 2>&5
19131 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19132 test $ac_status = 0; }; then
19133 pkg_cv_ZSTD_CFLAGS=`$PKG_CONFIG --cflags "libzstd >= 1.4.0" 2>/dev
/null
`
19134 test "x$?" != "x0" && pkg_failed=yes
19141 if test -n "$ZSTD_LIBS"; then
19142 pkg_cv_ZSTD_LIBS="$ZSTD_LIBS"
19143 elif test -n "$PKG_CONFIG"; then
19144 if test -n "$PKG_CONFIG" && \
19145 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libzstd >= 1.4.0\""; } >&5
19146 ($PKG_CONFIG --exists --print-errors "libzstd >= 1.4.0") 2>&5
19148 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19149 test $ac_status = 0; }; then
19150 pkg_cv_ZSTD_LIBS=`$PKG_CONFIG --libs "libzstd >= 1.4.0" 2>/dev
/null
`
19151 test "x$?" != "x0" && pkg_failed=yes
19159 if test $pkg_failed = no; then
19160 pkg_save_LDFLAGS="$LDFLAGS"
19161 LDFLAGS="$LDFLAGS $pkg_cv_ZSTD_LIBS"
19162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19163 /* end confdefs.h. */
19173 if ac_fn_c_try_link "$LINENO"; then :
19178 rm -f core conftest.err conftest.$ac_objext \
19179 conftest$ac_exeext conftest.$ac_ext
19180 LDFLAGS=$pkg_save_LDFLAGS
19185 if test $pkg_failed = yes; then
19186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19187 $as_echo "no" >&6; }
19189 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19190 _pkg_short_errors_supported=yes
19192 _pkg_short_errors_supported=no
19194 if test $_pkg_short_errors_supported = yes; then
19195 ZSTD_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libzstd >= 1.4.0" 2>&1`
19197 ZSTD_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libzstd >= 1.4.0" 2>&1`
19199 # Put the nasty error message in config.log where it belongs
19200 echo "$ZSTD_PKG_ERRORS" >&5
19203 if test "$with_zstd" = yes; then
19204 as_fn_error $? "--with-zstd was given, but pkgconfig/libzstd.pc is not found" "$LINENO" 5
19207 elif test $pkg_failed = untried; then
19208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19209 $as_echo "no" >&6; }
19211 if test "$with_zstd" = yes; then
19212 as_fn_error $? "--with-zstd was given, but pkgconfig/libzstd.pc is not found" "$LINENO" 5
19216 ZSTD_CFLAGS=$pkg_cv_ZSTD_CFLAGS
19217 ZSTD_LIBS=$pkg_cv_ZSTD_LIBS
19218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19219 $as_echo "yes" >&6; }
19222 $as_echo "#define HAVE_ZSTD 1" >>confdefs.h
19230 # target-specific stuff:
19239 elf_list_options=false
19240 elf_shlib_list_options=false
19241 elf_plt_unwind_list_options=false
19242 for targ_alias in `echo $target_alias $enable_targets |
sed 's/,/ /g'`
19244 if test "$targ_alias" = "all"; then
19246 elf_list_options=true
19247 elf_shlib_list_options=true
19248 elf_plt_unwind_list_options=true
19250 # Canonicalize the secondary target names.
19251 result=`$ac_config_sub $targ_alias 2>/dev
/null
`
19252 if test -n "$result"; then
19258 . ${srcdir}/configure.tgt
19260 if test "$targ" = "$target"; then
19264 if test x${enable_64_bit_bfd} = xno; then
19265 . ${srcdir}/../bfd/config.bfd
19268 if test x${enable_64_bit_bfd} = xyes; then
19269 targ_extra_emuls="$targ_extra_emuls $targ64_extra_emuls"
19270 targ_extra_libpath="$targ_extra_libpath $targ64_extra_libpath"
19273 for i in $targ_emul $targ_extra_emuls $targ_extra_libpath; do
19274 case " $all_emuls " in
19277 all_emuls="$all_emuls e${i}.o"
19278 eval result=\$tdir_$i
19279 test -z "$result" && result=$targ_alias
19284 elf_list_options=true
19287 if $GREP "TEMPLATE_NAME=elf" ${srcdir}/emulparams/${i}.sh >/dev/null 2>/dev/null; then
19288 elf_list_options=true
19292 if test "$elf_list_options" = "true"; then
19297 source_sh ${srcdir}/emulparams/${i}.sh
19298 if test x${GENERATE_SHLIB_SCRIPT} = xyes; then
19299 elf_shlib_list_options=true
19301 if test x${PLT_UNWIND} = xyes; then
19302 elf_plt_unwind_list_options=true
19309 for i in $targ_emul $targ_extra_libpath; do
19310 case " $all_libpath " in
19313 if test -z "$all_libpath"; then
19316 all_libpath="$all_libpath ${i}"
19322 for i in $targ_extra_ofiles; do
19323 case " $all_emul_extras " in
19326 all_emul_extras="$all_emul_extras ${i}"
19334 if test x$ac_default_compressed_debug_sections = xyes ; then
19336 $as_echo "#define DEFAULT_FLAG_COMPRESS_DEBUG 1" >>confdefs.h
19341 cat >>confdefs.h <<_ACEOF
19342 #define DEFAULT_COMPRESSED_DEBUG_ALGORITHM $ac_default_compressed_debug_sections_algorithm
19346 if test "${ac_default_new_dtags}" = unset; then
19347 ac_default_new_dtags=0
19350 cat >>confdefs.h <<_ACEOF
19351 #define DEFAULT_NEW_DTAGS $ac_default_new_dtags
19355 if test "${ac_default_ld_z_relro}" = unset; then
19356 ac_default_ld_z_relro=0
19359 cat >>confdefs.h <<_ACEOF
19360 #define DEFAULT_LD_Z_RELRO $ac_default_ld_z_relro
19364 ac_default_ld_textrel_check_warning=0
19365 case "${ac_default_ld_textrel_check}" in
19367 ac_default_ld_textrel_check=textrel_check_none
19370 ac_default_ld_textrel_check=textrel_check_warning
19371 ac_default_ld_textrel_check_warning=1
19374 ac_default_ld_textrel_check=textrel_check_error
19378 cat >>confdefs.h <<_ACEOF
19379 #define DEFAULT_LD_TEXTREL_CHECK $ac_default_ld_textrel_check
19383 cat >>confdefs.h <<_ACEOF
19384 #define DEFAULT_LD_TEXTREL_CHECK_WARNING $ac_default_ld_textrel_check_warning
19388 if test "${ac_default_ld_z_separate_code}" = unset; then
19389 ac_default_ld_z_separate_code=0
19392 cat >>confdefs.h <<_ACEOF
19393 #define DEFAULT_LD_Z_SEPARATE_CODE $ac_default_ld_z_separate_code
19397 if test "${ac_default_ld_rosegment}" = unset; then
19398 ac_default_ld_rosegment=0
19401 cat >>confdefs.h <<_ACEOF
19402 #define DEFAULT_LD_ROSEGMENT $ac_default_ld_rosegment
19406 if test "${ac_default_ld_z_mark_plt}" = unset; then
19407 ac_default_ld_z_mark_plt=0
19410 cat >>confdefs.h <<_ACEOF
19411 #define DEFAULT_LD_Z_MARK_PLT $ac_default_ld_z_mark_plt
19417 cat >>confdefs.h <<_ACEOF
19418 #define DEFAULT_LD_WARN_EXECSTACK $ac_default_ld_warn_execstack
19423 cat >>confdefs.h <<_ACEOF
19424 #define DEFAULT_LD_ERROR_EXECSTACK $ac_default_ld_error_execstack
19428 if test "${ac_default_ld_warn_rwx_segments}" = unset; then
19429 ac_default_ld_warn_rwx_segments=1
19432 cat >>confdefs.h <<_ACEOF
19433 #define DEFAULT_LD_WARN_RWX_SEGMENTS $ac_default_ld_warn_rwx_segments
19438 cat >>confdefs.h <<_ACEOF
19439 #define DEFAULT_LD_ERROR_RWX_SEGMENTS $ac_default_ld_error_rwx_segments
19443 if test "${ac_default_ld_default_execstack}" = unset; then
19444 ac_default_ld_default_execstack=1
19447 cat >>confdefs.h <<_ACEOF
19448 #define DEFAULT_LD_EXECSTACK $ac_default_ld_default_execstack
19453 if test "${ac_support_error_handling_script}" = unset; then
19454 ac_support_error_handling_script=1
19457 cat >>confdefs.h <<_ACEOF
19458 #define SUPPORT_ERROR_HANDLING_SCRIPT $ac_support_error_handling_script
19463 cat >>confdefs.h <<_ACEOF
19464 #define DEFAULT_EMIT_SYSV_HASH $ac_default_emit_sysv_hash
19469 cat >>confdefs.h <<_ACEOF
19470 #define DEFAULT_EMIT_GNU_HASH $ac_default_emit_gnu_hash
19482 if test x${all_targets} = xtrue; then
19483 if test x${enable_64_bit_bfd} = xyes; then
19484 EMULATION_OFILES='$(ALL_EMULATIONS) $(ALL_64_EMULATIONS)'
19485 EMUL_EXTRA_OFILES='$(ALL_EMUL_EXTRA_OFILES) $(ALL_64_EMUL_EXTRA_OFILES)'
19487 EMULATION_OFILES='$(ALL_EMULATIONS)'
19488 EMUL_EXTRA_OFILES='$(ALL_EMUL_EXTRA_OFILES)'
19491 EMULATION_OFILES=$all_emuls
19492 EMUL_EXTRA_OFILES=$all_emul_extras
19498 EMULATION_LIBPATH=$all_libpath
19501 if test x${enable_static} = xno; then
19502 TESTBFDLIB="-Wl,--rpath,../bfd/.libs ../bfd/.libs/libbfd.so"
19503 TESTCTFLIB="-Wl,--rpath,../libctf/.libs ../libctf/.libs/libctf.so"
19504 TESTSFRAMELIB="-Wl,--rpath,../libsframe/.libs ../libsframe/.libs/libsframe.so"
19506 TESTBFDLIB="../bfd/.libs/libbfd.a"
19507 TESTCTFLIB="../libctf/.libs/libctf.a"
19508 TESTSFRAMELIB="../libsframe/.libs/libsframe.a"
19510 if test "${enable_libctf}" = no; then
19517 target_vendor=${target_vendor=$host_vendor}
19518 case "$target_vendor" in
19519 hp) EXTRA_SHLIB_EXTENSION=".sl" ;;
19520 *) EXTRA_SHLIB_EXTENSION= ;;
19523 case "$target_os" in
19524 lynxos) EXTRA_SHLIB_EXTENSION=".a" ;;
19527 if test x${EXTRA_SHLIB_EXTENSION} != x ; then
19529 cat >>confdefs.h <<_ACEOF
19530 #define EXTRA_SHLIB_EXTENSION "$EXTRA_SHLIB_EXTENSION"
19535 ac_config_commands="$ac_config_commands default"
19543 ac_config_files="$ac_config_files Makefile po/Makefile.in:po/Make-in"
19545 cat >confcache <<\_ACEOF
19546 # This file is a shell script that caches the results of configure
19547 # tests run on this system so they can be shared between configure
19548 # scripts and configure runs, see configure's option --config-cache.
19549 # It is not useful on other systems. If it contains results you don't
19550 # want to keep, you may remove or edit it.
19552 # config.status only pays attention to the cache file if you give it
19553 # the --recheck option to rerun configure.
19555 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
19556 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19557 # following values.
19561 # The following way of writing the cache mishandles newlines in values,
19562 # but we know of no workaround that is simple, portable, and efficient.
19563 # So, we kill variables containing newlines.
19564 # Ultrix sh set writes to stderr and can't be redirected directly,
19565 # and sets the high bit in the cache file unless we assign to the vars.
19567 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19568 eval ac_val
=\$
$ac_var
19572 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
19573 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
19576 _ | IFS | as_nl
) ;; #(
19577 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
19578 *) { eval $ac_var=; unset $ac_var;} ;;
19584 case $as_nl`(ac_space=' '; set) 2>&1` in #(
19585 *${as_nl}ac_space
=\
*)
19586 # `set' does not quote correctly, so add quotes: double-quote
19587 # substitution turns \\\\ into \\, and sed turns \\ into \.
19590 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19593 # `set' quotes correctly as required by POSIX, so do not add quotes.
19594 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19603 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19605 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19607 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
19608 if test -w "$cache_file"; then
19609 if test "x$cache_file" != "x/dev/null"; then
19610 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
19611 $as_echo "$as_me: updating cache $cache_file" >&6;}
19612 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
19613 cat confcache
>"$cache_file"
19615 case $cache_file in #(
19617 mv -f confcache
"$cache_file"$$
&&
19618 mv -f "$cache_file"$$
"$cache_file" ;; #(
19620 mv -f confcache
"$cache_file" ;;
19625 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
19626 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19631 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
19632 # Let make expand exec_prefix.
19633 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
19635 DEFS
=-DHAVE_CONFIG_H
19640 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
19641 # 1. Remove the extension, and $U if already installed.
19642 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
19643 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
19644 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
19645 # will be set to the directory where LIBOBJS objects are built.
19646 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19647 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
19649 LIBOBJS
=$ac_libobjs
19651 LTLIBOBJS
=$ac_ltlibobjs
19654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
19655 $as_echo_n "checking that generated files are newer than configure... " >&6; }
19656 if test -n "$am_sleep_pid"; then
19657 # Hide warnings about reused PIDs.
19658 wait $am_sleep_pid 2>/dev
/null
19660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
19661 $as_echo "done" >&6; }
19662 if test -n "$EXEEXT"; then
19664 am__EXEEXT_FALSE
='#'
19666 am__EXEEXT_TRUE
='#'
19670 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
19671 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
19672 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19674 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
19675 as_fn_error $?
"conditional \"AMDEP\" was never defined.
19676 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19678 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
19679 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
19680 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19682 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
19683 as_fn_error $?
"conditional \"am__fastdepCXX\" was never defined.
19684 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19686 if test -z "${ENABLE_BFD_64_BIT_TRUE}" && test -z "${ENABLE_BFD_64_BIT_FALSE}"; then
19687 as_fn_error $?
"conditional \"ENABLE_BFD_64_BIT\" was never defined.
19688 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19690 if test -z "${ENABLE_LIBCTF_TRUE}" && test -z "${ENABLE_LIBCTF_FALSE}"; then
19691 as_fn_error $?
"conditional \"ENABLE_LIBCTF\" was never defined.
19692 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19694 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
19695 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
19696 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19698 if test -z "${GENINSRC_NEVER_TRUE}" && test -z "${GENINSRC_NEVER_FALSE}"; then
19699 as_fn_error $?
"conditional \"GENINSRC_NEVER\" was never defined.
19700 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19703 : "${CONFIG_STATUS=./config.status}"
19705 ac_clean_files_save
=$ac_clean_files
19706 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
19707 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
19708 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
19710 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
19712 # Generated by $as_me.
19713 # Run this file to recreate the current configuration.
19714 # Compiler output produced by configure, useful for debugging
19715 # configure, is in config.log if it exists.
19718 ac_cs_recheck=false
19721 SHELL=\${CONFIG_SHELL-$SHELL}
19724 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
19725 ## -------------------- ##
19726 ## M4sh Initialization. ##
19727 ## -------------------- ##
19729 # Be more Bourne compatible
19730 DUALCASE
=1; export DUALCASE
# for MKS sh
19731 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
19734 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19735 # is contrary to our usage. Disable this feature.
19736 alias -g '${1+"$@"}'='"$@"'
19737 setopt NO_GLOB_SUBST
19739 case `(set -o) 2>/dev/null` in #(
19751 # Printing a long string crashes Solaris 7 /usr/bin/printf.
19752 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
19753 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
19754 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
19755 # Prefer a ksh shell builtin over an external printf program on Solaris,
19756 # but without wasting forks for bash or zsh.
19757 if test -z "$BASH_VERSION$ZSH_VERSION" \
19758 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
19759 as_echo='print
-r --'
19760 as_echo_n='print
-rn --'
19761 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
19762 as_echo='printf %s
\n'
19763 as_echo_n='printf %s
'
19765 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
19766 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
19767 as_echo_n='/usr
/ucb
/echo -n'
19769 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
19770 as_echo_n_body='eval
19774 expr "X$arg" : "X\\(.*\\)$as_nl";
19775 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
19777 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
19779 export as_echo_n_body
19780 as_echo_n='sh
-c $as_echo_n_body as_echo
'
19782 export as_echo_body
19783 as_echo='sh
-c $as_echo_body as_echo
'
19786 # The user is always right.
19787 if test "${PATH_SEPARATOR+set}" != set; then
19789 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
19790 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
19797 # We need space, tab and new line, in precisely that order. Quoting is
19798 # there to prevent editors from complaining about space-tab.
19799 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
19800 # splitting by setting IFS to empty value.)
19803 # Find who we are. Look in the path if we contain no directory separator.
19806 *[\\/]* ) as_myself=$0 ;;
19807 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19808 for as_dir in $PATH
19811 test -z "$as_dir" && as_dir=.
19812 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19818 # We did not find ourselves, most probably we were run as `sh COMMAND'
19819 # in which case we are not to be found in the path.
19820 if test "x$as_myself" = x
; then
19823 if test ! -f "$as_myself"; then
19824 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
19828 # Unset variables that we do not need and which cause bugs (e.g. in
19829 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
19830 # suppresses any "Segmentation fault" message there. '((' could
19831 # trigger a bug in pdksh 5.2.14.
19832 for as_var
in BASH_ENV ENV MAIL MAILPATH
19833 do eval test x\
${$as_var+set} = xset \
19834 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
19847 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
19850 # as_fn_error STATUS ERROR [LINENO LOG_FD]
19851 # ----------------------------------------
19852 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
19853 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
19854 # script with STATUS, using 1 if that was 0.
19857 as_status
=$1; test $as_status -eq 0 && as_status
=1
19859 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
19860 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
19862 $as_echo "$as_me: error: $2" >&2
19863 as_fn_exit
$as_status
19867 # as_fn_set_status STATUS
19868 # -----------------------
19869 # Set $? to STATUS, without forking.
19870 as_fn_set_status
()
19873 } # as_fn_set_status
19875 # as_fn_exit STATUS
19876 # -----------------
19877 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
19881 as_fn_set_status
$1
19887 # Portably unset VAR.
19890 { eval $1=; unset $1;}
19892 as_unset
=as_fn_unset
19893 # as_fn_append VAR VALUE
19894 # ----------------------
19895 # Append the text in VALUE to the end of the definition contained in VAR. Take
19896 # advantage of any shell optimizations that allow amortized linear growth over
19897 # repeated appends, instead of the typical quadratic growth present in naive
19899 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
19900 eval 'as_fn_append ()
19911 # as_fn_arith ARG...
19912 # ------------------
19913 # Perform arithmetic evaluation on the ARGs, and store the result in the
19914 # global $as_val. Take advantage of shells that can avoid forks. The arguments
19915 # must be portable across $(()) and expr.
19916 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
19917 eval 'as_fn_arith ()
19924 as_val
=`expr "$@" || test $? -eq 1`
19929 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
19930 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
19936 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19937 as_basename
=basename
19942 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
19948 as_me
=`$as_basename -- "$0" ||
19949 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19950 X"$0" : 'X\(//\)$' \| \
19951 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19953 sed '/^.*\/\([^/][^/]*\)\/*$/{
19967 # Avoid depending upon Character Ranges.
19968 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
19969 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19970 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
19971 as_cr_digits
='0123456789'
19972 as_cr_alnum
=$as_cr_Letters$as_cr_digits
19974 ECHO_C
= ECHO_N
= ECHO_T
=
19975 case `echo -n x` in #(((((
19977 case `echo 'xy\c'` in
19978 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
19980 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
19987 rm -f conf$$ conf$$.exe conf$$.
file
19988 if test -d conf$$.dir
; then
19989 rm -f conf$$.dir
/conf$$.
file
19992 mkdir conf$$.dir
2>/dev
/null
19994 if (echo >conf$$.
file) 2>/dev
/null
; then
19995 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
19997 # ... but there are two gotchas:
19998 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19999 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
20000 # In both cases, we have to default to `cp -pR'.
20001 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
20003 elif ln conf$$.
file conf$$
2>/dev
/null
; then
20011 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
20012 rmdir conf$$.dir
2>/dev
/null
20017 # Create "$as_dir" as a directory, including parents if necessary.
20022 -*) as_dir
=.
/$as_dir;;
20024 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
20028 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
20029 *) as_qdir
=$as_dir;;
20031 as_dirs
="'$as_qdir' $as_dirs"
20032 as_dir
=`$as_dirname -- "$as_dir" ||
20033 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20034 X"$as_dir" : 'X\(//\)[^/]' \| \
20035 X"$as_dir" : 'X\(//\)$' \| \
20036 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
20037 $as_echo X"$as_dir" |
20038 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20042 /^X\(\/\/\)[^/].*/{
20055 test -d "$as_dir" && break
20057 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
20058 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
20062 if mkdir
-p .
2>/dev
/null
; then
20063 as_mkdir_p
='mkdir -p "$as_dir"'
20065 test -d .
/-p && rmdir .
/-p
20070 # as_fn_executable_p FILE
20071 # -----------------------
20072 # Test if FILE is an executable regular file.
20073 as_fn_executable_p
()
20075 test -f "$1" && test -x "$1"
20076 } # as_fn_executable_p
20077 as_test_x
='test -x'
20078 as_executable_p
=as_fn_executable_p
20080 # Sed expression to map a string onto a valid CPP name.
20081 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20083 # Sed expression to map a string onto a valid variable name.
20084 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20088 ## ----------------------------------- ##
20089 ## Main body of $CONFIG_STATUS script. ##
20090 ## ----------------------------------- ##
20092 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
20094 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20095 # Save the log message, to keep $0 and so on meaningful, and to
20096 # report actual input values of CONFIG_FILES etc. instead of their
20097 # values after options handling.
20099 This file was extended by ld $as_me 2.43.1, which was
20100 generated by GNU Autoconf 2.69. Invocation command line was
20102 CONFIG_FILES = $CONFIG_FILES
20103 CONFIG_HEADERS = $CONFIG_HEADERS
20104 CONFIG_LINKS = $CONFIG_LINKS
20105 CONFIG_COMMANDS = $CONFIG_COMMANDS
20108 on `(hostname || uname -n) 2>/dev/null | sed 1q`
20113 case $ac_config_files in *"
20114 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
20117 case $ac_config_headers in *"
20118 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
20122 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20123 # Files that config.status was made for.
20124 config_files="$ac_config_files"
20125 config_headers="$ac_config_headers"
20126 config_commands="$ac_config_commands"
20130 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20132 \`$as_me' instantiates files and other configuration actions
20133 from templates according to the current configuration. Unless the files
20134 and actions are specified as TAGs, all are instantiated by default.
20136 Usage: $0 [OPTION]... [TAG]...
20138 -h, --help print this help, then exit
20139 -V, --version print version number and configuration settings, then exit
20140 --config print configuration, then exit
20141 -q, --quiet, --silent
20142 do not print progress messages
20143 -d, --debug don't remove temporary files
20144 --recheck update $as_me by reconfiguring in the same conditions
20145 --file=FILE[:TEMPLATE]
20146 instantiate the configuration file FILE
20147 --header=FILE[:TEMPLATE]
20148 instantiate the configuration header FILE
20150 Configuration files:
20153 Configuration headers:
20156 Configuration commands:
20159 Report bugs to the package provider."
20162 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20163 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
20165 ld config.status 2.43.1
20166 configured by $0, generated by GNU Autoconf 2.69,
20167 with options \\"\$ac_cs_config\\"
20169 Copyright (C) 2012 Free Software Foundation, Inc.
20170 This config.status script is free software; the Free Software Foundation
20171 gives unlimited permission to copy, distribute and modify it."
20178 test -n "\$AWK" || AWK=awk
20181 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20182 # The default lists apply if the user does not specify any file.
20188 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
20189 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
20193 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
20205 # Handling of the options.
20206 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
20208 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
20209 $as_echo "$ac_cs_version"; exit ;;
20210 --config |
--confi |
--conf |
--con |
--co |
--c )
20211 $as_echo "$ac_cs_config"; exit ;;
20212 --debug |
--debu |
--deb |
--de |
--d |
-d )
20214 --file |
--fil |
--fi |
--f )
20217 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20218 '') as_fn_error $?
"missing file argument" ;;
20220 as_fn_append CONFIG_FILES
" '$ac_optarg'"
20221 ac_need_defaults
=false
;;
20222 --header |
--heade |
--head |
--hea )
20225 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20227 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
20228 ac_need_defaults
=false
;;
20230 # Conflict between --help and --header
20231 as_fn_error $?
"ambiguous option: \`$1'
20232 Try \`$0 --help' for more information.";;
20233 --help |
--hel |
-h )
20234 $as_echo "$ac_cs_usage"; exit ;;
20235 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
20236 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
20239 # This is an error.
20240 -*) as_fn_error $?
"unrecognized option: \`$1'
20241 Try \`$0 --help' for more information." ;;
20243 *) as_fn_append ac_config_targets
" $1"
20244 ac_need_defaults
=false
;;
20250 ac_configure_extra_args
=
20252 if $ac_cs_silent; then
20254 ac_configure_extra_args
="$ac_configure_extra_args --silent"
20258 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20259 if \$ac_cs_recheck; then
20260 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20262 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
20263 CONFIG_SHELL='$SHELL'
20264 export CONFIG_SHELL
20269 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20273 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20274 ## Running $as_me. ##
20280 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20284 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
20287 # The HP-UX ksh and POSIX shell print the target directory to stdout
20288 # if CDPATH is set.
20289 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
20291 sed_quote_subst='$sed_quote_subst'
20292 double_quote_subst='$double_quote_subst'
20293 delay_variable_subst='$delay_variable_subst'
20294 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
20295 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
20296 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
20297 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
20298 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
20299 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
20300 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
20301 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
20302 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
20303 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
20304 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
20305 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
20306 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
20307 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
20308 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
20309 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
20310 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
20311 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
20312 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
20313 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
20314 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
20315 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
20316 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
20317 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
20318 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
20319 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
20320 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
20321 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
20322 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
20323 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
20324 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
20325 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
20326 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
20327 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
20328 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
20329 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
20330 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
20331 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
20332 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
20333 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
20334 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
20335 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
20336 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
20337 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
20338 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
20339 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
20340 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
20341 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
20342 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"`'
20343 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
20344 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
20345 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
20346 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
20347 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
20348 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
20349 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
20350 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
20351 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
20352 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
20353 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
20354 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
20355 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
20356 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
20357 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
20358 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
20359 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
20360 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
20361 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
20362 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
20363 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
20364 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
20365 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
20366 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
20367 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
20368 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
20369 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
20370 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
20371 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
20372 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
20373 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
20374 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
20375 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
20376 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
20377 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
20378 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
20379 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
20380 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
20381 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
20382 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
20383 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
20384 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
20385 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
20386 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
20387 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
20388 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
20389 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
20390 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
20391 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
20392 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
20393 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
20394 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
20395 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
20396 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
20397 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
20398 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
20399 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
20400 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
20401 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
20402 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
20403 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
20404 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
20405 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
20406 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
20407 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
20408 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
20409 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
20410 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
20411 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
20412 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
20413 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
20414 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
20415 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
20416 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
20417 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
20418 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
20419 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
20420 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
20421 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
20422 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20423 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20424 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
20425 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
20426 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
20427 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
20428 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
20429 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
20430 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
20431 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
20432 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
20433 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
20434 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
20435 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
20436 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20437 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20438 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20439 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20440 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20441 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20442 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
20443 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
20444 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
20445 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
20446 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
20447 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
20448 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
20449 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
20450 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
20451 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
20452 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
20453 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
20454 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
20455 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
20456 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
20457 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20458 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
20459 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
20460 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20461 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
20462 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
20463 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
20464 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
20465 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
20466 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
20467 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
20468 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
20471 LTCFLAGS='$LTCFLAGS'
20472 compiler='$compiler_DEFAULT'
20474 # A function that is used when there is no print builtin or printf.
20475 func_fallback_echo ()
20477 eval 'cat <<_LTECHO_EOF
20482 # Quote evaled strings.
20496 deplibs_check_method \
20505 lt_cv_sys_global_symbol_pipe \
20506 lt_cv_sys_global_symbol_to_cdecl \
20507 lt_cv_sys_global_symbol_to_c_name_address \
20508 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
20509 lt_prog_compiler_no_builtin_flag \
20510 lt_prog_compiler_wl \
20511 lt_prog_compiler_pic \
20512 lt_prog_compiler_static \
20513 lt_cv_prog_compiler_c_o \
20521 export_dynamic_flag_spec \
20522 whole_archive_flag_spec \
20523 compiler_needs_object \
20525 allow_undefined_flag \
20526 no_undefined_flag \
20527 hardcode_libdir_flag_spec \
20528 hardcode_libdir_flag_spec_ld \
20529 hardcode_libdir_separator \
20534 variables_saved_for_relink \
20536 library_names_spec \
20538 install_override_mode \
20542 compiler_lib_search_dirs \
20547 compiler_lib_search_path \
20551 lt_prog_compiler_no_builtin_flag_CXX \
20552 lt_prog_compiler_wl_CXX \
20553 lt_prog_compiler_pic_CXX \
20554 lt_prog_compiler_static_CXX \
20555 lt_cv_prog_compiler_c_o_CXX \
20556 export_dynamic_flag_spec_CXX \
20557 whole_archive_flag_spec_CXX \
20558 compiler_needs_object_CXX \
20560 allow_undefined_flag_CXX \
20561 no_undefined_flag_CXX \
20562 hardcode_libdir_flag_spec_CXX \
20563 hardcode_libdir_flag_spec_ld_CXX \
20564 hardcode_libdir_separator_CXX \
20565 fix_srcfile_path_CXX \
20566 exclude_expsyms_CXX \
20567 include_expsyms_CXX \
20568 file_list_spec_CXX \
20569 compiler_lib_search_dirs_CXX \
20570 predep_objects_CXX \
20571 postdep_objects_CXX \
20574 compiler_lib_search_path_CXX; do
20575 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
20576 *[\\\\\\\`\\"\\\$]*)
20577 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
20580 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20585 # Double-quote double-evaled strings.
20586 for var in reload_cmds \
20587 old_postinstall_cmds \
20588 old_postuninstall_cmds \
20590 extract_expsyms_cmds \
20591 old_archive_from_new_cmds \
20592 old_archive_from_expsyms_cmds \
20594 archive_expsym_cmds \
20596 module_expsym_cmds \
20597 export_symbols_cmds \
20600 postuninstall_cmds \
20602 sys_lib_search_path_spec \
20603 sys_lib_dlsearch_path_spec \
20605 old_archive_cmds_CXX \
20606 old_archive_from_new_cmds_CXX \
20607 old_archive_from_expsyms_cmds_CXX \
20609 archive_expsym_cmds_CXX \
20611 module_expsym_cmds_CXX \
20612 export_symbols_cmds_CXX \
20613 prelink_cmds_CXX; do
20614 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
20615 *[\\\\\\\`\\"\\\$]*)
20616 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
20619 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20624 ac_aux_dir='$ac_aux_dir'
20625 xsi_shell='$xsi_shell'
20626 lt_shell_append='$lt_shell_append'
20628 # See if we are running on zsh, and set the options which allow our
20629 # commands through without removal of \ escapes INIT.
20630 if test -n "\${ZSH_VERSION+set}" ; then
20631 setopt NO_GLOB_SUBST
20637 TIMESTAMP='$TIMESTAMP'
20645 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
20646 # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
20648 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
20649 # Capture the value of LINGUAS because we need it to compute CATALOGS.
20650 LINGUAS="${LINGUAS-%UNSET%}"
20652 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
20653 # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
20655 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
20656 # Capture the value of LINGUAS because we need it to compute CATALOGS.
20657 LINGUAS="${LINGUAS-%UNSET%}"
20663 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20665 # Handling of arguments.
20666 for ac_config_target
in $ac_config_targets
20668 case $ac_config_target in
20669 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
20670 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
20671 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
20672 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
20673 "default-2") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-2" ;;
20674 "default") CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
20675 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
20676 "po/Makefile.in") CONFIG_FILES
="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
20678 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
20683 # If the user did not use the arguments to specify the items to instantiate,
20684 # then the envvar interface is used. Set only those that are not.
20685 # We use the long form for the default assignment because of an extremely
20686 # bizarre bug on SunOS 4.1.3.
20687 if $ac_need_defaults; then
20688 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
20689 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
20690 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
20693 # Have a temporary directory for convenience. Make it in the build tree
20694 # simply because there is no reason against having it here, and in addition,
20695 # creating and moving files from /tmp can sometimes cause problems.
20696 # Hook for its removal unless debugging.
20697 # Note that there is a small window in which the directory will not be cleaned:
20698 # after its creation but before its name has been assigned to `$tmp'.
20702 trap 'exit_status=$?
20703 : "${ac_tmp:=$tmp}"
20704 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
20706 trap 'as_fn_exit 1' 1 2 13 15
20708 # Create a (secure) tmp directory for tmp files.
20711 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20715 tmp
=.
/conf$$
-$RANDOM
20716 (umask 077 && mkdir
"$tmp")
20717 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
20720 # Set up the scripts for CONFIG_FILES section.
20721 # No need to generate them if there are no CONFIG_FILES.
20722 # This happens for instance with `./config.status config.h'.
20723 if test -n "$CONFIG_FILES"; then
20726 ac_cr
=`echo X | tr X '\015'`
20727 # On cygwin, bash can eat \r inside `` if the user requested igncr.
20728 # But we know of no other shell where ac_cr would be empty at this
20729 # point, so we can use a bashism as a fallback.
20730 if test "x$ac_cr" = x
; then
20731 eval ac_cr
=\$
\'\\r
\'
20733 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
20734 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
20737 ac_cs_awk_cr
=$ac_cr
20740 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
20745 echo "cat >conf$$subs.awk <<_ACEOF" &&
20746 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
20748 } >conf$$subs.sh ||
20749 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
20750 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
20752 for ac_last_try in false false false false false :; do
20753 . ./conf$$subs.sh ||
20754 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
20756 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
20757 if test $ac_delim_n = $ac_delim_num; then
20759 elif $ac_last_try; then
20760 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
20762 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
20765 rm -f conf$$subs.sh
20767 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20768 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
20772 s/^/S["/; s
/!.
*/"]=/
20782 s/\(.\{148\}\)..*/\1/
20784 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
20789 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
20796 s/\(.\{148\}\)..*/\1/
20798 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
20802 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
20807 ' <conf$$subs.awk | sed '
20812 ' >>$CONFIG_STATUS || ac_write_fail=1
20813 rm -f conf$$subs.awk
20814 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20816 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
20817 for (key in S) S_is_set[key] = 1
20823 nfields = split(line, field, "@
")
20825 len = length(field[1])
20826 for (i = 2; i < nfields; i++) {
20828 keylen = length(key)
20829 if (S_is_set[key]) {
20831 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
20832 len += length(value) + length(field[++i])
20843 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20844 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
20845 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
20848 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
20849 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
20852 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
20853 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
20854 # trailing colons and then remove the whole line if VPATH becomes empty
20855 # (actually we leave an empty line to preserve line numbers).
20856 if test "x
$srcdir" = x.; then
20857 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
20875 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20876 fi # test -n "$CONFIG_FILES"
20878 # Set up the scripts for CONFIG_HEADERS section.
20879 # No need to generate them if there are no CONFIG_HEADERS.
20880 # This happens for instance with `./config.status Makefile'.
20881 if test -n "$CONFIG_HEADERS"; then
20882 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
20886 # Transform confdefs.h into an awk script `defines.awk', embedded as
20887 # here-document in config.status, that substitutes the proper values into
20888 # config.h.in to produce config.h.
20890 # Create a delimiter string that does not exist in confdefs.h, to ease
20891 # handling of long lines.
20893 for ac_last_try in false false :; do
20894 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
20895 if test -z "$ac_tt"; then
20897 elif $ac_last_try; then
20898 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
20900 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
20904 # For the awk script, D is an array of macro values keyed by name,
20905 # likewise P contains macro parameters if any. Preserve backslash
20906 # newline sequences.
20908 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
20910 s/.\{148\}/&'"$ac_delim"'/g
20913 s/^[ ]*#[ ]*define[ ][ ]*/ /
20920 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
20922 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
20926 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
20927 D["\
1"]=" \
3\\\\\\n
"\\/p
20929 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
20934 s/.\{148\}/&'"$ac_delim"'/g
20939 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
20942 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
20944 ' <confdefs.h | sed '
20945 s/'"$ac_delim"'/"\\\
20946 "/g' >>$CONFIG_STATUS || ac_write_fail=1
20948 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20949 for (key in D) D_is_set[key] = 1
20952 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
20954 split(line, arg, " ")
20955 if (arg[1] == "#") {
20959 defundef
= substr
(arg
[1], 2)
20962 split(mac1
, mac2
, "(") #)
20964 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
20965 if (D_is_set
[macro
]) {
20966 # Preserve the white space surrounding the "#".
20967 print prefix
"define", macro P
[macro
] D
[macro
]
20970 # Replace #undef with comments. This is necessary, for example,
20971 # in the case of _POSIX_SOURCE, which is predefined and required
20972 # on some systems where configure will not decide to define it.
20973 if (defundef
== "undef") {
20974 print
"/*", prefix defundef
, macro
, "*/"
20982 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20983 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
20984 fi # test -n "$CONFIG_HEADERS"
20987 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
20992 :[FHLC
]) ac_mode
=$ac_tag; continue;;
20994 case $ac_mode$ac_tag in
20996 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
20997 :[FH
]-) ac_tag
=-:-;;
20998 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
21015 -) ac_f
="$ac_tmp/stdin";;
21016 *) # Look for the file first in the build tree, then in the source tree
21017 # (if the path is not absolute). The absolute path cannot be DOS-style,
21018 # because $ac_f cannot contain `:'.
21022 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
21024 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
21026 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
21027 as_fn_append ac_file_inputs
" '$ac_f'"
21030 # Let's still pretend it is `configure' which instantiates (i.e., don't
21031 # use $as_me), people would be surprised to read:
21032 # /* config.h. Generated by config.status. */
21033 configure_input
='Generated from '`
21034 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
21036 if test x
"$ac_file" != x-
; then
21037 configure_input
="$ac_file. $configure_input"
21038 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
21039 $as_echo "$as_me: creating $ac_file" >&6;}
21041 # Neutralize special characters interpreted by sed in replacement strings.
21042 case $configure_input in #(
21043 *\
&* |
*\|
* |
*\\* )
21044 ac_sed_conf_input
=`$as_echo "$configure_input" |
21045 sed 's/[\\\\&|]/\\\\&/g'`;; #(
21046 *) ac_sed_conf_input
=$configure_input;;
21050 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
21051 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
21056 ac_dir
=`$as_dirname -- "$ac_file" ||
21057 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21058 X"$ac_file" : 'X\(//\)[^/]' \| \
21059 X"$ac_file" : 'X\(//\)$' \| \
21060 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
21061 $as_echo X"$ac_file" |
21062 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21066 /^X\(\/\/\)[^/].*/{
21079 as_dir
="$ac_dir"; as_fn_mkdir_p
21083 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
21085 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
21086 # A ".." for each directory in $ac_dir_suffix.
21087 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
21088 case $ac_top_builddir_sub in
21089 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
21090 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
21093 ac_abs_top_builddir
=$ac_pwd
21094 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
21095 # for backward compatibility:
21096 ac_top_builddir
=$ac_top_build_prefix
21099 .
) # We are building in place.
21101 ac_top_srcdir
=$ac_top_builddir_sub
21102 ac_abs_top_srcdir
=$ac_pwd ;;
21103 [\\/]* | ?
:[\\/]* ) # Absolute name.
21104 ac_srcdir
=$srcdir$ac_dir_suffix;
21105 ac_top_srcdir
=$srcdir
21106 ac_abs_top_srcdir
=$srcdir ;;
21107 *) # Relative name.
21108 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
21109 ac_top_srcdir
=$ac_top_build_prefix$srcdir
21110 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
21112 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
21122 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
21123 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
21125 ac_MKDIR_P
=$MKDIR_P
21127 [\\/$
]* | ?
:[\\/]* ) ;;
21128 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
21132 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
21133 # If the template does not know about datarootdir, expand it.
21134 # FIXME: This hack should be removed a few years after 2.60.
21135 ac_datarootdir_hack
=; ac_datarootdir_seen
=
21146 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
21147 *datarootdir
*) ac_datarootdir_seen
=yes;;
21148 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
21149 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
21150 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
21152 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21153 ac_datarootdir_hack='
21154 s&@datadir@&$datadir&g
21155 s&@docdir@&$docdir&g
21156 s&@infodir@&$infodir&g
21157 s&@localedir@&$localedir&g
21158 s&@mandir@&$mandir&g
21159 s&\\\${datarootdir}&$datarootdir&g' ;;
21163 # Neutralize VPATH when `$srcdir' = `.'.
21164 # Shell code in configure.ac might set extrasub.
21165 # FIXME: do we really want to maintain this feature?
21166 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21167 ac_sed_extra="$ac_vpsub
21170 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
21172 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
21173 s|@configure_input@|
$ac_sed_conf_input|
;t t
21174 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
21175 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
21176 s
&@srcdir@
&$ac_srcdir&;t t
21177 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
21178 s
&@top_srcdir@
&$ac_top_srcdir&;t t
21179 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
21180 s
&@builddir@
&$ac_builddir&;t t
21181 s
&@abs_builddir@
&$ac_abs_builddir&;t t
21182 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
21183 s
&@INSTALL@
&$ac_INSTALL&;t t
21184 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
21185 $ac_datarootdir_hack
21187 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
21188 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
21190 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
21191 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
21192 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
21193 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
21194 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
21195 which seems to be undefined. Please make sure it is defined" >&5
21196 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
21197 which seems to be undefined. Please make sure it is defined" >&2;}
21199 rm -f "$ac_tmp/stdin"
21201 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
21202 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
21204 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21210 if test x"$ac_file" != x-; then
21212 $as_echo "/* $configure_input */" \
21213 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
21214 } >"$ac_tmp/config.h" \
21215 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21216 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
21217 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
21218 $as_echo "$as_me: $ac_file is unchanged" >&6;}
21221 mv "$ac_tmp/config.h" "$ac_file" \
21222 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21225 $as_echo "/* $configure_input */" \
21226 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
21227 || as_fn_error $? "could not create -" "$LINENO" 5
21229 # Compute "$ac_file"'s index
in $config_headers.
21232 for _am_header
in $config_headers :; do
21233 case $_am_header in
21234 $_am_arg |
$_am_arg:* )
21237 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
21240 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
21241 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21242 X"$_am_arg" : 'X\(//\)[^/]' \| \
21243 X"$_am_arg" : 'X\(//\)$' \| \
21244 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
21245 $as_echo X"$_am_arg" |
21246 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21250 /^X\(\/\/\)[^/].*/{
21262 s/.*/./; q'`/stamp-h
$_am_stamp_count
21265 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
21266 $as_echo "$as_me: executing $ac_file commands" >&6;}
21271 case $ac_file$ac_mode in
21272 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
21273 # Older Autoconf quotes --file arguments for eval, but not when files
21274 # are listed without --file. Let's play safe and only enable the eval
21275 # if we detect the quoting.
21276 case $CONFIG_FILES in
21277 *\'*) eval set x
"$CONFIG_FILES" ;;
21278 *) set x
$CONFIG_FILES ;;
21283 # Strip MF so we end up with the name of the file.
21284 mf
=`echo "$mf" | sed -e 's/:.*$//'`
21285 # Check whether this is an Automake generated Makefile or not.
21286 # We used to match only the files named 'Makefile.in', but
21287 # some people rename them; so instead we look at the file content.
21288 # Grep'ing the first line is not enough: some people post-process
21289 # each Makefile.in and add a new line on top of each file to say so.
21290 # Grep'ing the whole file is not good either: AIX grep has a line
21291 # limit of 2048, but all sed's we know have understand at least 4000.
21292 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
21293 dirpart
=`$as_dirname -- "$mf" ||
21294 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21295 X"$mf" : 'X\(//\)[^/]' \| \
21296 X"$mf" : 'X\(//\)$' \| \
21297 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
21299 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21303 /^X\(\/\/\)[^/].*/{
21319 # Extract the definition of DEPDIR, am__include, and am__quote
21320 # from the Makefile without running 'make'.
21321 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
21322 test -z "$DEPDIR" && continue
21323 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
21324 test -z "$am__include" && continue
21325 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
21326 # Find all dependency output files, they are included files with
21327 # $(DEPDIR) in their names. We invoke sed twice because it is the
21328 # simplest approach to changing $(DEPDIR) to its actual value in the
21330 for file in `sed -n "
21331 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
21332 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
21333 # Make sure the directory exists.
21334 test -f "$dirpart/$file" && continue
21335 fdir
=`$as_dirname -- "$file" ||
21336 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21337 X"$file" : 'X\(//\)[^/]' \| \
21338 X"$file" : 'X\(//\)$' \| \
21339 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
21340 $as_echo X"$file" |
21341 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21345 /^X\(\/\/\)[^/].*/{
21358 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
21359 # echo "creating $dirpart/$file"
21360 echo '# dummy' > "$dirpart/$file"
21367 # See if we are running on zsh, and set the options which allow our
21368 # commands through without removal of \ escapes.
21369 if test -n "${ZSH_VERSION+set}" ; then
21370 setopt NO_GLOB_SUBST
21373 cfgfile
="${ofile}T"
21374 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
21377 cat <<_LT_EOF >> "$cfgfile"
21380 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
21381 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
21382 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
21383 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
21385 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
21386 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
21387 # Written by Gordon Matzigkeit, 1996
21389 # This file is part of GNU Libtool.
21391 # GNU Libtool is free software; you can redistribute it and/or
21392 # modify it under the terms of the GNU General Public License as
21393 # published by the Free Software Foundation; either version 2 of
21394 # the License, or (at your option) any later version.
21396 # As a special exception to the GNU General Public License,
21397 # if you distribute this file as part of a program or library that
21398 # is built using GNU Libtool, you may include this file under the
21399 # same distribution terms that you use for the rest of that program.
21401 # GNU Libtool is distributed in the hope that it will be useful,
21402 # but WITHOUT ANY WARRANTY; without even the implied warranty of
21403 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21404 # GNU General Public License for more details.
21406 # You should have received a copy of the GNU General Public License
21407 # along with GNU Libtool; see the file COPYING. If not, a copy
21408 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
21409 # obtained by writing to the Free Software Foundation, Inc.,
21410 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
21413 # The names of the tagged configurations supported by this script.
21414 available_tags="CXX "
21416 # ### BEGIN LIBTOOL CONFIG
21418 # Which release of libtool.m4 was used?
21419 macro_version=$macro_version
21420 macro_revision=$macro_revision
21422 # Whether or not to build shared libraries.
21423 build_libtool_libs=$enable_shared
21425 # Whether or not to build static libraries.
21426 build_old_libs=$enable_static
21428 # What type of objects to build.
21431 # Whether or not to optimize for fast installation.
21432 fast_install=$enable_fast_install
21434 # Shell to use when invoking shell scripts.
21437 # An echo program that protects backslashes.
21441 host_alias=$host_alias
21445 # The build system.
21446 build_alias=$build_alias
21450 # A sed program that does not truncate output.
21453 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
21454 Xsed="\$SED -e 1s/^X//"
21456 # A grep program that handles long lines.
21462 # A literal string matcher.
21465 # A BSD- or MS-compatible name lister.
21468 # Whether we need soft or hard links.
21471 # What is the maximum length of a command?
21472 max_cmd_len=$max_cmd_len
21474 # Object file suffix (normally "o").
21477 # Executable file suffix (normally "").
21480 # whether the shell understands "unset".
21483 # turn spaces into newlines.
21486 # turn newlines into spaces.
21489 # An object symbol dumper.
21490 OBJDUMP=$lt_OBJDUMP
21492 # Method to check whether dependent libraries are shared objects.
21493 deplibs_check_method=$lt_deplibs_check_method
21495 # Command to use when deplibs_check_method == "file_magic".
21496 file_magic_cmd=$lt_file_magic_cmd
21500 AR_FLAGS=$lt_AR_FLAGS
21502 # A symbol stripping program.
21505 # Commands used to install an old-style archive.
21507 old_postinstall_cmds=$lt_old_postinstall_cmds
21508 old_postuninstall_cmds=$lt_old_postuninstall_cmds
21510 # Whether to use a lock for old archive extraction.
21511 lock_old_archive_extraction=$lock_old_archive_extraction
21516 # LTCC compiler flags.
21517 LTCFLAGS=$lt_CFLAGS
21519 # Take the output of nm and produce a listing of raw symbols and C names.
21520 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
21522 # Transform the output of nm in a proper C declaration.
21523 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
21525 # Transform the output of nm in a C name address pair.
21526 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
21528 # Transform the output of nm in a C name address pair when lib prefix is needed.
21529 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
21531 # The name of the directory that contains temporary libtool files.
21534 # Used to examine libraries when file_magic_cmd begins with "file".
21535 MAGIC_CMD=$MAGIC_CMD
21537 # Must we lock files when doing compilation?
21538 need_locks=$lt_need_locks
21540 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
21541 DSYMUTIL=$lt_DSYMUTIL
21543 # Tool to change global to local symbols on Mac OS X.
21546 # Tool to manipulate fat objects and archives on Mac OS X.
21549 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
21552 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
21553 OTOOL64=$lt_OTOOL64
21555 # Old archive suffix (normally "a").
21558 # Shared library suffix (normally ".so").
21559 shrext_cmds=$lt_shrext_cmds
21561 # The commands to extract the exported symbol list from a shared archive.
21562 extract_expsyms_cmds=$lt_extract_expsyms_cmds
21564 # Variables whose values should be saved in libtool wrapper scripts and
21565 # restored at link time.
21566 variables_saved_for_relink=$lt_variables_saved_for_relink
21568 # Do we need the "lib" prefix for modules?
21569 need_lib_prefix=$need_lib_prefix
21571 # Do we need a version for libraries?
21572 need_version=$need_version
21574 # Library versioning type.
21575 version_type=$version_type
21577 # Shared library runtime path variable.
21578 runpath_var=$runpath_var
21580 # Shared library path variable.
21581 shlibpath_var=$shlibpath_var
21583 # Is shlibpath searched before the hard-coded library search path?
21584 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
21586 # Format of library name prefix.
21587 libname_spec=$lt_libname_spec
21589 # List of archive names. First name is the real one, the rest are links.
21590 # The last name is the one that the linker finds with -lNAME
21591 library_names_spec=$lt_library_names_spec
21593 # The coded name of the library, if different from the real name.
21594 soname_spec=$lt_soname_spec
21596 # Permission mode override for installation of shared libraries.
21597 install_override_mode=$lt_install_override_mode
21599 # Command to use after installation of a shared archive.
21600 postinstall_cmds=$lt_postinstall_cmds
21602 # Command to use after uninstallation of a shared archive.
21603 postuninstall_cmds=$lt_postuninstall_cmds
21605 # Commands used to finish a libtool library installation in a directory.
21606 finish_cmds=$lt_finish_cmds
21608 # As "finish_cmds", except a single script fragment to be evaled but
21610 finish_eval=$lt_finish_eval
21612 # Whether we should hardcode library paths into libraries.
21613 hardcode_into_libs=$hardcode_into_libs
21615 # Compile-time system search path for libraries.
21616 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
21618 # Run-time system search path for libraries.
21619 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
21621 # Whether dlopen is supported.
21622 dlopen_support=$enable_dlopen
21624 # Whether dlopen of programs is supported.
21625 dlopen_self=$enable_dlopen_self
21627 # Whether dlopen of statically linked programs is supported.
21628 dlopen_self_static=$enable_dlopen_self_static
21630 # Commands to strip libraries.
21631 old_striplib=$lt_old_striplib
21632 striplib=$lt_striplib
21635 # The linker used to build libraries.
21638 # How to create reloadable object files.
21639 reload_flag=$lt_reload_flag
21640 reload_cmds=$lt_reload_cmds
21642 # Commands used to build an old-style archive.
21643 old_archive_cmds=$lt_old_archive_cmds
21645 # A language specific compiler.
21648 # Is the compiler the GNU compiler?
21651 # Compiler flag to turn off builtin functions.
21652 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
21654 # How to pass a linker flag through the compiler.
21655 wl=$lt_lt_prog_compiler_wl
21657 # Additional compiler flags for building library objects.
21658 pic_flag=$lt_lt_prog_compiler_pic
21660 # Compiler flag to prevent dynamic linking.
21661 link_static_flag=$lt_lt_prog_compiler_static
21663 # Does compiler simultaneously support -c and -o options?
21664 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
21666 # Whether or not to add -lc for building shared libraries.
21667 build_libtool_need_lc=$archive_cmds_need_lc
21669 # Whether or not to disallow shared libs when runtime libs are static.
21670 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
21672 # Compiler flag to allow reflexive dlopens.
21673 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
21675 # Compiler flag to generate shared objects directly from archives.
21676 whole_archive_flag_spec=$lt_whole_archive_flag_spec
21678 # Whether the compiler copes with passing no objects directly.
21679 compiler_needs_object=$lt_compiler_needs_object
21681 # Create an old-style archive from a shared archive.
21682 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
21684 # Create a temporary old-style archive to link instead of a shared archive.
21685 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
21687 # Commands used to build a shared archive.
21688 archive_cmds=$lt_archive_cmds
21689 archive_expsym_cmds=$lt_archive_expsym_cmds
21691 # Commands used to build a loadable module if different from building
21692 # a shared archive.
21693 module_cmds=$lt_module_cmds
21694 module_expsym_cmds=$lt_module_expsym_cmds
21696 # Whether we are building with GNU ld or not.
21697 with_gnu_ld=$lt_with_gnu_ld
21699 # Flag that allows shared libraries with undefined symbols to be built.
21700 allow_undefined_flag=$lt_allow_undefined_flag
21702 # Flag that enforces no undefined symbols.
21703 no_undefined_flag=$lt_no_undefined_flag
21705 # Flag to hardcode \$libdir into a binary during linking.
21706 # This must work even if \$libdir does not exist
21707 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
21709 # If ld is used when linking, flag to hardcode \$libdir into a binary
21710 # during linking. This must work even if \$libdir does not exist.
21711 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
21713 # Whether we need a single "-rpath" flag with a separated argument.
21714 hardcode_libdir_separator=$lt_hardcode_libdir_separator
21716 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21717 # DIR into the resulting binary.
21718 hardcode_direct=$hardcode_direct
21720 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21721 # DIR into the resulting binary and the resulting library dependency is
21722 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
21723 # library is relocated.
21724 hardcode_direct_absolute=$hardcode_direct_absolute
21726 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
21727 # into the resulting binary.
21728 hardcode_minus_L=$hardcode_minus_L
21730 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
21731 # into the resulting binary.
21732 hardcode_shlibpath_var=$hardcode_shlibpath_var
21734 # Set to "yes" if building a shared library automatically hardcodes DIR
21735 # into the library and all subsequent libraries and executables linked
21737 hardcode_automatic=$hardcode_automatic
21739 # Set to yes if linker adds runtime paths of dependent libraries
21740 # to runtime path list.
21741 inherit_rpath=$inherit_rpath
21743 # Whether libtool must link a program against all its dependency libraries.
21744 link_all_deplibs=$link_all_deplibs
21746 # Fix the shell variable \$srcfile for the compiler.
21747 fix_srcfile_path=$lt_fix_srcfile_path
21749 # Set to "yes" if exported symbols are required.
21750 always_export_symbols=$always_export_symbols
21752 # The commands to list exported symbols.
21753 export_symbols_cmds=$lt_export_symbols_cmds
21755 # Symbols that should not be listed in the preloaded symbols.
21756 exclude_expsyms=$lt_exclude_expsyms
21758 # Symbols that must always be exported.
21759 include_expsyms=$lt_include_expsyms
21761 # Commands necessary for linking programs (against libraries) with templates.
21762 prelink_cmds=$lt_prelink_cmds
21764 # Specify filename containing input files.
21765 file_list_spec=$lt_file_list_spec
21767 # How to hardcode a shared library path into an executable.
21768 hardcode_action=$hardcode_action
21770 # The directories searched by this compiler when creating a shared library.
21771 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
21773 # Dependencies to place before and after the objects being linked to
21774 # create a shared library.
21775 predep_objects=$lt_predep_objects
21776 postdep_objects=$lt_postdep_objects
21777 predeps=$lt_predeps
21778 postdeps=$lt_postdeps
21780 # The library search path used internally by the compiler when linking
21781 # a shared library.
21782 compiler_lib_search_path=$lt_compiler_lib_search_path
21784 # ### END LIBTOOL CONFIG
21790 cat <<\_LT_EOF
>> "$cfgfile"
21791 # AIX sometimes has problems with the GCC collect2 program. For some
21792 # reason, if we set the COLLECT_NAMES environment variable, the problems
21793 # vanish in a puff of smoke.
21794 if test "X${COLLECT_NAMES+set}" != Xset
; then
21796 export COLLECT_NAMES
21803 ltmain
="$ac_aux_dir/ltmain.sh"
21806 # We use sed instead of cat because bash on DJGPP gets confused if
21807 # if finds mixed CR/LF and LF-only lines. Since sed operates in
21808 # text mode, it properly converts lines to CR/LF. This bash problem
21809 # is reportedly fixed, but why not run on old versions too?
21810 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
21811 ||
(rm -f "$cfgfile"; exit 1)
21815 cat << \_LT_EOF
>> "$cfgfile"
21817 # func_dirname file append nondir_replacement
21818 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
21819 # otherwise set result to NONDIR_REPLACEMENT.
21823 */*) func_dirname_result
="${1%/*}${2}" ;;
21824 * ) func_dirname_result
="${3}" ;;
21828 # func_basename file
21831 func_basename_result
="${1##*/}"
21834 # func_dirname_and_basename file append nondir_replacement
21835 # perform func_basename and func_dirname in a single function
21837 # dirname: Compute the dirname of FILE. If nonempty,
21838 # add APPEND to the result, otherwise set result
21839 # to NONDIR_REPLACEMENT.
21840 # value returned in "$func_dirname_result"
21841 # basename: Compute filename of FILE.
21842 # value retuned in "$func_basename_result"
21843 # Implementation must be kept synchronized with func_dirname
21844 # and func_basename. For efficiency, we do not delegate to
21845 # those functions but instead duplicate the functionality here.
21846 func_dirname_and_basename
()
21849 */*) func_dirname_result
="${1%/*}${2}" ;;
21850 * ) func_dirname_result
="${3}" ;;
21852 func_basename_result
="${1##*/}"
21855 # func_stripname prefix suffix name
21856 # strip PREFIX and SUFFIX off of NAME.
21857 # PREFIX and SUFFIX must not contain globbing or regex special
21858 # characters, hashes, percent signs, but SUFFIX may contain a leading
21859 # dot (in which case that matches only a dot).
21862 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
21863 # positional parameters, so assign one to ordinary parameter first.
21864 func_stripname_result
=${3}
21865 func_stripname_result
=${func_stripname_result#"${1}"}
21866 func_stripname_result
=${func_stripname_result%"${2}"}
21872 func_opt_split_opt
=${1%%=*}
21873 func_opt_split_arg
=${1#*=}
21880 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
21881 *) func_lo2o_result
=${1} ;;
21885 # func_xform libobj-or-source
21888 func_xform_result
=${1%.*}.lo
21891 # func_arith arithmetic-term...
21894 func_arith_result
=$
(( $
* ))
21898 # STRING may not start with a hyphen.
21901 func_len_result
=${#1}
21906 *) # Bourne compatible functions.
21907 cat << \_LT_EOF
>> "$cfgfile"
21909 # func_dirname file append nondir_replacement
21910 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
21911 # otherwise set result to NONDIR_REPLACEMENT.
21914 # Extract subdirectory from the argument.
21915 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
21916 if test "X$func_dirname_result" = "X${1}"; then
21917 func_dirname_result
="${3}"
21919 func_dirname_result
="$func_dirname_result${2}"
21923 # func_basename file
21926 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
21930 # func_stripname prefix suffix name
21931 # strip PREFIX and SUFFIX off of NAME.
21932 # PREFIX and SUFFIX must not contain globbing or regex special
21933 # characters, hashes, percent signs, but SUFFIX may contain a leading
21934 # dot (in which case that matches only a dot).
21935 # func_strip_suffix prefix name
21939 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
21940 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
21945 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
21946 my_sed_long_arg
='1s/^-[^=]*=//'
21951 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
21952 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
21958 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
21961 # func_xform libobj-or-source
21964 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
21967 # func_arith arithmetic-term...
21970 func_arith_result
=`expr "$@"`
21974 # STRING may not start with a hyphen.
21977 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
21983 case $lt_shell_append in
21985 cat << \_LT_EOF
>> "$cfgfile"
21987 # func_append var value
21988 # Append VALUE to the end of shell variable VAR.
21996 cat << \_LT_EOF
>> "$cfgfile"
21998 # func_append var value
21999 # Append VALUE to the end of shell variable VAR.
22010 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
22011 ||
(rm -f "$cfgfile"; exit 1)
22013 mv -f "$cfgfile" "$ofile" ||
22014 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
22018 cat <<_LT_EOF >> "$ofile"
22020 # ### BEGIN LIBTOOL TAG CONFIG: CXX
22022 # The linker used to build libraries.
22025 # How to create reloadable object files.
22026 reload_flag=$lt_reload_flag_CXX
22027 reload_cmds=$lt_reload_cmds_CXX
22029 # Commands used to build an old-style archive.
22030 old_archive_cmds=$lt_old_archive_cmds_CXX
22032 # A language specific compiler.
22033 CC=$lt_compiler_CXX
22035 # Is the compiler the GNU compiler?
22038 # Compiler flag to turn off builtin functions.
22039 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
22041 # How to pass a linker flag through the compiler.
22042 wl=$lt_lt_prog_compiler_wl_CXX
22044 # Additional compiler flags for building library objects.
22045 pic_flag=$lt_lt_prog_compiler_pic_CXX
22047 # Compiler flag to prevent dynamic linking.
22048 link_static_flag=$lt_lt_prog_compiler_static_CXX
22050 # Does compiler simultaneously support -c and -o options?
22051 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
22053 # Whether or not to add -lc for building shared libraries.
22054 build_libtool_need_lc=$archive_cmds_need_lc_CXX
22056 # Whether or not to disallow shared libs when runtime libs are static.
22057 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
22059 # Compiler flag to allow reflexive dlopens.
22060 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
22062 # Compiler flag to generate shared objects directly from archives.
22063 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
22065 # Whether the compiler copes with passing no objects directly.
22066 compiler_needs_object=$lt_compiler_needs_object_CXX
22068 # Create an old-style archive from a shared archive.
22069 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
22071 # Create a temporary old-style archive to link instead of a shared archive.
22072 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
22074 # Commands used to build a shared archive.
22075 archive_cmds=$lt_archive_cmds_CXX
22076 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
22078 # Commands used to build a loadable module if different from building
22079 # a shared archive.
22080 module_cmds=$lt_module_cmds_CXX
22081 module_expsym_cmds=$lt_module_expsym_cmds_CXX
22083 # Whether we are building with GNU ld or not.
22084 with_gnu_ld=$lt_with_gnu_ld_CXX
22086 # Flag that allows shared libraries with undefined symbols to be built.
22087 allow_undefined_flag=$lt_allow_undefined_flag_CXX
22089 # Flag that enforces no undefined symbols.
22090 no_undefined_flag=$lt_no_undefined_flag_CXX
22092 # Flag to hardcode \$libdir into a binary during linking.
22093 # This must work even if \$libdir does not exist
22094 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
22096 # If ld is used when linking, flag to hardcode \$libdir into a binary
22097 # during linking. This must work even if \$libdir does not exist.
22098 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
22100 # Whether we need a single "-rpath" flag with a separated argument.
22101 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
22103 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
22104 # DIR into the resulting binary.
22105 hardcode_direct=$hardcode_direct_CXX
22107 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
22108 # DIR into the resulting binary and the resulting library dependency is
22109 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
22110 # library is relocated.
22111 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
22113 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
22114 # into the resulting binary.
22115 hardcode_minus_L=$hardcode_minus_L_CXX
22117 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
22118 # into the resulting binary.
22119 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
22121 # Set to "yes" if building a shared library automatically hardcodes DIR
22122 # into the library and all subsequent libraries and executables linked
22124 hardcode_automatic=$hardcode_automatic_CXX
22126 # Set to yes if linker adds runtime paths of dependent libraries
22127 # to runtime path list.
22128 inherit_rpath=$inherit_rpath_CXX
22130 # Whether libtool must link a program against all its dependency libraries.
22131 link_all_deplibs=$link_all_deplibs_CXX
22133 # Fix the shell variable \$srcfile for the compiler.
22134 fix_srcfile_path=$lt_fix_srcfile_path_CXX
22136 # Set to "yes" if exported symbols are required.
22137 always_export_symbols=$always_export_symbols_CXX
22139 # The commands to list exported symbols.
22140 export_symbols_cmds=$lt_export_symbols_cmds_CXX
22142 # Symbols that should not be listed in the preloaded symbols.
22143 exclude_expsyms=$lt_exclude_expsyms_CXX
22145 # Symbols that must always be exported.
22146 include_expsyms=$lt_include_expsyms_CXX
22148 # Commands necessary for linking programs (against libraries) with templates.
22149 prelink_cmds=$lt_prelink_cmds_CXX
22151 # Specify filename containing input files.
22152 file_list_spec=$lt_file_list_spec_CXX
22154 # How to hardcode a shared library path into an executable.
22155 hardcode_action=$hardcode_action_CXX
22157 # The directories searched by this compiler when creating a shared library.
22158 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
22160 # Dependencies to place before and after the objects being linked to
22161 # create a shared library.
22162 predep_objects=$lt_predep_objects_CXX
22163 postdep_objects=$lt_postdep_objects_CXX
22164 predeps=$lt_predeps_CXX
22165 postdeps=$lt_postdeps_CXX
22167 # The library search path used internally by the compiler when linking
22168 # a shared library.
22169 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
22171 # ### END LIBTOOL TAG CONFIG: CXX
22176 for ac_file
in $CONFIG_FILES; do
22177 # Support "outfile[:infile[:infile...]]"
22179 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
22181 # PO directories have a Makefile.in generated from Makefile.in.in.
22182 case "$ac_file" in */Makefile.
in)
22183 # Adjust a relative srcdir.
22184 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
22185 ac_dir_suffix
=/`echo "$ac_dir"|sed 's%^\./%%'`
22186 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
22187 # In autoconf-2.13 it is called $ac_given_srcdir.
22188 # In autoconf-2.50 it is called $srcdir.
22189 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
22190 case "$ac_given_srcdir" in
22191 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
22192 /*) top_srcdir
="$ac_given_srcdir" ;;
22193 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
22195 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
22196 rm -f "$ac_dir/POTFILES"
22197 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" ||
echo "creating $ac_dir/POTFILES"
22198 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" |
sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," |
sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
22199 POMAKEFILEDEPS
="POTFILES.in"
22200 # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
22201 # on $ac_dir but don't depend on user-specified configuration
22203 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
22204 # The LINGUAS file contains the set of available languages.
22205 if test -n "$OBSOLETE_ALL_LINGUAS"; then
22206 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.ac is obsolete" ||
echo "setting ALL_LINGUAS in configure.ac is obsolete"
22208 ALL_LINGUAS_
=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
22209 # Hide the ALL_LINGUAS assigment from automake.
22210 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
22211 POMAKEFILEDEPS
="$POMAKEFILEDEPS LINGUAS"
22213 # The set of available languages was given in configure.ac.
22214 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
22216 case "$ac_given_srcdir" in
22218 *) srcdirpre
='$(srcdir)/' ;;
22224 for lang
in $ALL_LINGUAS; do
22225 POFILES
="$POFILES $srcdirpre$lang.po"
22226 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
22227 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
22228 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
22230 # CATALOGS depends on both $ac_dir and the user's LINGUAS
22231 # environment variable.
22233 if test -n "$ALL_LINGUAS"; then
22234 for presentlang
in $ALL_LINGUAS; do
22236 if test "%UNSET%" != "$LINGUAS"; then
22237 desiredlanguages
="$LINGUAS"
22239 desiredlanguages
="$ALL_LINGUAS"
22241 for desiredlang
in $desiredlanguages; do
22242 # Use the presentlang catalog if desiredlang is
22243 # a. equal to presentlang, or
22244 # b. a variant of presentlang (because in this case,
22245 # presentlang can be used as a fallback for messages
22246 # which are not translated in the desiredlang catalog).
22247 case "$desiredlang" in
22248 "$presentlang"*) useit
=yes;;
22251 if test $useit = yes; then
22252 INST_LINGUAS
="$INST_LINGUAS $presentlang"
22257 if test -n "$INST_LINGUAS"; then
22258 for lang
in $INST_LINGUAS; do
22259 CATALOGS
="$CATALOGS $lang.gmo"
22262 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
22263 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"
22264 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
22265 if test -f "$f"; then
22267 *.orig |
*.bak |
*~
) ;;
22268 *) cat "$f" >> "$ac_dir/Makefile" ;;
22277 for ac_file
in $CONFIG_FILES; do
22278 # Support "outfile[:infile[:infile...]]"
22280 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
22282 # PO directories have a Makefile.in generated from Makefile.in.in.
22283 case "$ac_file" in */Makefile.
in)
22284 # Adjust a relative srcdir.
22285 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
22286 ac_dir_suffix
=/`echo "$ac_dir"|sed 's%^\./%%'`
22287 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
22288 # In autoconf-2.13 it is called $ac_given_srcdir.
22289 # In autoconf-2.50 it is called $srcdir.
22290 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
22291 case "$ac_given_srcdir" in
22292 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
22293 /*) top_srcdir
="$ac_given_srcdir" ;;
22294 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
22296 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
22297 rm -f "$ac_dir/POTFILES"
22298 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" ||
echo "creating $ac_dir/POTFILES"
22299 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" |
sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," |
sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
22300 POMAKEFILEDEPS
="POTFILES.in"
22301 # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
22302 # on $ac_dir but don't depend on user-specified configuration
22304 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
22305 # The LINGUAS file contains the set of available languages.
22306 if test -n "$OBSOLETE_ALL_LINGUAS"; then
22307 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.ac is obsolete" ||
echo "setting ALL_LINGUAS in configure.ac is obsolete"
22309 ALL_LINGUAS_
=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
22310 # Hide the ALL_LINGUAS assigment from automake.
22311 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
22312 POMAKEFILEDEPS
="$POMAKEFILEDEPS LINGUAS"
22314 # The set of available languages was given in configure.ac.
22315 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
22317 case "$ac_given_srcdir" in
22319 *) srcdirpre
='$(srcdir)/' ;;
22325 for lang
in $ALL_LINGUAS; do
22326 POFILES
="$POFILES $srcdirpre$lang.po"
22327 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
22328 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
22329 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
22331 # CATALOGS depends on both $ac_dir and the user's LINGUAS
22332 # environment variable.
22334 if test -n "$ALL_LINGUAS"; then
22335 for presentlang
in $ALL_LINGUAS; do
22337 if test "%UNSET%" != "$LINGUAS"; then
22338 desiredlanguages
="$LINGUAS"
22340 desiredlanguages
="$ALL_LINGUAS"
22342 for desiredlang
in $desiredlanguages; do
22343 # Use the presentlang catalog if desiredlang is
22344 # a. equal to presentlang, or
22345 # b. a variant of presentlang (because in this case,
22346 # presentlang can be used as a fallback for messages
22347 # which are not translated in the desiredlang catalog).
22348 case "$desiredlang" in
22349 "$presentlang"*) useit
=yes;;
22352 if test $useit = yes; then
22353 INST_LINGUAS
="$INST_LINGUAS $presentlang"
22358 if test -n "$INST_LINGUAS"; then
22359 for lang
in $INST_LINGUAS; do
22360 CATALOGS
="$CATALOGS $lang.gmo"
22363 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
22364 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"
22365 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
22366 if test -f "$f"; then
22368 *.orig |
*.bak |
*~
) ;;
22369 *) cat "$f" >> "$ac_dir/Makefile" ;;
22380 *) srcdirpre
='$(srcdir)/' ;;
22384 for lang
in dummy
$OBSOLETE_ALL_LINGUAS; do
22385 if test $lang != dummy
; then
22386 POFILES
="$POFILES $srcdirpre$lang.po"
22387 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
22390 sed -e '/^SRC-POTFILES =/r po/SRC-POTFILES' \
22391 -e '/^BLD-POTFILES =/r po/BLD-POTFILES' \
22392 -e "s,@POFILES@,$POFILES," \
22393 -e "s,@GMOFILES@,$GMOFILES," \
22394 po
/Makefile.
in > po
/Makefile
;;
22402 ac_clean_files
=$ac_clean_files_save
22404 test $ac_write_fail = 0 ||
22405 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
22408 # configure is writing to config.log, and then calls config.status.
22409 # config.status does its own redirection, appending to config.log.
22410 # Unfortunately, on DOS this fails, as config.log is still kept open
22411 # by configure, so config.status won't be able to write to it; its
22412 # output is simply discarded. So we exec the FD to /dev/null,
22413 # effectively closing config.log, so it can be properly (re)opened and
22414 # appended to by config.status. When coming back to configure, we
22415 # need to make the FD available again.
22416 if test "$no_create" != yes; then
22418 ac_config_status_args
=
22419 test "$silent" = yes &&
22420 ac_config_status_args
="$ac_config_status_args --quiet"
22422 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
22424 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22425 # would make configure fail if this is the last instruction.
22426 $ac_cs_success || as_fn_exit
1
22428 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
22429 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22430 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22435 touch config.status.tmp
22436 if touch --reference=config.status config.status.tmp
> /dev
/null
2>&1; then
22437 sed '/as_fn_exit 0/i \
22438 sed -e \"s/^\t\\\(\\\$(AM_V_CCLD)\\\)/\t+ \\\1/\" Makefile > Makefile.tmp \
22439 touch --reference=Makefile Makefile.tmp \
22440 mv Makefile.tmp Makefile \
22441 ' config.status
> config.status.tmp
22442 touch --reference=config.status config.status.tmp
22443 mv config.status.tmp config.status
22444 chmod +x config.status
22445 sed -e "s/^\t\(\$(AM_V_CCLD)\)/\t+ \1/" Makefile
> Makefile.tmp
22446 touch --reference=Makefile Makefile.tmp
22447 mv Makefile.tmp Makefile
22449 rm -f config.status.tmp