2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for ld 2.39.50.
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print
-rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
53 as_echo_n='/usr
/ucb
/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
66 as_echo_n='sh
-c $as_echo_n_body as_echo
'
69 as_echo='sh
-c $as_echo_body as_echo
'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x
; then
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var
in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\
${$as_var+set} = xset \
120 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
133 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
138 _as_can_reexec
=no
; export _as_can_reexec
;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
145 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
147 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec
=; unset _as_can_reexec
;}
160 if test "x$CONFIG_SHELL" = x
; then
161 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 case \`(set -o) 2>/dev/null\` in #(
177 as_required
="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191 exitcode=1; echo positional parameters were not saved.
193 test x\$exitcode = x0 || exit 1
195 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199 test \$(( 1 + 1 )) = 2 || exit 1
201 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
202 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
203 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
204 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205 PATH=/empty FPATH=/empty; export PATH FPATH
206 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
207 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
208 if (eval "$as_required") 2>/dev
/null
; then :
213 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
216 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
218 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
221 test -z "$as_dir" && as_dir
=.
225 for as_base
in sh bash ksh sh5
; do
226 # Try only shells that exist, to save several forks.
227 as_shell
=$as_dir/$as_base
228 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
229 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
230 CONFIG_SHELL
=$as_shell as_have_required
=yes
231 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
239 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
240 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
241 CONFIG_SHELL
=$SHELL as_have_required
=yes
246 if test "x$CONFIG_SHELL" != x
; then :
248 # We cannot yet assume a decent shell, so we have to provide a
249 # neutralization value for shells without unset; and this also
250 # works around shells that cannot unset nonexistent variables.
251 # Preserve -v and -x to the replacement shell.
254 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
256 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
261 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
262 # Admittedly, this is quite paranoid, since all the known shells bail
263 # out after a failed `exec'.
264 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
268 if test x
$as_have_required = xno
; then :
269 $as_echo "$0: This script requires a shell more modern than all"
270 $as_echo "$0: the shells that I found on your system."
271 if test x
${ZSH_VERSION+set} = xset
; then
272 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
273 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
275 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
276 $0: including any error possibly output before this
277 $0: message. Then install a modern shell, or manually run
278 $0: the script under such a shell if you do have one."
284 SHELL
=${CONFIG_SHELL-/bin/sh}
286 # Unset more variables known to interfere with behavior of common tools.
287 CLICOLOR_FORCE
= GREP_OPTIONS
=
288 unset CLICOLOR_FORCE GREP_OPTIONS
290 ## --------------------- ##
291 ## M4sh Shell Functions. ##
292 ## --------------------- ##
295 # Portably unset VAR.
298 { eval $1=; unset $1;}
302 # as_fn_set_status STATUS
303 # -----------------------
304 # Set $? to STATUS, without forking.
312 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
322 # Create "$as_dir" as a directory, including parents if necessary.
327 -*) as_dir
=.
/$as_dir;;
329 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
333 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
336 as_dirs
="'$as_qdir' $as_dirs"
337 as_dir
=`$as_dirname -- "$as_dir" ||
338 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
339 X"$as_dir" : 'X\(//\)[^/]' \| \
340 X"$as_dir" : 'X\(//\)$' \| \
341 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
342 $as_echo X"$as_dir" |
343 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
360 test -d "$as_dir" && break
362 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
363 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
368 # as_fn_executable_p FILE
369 # -----------------------
370 # Test if FILE is an executable regular file.
371 as_fn_executable_p
()
373 test -f "$1" && test -x "$1"
374 } # as_fn_executable_p
375 # as_fn_append VAR VALUE
376 # ----------------------
377 # Append the text in VALUE to the end of the definition contained in VAR. Take
378 # advantage of any shell optimizations that allow amortized linear growth over
379 # repeated appends, instead of the typical quadratic growth present in naive
381 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
382 eval 'as_fn_append ()
395 # Perform arithmetic evaluation on the ARGs, and store the result in the
396 # global $as_val. Take advantage of shells that can avoid forks. The arguments
397 # must be portable across $(()) and expr.
398 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
406 as_val
=`expr "$@" || test $? -eq 1`
411 # as_fn_error STATUS ERROR [LINENO LOG_FD]
412 # ----------------------------------------
413 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
414 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
415 # script with STATUS, using 1 if that was 0.
418 as_status
=$1; test $as_status -eq 0 && as_status
=1
420 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
421 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
423 $as_echo "$as_me: error: $2" >&2
424 as_fn_exit
$as_status
427 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
428 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
434 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
440 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
446 as_me
=`$as_basename -- "$0" ||
447 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
448 X"$0" : 'X\(//\)$' \| \
449 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
451 sed '/^.*\/\([^/][^/]*\)\/*$/{
465 # Avoid depending upon Character Ranges.
466 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
467 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
468 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
469 as_cr_digits
='0123456789'
470 as_cr_alnum
=$as_cr_Letters$as_cr_digits
473 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
474 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
475 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
476 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
477 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
489 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
493 chmod +x
"$as_me.lineno" ||
494 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
496 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
497 # already done that, so ensure we don't try to do so again and fall
498 # in an infinite loop. This has already happened in practice.
499 _as_can_reexec
=no
; export _as_can_reexec
500 # Don't try to exec as it changes $[0], causing all sort of problems
501 # (the dirname of $[0] is not the place where we might find the
502 # original and so on. Autoconf is especially sensitive to this).
504 # Exit status is that of the last command.
508 ECHO_C
= ECHO_N
= ECHO_T
=
509 case `echo -n x` in #(((((
511 case `echo 'xy\c'` in
512 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
514 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
521 rm -f conf$$ conf$$.exe conf$$.
file
522 if test -d conf$$.dir
; then
523 rm -f conf$$.dir
/conf$$.
file
526 mkdir conf$$.dir
2>/dev
/null
528 if (echo >conf$$.
file) 2>/dev
/null
; then
529 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
531 # ... but there are two gotchas:
532 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
533 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
534 # In both cases, we have to default to `cp -pR'.
535 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
537 elif ln conf$$.
file conf$$
2>/dev
/null
; then
545 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
546 rmdir conf$$.dir
2>/dev
/null
548 if mkdir
-p .
2>/dev
/null
; then
549 as_mkdir_p
='mkdir -p "$as_dir"'
551 test -d .
/-p && rmdir .
/-p
556 as_executable_p
=as_fn_executable_p
558 # Sed expression to map a string onto a valid CPP name.
559 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
561 # Sed expression to map a string onto a valid variable name.
562 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
564 SHELL
=${CONFIG_SHELL-/bin/sh}
567 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
571 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
572 # so uname gets run too.
573 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
578 ac_default_prefix
=/usr
/local
580 ac_config_libobj_dir
=.
587 # Identity of this package.
590 PACKAGE_VERSION
='2.39.50'
591 PACKAGE_STRING
='ld 2.39.50'
595 ac_unique_file
="ldmain.c"
596 # Factoring default headers for most tests.
597 ac_includes_default
="\
599 #ifdef HAVE_SYS_TYPES_H
600 # include <sys/types.h>
602 #ifdef HAVE_SYS_STAT_H
603 # include <sys/stat.h>
609 # ifdef HAVE_STDLIB_H
614 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
619 #ifdef HAVE_STRINGS_H
620 # include <strings.h>
622 #ifdef HAVE_INTTYPES_H
623 # include <inttypes.h>
633 ac_subst_vars
='am__EXEEXT_FALSE
645 elf_plt_unwind_list_options
646 elf_shlib_list_options
680 WARN_CFLAGS_FOR_BUILD
687 enable_initfini_array
690 TARGET_SYSTEM_ROOT_DEFINE
693 ENABLE_BFD_64_BIT_FALSE
694 ENABLE_BFD_64_BIT_TRUE
743 MAINTAINER_MODE_FALSE
757 INSTALL_STRIP_PROGRAM
811 program_transform_name
824 enable_option_checking
826 enable_maintainer_mode
827 enable_dependency_tracking
843 enable_compressed_debug_sections
848 enable_warn_execstack
849 enable_warn_rwx_segments
850 enable_default_execstack
851 enable_error_handling_script
852 enable_default_hash_style
853 enable_initfini_array
857 enable_build_warnings
862 ac_precious_vars
='build_alias
886 # Initialize some variables set by options.
888 ac_init_version
=false
889 ac_unrecognized_opts
=
891 # The variables have the same names as the options, with
892 # dashes changed to underlines.
900 program_transform_name
=s
,x
,x
,
908 # Installation directory options.
909 # These are left unexpanded so users can "make install exec_prefix=/foo"
910 # and all the variables that are supposed to be based on exec_prefix
911 # by default will actually change.
912 # Use braces instead of parens because sh, perl, etc. also accept them.
913 # (The list follows the same order as the GNU Coding Standards.)
914 bindir
='${exec_prefix}/bin'
915 sbindir
='${exec_prefix}/sbin'
916 libexecdir
='${exec_prefix}/libexec'
917 datarootdir
='${prefix}/share'
918 datadir
='${datarootdir}'
919 sysconfdir
='${prefix}/etc'
920 sharedstatedir
='${prefix}/com'
921 localstatedir
='${prefix}/var'
922 includedir
='${prefix}/include'
923 oldincludedir
='/usr/include'
924 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
925 infodir
='${datarootdir}/info'
930 libdir
='${exec_prefix}/lib'
931 localedir
='${datarootdir}/locale'
932 mandir
='${datarootdir}/man'
938 # If the previous option needs an argument, assign it.
939 if test -n "$ac_prev"; then
940 eval $ac_prev=\
$ac_option
946 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
951 # Accept the important Cygnus configure options, so we can diagnose typos.
953 case $ac_dashdash$ac_option in
957 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
959 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
962 -build |
--build |
--buil |
--bui |
--bu)
963 ac_prev
=build_alias
;;
964 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
965 build_alias
=$ac_optarg ;;
967 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
968 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
969 ac_prev
=cache_file
;;
970 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
971 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
972 cache_file
=$ac_optarg ;;
975 cache_file
=config.cache
;;
977 -datadir |
--datadir |
--datadi |
--datad)
979 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
980 datadir
=$ac_optarg ;;
982 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
983 |
--dataroo |
--dataro |
--datar)
984 ac_prev
=datarootdir
;;
985 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
986 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
987 datarootdir
=$ac_optarg ;;
989 -disable-* |
--disable-*)
990 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
991 # Reject names that are not valid shell variable names.
992 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
993 as_fn_error $?
"invalid feature name: $ac_useropt"
994 ac_useropt_orig
=$ac_useropt
995 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
996 case $ac_user_opts in
1000 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1001 ac_unrecognized_sep
=', ';;
1003 eval enable_
$ac_useropt=no
;;
1005 -docdir |
--docdir |
--docdi |
--doc |
--do)
1007 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1008 docdir
=$ac_optarg ;;
1010 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1012 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1013 dvidir
=$ac_optarg ;;
1015 -enable-* |
--enable-*)
1016 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1017 # Reject names that are not valid shell variable names.
1018 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1019 as_fn_error $?
"invalid feature name: $ac_useropt"
1020 ac_useropt_orig
=$ac_useropt
1021 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1022 case $ac_user_opts in
1024 "enable_
$ac_useropt"
1026 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1027 ac_unrecognized_sep
=', ';;
1029 eval enable_
$ac_useropt=\
$ac_optarg ;;
1031 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1032 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1033 |
--exec |
--exe |
--ex)
1034 ac_prev
=exec_prefix
;;
1035 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1036 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1037 |
--exec=* |
--exe=* |
--ex=*)
1038 exec_prefix
=$ac_optarg ;;
1040 -gas |
--gas |
--ga |
--g)
1041 # Obsolete; use --with-gas.
1044 -help |
--help |
--hel |
--he |
-h)
1045 ac_init_help
=long
;;
1046 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1047 ac_init_help
=recursive
;;
1048 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1049 ac_init_help
=short
;;
1051 -host |
--host |
--hos |
--ho)
1052 ac_prev
=host_alias
;;
1053 -host=* |
--host=* |
--hos=* |
--ho=*)
1054 host_alias
=$ac_optarg ;;
1056 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1058 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1060 htmldir
=$ac_optarg ;;
1062 -includedir |
--includedir |
--includedi |
--included |
--include \
1063 |
--includ |
--inclu |
--incl |
--inc)
1064 ac_prev
=includedir
;;
1065 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1066 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1067 includedir
=$ac_optarg ;;
1069 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1071 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1072 infodir
=$ac_optarg ;;
1074 -libdir |
--libdir |
--libdi |
--libd)
1076 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1077 libdir
=$ac_optarg ;;
1079 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1080 |
--libexe |
--libex |
--libe)
1081 ac_prev
=libexecdir
;;
1082 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1083 |
--libexe=* |
--libex=* |
--libe=*)
1084 libexecdir
=$ac_optarg ;;
1086 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1087 ac_prev
=localedir
;;
1088 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1089 localedir
=$ac_optarg ;;
1091 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1092 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1093 ac_prev
=localstatedir
;;
1094 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1095 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1096 localstatedir
=$ac_optarg ;;
1098 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1100 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1101 mandir
=$ac_optarg ;;
1103 -nfp |
--nfp |
--nf)
1104 # Obsolete; use --without-fp.
1107 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1108 |
--no-cr |
--no-c |
-n)
1111 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1112 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1115 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1116 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1117 |
--oldin |
--oldi |
--old |
--ol |
--o)
1118 ac_prev
=oldincludedir
;;
1119 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1120 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1121 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1122 oldincludedir
=$ac_optarg ;;
1124 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1126 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1127 prefix
=$ac_optarg ;;
1129 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1130 |
--program-pre |
--program-pr |
--program-p)
1131 ac_prev
=program_prefix
;;
1132 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1133 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1134 program_prefix
=$ac_optarg ;;
1136 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1137 |
--program-suf |
--program-su |
--program-s)
1138 ac_prev
=program_suffix
;;
1139 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1140 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1141 program_suffix
=$ac_optarg ;;
1143 -program-transform-name |
--program-transform-name \
1144 |
--program-transform-nam |
--program-transform-na \
1145 |
--program-transform-n |
--program-transform- \
1146 |
--program-transform |
--program-transfor \
1147 |
--program-transfo |
--program-transf \
1148 |
--program-trans |
--program-tran \
1149 |
--progr-tra |
--program-tr |
--program-t)
1150 ac_prev
=program_transform_name
;;
1151 -program-transform-name=* |
--program-transform-name=* \
1152 |
--program-transform-nam=* |
--program-transform-na=* \
1153 |
--program-transform-n=* |
--program-transform-=* \
1154 |
--program-transform=* |
--program-transfor=* \
1155 |
--program-transfo=* |
--program-transf=* \
1156 |
--program-trans=* |
--program-tran=* \
1157 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1158 program_transform_name
=$ac_optarg ;;
1160 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1162 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1163 pdfdir
=$ac_optarg ;;
1165 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1167 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1170 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1171 |
-silent |
--silent |
--silen |
--sile |
--sil)
1174 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1176 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1178 sbindir
=$ac_optarg ;;
1180 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1181 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1182 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1184 ac_prev
=sharedstatedir
;;
1185 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1186 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1187 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1189 sharedstatedir
=$ac_optarg ;;
1191 -site |
--site |
--sit)
1193 -site=* |
--site=* |
--sit=*)
1196 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1198 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1199 srcdir
=$ac_optarg ;;
1201 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1202 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1203 ac_prev
=sysconfdir
;;
1204 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1205 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1206 sysconfdir
=$ac_optarg ;;
1208 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1209 ac_prev
=target_alias
;;
1210 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1211 target_alias
=$ac_optarg ;;
1213 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1216 -version |
--version |
--versio |
--versi |
--vers |
-V)
1217 ac_init_version
=: ;;
1220 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1221 # Reject names that are not valid shell variable names.
1222 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1223 as_fn_error $?
"invalid package name: $ac_useropt"
1224 ac_useropt_orig
=$ac_useropt
1225 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1226 case $ac_user_opts in
1230 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1231 ac_unrecognized_sep
=', ';;
1233 eval with_
$ac_useropt=\
$ac_optarg ;;
1235 -without-* |
--without-*)
1236 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
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--without-$ac_useropt_orig"
1247 ac_unrecognized_sep
=', ';;
1249 eval with_
$ac_useropt=no
;;
1252 # Obsolete; use --with-x.
1255 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1256 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1257 ac_prev
=x_includes
;;
1258 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1259 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1260 x_includes
=$ac_optarg ;;
1262 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1263 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1264 ac_prev
=x_libraries
;;
1265 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1266 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1267 x_libraries
=$ac_optarg ;;
1269 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1270 Try \`$0 --help' for more information"
1274 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1275 # Reject names that are not valid shell variable names.
1276 case $ac_envvar in #(
1277 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1278 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1280 eval $ac_envvar=\
$ac_optarg
1281 export $ac_envvar ;;
1284 # FIXME: should be removed in autoconf 3.0.
1285 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1286 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1287 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1288 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1294 if test -n "$ac_prev"; then
1295 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1296 as_fn_error $?
"missing argument to $ac_option"
1299 if test -n "$ac_unrecognized_opts"; then
1300 case $enable_option_checking in
1302 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1303 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1307 # Check all directory arguments for consistency.
1308 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1309 datadir sysconfdir sharedstatedir localstatedir includedir \
1310 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1311 libdir localedir mandir
1313 eval ac_val
=\$
$ac_var
1314 # Remove trailing slashes.
1317 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1318 eval $ac_var=\
$ac_val;;
1320 # Be sure to have absolute directory names.
1322 [\\/$
]* | ?
:[\\/]* ) continue;;
1323 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1325 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1328 # There might be people who depend on the old broken behavior: `$host'
1329 # used to hold the argument of --host etc.
1330 # FIXME: To remove some day.
1333 target
=$target_alias
1335 # FIXME: To remove some day.
1336 if test "x$host_alias" != x
; then
1337 if test "x$build_alias" = x
; then
1338 cross_compiling
=maybe
1339 elif test "x$build_alias" != "x$host_alias"; then
1345 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1347 test "$silent" = yes && exec 6>/dev
/null
1350 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1351 ac_ls_di
=`ls -di .` &&
1352 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1353 as_fn_error $?
"working directory cannot be determined"
1354 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1355 as_fn_error $?
"pwd does not report name of working directory"
1358 # Find the source files, if location was not specified.
1359 if test -z "$srcdir"; then
1360 ac_srcdir_defaulted
=yes
1361 # Try the directory containing this script, then the parent directory.
1362 ac_confdir
=`$as_dirname -- "$as_myself" ||
1363 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1364 X"$as_myself" : 'X\(//\)[^/]' \| \
1365 X"$as_myself" : 'X\(//\)$' \| \
1366 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1367 $as_echo X"$as_myself" |
1368 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1386 if test ! -r "$srcdir/$ac_unique_file"; then
1390 ac_srcdir_defaulted
=no
1392 if test ! -r "$srcdir/$ac_unique_file"; then
1393 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1394 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1396 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1398 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1400 # When building in place, set srcdir=.
1401 if test "$ac_abs_confdir" = "$ac_pwd"; then
1404 # Remove unnecessary trailing slashes from srcdir.
1405 # Double slashes in file names in object file debugging info
1406 # mess up M-x gdb in Emacs.
1408 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1410 for ac_var
in $ac_precious_vars; do
1411 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1412 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1413 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1414 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1418 # Report the --help message.
1420 if test "$ac_init_help" = "long"; then
1421 # Omit some internal or obsolete options to make the list less imposing.
1422 # This message is too long to be a string in the A/UX 3.1 sh.
1424 \`configure' configures ld 2.39.50 to adapt to many kinds of systems.
1426 Usage: $0 [OPTION]... [VAR=VALUE]...
1428 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1429 VAR=VALUE. See below for descriptions of some of the useful variables.
1431 Defaults for the options are specified in brackets.
1434 -h, --help display this help and exit
1435 --help=short display options specific to this package
1436 --help=recursive display the short help of all the included packages
1437 -V, --version display version information and exit
1438 -q, --quiet, --silent do not print \`checking ...' messages
1439 --cache-file=FILE cache test results in FILE [disabled]
1440 -C, --config-cache alias for \`--cache-file=config.cache'
1441 -n, --no-create do not create output files
1442 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1444 Installation directories:
1445 --prefix=PREFIX install architecture-independent files in PREFIX
1446 [$ac_default_prefix]
1447 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1450 By default, \`make install' will install all the files in
1451 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1452 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1453 for instance \`--prefix=\$HOME'.
1455 For better control, use the options below.
1457 Fine tuning of the installation directories:
1458 --bindir=DIR user executables [EPREFIX/bin]
1459 --sbindir=DIR system admin executables [EPREFIX/sbin]
1460 --libexecdir=DIR program executables [EPREFIX/libexec]
1461 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1462 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1463 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1464 --libdir=DIR object code libraries [EPREFIX/lib]
1465 --includedir=DIR C header files [PREFIX/include]
1466 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1467 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1468 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1469 --infodir=DIR info documentation [DATAROOTDIR/info]
1470 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1471 --mandir=DIR man documentation [DATAROOTDIR/man]
1472 --docdir=DIR documentation root [DATAROOTDIR/doc/ld]
1473 --htmldir=DIR html documentation [DOCDIR]
1474 --dvidir=DIR dvi documentation [DOCDIR]
1475 --pdfdir=DIR pdf documentation [DOCDIR]
1476 --psdir=DIR ps documentation [DOCDIR]
1482 --program-prefix=PREFIX prepend PREFIX to installed program names
1483 --program-suffix=SUFFIX append SUFFIX to installed program names
1484 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1487 --build=BUILD configure
for building on BUILD
[guessed
]
1488 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1489 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1493 if test -n "$ac_init_help"; then
1494 case $ac_init_help in
1495 short | recursive
) echo "Configuration of ld 2.39.50:";;
1500 --disable-option-checking ignore unrecognized
--enable/--with options
1501 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1502 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1503 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1504 --disable-silent-rules verbose build output
(undo
: "make V=0")
1505 --enable-maintainer-mode
1506 enable make rules and dependencies not useful
(and
1507 sometimes confusing
) to the casual installer
1508 --enable-dependency-tracking
1509 do not reject slow dependency extractors
1510 --disable-dependency-tracking
1511 speeds up one-time build
1512 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1513 --enable-static[=PKGS
] build static libraries
[default
=yes]
1514 --enable-fast-install[=PKGS
]
1515 optimize
for fast installation
[default
=yes]
1516 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1517 --enable-plugins Enable support
for plugins
1518 --disable-largefile omit support
for large files
1519 --enable-checking enable run-time checks
1520 --enable-targets alternative target configurations
1521 --enable-64-bit-bfd 64-bit support
(on hosts with narrower word sizes
)
1522 --enable-gold[=ARG
] build gold
[ARG
={default
,yes,no
}]
1523 --enable-got=<type> GOT handling scheme
(target
, single
, negative
,
1525 --enable-compressed-debug-sections={all
,ld
,none
}
1526 compress debug sections by default
]
1527 --enable-new-dtags set DT_RUNPATH instead of DT_RPATH by default
]
1528 --enable-relro enable -z relro
in ELF linker by default
1529 --enable-textrel-check=[yes|no|warning|error
]
1530 enable DT_TEXTREL check
in ELF linker
1531 --enable-separate-code enable -z separate-code
in ELF linker by default
1532 --enable-warn-execstack enable warnings when creating an executable stack
1533 --enable-warn-rwx-segments
1534 enable warnings when creating segements with RWX
1536 --enable-default-execstack
1537 create an executable stack
if an input
file is
1538 missing a .note.GNU-stack section
1539 --enable-error-handling-script
1540 enable
/disable support
for the
1541 --error-handling-script option
1542 --enable-default-hash-style={sysv
,gnu
,both
}
1543 use this default
hash style
1544 --disable-initfini-array do not use .init_array
/.fini_array sections
1545 --enable-libctf Handle .ctf type-info sections
[default
=yes]
1546 --enable-jansson enable jansson
[default
=no
]
1547 --enable-werror treat compile warnings as errors
1548 --enable-build-warnings enable build-time compiler warnings
1549 --disable-nls do not use Native Language Support
1552 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1553 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1554 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1556 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1557 --with-lib-path=dir1
:dir2...
set default LIB_PATH
1558 --with-sysroot=DIR Search
for usr
/lib et al within DIR.
1559 --with-system-zlib use installed libz
1560 --with-zstd support zstd compressed debug sections
1563 Some influential environment variables
:
1564 CC C compiler
command
1565 CFLAGS C compiler flags
1566 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1567 nonstandard directory
<lib dir
>
1568 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1569 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1570 you have headers
in a nonstandard directory
<include dir
>
1571 CXX C
++ compiler
command
1572 CXXFLAGS C
++ compiler flags
1574 PKG_CONFIG path to pkg-config utility
1576 directories to add to pkg-config
's search path
1578 path overriding pkg-config's built-in search path
1579 CXXCPP C
++ preprocessor
1581 C compiler flags
for JANSSON
, overriding pkg-config
1583 linker flags
for JANSSON
, overriding pkg-config
1584 YACC The
`Yet Another Compiler Compiler' implementation to use.
1585 Defaults to the first program found out of: `bison
-y', `byacc',
1587 YFLAGS The list of arguments that will be passed by default to $YACC.
1588 This script will default YFLAGS to the empty string to avoid a
1589 default value of `-d' given by some make applications.
1590 ZSTD_CFLAGS C compiler flags for ZSTD, overriding pkg-config
1591 ZSTD_LIBS linker flags for ZSTD, overriding pkg-config
1593 Use these variables to override the choices made by `configure' or to
help
1594 it to
find libraries and programs with nonstandard names
/locations.
1596 Report bugs to the package provider.
1601 if test "$ac_init_help" = "recursive"; then
1602 # If there are subdirs, report their specific --help.
1603 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1604 test -d "$ac_dir" ||
1605 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1610 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1612 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1613 # A ".." for each directory in $ac_dir_suffix.
1614 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1615 case $ac_top_builddir_sub in
1616 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1617 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1620 ac_abs_top_builddir
=$ac_pwd
1621 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1622 # for backward compatibility:
1623 ac_top_builddir
=$ac_top_build_prefix
1626 .
) # We are building in place.
1628 ac_top_srcdir
=$ac_top_builddir_sub
1629 ac_abs_top_srcdir
=$ac_pwd ;;
1630 [\\/]* | ?
:[\\/]* ) # Absolute name.
1631 ac_srcdir
=$srcdir$ac_dir_suffix;
1632 ac_top_srcdir
=$srcdir
1633 ac_abs_top_srcdir
=$srcdir ;;
1635 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1636 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1637 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1639 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1641 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1642 # Check for guested configure.
1643 if test -f "$ac_srcdir/configure.gnu"; then
1645 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1646 elif test -f "$ac_srcdir/configure"; then
1648 $SHELL "$ac_srcdir/configure" --help=recursive
1650 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1652 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1656 test -n "$ac_init_help" && exit $ac_status
1657 if $ac_init_version; then
1659 ld configure
2.39.50
1660 generated by GNU Autoconf
2.69
1662 Copyright
(C
) 2012 Free Software Foundation
, Inc.
1663 This configure
script is free software
; the Free Software Foundation
1664 gives unlimited permission to copy
, distribute and modify it.
1669 ## ------------------------ ##
1670 ## Autoconf initialization. ##
1671 ## ------------------------ ##
1673 # ac_fn_c_try_compile LINENO
1674 # --------------------------
1675 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1676 ac_fn_c_try_compile
()
1678 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1679 rm -f conftest.
$ac_objext
1680 if { { ac_try
="$ac_compile"
1682 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1683 *) ac_try_echo=$ac_try;;
1685 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1686 $as_echo "$ac_try_echo"; } >&5
1687 (eval "$ac_compile") 2>conftest.err
1689 if test -s conftest.err; then
1690 grep -v '^ *+' conftest.err >conftest.er1
1691 cat conftest.er1 >&5
1692 mv -f conftest.er1 conftest.err
1694 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1695 test $ac_status = 0; } && {
1696 test -z "$ac_c_werror_flag" ||
1697 test ! -s conftest.err
1698 } && test -s conftest.$ac_objext; then :
1701 $as_echo "$as_me: failed program was:" >&5
1702 sed 's/^/| /' conftest.$ac_ext >&5
1706 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1707 as_fn_set_status $ac_retval
1709 } # ac_fn_c_try_compile
1711 # ac_fn_cxx_try_compile LINENO
1712 # ----------------------------
1713 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1714 ac_fn_cxx_try_compile ()
1716 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1717 rm -f conftest.$ac_objext
1718 if { { ac_try="$ac_compile"
1720 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1721 *) ac_try_echo
=$ac_try;;
1723 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1724 $as_echo "$ac_try_echo"; } >&5
1725 (eval "$ac_compile") 2>conftest.err
1727 if test -s conftest.err
; then
1728 grep -v '^ *+' conftest.err
>conftest.er1
1729 cat conftest.er1
>&5
1730 mv -f conftest.er1 conftest.err
1732 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1733 test $ac_status = 0; } && {
1734 test -z "$ac_cxx_werror_flag" ||
1735 test ! -s conftest.err
1736 } && test -s conftest.
$ac_objext; then :
1739 $as_echo "$as_me: failed program was:" >&5
1740 sed 's/^/| /' conftest.
$ac_ext >&5
1744 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1745 as_fn_set_status
$ac_retval
1747 } # ac_fn_cxx_try_compile
1749 # ac_fn_c_try_cpp LINENO
1750 # ----------------------
1751 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1754 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1755 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1757 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1758 *) ac_try_echo=$ac_try;;
1760 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1761 $as_echo "$ac_try_echo"; } >&5
1762 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1764 if test -s conftest.err; then
1765 grep -v '^ *+' conftest.err >conftest.er1
1766 cat conftest.er1 >&5
1767 mv -f conftest.er1 conftest.err
1769 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1770 test $ac_status = 0; } > conftest.i && {
1771 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1772 test ! -s conftest.err
1776 $as_echo "$as_me: failed program was:" >&5
1777 sed 's/^/| /' conftest.$ac_ext >&5
1781 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1782 as_fn_set_status $ac_retval
1786 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1787 # -------------------------------------------------------
1788 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1789 # the include files in INCLUDES and setting the cache variable VAR
1791 ac_fn_c_check_header_mongrel ()
1793 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1794 if eval \${$3+:} false; then :
1795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1796 $as_echo_n "checking for $2... " >&6; }
1797 if eval \${$3+:} false; then :
1798 $as_echo_n "(cached) " >&6
1801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1802 $as_echo "$ac_res" >&6; }
1804 # Is the header compilable?
1805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1806 $as_echo_n "checking $2 usability... " >&6; }
1807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1808 /* end confdefs.h. */
1812 if ac_fn_c_try_compile "$LINENO"; then :
1813 ac_header_compiler=yes
1815 ac_header_compiler=no
1817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1819 $as_echo "$ac_header_compiler" >&6; }
1821 # Is the header present?
1822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1823 $as_echo_n "checking $2 presence... " >&6; }
1824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1825 /* end confdefs.h. */
1828 if ac_fn_c_try_cpp "$LINENO"; then :
1829 ac_header_preproc=yes
1831 ac_header_preproc=no
1833 rm -f conftest.err conftest.i conftest.$ac_ext
1834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1835 $as_echo "$ac_header_preproc" >&6; }
1837 # So? What about this header?
1838 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1840 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1841 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1842 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1843 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1846 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1847 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1848 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1849 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1850 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1851 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1852 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1853 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1854 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1855 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1859 $as_echo_n "checking for $2... " >&6; }
1860 if eval \${$3+:} false; then :
1861 $as_echo_n "(cached) " >&6
1863 eval "$3=\$ac_header_compiler"
1866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1867 $as_echo "$ac_res" >&6; }
1869 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1871 } # ac_fn_c_check_header_mongrel
1873 # ac_fn_c_try_run LINENO
1874 # ----------------------
1875 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1876 # that executables *can* be run.
1879 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1880 if { { ac_try="$ac_link"
1882 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1883 *) ac_try_echo
=$ac_try;;
1885 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1886 $as_echo "$ac_try_echo"; } >&5
1887 (eval "$ac_link") 2>&5
1889 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1890 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1891 { { case "(($ac_try" in
1892 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1893 *) ac_try_echo=$ac_try;;
1895 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1896 $as_echo "$ac_try_echo"; } >&5
1897 (eval "$ac_try") 2>&5
1899 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1900 test $ac_status = 0; }; }; then :
1903 $as_echo "$as_me: program exited with status $ac_status" >&5
1904 $as_echo "$as_me: failed program was:" >&5
1905 sed 's/^/| /' conftest.$ac_ext >&5
1907 ac_retval=$ac_status
1909 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1910 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1911 as_fn_set_status $ac_retval
1915 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1916 # -------------------------------------------------------
1917 # Tests whether HEADER exists and can be compiled using the include files in
1918 # INCLUDES, setting the cache variable VAR accordingly.
1919 ac_fn_c_check_header_compile ()
1921 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1923 $as_echo_n "checking for $2... " >&6; }
1924 if eval \${$3+:} false; then :
1925 $as_echo_n "(cached) " >&6
1927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1928 /* end confdefs.h. */
1932 if ac_fn_c_try_compile "$LINENO"; then :
1937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1941 $as_echo "$ac_res" >&6; }
1942 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1944 } # ac_fn_c_check_header_compile
1946 # ac_fn_c_try_link LINENO
1947 # -----------------------
1948 # Try to link conftest.$ac_ext, and return whether this succeeded.
1951 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1952 rm -f conftest.$ac_objext conftest$ac_exeext
1953 if { { ac_try="$ac_link"
1955 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1956 *) ac_try_echo
=$ac_try;;
1958 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1959 $as_echo "$ac_try_echo"; } >&5
1960 (eval "$ac_link") 2>conftest.err
1962 if test -s conftest.err
; then
1963 grep -v '^ *+' conftest.err
>conftest.er1
1964 cat conftest.er1
>&5
1965 mv -f conftest.er1 conftest.err
1967 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1968 test $ac_status = 0; } && {
1969 test -z "$ac_c_werror_flag" ||
1970 test ! -s conftest.err
1971 } && test -s conftest
$ac_exeext && {
1972 test "$cross_compiling" = yes ||
1973 test -x conftest
$ac_exeext
1977 $as_echo "$as_me: failed program was:" >&5
1978 sed 's/^/| /' conftest.
$ac_ext >&5
1982 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1983 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1984 # interfere with the next link command; also delete a directory that is
1985 # left behind by Apple's compiler. We do this before executing the actions.
1986 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1987 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1988 as_fn_set_status
$ac_retval
1990 } # ac_fn_c_try_link
1992 # ac_fn_c_check_func LINENO FUNC VAR
1993 # ----------------------------------
1994 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1995 ac_fn_c_check_func
()
1997 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1999 $as_echo_n "checking for $2... " >&6; }
2000 if eval \
${$3+:} false
; then :
2001 $as_echo_n "(cached) " >&6
2003 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2004 /* end confdefs.h. */
2005 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2006 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2007 #define $2 innocuous_$2
2009 /* System header to define __stub macros and hopefully few prototypes,
2010 which can conflict with char $2 (); below.
2011 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2012 <limits.h> exists even on freestanding compilers. */
2015 # include <limits.h>
2017 # include <assert.h>
2022 /* Override any GCC internal prototype to avoid an error.
2023 Use char because int might match the return type of a GCC
2024 builtin and then its argument prototype would still apply. */
2029 /* The GNU C library defines this for functions which it implements
2030 to always fail with ENOSYS. Some functions are actually named
2031 something starting with __ and the normal name is an alias. */
2032 #if defined __stub_$2 || defined __stub___$2
2044 if ac_fn_c_try_link
"$LINENO"; then :
2049 rm -f core conftest.err conftest.
$ac_objext \
2050 conftest
$ac_exeext conftest.
$ac_ext
2053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2054 $as_echo "$ac_res" >&6; }
2055 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2057 } # ac_fn_c_check_func
2059 # ac_fn_cxx_try_cpp LINENO
2060 # ------------------------
2061 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2062 ac_fn_cxx_try_cpp
()
2064 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2065 if { { ac_try
="$ac_cpp conftest.$ac_ext"
2067 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2068 *) ac_try_echo=$ac_try;;
2070 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2071 $as_echo "$ac_try_echo"; } >&5
2072 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2074 if test -s conftest.err; then
2075 grep -v '^ *+' conftest.err >conftest.er1
2076 cat conftest.er1 >&5
2077 mv -f conftest.er1 conftest.err
2079 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2080 test $ac_status = 0; } > conftest.i && {
2081 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2082 test ! -s conftest.err
2086 $as_echo "$as_me: failed program was:" >&5
2087 sed 's/^/| /' conftest.$ac_ext >&5
2091 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2092 as_fn_set_status $ac_retval
2094 } # ac_fn_cxx_try_cpp
2096 # ac_fn_cxx_try_link LINENO
2097 # -------------------------
2098 # Try to link conftest.$ac_ext, and return whether this succeeded.
2099 ac_fn_cxx_try_link ()
2101 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2102 rm -f conftest.$ac_objext conftest$ac_exeext
2103 if { { ac_try="$ac_link"
2105 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2106 *) ac_try_echo
=$ac_try;;
2108 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2109 $as_echo "$ac_try_echo"; } >&5
2110 (eval "$ac_link") 2>conftest.err
2112 if test -s conftest.err
; then
2113 grep -v '^ *+' conftest.err
>conftest.er1
2114 cat conftest.er1
>&5
2115 mv -f conftest.er1 conftest.err
2117 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2118 test $ac_status = 0; } && {
2119 test -z "$ac_cxx_werror_flag" ||
2120 test ! -s conftest.err
2121 } && test -s conftest
$ac_exeext && {
2122 test "$cross_compiling" = yes ||
2123 test -x conftest
$ac_exeext
2127 $as_echo "$as_me: failed program was:" >&5
2128 sed 's/^/| /' conftest.
$ac_ext >&5
2132 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2133 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2134 # interfere with the next link command; also delete a directory that is
2135 # left behind by Apple's compiler. We do this before executing the actions.
2136 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2137 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2138 as_fn_set_status
$ac_retval
2140 } # ac_fn_cxx_try_link
2142 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2143 # --------------------------------------------
2144 # Tries to find the compile-time value of EXPR in a program that includes
2145 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2147 ac_fn_c_compute_int
()
2149 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2150 if test "$cross_compiling" = yes; then
2151 # Depending upon the size, compute the lo and hi bounds.
2152 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2153 /* end confdefs.h. */
2158 static int test_array [1 - 2 * !(($2) >= 0)];
2160 return test_array [0];
2166 if ac_fn_c_try_compile
"$LINENO"; then :
2169 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2170 /* end confdefs.h. */
2175 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2177 return test_array [0];
2183 if ac_fn_c_try_compile
"$LINENO"; then :
2184 ac_hi
=$ac_mid; break
2186 as_fn_arith
$ac_mid + 1 && ac_lo
=$as_val
2187 if test $ac_lo -le $ac_mid; then
2191 as_fn_arith
2 '*' $ac_mid + 1 && ac_mid
=$as_val
2193 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2196 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2197 /* end confdefs.h. */
2202 static int test_array [1 - 2 * !(($2) < 0)];
2204 return test_array [0];
2210 if ac_fn_c_try_compile
"$LINENO"; then :
2213 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2214 /* end confdefs.h. */
2219 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2221 return test_array [0];
2227 if ac_fn_c_try_compile
"$LINENO"; then :
2228 ac_lo
=$ac_mid; break
2230 as_fn_arith
'(' $ac_mid ')' - 1 && ac_hi
=$as_val
2231 if test $ac_mid -le $ac_hi; then
2235 as_fn_arith
2 '*' $ac_mid && ac_mid
=$as_val
2237 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2242 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2244 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2245 # Binary search between lo and hi bounds.
2246 while test "x$ac_lo" != "x$ac_hi"; do
2247 as_fn_arith
'(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid
=$as_val
2248 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2249 /* end confdefs.h. */
2254 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2256 return test_array [0];
2262 if ac_fn_c_try_compile
"$LINENO"; then :
2265 as_fn_arith
'(' $ac_mid ')' + 1 && ac_lo
=$as_val
2267 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2270 ?
*) eval "$3=\$ac_lo"; ac_retval
=0 ;;
2274 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2275 /* end confdefs.h. */
2277 static long int longval () { return $2; }
2278 static unsigned long int ulongval () { return $2; }
2285 FILE *f = fopen ("conftest.val", "w");
2290 long int i = longval ();
2293 fprintf (f, "%ld", i);
2297 unsigned long int i = ulongval ();
2300 fprintf (f, "%lu", i);
2302 /* Do not output a trailing newline, as this causes \r\n confusion
2303 on some platforms. */
2304 return ferror (f) || fclose (f) != 0;
2310 if ac_fn_c_try_run
"$LINENO"; then :
2311 echo >>conftest.val
; read $3 <conftest.val
; ac_retval
=0
2315 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
2316 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
2320 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2321 as_fn_set_status
$ac_retval
2323 } # ac_fn_c_compute_int
2325 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2326 # ---------------------------------------------
2327 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2329 ac_fn_c_check_decl
()
2331 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2332 as_decl_name
=`echo $2|sed 's/ *(.*//'`
2333 as_decl_use
=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2335 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2336 if eval \
${$3+:} false
; then :
2337 $as_echo_n "(cached) " >&6
2339 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2340 /* end confdefs.h. */
2345 #ifndef $as_decl_name
2347 (void) $as_decl_use;
2349 (void) $as_decl_name;
2357 if ac_fn_c_try_compile
"$LINENO"; then :
2362 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2366 $as_echo "$ac_res" >&6; }
2367 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2369 } # ac_fn_c_check_decl
2370 cat >config.log
<<_ACEOF
2371 This file contains any messages produced by compilers while
2372 running configure, to aid debugging if configure makes a mistake.
2374 It was created by ld $as_me 2.39.50, which was
2375 generated by GNU Autoconf 2.69. Invocation command line was
2387 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2388 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2389 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2390 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2391 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2393 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2394 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2396 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2397 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2398 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2399 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2400 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2401 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2402 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2406 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2410 test -z "$as_dir" && as_dir
=.
2411 $as_echo "PATH: $as_dir"
2427 # Keep a trace of the command line.
2428 # Strip out --no-create and --no-recursion so they do not pile up.
2429 # Strip out --silent because we don't want to record it for future runs.
2430 # Also quote any args containing shell meta-characters.
2431 # Make two passes to allow for proper duplicate-argument suppression.
2435 ac_must_keep_next
=false
2441 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2442 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2443 |
-silent |
--silent |
--silen |
--sile |
--sil)
2446 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2449 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2451 as_fn_append ac_configure_args1
" '$ac_arg'"
2452 if test $ac_must_keep_next = true
; then
2453 ac_must_keep_next
=false
# Got value, back to normal.
2456 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2457 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2458 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2459 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2460 case "$ac_configure_args0 " in
2461 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2464 -* ) ac_must_keep_next
=true
;;
2467 as_fn_append ac_configure_args
" '$ac_arg'"
2472 { ac_configure_args0
=; unset ac_configure_args0
;}
2473 { ac_configure_args1
=; unset ac_configure_args1
;}
2475 # When interrupted or exit'd, cleanup temporary files, and complete
2476 # config.log. We remove comments because anyway the quotes in there
2477 # would cause problems or look ugly.
2478 # WARNING: Use '\'' to represent an apostrophe within the trap.
2479 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2480 trap 'exit_status=$?
2481 # Save into config.log some information that might help in debugging.
2485 $as_echo "## ---------------- ##
2486 ## Cache variables. ##
2487 ## ---------------- ##"
2489 # The following way of writing the cache mishandles newlines in values,
2491 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2492 eval ac_val=\$$ac_var
2496 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2497 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2500 _ | IFS | as_nl) ;; #(
2501 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2502 *) { eval $ac_var=; unset $ac_var;} ;;
2507 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2508 *${as_nl}ac_space=\ *)
2510 "s/'\''/'\''\\\\'\'''\''/g;
2511 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2514 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2521 $as_echo "## ----------------- ##
2522 ## Output variables. ##
2523 ## ----------------- ##"
2525 for ac_var in $ac_subst_vars
2527 eval ac_val=\$$ac_var
2529 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2531 $as_echo "$ac_var='\''$ac_val'\''"
2535 if test -n "$ac_subst_files"; then
2536 $as_echo "## ------------------- ##
2537 ## File substitutions. ##
2538 ## ------------------- ##"
2540 for ac_var
in $ac_subst_files
2542 eval ac_val
=\$
$ac_var
2544 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2546 $as_echo "$ac_var='\''$ac_val'\''"
2551 if test -s confdefs.h; then
2552 $as_echo "## ----------- ##
2559 test "$ac_signal" != 0 &&
2560 $as_echo "$as_me: caught signal $ac_signal"
2561 $as_echo "$as_me: exit $exit_status"
2563 rm -f core *.core core.conftest.* &&
2564 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2567 for ac_signal
in 1 2 13 15; do
2568 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2572 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2573 rm -f -r conftest
* confdefs.h
2575 $as_echo "/* confdefs.h */" > confdefs.h
2577 # Predefined preprocessor variables.
2579 cat >>confdefs.h
<<_ACEOF
2580 #define PACKAGE_NAME "$PACKAGE_NAME"
2583 cat >>confdefs.h
<<_ACEOF
2584 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2587 cat >>confdefs.h
<<_ACEOF
2588 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2591 cat >>confdefs.h
<<_ACEOF
2592 #define PACKAGE_STRING "$PACKAGE_STRING"
2595 cat >>confdefs.h
<<_ACEOF
2596 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2599 cat >>confdefs.h
<<_ACEOF
2600 #define PACKAGE_URL "$PACKAGE_URL"
2604 # Let the site file select an alternate cache file if it wants to.
2605 # Prefer an explicitly selected file to automatically selected ones.
2608 if test -n "$CONFIG_SITE"; then
2609 # We do not want a PATH search for config.site.
2610 case $CONFIG_SITE in #((
2611 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2612 */*) ac_site_file1
=$CONFIG_SITE;;
2613 *) ac_site_file1
=.
/$CONFIG_SITE;;
2615 elif test "x$prefix" != xNONE
; then
2616 ac_site_file1
=$prefix/share
/config.site
2617 ac_site_file2
=$prefix/etc
/config.site
2619 ac_site_file1
=$ac_default_prefix/share
/config.site
2620 ac_site_file2
=$ac_default_prefix/etc
/config.site
2622 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2624 test "x$ac_site_file" = xNONE
&& continue
2625 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2626 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2627 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2628 sed 's/^/| /' "$ac_site_file" >&5
2630 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2631 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2632 as_fn_error $?
"failed to load site script $ac_site_file
2633 See \`config.log' for more details" "$LINENO" 5; }
2637 if test -r "$cache_file"; then
2638 # Some versions of bash will fail to source /dev/null (special files
2639 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2640 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2641 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2642 $as_echo "$as_me: loading cache $cache_file" >&6;}
2644 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2645 *) .
"./$cache_file";;
2649 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2650 $as_echo "$as_me: creating cache $cache_file" >&6;}
2654 as_fn_append ac_header_list
" stdlib.h"
2655 as_fn_append ac_header_list
" unistd.h"
2656 as_fn_append ac_header_list
" sys/param.h"
2657 # Check that the precious variables saved in the cache have kept the same
2659 ac_cache_corrupted
=false
2660 for ac_var
in $ac_precious_vars; do
2661 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2662 eval ac_new_set
=\
$ac_env_${ac_var}_set
2663 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2664 eval ac_new_val
=\
$ac_env_${ac_var}_value
2665 case $ac_old_set,$ac_new_set in
2667 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2668 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2669 ac_cache_corrupted
=: ;;
2671 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2672 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2673 ac_cache_corrupted
=: ;;
2676 if test "x$ac_old_val" != "x$ac_new_val"; then
2677 # differences in whitespace do not lead to failure.
2678 ac_old_val_w
=`echo x $ac_old_val`
2679 ac_new_val_w
=`echo x $ac_new_val`
2680 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2681 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2682 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2683 ac_cache_corrupted
=:
2685 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2686 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2687 eval $ac_var=\
$ac_old_val
2689 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2690 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2691 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2692 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2695 # Pass precious variables to config.status.
2696 if test "$ac_new_set" = set; then
2698 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2699 *) ac_arg
=$ac_var=$ac_new_val ;;
2701 case " $ac_configure_args " in
2702 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2703 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2707 if $ac_cache_corrupted; then
2708 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2709 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2710 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2711 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2712 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2714 ## -------------------- ##
2715 ## Main body of script. ##
2716 ## -------------------- ##
2719 ac_cpp
='$CPP $CPPFLAGS'
2720 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2721 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2722 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2731 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2732 if test -f "$ac_dir/install-sh"; then
2734 ac_install_sh
="$ac_aux_dir/install-sh -c"
2736 elif test -f "$ac_dir/install.sh"; then
2738 ac_install_sh
="$ac_aux_dir/install.sh -c"
2740 elif test -f "$ac_dir/shtool"; then
2742 ac_install_sh
="$ac_aux_dir/shtool install -c"
2746 if test -z "$ac_aux_dir"; then
2747 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2750 # These three variables are undocumented and unsupported,
2751 # and are intended to be withdrawn in a future Autoconf release.
2752 # They can cause serious problems if a builder's source tree is in a directory
2753 # whose full name contains unusual characters.
2754 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2755 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2756 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2759 # Make sure we can run config.sub.
2760 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2761 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2764 $as_echo_n "checking build system type... " >&6; }
2765 if ${ac_cv_build+:} false
; then :
2766 $as_echo_n "(cached) " >&6
2768 ac_build_alias
=$build_alias
2769 test "x$ac_build_alias" = x
&&
2770 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2771 test "x$ac_build_alias" = x
&&
2772 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2773 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2774 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2778 $as_echo "$ac_cv_build" >&6; }
2779 case $ac_cv_build in
2781 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2784 ac_save_IFS
=$IFS; IFS
='-'
2790 # Remember, the first character of IFS is used to create $*,
2791 # except with old shells:
2794 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2798 $as_echo_n "checking host system type... " >&6; }
2799 if ${ac_cv_host+:} false
; then :
2800 $as_echo_n "(cached) " >&6
2802 if test "x$host_alias" = x
; then
2803 ac_cv_host
=$ac_cv_build
2805 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2806 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2811 $as_echo "$ac_cv_host" >&6; }
2814 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2817 ac_save_IFS
=$IFS; IFS
='-'
2823 # Remember, the first character of IFS is used to create $*,
2824 # except with old shells:
2827 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2831 $as_echo_n "checking target system type... " >&6; }
2832 if ${ac_cv_target+:} false
; then :
2833 $as_echo_n "(cached) " >&6
2835 if test "x$target_alias" = x
; then
2836 ac_cv_target
=$ac_cv_host
2838 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2839 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2844 $as_echo "$ac_cv_target" >&6; }
2845 case $ac_cv_target in
2847 *) as_fn_error $?
"invalid value of canonical target" "$LINENO" 5;;
2849 target
=$ac_cv_target
2850 ac_save_IFS
=$IFS; IFS
='-'
2856 # Remember, the first character of IFS is used to create $*,
2857 # except with old shells:
2860 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2863 # The aliases save the names the user supplied, while $host etc.
2864 # will get canonicalized.
2865 test -n "$target_alias" &&
2866 test "$program_prefix$program_suffix$program_transform_name" = \
2868 program_prefix
=${target_alias}-
2871 am__api_version
='1.15'
2873 # Find a good install program. We prefer a C program (faster),
2874 # so one script is as good as another. But avoid the broken or
2875 # incompatible versions:
2876 # SysV /etc/install, /usr/sbin/install
2877 # SunOS /usr/etc/install
2878 # IRIX /sbin/install
2880 # AmigaOS /C/install, which installs bootblocks on floppy discs
2881 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2882 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2883 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2884 # OS/2's system install, which has a completely different semantic
2885 # ./install, which can be erroneously created by make from ./install.sh.
2886 # Reject install programs that cannot install multiple files.
2887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2888 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2889 if test -z "$INSTALL"; then
2890 if ${ac_cv_path_install+:} false
; then :
2891 $as_echo_n "(cached) " >&6
2893 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2897 test -z "$as_dir" && as_dir
=.
2898 # Account for people who put trailing slashes in PATH elements.
2899 case $as_dir/ in #((
2900 .
/ | .
// |
/[cC
]/* | \
2901 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2902 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2905 # OSF1 and SCO ODT 3.0 have their own names for install.
2906 # Don't use installbsd from OSF since it installs stuff as root
2908 for ac_prog
in ginstall scoinst
install; do
2909 for ac_exec_ext
in '' $ac_executable_extensions; do
2910 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
2911 if test $ac_prog = install &&
2912 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2913 # AIX install. It has an incompatible calling convention.
2915 elif test $ac_prog = install &&
2916 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2917 # program-specific install script used by HP pwplus--don't use.
2920 rm -rf conftest.one conftest.two conftest.dir
2921 echo one
> conftest.one
2922 echo two
> conftest.two
2924 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2925 test -s conftest.one
&& test -s conftest.two
&&
2926 test -s conftest.dir
/conftest.one
&&
2927 test -s conftest.dir
/conftest.two
2929 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2942 rm -rf conftest.one conftest.two conftest.dir
2945 if test "${ac_cv_path_install+set}" = set; then
2946 INSTALL
=$ac_cv_path_install
2948 # As a last resort, use the slow shell script. Don't cache a
2949 # value for INSTALL within a source directory, because that will
2950 # break other packages using the cache if that directory is
2951 # removed, or if the value is a relative name.
2952 INSTALL
=$ac_install_sh
2955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2956 $as_echo "$INSTALL" >&6; }
2958 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2959 # It thinks the first close brace ends the variable substitution.
2960 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2962 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2964 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2967 $as_echo_n "checking whether build environment is sane... " >&6; }
2968 # Reject unsafe characters in $srcdir or the absolute working directory
2969 # name. Accept space and tab only in the latter.
2973 *[\\\"\
#\$\&\'\`$am_lf]*)
2974 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2977 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2978 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2981 # Do 'set' in a subshell so we don't clobber the current shell's
2982 # arguments. Must try -L first in case configure is actually a
2983 # symlink; some systems play weird games with the mod time of symlinks
2984 # (eg FreeBSD returns the mod time of the symlink's containing
2988 for am_try
in 1 2; do
2989 echo "timestamp, slept: $am_has_slept" > conftest.
file
2990 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2991 if test "$*" = "X"; then
2993 set X
`ls -t "$srcdir/configure" conftest.file`
2995 if test "$*" != "X $srcdir/configure conftest.file" \
2996 && test "$*" != "X conftest.file $srcdir/configure"; then
2998 # If neither matched, then we have a broken ls. This can happen
2999 # if, for instance, CONFIG_SHELL is bash and it inherits a
3000 # broken ls alias from the environment. This has actually
3001 # happened. Such a system could not be considered "sane".
3002 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
3003 alias in your environment" "$LINENO" 5
3005 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
3012 test "$2" = conftest.
file
3018 as_fn_error $?
"newly created file is older than distributed files!
3019 Check your system clock" "$LINENO" 5
3021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3022 $as_echo "yes" >&6; }
3023 # If we didn't sleep, we still need to ensure time stamps of config.status and
3024 # generated files are strictly newer.
3026 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
3033 test "$program_prefix" != NONE
&&
3034 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
3035 # Use a double $ so make ignores it.
3036 test "$program_suffix" != NONE
&&
3037 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
3038 # Double any \ or $.
3039 # By default was `s,x,x', remove it if useless.
3040 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
3041 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
3043 # Expand $ac_aux_dir to an absolute path.
3044 am_aux_dir
=`cd "$ac_aux_dir" && pwd`
3046 if test x
"${MISSING+set}" != xset
; then
3049 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
3051 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
3054 # Use eval to expand $SHELL
3055 if eval "$MISSING --is-lightweight"; then
3056 am_missing_run
="$MISSING "
3059 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3060 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3063 if test x
"${install_sh+set}" != xset
; then
3066 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
3068 install_sh
="\${SHELL} $am_aux_dir/install-sh"
3072 # Installed binaries are usually stripped using 'strip' when the user
3073 # run "make install-strip". However 'strip' might not be the right
3074 # tool to use in cross-compilation environments, therefore Automake
3075 # will honor the 'STRIP' environment variable to overrule this program.
3076 if test "$cross_compiling" != no
; then
3077 if test -n "$ac_tool_prefix"; then
3078 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3079 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3081 $as_echo_n "checking for $ac_word... " >&6; }
3082 if ${ac_cv_prog_STRIP+:} false
; then :
3083 $as_echo_n "(cached) " >&6
3085 if test -n "$STRIP"; then
3086 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3088 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3092 test -z "$as_dir" && as_dir
=.
3093 for ac_exec_ext
in '' $ac_executable_extensions; do
3094 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3095 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3096 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3105 STRIP
=$ac_cv_prog_STRIP
3106 if test -n "$STRIP"; then
3107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3108 $as_echo "$STRIP" >&6; }
3110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3111 $as_echo "no" >&6; }
3116 if test -z "$ac_cv_prog_STRIP"; then
3118 # Extract the first word of "strip", so it can be a program name with args.
3119 set dummy strip
; ac_word
=$2
3120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3121 $as_echo_n "checking for $ac_word... " >&6; }
3122 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
3123 $as_echo_n "(cached) " >&6
3125 if test -n "$ac_ct_STRIP"; then
3126 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3128 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3132 test -z "$as_dir" && as_dir
=.
3133 for ac_exec_ext
in '' $ac_executable_extensions; do
3134 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3135 ac_cv_prog_ac_ct_STRIP
="strip"
3136 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3145 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3146 if test -n "$ac_ct_STRIP"; then
3147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3148 $as_echo "$ac_ct_STRIP" >&6; }
3150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3151 $as_echo "no" >&6; }
3154 if test "x$ac_ct_STRIP" = x
; then
3157 case $cross_compiling:$ac_tool_warned in
3159 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3160 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3161 ac_tool_warned
=yes ;;
3166 STRIP
="$ac_cv_prog_STRIP"
3170 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
3172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3173 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3174 if test -z "$MKDIR_P"; then
3175 if ${ac_cv_path_mkdir+:} false
; then :
3176 $as_echo_n "(cached) " >&6
3178 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3179 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3182 test -z "$as_dir" && as_dir
=.
3183 for ac_prog
in mkdir gmkdir
; do
3184 for ac_exec_ext
in '' $ac_executable_extensions; do
3185 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
3186 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3187 'mkdir (GNU coreutils) '* | \
3188 'mkdir (coreutils) '* | \
3189 'mkdir (fileutils) '4.1*)
3190 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3200 test -d .
/--version && rmdir .
/--version
3201 if test "${ac_cv_path_mkdir+set}" = set; then
3202 MKDIR_P
="$ac_cv_path_mkdir -p"
3204 # As a last resort, use the slow shell script. Don't cache a
3205 # value for MKDIR_P within a source directory, because that will
3206 # break other packages using the cache if that directory is
3207 # removed, or if the value is a relative name.
3208 MKDIR_P
="$ac_install_sh -d"
3211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3212 $as_echo "$MKDIR_P" >&6; }
3214 for ac_prog
in gawk mawk nawk
awk
3216 # Extract the first word of "$ac_prog", so it can be a program name with args.
3217 set dummy
$ac_prog; ac_word
=$2
3218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3219 $as_echo_n "checking for $ac_word... " >&6; }
3220 if ${ac_cv_prog_AWK+:} false
; then :
3221 $as_echo_n "(cached) " >&6
3223 if test -n "$AWK"; then
3224 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3226 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3230 test -z "$as_dir" && as_dir
=.
3231 for ac_exec_ext
in '' $ac_executable_extensions; do
3232 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3233 ac_cv_prog_AWK
="$ac_prog"
3234 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3244 if test -n "$AWK"; then
3245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3246 $as_echo "$AWK" >&6; }
3248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3249 $as_echo "no" >&6; }
3253 test -n "$AWK" && break
3256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3257 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3259 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3260 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3261 $as_echo_n "(cached) " >&6
3263 cat >conftest.
make <<\_ACEOF
3266 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3268 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3269 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3271 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3273 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3277 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3279 $as_echo "yes" >&6; }
3282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3283 $as_echo "no" >&6; }
3284 SET_MAKE
="MAKE=${MAKE-make}"
3287 rm -rf .tst
2>/dev
/null
3288 mkdir .tst
2>/dev
/null
3289 if test -d .tst
; then
3294 rmdir .tst
2>/dev
/null
3296 # Check whether --enable-silent-rules was given.
3297 if test "${enable_silent_rules+set}" = set; then :
3298 enableval
=$enable_silent_rules;
3301 case $enable_silent_rules in # (((
3302 yes) AM_DEFAULT_VERBOSITY
=0;;
3303 no
) AM_DEFAULT_VERBOSITY
=1;;
3304 *) AM_DEFAULT_VERBOSITY
=1;;
3306 am_make
=${MAKE-make}
3307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3308 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3309 if ${am_cv_make_support_nested_variables+:} false
; then :
3310 $as_echo_n "(cached) " >&6
3312 if $as_echo 'TRUE=$(BAR$(V))
3318 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
3319 am_cv_make_support_nested_variables
=yes
3321 am_cv_make_support_nested_variables
=no
3324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3325 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3326 if test $am_cv_make_support_nested_variables = yes; then
3328 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
3330 AM_V
=$AM_DEFAULT_VERBOSITY
3331 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
3335 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3336 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3337 # is not polluted with repeated "-I."
3338 am__isrc
=' -I$(srcdir)'
3339 # test to see if srcdir already configured
3340 if test -f $srcdir/config.status
; then
3341 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3345 # test whether we have cygpath
3346 if test -z "$CYGPATH_W"; then
3347 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3348 CYGPATH_W
='cygpath -w'
3355 # Define the identity of the package.
3360 cat >>confdefs.h
<<_ACEOF
3361 #define PACKAGE "$PACKAGE"
3365 cat >>confdefs.h
<<_ACEOF
3366 #define VERSION "$VERSION"
3369 # Some tools Automake needs.
3371 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3374 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3377 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3380 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3383 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3385 # For better backward compatibility. To be removed once Automake 1.9.x
3386 # dies out for good. For more background, see:
3387 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3388 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3389 mkdir_p
='$(MKDIR_P)'
3391 # We need awk for the "check" target (and possibly the TAP driver). The
3392 # system "awk" is bad on some platforms.
3393 # Always define AMTAR for backward compatibility. Yes, it's still used
3394 # in the wild :-( We should find a proper way to deprecate it ...
3398 # We'll loop over all known methods to create a tar archive until one works.
3399 _am_tools
='gnutar pax cpio none'
3401 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
3408 # POSIX will say in a future version that running "rm -f" with no argument
3409 # is OK; and we want to be able to make that assumption in our Makefile
3410 # recipes. So use an aggressive probe to check that the usage we want is
3411 # actually supported "in the wild" to an acceptable degree.
3412 # See automake bug#10828.
3413 # To make any issue more visible, cause the running configure to be aborted
3414 # by default if the 'rm' program in use doesn't match our expectations; the
3415 # user can still override this though.
3416 if rm -f && rm -fr && rm -rf; then : OK
; else
3420 Your 'rm' program seems unable to run without file operands specified
3421 on the command line, even when the '-f' option is present. This is contrary
3422 to the behaviour of most rm programs out there, and not conforming with
3423 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3425 Please tell bug-automake@gnu.org about your system, including the value
3426 of your $PATH and any error possibly output before this message. This
3427 can help us improve future automake versions.
3430 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
3431 echo 'Configuration will proceed anyway, since you have set the' >&2
3432 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3436 Aborting the configuration process, to ensure you take notice of the issue.
3438 You can download and install GNU coreutils to get an 'rm' implementation
3439 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3441 If you want to complete the configuration process using your problematic
3442 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3443 to "yes", and re-run configure.
3446 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
3450 # Check whether --enable-silent-rules was given.
3451 if test "${enable_silent_rules+set}" = set; then :
3452 enableval
=$enable_silent_rules;
3455 case $enable_silent_rules in # (((
3456 yes) AM_DEFAULT_VERBOSITY
=0;;
3457 no
) AM_DEFAULT_VERBOSITY
=1;;
3458 *) AM_DEFAULT_VERBOSITY
=0;;
3460 am_make
=${MAKE-make}
3461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3462 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3463 if ${am_cv_make_support_nested_variables+:} false
; then :
3464 $as_echo_n "(cached) " >&6
3466 if $as_echo 'TRUE=$(BAR$(V))
3472 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
3473 am_cv_make_support_nested_variables
=yes
3475 am_cv_make_support_nested_variables
=no
3478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3479 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3480 if test $am_cv_make_support_nested_variables = yes; then
3482 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
3484 AM_V
=$AM_DEFAULT_VERBOSITY
3485 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
3490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3491 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3492 # Check whether --enable-maintainer-mode was given.
3493 if test "${enable_maintainer_mode+set}" = set; then :
3494 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3496 USE_MAINTAINER_MODE=no
3499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3500 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3501 if test $USE_MAINTAINER_MODE = yes; then
3502 MAINTAINER_MODE_TRUE=
3503 MAINTAINER_MODE_FALSE='#'
3505 MAINTAINER_MODE_TRUE
='#'
3506 MAINTAINER_MODE_FALSE
=
3509 MAINT
=$MAINTAINER_MODE_TRUE
3514 ac_cpp
='$CPP $CPPFLAGS'
3515 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3516 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3517 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3518 if test -n "$ac_tool_prefix"; then
3519 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3520 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3522 $as_echo_n "checking for $ac_word... " >&6; }
3523 if ${ac_cv_prog_CC+:} false
; then :
3524 $as_echo_n "(cached) " >&6
3526 if test -n "$CC"; then
3527 ac_cv_prog_CC
="$CC" # Let the user override the test.
3529 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3533 test -z "$as_dir" && as_dir
=.
3534 for ac_exec_ext
in '' $ac_executable_extensions; do
3535 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3536 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3537 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3547 if test -n "$CC"; then
3548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3549 $as_echo "$CC" >&6; }
3551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3552 $as_echo "no" >&6; }
3557 if test -z "$ac_cv_prog_CC"; then
3559 # Extract the first word of "gcc", so it can be a program name with args.
3560 set dummy gcc
; ac_word
=$2
3561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3562 $as_echo_n "checking for $ac_word... " >&6; }
3563 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3564 $as_echo_n "(cached) " >&6
3566 if test -n "$ac_ct_CC"; then
3567 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3569 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3573 test -z "$as_dir" && as_dir
=.
3574 for ac_exec_ext
in '' $ac_executable_extensions; do
3575 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3576 ac_cv_prog_ac_ct_CC
="gcc"
3577 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3586 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3587 if test -n "$ac_ct_CC"; then
3588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3589 $as_echo "$ac_ct_CC" >&6; }
3591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3592 $as_echo "no" >&6; }
3595 if test "x$ac_ct_CC" = x
; then
3598 case $cross_compiling:$ac_tool_warned in
3600 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3601 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3602 ac_tool_warned
=yes ;;
3610 if test -z "$CC"; then
3611 if test -n "$ac_tool_prefix"; then
3612 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3613 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3615 $as_echo_n "checking for $ac_word... " >&6; }
3616 if ${ac_cv_prog_CC+:} false
; then :
3617 $as_echo_n "(cached) " >&6
3619 if test -n "$CC"; then
3620 ac_cv_prog_CC
="$CC" # Let the user override the test.
3622 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3626 test -z "$as_dir" && as_dir
=.
3627 for ac_exec_ext
in '' $ac_executable_extensions; do
3628 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3629 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3630 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3640 if test -n "$CC"; then
3641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3642 $as_echo "$CC" >&6; }
3644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3645 $as_echo "no" >&6; }
3651 if test -z "$CC"; then
3652 # Extract the first word of "cc", so it can be a program name with args.
3653 set dummy cc
; ac_word
=$2
3654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3655 $as_echo_n "checking for $ac_word... " >&6; }
3656 if ${ac_cv_prog_CC+:} false
; then :
3657 $as_echo_n "(cached) " >&6
3659 if test -n "$CC"; then
3660 ac_cv_prog_CC
="$CC" # Let the user override the test.
3663 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3667 test -z "$as_dir" && as_dir
=.
3668 for ac_exec_ext
in '' $ac_executable_extensions; do
3669 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3670 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3671 ac_prog_rejected
=yes
3675 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3682 if test $ac_prog_rejected = yes; then
3683 # We found a bogon in the path, so make sure we never use it.
3684 set dummy
$ac_cv_prog_CC
3686 if test $# != 0; then
3687 # We chose a different compiler from the bogus one.
3688 # However, it has the same basename, so the bogon will be chosen
3689 # first if we set CC to just the basename; use the full file name.
3691 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3697 if test -n "$CC"; then
3698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3699 $as_echo "$CC" >&6; }
3701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3702 $as_echo "no" >&6; }
3707 if test -z "$CC"; then
3708 if test -n "$ac_tool_prefix"; then
3709 for ac_prog
in cl.exe
3711 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3712 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3714 $as_echo_n "checking for $ac_word... " >&6; }
3715 if ${ac_cv_prog_CC+:} false
; then :
3716 $as_echo_n "(cached) " >&6
3718 if test -n "$CC"; then
3719 ac_cv_prog_CC
="$CC" # Let the user override the test.
3721 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3725 test -z "$as_dir" && as_dir
=.
3726 for ac_exec_ext
in '' $ac_executable_extensions; do
3727 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3728 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3729 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3739 if test -n "$CC"; then
3740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3741 $as_echo "$CC" >&6; }
3743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3744 $as_echo "no" >&6; }
3748 test -n "$CC" && break
3751 if test -z "$CC"; then
3753 for ac_prog
in cl.exe
3755 # Extract the first word of "$ac_prog", so it can be a program name with args.
3756 set dummy
$ac_prog; ac_word
=$2
3757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3758 $as_echo_n "checking for $ac_word... " >&6; }
3759 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3760 $as_echo_n "(cached) " >&6
3762 if test -n "$ac_ct_CC"; then
3763 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3765 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3769 test -z "$as_dir" && as_dir
=.
3770 for ac_exec_ext
in '' $ac_executable_extensions; do
3771 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3772 ac_cv_prog_ac_ct_CC
="$ac_prog"
3773 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3782 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3783 if test -n "$ac_ct_CC"; then
3784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3785 $as_echo "$ac_ct_CC" >&6; }
3787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3788 $as_echo "no" >&6; }
3792 test -n "$ac_ct_CC" && break
3795 if test "x$ac_ct_CC" = x
; then
3798 case $cross_compiling:$ac_tool_warned in
3800 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3801 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3802 ac_tool_warned
=yes ;;
3811 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3812 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3813 as_fn_error $?
"no acceptable C compiler found in \$PATH
3814 See \`config.log' for more details" "$LINENO" 5; }
3816 # Provide some information about the compiler.
3817 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3820 for ac_option
in --version -v -V -qversion; do
3821 { { ac_try
="$ac_compiler $ac_option >&5"
3823 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3824 *) ac_try_echo=$ac_try;;
3826 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3827 $as_echo "$ac_try_echo"; } >&5
3828 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3830 if test -s conftest.err; then
3832 ... rest of stderr output deleted ...
3833 10q' conftest.err >conftest.er1
3834 cat conftest.er1 >&5
3836 rm -f conftest.er1 conftest.err
3837 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3838 test $ac_status = 0; }
3841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3842 /* end confdefs.h. */
3852 ac_clean_files_save=$ac_clean_files
3853 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3854 # Try to create an executable without -o first, disregard a.out.
3855 # It will help us diagnose broken compilers, and finding out an intuition
3857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3858 $as_echo_n "checking whether the C compiler works... " >&6; }
3859 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3861 # The possible output files:
3862 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3865 for ac_file in $ac_files
3868 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3869 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3874 if { { ac_try="$ac_link_default"
3876 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3877 *) ac_try_echo
=$ac_try;;
3879 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3880 $as_echo "$ac_try_echo"; } >&5
3881 (eval "$ac_link_default") 2>&5
3883 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3884 test $ac_status = 0; }; then :
3885 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3886 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3887 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3888 # so that the user can short-circuit this test for compilers unknown to
3890 for ac_file
in $ac_files ''
3892 test -f "$ac_file" ||
continue
3894 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3897 # We found the default executable, but exeext='' is most
3901 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3903 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3905 # We set ac_cv_exeext here because the later test for it is not
3906 # safe: cross compilers may not add the suffix if given an `-o'
3907 # argument, so we may need to know it at that point already.
3908 # Even if this section looks crufty: it has the advantage of
3915 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3920 if test -z "$ac_file"; then :
3921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3922 $as_echo "no" >&6; }
3923 $as_echo "$as_me: failed program was:" >&5
3924 sed 's/^/| /' conftest.
$ac_ext >&5
3926 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3927 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3928 as_fn_error
77 "C compiler cannot create executables
3929 See \`config.log' for more details" "$LINENO" 5; }
3931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3932 $as_echo "yes" >&6; }
3934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3935 $as_echo_n "checking for C compiler default output file name... " >&6; }
3936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3937 $as_echo "$ac_file" >&6; }
3938 ac_exeext
=$ac_cv_exeext
3940 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3941 ac_clean_files
=$ac_clean_files_save
3942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3943 $as_echo_n "checking for suffix of executables... " >&6; }
3944 if { { ac_try
="$ac_link"
3946 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3947 *) ac_try_echo=$ac_try;;
3949 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3950 $as_echo "$ac_try_echo"; } >&5
3951 (eval "$ac_link") 2>&5
3953 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3954 test $ac_status = 0; }; then :
3955 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3956 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3957 # work properly (i.e., refer to `conftest.exe'), while it won't with
3959 for ac_file
in conftest.exe conftest conftest.
*; do
3960 test -f "$ac_file" ||
continue
3962 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3963 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3969 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3970 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3971 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3972 See \`config.log' for more details" "$LINENO" 5; }
3974 rm -f conftest conftest
$ac_cv_exeext
3975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3976 $as_echo "$ac_cv_exeext" >&6; }
3978 rm -f conftest.
$ac_ext
3979 EXEEXT
=$ac_cv_exeext
3981 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3982 /* end confdefs.h. */
3987 FILE *f = fopen ("conftest.out", "w");
3988 return ferror (f) || fclose (f) != 0;
3994 ac_clean_files
="$ac_clean_files conftest.out"
3995 # Check that the compiler produces executables we can run. If not, either
3996 # the compiler is broken, or we cross compile.
3997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3998 $as_echo_n "checking whether we are cross compiling... " >&6; }
3999 if test "$cross_compiling" != yes; then
4000 { { ac_try
="$ac_link"
4002 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4003 *) ac_try_echo=$ac_try;;
4005 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4006 $as_echo "$ac_try_echo"; } >&5
4007 (eval "$ac_link") 2>&5
4009 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4010 test $ac_status = 0; }
4011 if { ac_try='./conftest$ac_cv_exeext'
4012 { { case "(($ac_try" in
4013 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4014 *) ac_try_echo
=$ac_try;;
4016 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4017 $as_echo "$ac_try_echo"; } >&5
4018 (eval "$ac_try") 2>&5
4020 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4021 test $ac_status = 0; }; }; then
4024 if test "$cross_compiling" = maybe
; then
4027 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4028 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4029 as_fn_error $?
"cannot run C compiled programs.
4030 If you meant to cross compile, use \`--host'.
4031 See \`config.log' for more details" "$LINENO" 5; }
4035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4036 $as_echo "$cross_compiling" >&6; }
4038 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4039 ac_clean_files
=$ac_clean_files_save
4040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4041 $as_echo_n "checking for suffix of object files... " >&6; }
4042 if ${ac_cv_objext+:} false
; then :
4043 $as_echo_n "(cached) " >&6
4045 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4046 /* end confdefs.h. */
4056 rm -f conftest.o conftest.obj
4057 if { { ac_try
="$ac_compile"
4059 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4060 *) ac_try_echo=$ac_try;;
4062 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4063 $as_echo "$ac_try_echo"; } >&5
4064 (eval "$ac_compile") 2>&5
4066 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4067 test $ac_status = 0; }; then :
4068 for ac_file in conftest.o conftest.obj conftest.*; do
4069 test -f "$ac_file" || continue;
4071 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4072 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4077 $as_echo "$as_me: failed program was:" >&5
4078 sed 's/^/| /' conftest.$ac_ext >&5
4080 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4081 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4082 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4083 See \
`config.log' for more details" "$LINENO" 5; }
4085 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4088 $as_echo "$ac_cv_objext" >&6; }
4089 OBJEXT=$ac_cv_objext
4091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4092 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4093 if ${ac_cv_c_compiler_gnu+:} false; then :
4094 $as_echo_n "(cached) " >&6
4096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4097 /* end confdefs.h. */
4110 if ac_fn_c_try_compile "$LINENO"; then :
4115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4116 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4120 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4121 if test $ac_compiler_gnu = yes; then
4126 ac_test_CFLAGS=${CFLAGS+set}
4127 ac_save_CFLAGS=$CFLAGS
4128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4129 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4130 if ${ac_cv_prog_cc_g+:} false; then :
4131 $as_echo_n "(cached) " >&6
4133 ac_save_c_werror_flag=$ac_c_werror_flag
4134 ac_c_werror_flag=yes
4137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4138 /* end confdefs.h. */
4148 if ac_fn_c_try_compile "$LINENO"; then :
4152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4153 /* end confdefs.h. */
4163 if ac_fn_c_try_compile "$LINENO"; then :
4166 ac_c_werror_flag=$ac_save_c_werror_flag
4168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4169 /* end confdefs.h. */
4179 if ac_fn_c_try_compile "$LINENO"; then :
4182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4187 ac_c_werror_flag=$ac_save_c_werror_flag
4189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4190 $as_echo "$ac_cv_prog_cc_g" >&6; }
4191 if test "$ac_test_CFLAGS" = set; then
4192 CFLAGS=$ac_save_CFLAGS
4193 elif test $ac_cv_prog_cc_g = yes; then
4194 if test "$GCC" = yes; then
4200 if test "$GCC" = yes; then
4206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4207 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4208 if ${ac_cv_prog_cc_c89+:} false; then :
4209 $as_echo_n "(cached) " >&6
4211 ac_cv_prog_cc_c89=no
4213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4214 /* end confdefs.h. */
4218 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4219 struct buf { int x; };
4220 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4221 static char *e (p, i)
4227 static char *f (char * (*g) (char **, int), char **p, ...)
4232 s = g (p, va_arg (v,int));
4237 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4238 function prototypes and stuff, but not '\xHH' hex character constants.
4239 These don't provoke an error unfortunately, instead are silently treated
4240 as 'x'. The following induces an error, until -std is added to get
4241 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4242 array size at least. It's necessary to write '\x00'==0 to get something
4243 that's true only with -std. */
4244 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4246 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4247 inside strings and character constants. */
4249 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4251 int test (int i, double x);
4252 struct s1 {int (*f) (int a);};
4253 struct s2 {int (*f) (double a);};
4254 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4260 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4265 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4266 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4268 CC="$ac_save_CC $ac_arg"
4269 if ac_fn_c_try_compile "$LINENO"; then :
4270 ac_cv_prog_cc_c89=$ac_arg
4272 rm -f core conftest.err conftest.$ac_objext
4273 test "x$ac_cv_prog_cc_c89" != "xno" && break
4275 rm -f conftest.$ac_ext
4280 case "x$ac_cv_prog_cc_c89" in
4282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4283 $as_echo "none needed" >&6; } ;;
4285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4286 $as_echo "unsupported" >&6; } ;;
4288 CC="$CC $ac_cv_prog_cc_c89"
4289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4290 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4292 if test "x$ac_cv_prog_cc_c89" != xno; then :
4297 ac_cpp='$CPP $CPPFLAGS'
4298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4303 ac_cpp='$CPP $CPPFLAGS'
4304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4308 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4309 if ${am_cv_prog_cc_c_o+:} false; then :
4310 $as_echo_n "(cached) " >&6
4312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4313 /* end confdefs.h. */
4323 # Make sure it works both with $CC and with simple cc.
4324 # Following AC_PROG_CC_C_O, we do the test twice because some
4325 # compilers refuse to overwrite an existing .o file with -o,
4326 # though they will create one.
4327 am_cv_prog_cc_c_o=yes
4329 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4330 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4333 (exit $ac_status); } \
4334 && test -f conftest2.$ac_objext; then
4337 am_cv_prog_cc_c_o=no
4341 rm -f core conftest*
4344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4345 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4346 if test "$am_cv_prog_cc_c_o" != yes; then
4347 # Losing compiler, so override with the script.
4348 # FIXME: It is wrong to rewrite CC.
4349 # But if we don't then we get into trouble of one sort or another.
4350 # A longer-term fix would be to have automake use am__CC in this case,
4351 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4352 CC="$am_aux_dir/compile $CC"
4355 ac_cpp='$CPP $CPPFLAGS'
4356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4360 DEPDIR="${am__leading_dot}deps"
4362 ac_config_commands="$ac_config_commands depfiles"
4365 am_make=${MAKE-make}
4366 cat > confinc << 'END'
4368 @echo this is the am__doit target
4371 # If we don't find an include directive, just comment out the code.
4372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4373 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4377 # First try GNU make style include.
4378 echo "include confinc" > confmf
4379 # Ignore all kinds of additional output from 'make'.
4380 case `$am_make -s -f confmf
2> /dev
/null
` in #(
4381 *the\ am__doit\ target*)
4387 # Now try BSD make style include.
4388 if test "$am__include" = "#"; then
4389 echo '.include "confinc"' > confmf
4390 case `$am_make -s -f confmf
2> /dev
/null
` in #(
4391 *the\ am__doit\ target*)
4392 am__include=.include
4400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4401 $as_echo "$_am_result" >&6; }
4402 rm -f confinc confmf
4404 # Check whether --enable-dependency-tracking was given.
4405 if test "${enable_dependency_tracking+set}" = set; then :
4406 enableval=$enable_dependency_tracking;
4409 if test "x$enable_dependency_tracking" != xno; then
4410 am_depcomp="$ac_aux_dir/depcomp"
4414 if test "x$enable_dependency_tracking" != xno; then
4424 depcc="$CC" am_compiler_list=
4426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4427 $as_echo_n "checking dependency style of $depcc... " >&6; }
4428 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4429 $as_echo_n "(cached) " >&6
4431 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4432 # We make a subdir and do the tests there. Otherwise we can end up
4433 # making bogus files that we don't know about and never remove. For
4434 # instance it was reported that on HP-UX the gcc test will end up
4435 # making a dummy file named 'D' -- because '-MD' means "put the output
4439 # Copy depcomp to subdir because otherwise we won't find it if we're
4440 # using a relative directory.
4441 cp "$am_depcomp" conftest.dir
4443 # We will build objects and dependencies in a subdirectory because
4444 # it helps to detect inapplicable dependency modes. For instance
4445 # both Tru64's cc and ICC support -MD to output dependencies as a
4446 # side effect of compilation, but ICC will put the dependencies in
4447 # the current directory while Tru64 will put them in the object
4451 am_cv_CC_dependencies_compiler_type=none
4452 if test "$am_compiler_list" = ""; then
4453 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4456 case " $depcc " in #(
4457 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4460 for depmode in $am_compiler_list; do
4461 # Setup a source with many dependencies, because some compilers
4462 # like to wrap large dependency lists on column 80 (with \), and
4463 # we should not choose a depcomp mode which is confused by this.
4465 # We need to recreate these files for each test, as the compiler may
4466 # overwrite some of them when testing with obscure command lines.
4467 # This happens at least with the AIX C compiler.
4469 for i in 1 2 3 4 5 6; do
4470 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4471 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4472 # Solaris 10 /bin/sh.
4473 echo '/* dummy */' > sub/conftst$i.h
4475 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4477 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4478 # mode. It turns out that the SunPro C++ compiler does not properly
4479 # handle '-M -o', and we need to detect this. Also, some Intel
4480 # versions had trouble with output in subdirs.
4481 am__obj=sub/conftest.${OBJEXT-o}
4482 am__minus_obj="-o $am__obj"
4485 # This depmode causes a compiler race in universal mode.
4486 test "$am__universal" = false || continue
4489 # After this tag, mechanisms are not by side-effect, so they'll
4490 # only be used when explicitly requested.
4491 if test "x$enable_dependency_tracking" = xyes; then
4497 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4498 # This compiler won't grok '-c -o', but also, the minuso test has
4499 # not run yet. These depmodes are late enough in the game, and
4500 # so weak that their functioning should not be impacted.
4501 am__obj=conftest.${OBJEXT-o}
4506 if depmode=$depmode \
4507 source=sub/conftest.c object=$am__obj \
4508 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4509 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4510 >/dev/null 2>conftest.err &&
4511 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4512 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4513 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4514 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4515 # icc doesn't choke on unknown options, it will just issue warnings
4516 # or remarks (even with -Werror). So we grep stderr for any message
4517 # that says an option was ignored or not supported.
4518 # When given -MP, icc 7.0 and 7.1 complain thusly:
4519 # icc: Command line warning: ignoring option '-M'; no argument required
4520 # The diagnosis changed in icc 8.0:
4521 # icc: Command line remark: option '-MP' not supported
4522 if (grep 'ignoring option' conftest.err ||
4523 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4524 am_cv_CC_dependencies_compiler_type=$depmode
4533 am_cv_CC_dependencies_compiler_type=none
4537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4538 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4539 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4542 test "x$enable_dependency_tracking" != xno \
4543 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4545 am__fastdepCC_FALSE='#'
4547 am__fastdepCC_TRUE='#'
4548 am__fastdepCC_FALSE=
4553 ac_cpp='$CXXCPP $CPPFLAGS'
4554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4557 if test -z "$CXX"; then
4558 if test -n "$CCC"; then
4561 if test -n "$ac_tool_prefix"; then
4562 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4564 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4565 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4567 $as_echo_n "checking for $ac_word... " >&6; }
4568 if ${ac_cv_prog_CXX+:} false; then :
4569 $as_echo_n "(cached) " >&6
4571 if test -n "$CXX"; then
4572 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4574 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4578 test -z "$as_dir" && as_dir=.
4579 for ac_exec_ext in '' $ac_executable_extensions; do
4580 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4581 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4582 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4592 if test -n "$CXX"; then
4593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4594 $as_echo "$CXX" >&6; }
4596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4597 $as_echo "no" >&6; }
4601 test -n "$CXX" && break
4604 if test -z "$CXX"; then
4606 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4608 # Extract the first word of "$ac_prog", so it can be a program name with args.
4609 set dummy $ac_prog; ac_word=$2
4610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4611 $as_echo_n "checking for $ac_word... " >&6; }
4612 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4613 $as_echo_n "(cached) " >&6
4615 if test -n "$ac_ct_CXX"; then
4616 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4618 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4622 test -z "$as_dir" && as_dir=.
4623 for ac_exec_ext in '' $ac_executable_extensions; do
4624 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4625 ac_cv_prog_ac_ct_CXX="$ac_prog"
4626 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4635 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4636 if test -n "$ac_ct_CXX"; then
4637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4638 $as_echo "$ac_ct_CXX" >&6; }
4640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4641 $as_echo "no" >&6; }
4645 test -n "$ac_ct_CXX" && break
4648 if test "x$ac_ct_CXX" = x; then
4651 case $cross_compiling:$ac_tool_warned in
4653 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4654 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4655 ac_tool_warned=yes ;;
4663 # Provide some information about the compiler.
4664 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4667 for ac_option in --version -v -V -qversion; do
4668 { { ac_try="$ac_compiler $ac_option >&5"
4670 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4671 *) ac_try_echo
=$ac_try;;
4673 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4674 $as_echo "$ac_try_echo"; } >&5
4675 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4677 if test -s conftest.err
; then
4679 ... rest of stderr output deleted ...
4680 10q' conftest.err
>conftest.er1
4681 cat conftest.er1
>&5
4683 rm -f conftest.er1 conftest.err
4684 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4685 test $ac_status = 0; }
4688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4689 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4690 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
4691 $as_echo_n "(cached) " >&6
4693 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4694 /* end confdefs.h. */
4707 if ac_fn_cxx_try_compile
"$LINENO"; then :
4712 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4713 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4717 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4718 if test $ac_compiler_gnu = yes; then
4723 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4724 ac_save_CXXFLAGS
=$CXXFLAGS
4725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4726 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4727 if ${ac_cv_prog_cxx_g+:} false
; then :
4728 $as_echo_n "(cached) " >&6
4730 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4731 ac_cxx_werror_flag
=yes
4734 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4735 /* end confdefs.h. */
4745 if ac_fn_cxx_try_compile
"$LINENO"; then :
4746 ac_cv_prog_cxx_g
=yes
4749 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4750 /* end confdefs.h. */
4760 if ac_fn_cxx_try_compile
"$LINENO"; then :
4763 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4765 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4766 /* end confdefs.h. */
4776 if ac_fn_cxx_try_compile
"$LINENO"; then :
4777 ac_cv_prog_cxx_g
=yes
4779 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4781 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4783 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4784 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4787 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4788 if test "$ac_test_CXXFLAGS" = set; then
4789 CXXFLAGS
=$ac_save_CXXFLAGS
4790 elif test $ac_cv_prog_cxx_g = yes; then
4791 if test "$GXX" = yes; then
4797 if test "$GXX" = yes; then
4804 ac_cpp
='$CPP $CPPFLAGS'
4805 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4806 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4807 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4809 depcc
="$CXX" am_compiler_list
=
4811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4812 $as_echo_n "checking dependency style of $depcc... " >&6; }
4813 if ${am_cv_CXX_dependencies_compiler_type+:} false
; then :
4814 $as_echo_n "(cached) " >&6
4816 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4817 # We make a subdir and do the tests there. Otherwise we can end up
4818 # making bogus files that we don't know about and never remove. For
4819 # instance it was reported that on HP-UX the gcc test will end up
4820 # making a dummy file named 'D' -- because '-MD' means "put the output
4824 # Copy depcomp to subdir because otherwise we won't find it if we're
4825 # using a relative directory.
4826 cp "$am_depcomp" conftest.dir
4828 # We will build objects and dependencies in a subdirectory because
4829 # it helps to detect inapplicable dependency modes. For instance
4830 # both Tru64's cc and ICC support -MD to output dependencies as a
4831 # side effect of compilation, but ICC will put the dependencies in
4832 # the current directory while Tru64 will put them in the object
4836 am_cv_CXX_dependencies_compiler_type
=none
4837 if test "$am_compiler_list" = ""; then
4838 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4841 case " $depcc " in #(
4842 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4845 for depmode
in $am_compiler_list; do
4846 # Setup a source with many dependencies, because some compilers
4847 # like to wrap large dependency lists on column 80 (with \), and
4848 # we should not choose a depcomp mode which is confused by this.
4850 # We need to recreate these files for each test, as the compiler may
4851 # overwrite some of them when testing with obscure command lines.
4852 # This happens at least with the AIX C compiler.
4854 for i
in 1 2 3 4 5 6; do
4855 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4856 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4857 # Solaris 10 /bin/sh.
4858 echo '/* dummy */' > sub
/conftst
$i.h
4860 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4862 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4863 # mode. It turns out that the SunPro C++ compiler does not properly
4864 # handle '-M -o', and we need to detect this. Also, some Intel
4865 # versions had trouble with output in subdirs.
4866 am__obj
=sub
/conftest.
${OBJEXT-o}
4867 am__minus_obj
="-o $am__obj"
4870 # This depmode causes a compiler race in universal mode.
4871 test "$am__universal" = false ||
continue
4874 # After this tag, mechanisms are not by side-effect, so they'll
4875 # only be used when explicitly requested.
4876 if test "x$enable_dependency_tracking" = xyes
; then
4882 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
4883 # This compiler won't grok '-c -o', but also, the minuso test has
4884 # not run yet. These depmodes are late enough in the game, and
4885 # so weak that their functioning should not be impacted.
4886 am__obj
=conftest.
${OBJEXT-o}
4891 if depmode
=$depmode \
4892 source=sub
/conftest.c object
=$am__obj \
4893 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4894 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4895 >/dev
/null
2>conftest.err
&&
4896 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4897 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4898 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4899 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4900 # icc doesn't choke on unknown options, it will just issue warnings
4901 # or remarks (even with -Werror). So we grep stderr for any message
4902 # that says an option was ignored or not supported.
4903 # When given -MP, icc 7.0 and 7.1 complain thusly:
4904 # icc: Command line warning: ignoring option '-M'; no argument required
4905 # The diagnosis changed in icc 8.0:
4906 # icc: Command line remark: option '-MP' not supported
4907 if (grep 'ignoring option' conftest.err ||
4908 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4909 am_cv_CXX_dependencies_compiler_type
=$depmode
4918 am_cv_CXX_dependencies_compiler_type
=none
4922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4923 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4924 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
4927 test "x$enable_dependency_tracking" != xno \
4928 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
4929 am__fastdepCXX_TRUE
=
4930 am__fastdepCXX_FALSE
='#'
4932 am__fastdepCXX_TRUE
='#'
4933 am__fastdepCXX_FALSE
=
4937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4938 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4939 if ${ac_cv_path_GREP+:} false
; then :
4940 $as_echo_n "(cached) " >&6
4942 if test -z "$GREP"; then
4943 ac_path_GREP_found
=false
4944 # Loop through the user's path and test for each of PROGNAME-LIST
4945 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4946 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4949 test -z "$as_dir" && as_dir
=.
4950 for ac_prog
in grep ggrep
; do
4951 for ac_exec_ext
in '' $ac_executable_extensions; do
4952 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4953 as_fn_executable_p
"$ac_path_GREP" ||
continue
4954 # Check for GNU ac_path_GREP and select it if it is found.
4955 # Check for GNU $ac_path_GREP
4956 case `"$ac_path_GREP" --version 2>&1` in
4958 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4961 $as_echo_n 0123456789 >"conftest.in"
4964 cat "conftest.in" "conftest.in" >"conftest.tmp"
4965 mv "conftest.tmp" "conftest.in"
4966 cp "conftest.in" "conftest.nl"
4967 $as_echo 'GREP' >> "conftest.nl"
4968 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4969 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4970 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4971 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4972 # Best one so far, save it but keep looking for a better one
4973 ac_cv_path_GREP
="$ac_path_GREP"
4974 ac_path_GREP_max
=$ac_count
4976 # 10*(2^10) chars as input seems more than enough
4977 test $ac_count -gt 10 && break
4979 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4982 $ac_path_GREP_found && break 3
4987 if test -z "$ac_cv_path_GREP"; then
4988 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4991 ac_cv_path_GREP
=$GREP
4995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4996 $as_echo "$ac_cv_path_GREP" >&6; }
4997 GREP
="$ac_cv_path_GREP"
5002 ac_cpp
='$CPP $CPPFLAGS'
5003 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5004 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5005 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5007 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5008 # On Suns, sometimes $CPP names a directory.
5009 if test -n "$CPP" && test -d "$CPP"; then
5012 if test -z "$CPP"; then
5013 if ${ac_cv_prog_CPP+:} false
; then :
5014 $as_echo_n "(cached) " >&6
5016 # Double quotes because CPP needs to be expanded
5017 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5020 for ac_c_preproc_warn_flag
in '' yes
5022 # Use a header file that comes with gcc, so configuring glibc
5023 # with a fresh cross-compiler works.
5024 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5025 # <limits.h> exists even on freestanding compilers.
5026 # On the NeXT, cc -E runs the code through the compiler's parser,
5027 # not just through cpp. "Syntax error" is here to catch this case.
5028 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5029 /* end confdefs.h. */
5031 # include <limits.h>
5033 # include <assert.h>
5037 if ac_fn_c_try_cpp
"$LINENO"; then :
5040 # Broken: fails on valid input.
5043 rm -f conftest.err conftest.i conftest.
$ac_ext
5045 # OK, works on sane cases. Now check whether nonexistent headers
5046 # can be detected and how.
5047 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5048 /* end confdefs.h. */
5049 #include <ac_nonexistent.h>
5051 if ac_fn_c_try_cpp
"$LINENO"; then :
5052 # Broken: success on invalid input.
5055 # Passes both tests.
5059 rm -f conftest.err conftest.i conftest.
$ac_ext
5062 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5063 rm -f conftest.i conftest.err conftest.
$ac_ext
5064 if $ac_preproc_ok; then :
5076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5077 $as_echo "$CPP" >&6; }
5079 for ac_c_preproc_warn_flag
in '' yes
5081 # Use a header file that comes with gcc, so configuring glibc
5082 # with a fresh cross-compiler works.
5083 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5084 # <limits.h> exists even on freestanding compilers.
5085 # On the NeXT, cc -E runs the code through the compiler's parser,
5086 # not just through cpp. "Syntax error" is here to catch this case.
5087 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5088 /* end confdefs.h. */
5090 # include <limits.h>
5092 # include <assert.h>
5096 if ac_fn_c_try_cpp
"$LINENO"; then :
5099 # Broken: fails on valid input.
5102 rm -f conftest.err conftest.i conftest.
$ac_ext
5104 # OK, works on sane cases. Now check whether nonexistent headers
5105 # can be detected and how.
5106 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5107 /* end confdefs.h. */
5108 #include <ac_nonexistent.h>
5110 if ac_fn_c_try_cpp
"$LINENO"; then :
5111 # Broken: success on invalid input.
5114 # Passes both tests.
5118 rm -f conftest.err conftest.i conftest.
$ac_ext
5121 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5122 rm -f conftest.i conftest.err conftest.
$ac_ext
5123 if $ac_preproc_ok; then :
5126 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5127 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5128 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
5129 See \`config.log' for more details" "$LINENO" 5; }
5133 ac_cpp
='$CPP $CPPFLAGS'
5134 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5135 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5136 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5140 $as_echo_n "checking for egrep... " >&6; }
5141 if ${ac_cv_path_EGREP+:} false
; then :
5142 $as_echo_n "(cached) " >&6
5144 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5145 then ac_cv_path_EGREP
="$GREP -E"
5147 if test -z "$EGREP"; then
5148 ac_path_EGREP_found
=false
5149 # Loop through the user's path and test for each of PROGNAME-LIST
5150 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5151 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5154 test -z "$as_dir" && as_dir
=.
5155 for ac_prog
in egrep; do
5156 for ac_exec_ext
in '' $ac_executable_extensions; do
5157 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5158 as_fn_executable_p
"$ac_path_EGREP" ||
continue
5159 # Check for GNU ac_path_EGREP and select it if it is found.
5160 # Check for GNU $ac_path_EGREP
5161 case `"$ac_path_EGREP" --version 2>&1` in
5163 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5166 $as_echo_n 0123456789 >"conftest.in"
5169 cat "conftest.in" "conftest.in" >"conftest.tmp"
5170 mv "conftest.tmp" "conftest.in"
5171 cp "conftest.in" "conftest.nl"
5172 $as_echo 'EGREP' >> "conftest.nl"
5173 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5174 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5175 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5176 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5177 # Best one so far, save it but keep looking for a better one
5178 ac_cv_path_EGREP
="$ac_path_EGREP"
5179 ac_path_EGREP_max
=$ac_count
5181 # 10*(2^10) chars as input seems more than enough
5182 test $ac_count -gt 10 && break
5184 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5187 $ac_path_EGREP_found && break 3
5192 if test -z "$ac_cv_path_EGREP"; then
5193 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5196 ac_cv_path_EGREP
=$EGREP
5201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5202 $as_echo "$ac_cv_path_EGREP" >&6; }
5203 EGREP
="$ac_cv_path_EGREP"
5206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5207 $as_echo_n "checking for ANSI C header files... " >&6; }
5208 if ${ac_cv_header_stdc+:} false
; then :
5209 $as_echo_n "(cached) " >&6
5211 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5212 /* end confdefs.h. */
5226 if ac_fn_c_try_compile
"$LINENO"; then :
5227 ac_cv_header_stdc
=yes
5229 ac_cv_header_stdc
=no
5231 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5233 if test $ac_cv_header_stdc = yes; then
5234 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5235 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5236 /* end confdefs.h. */
5240 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5241 $EGREP "memchr" >/dev
/null
2>&1; then :
5244 ac_cv_header_stdc
=no
5250 if test $ac_cv_header_stdc = yes; then
5251 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5252 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5253 /* end confdefs.h. */
5257 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5258 $EGREP "free" >/dev
/null
2>&1; then :
5261 ac_cv_header_stdc
=no
5267 if test $ac_cv_header_stdc = yes; then
5268 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5269 if test "$cross_compiling" = yes; then :
5272 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5273 /* end confdefs.h. */
5276 #if ((' ' & 0x0FF) == 0x020)
5277 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5278 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5280 # define ISLOWER(c) \
5281 (('a' <= (c) && (c) <= 'i') \
5282 || ('j' <= (c) && (c) <= 'r') \
5283 || ('s' <= (c) && (c) <= 'z'))
5284 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5287 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5292 for (i = 0; i < 256; i++)
5293 if (XOR (islower (i), ISLOWER (i))
5294 || toupper (i) != TOUPPER (i))
5299 if ac_fn_c_try_run
"$LINENO"; then :
5302 ac_cv_header_stdc
=no
5304 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5305 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5311 $as_echo "$ac_cv_header_stdc" >&6; }
5312 if test $ac_cv_header_stdc = yes; then
5314 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5318 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5319 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5320 inttypes.h stdint.h unistd.h
5322 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5323 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5325 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5326 cat >>confdefs.h
<<_ACEOF
5327 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5336 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
5337 if test "x$ac_cv_header_minix_config_h" = xyes
; then :
5344 if test "$MINIX" = yes; then
5346 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
5349 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
5352 $as_echo "#define _MINIX 1" >>confdefs.h
5357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
5358 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
5359 if ${ac_cv_safe_to_define___extensions__+:} false
; then :
5360 $as_echo_n "(cached) " >&6
5362 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5363 /* end confdefs.h. */
5365 # define __EXTENSIONS__ 1
5366 $ac_includes_default
5375 if ac_fn_c_try_compile
"$LINENO"; then :
5376 ac_cv_safe_to_define___extensions__
=yes
5378 ac_cv_safe_to_define___extensions__
=no
5380 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
5383 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
5384 test $ac_cv_safe_to_define___extensions__ = yes &&
5385 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
5387 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
5389 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
5391 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
5393 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
5406 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
5407 if test -n "$ac_tool_prefix"; then
5408 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5409 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
5410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5411 $as_echo_n "checking for $ac_word... " >&6; }
5412 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
5413 $as_echo_n "(cached) " >&6
5417 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
5420 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5424 test -z "$as_dir" && as_dir
=.
5425 for ac_exec_ext
in '' $ac_executable_extensions; do
5426 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5427 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
5428 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5438 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
5439 if test -n "$PKG_CONFIG"; then
5440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5441 $as_echo "$PKG_CONFIG" >&6; }
5443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5444 $as_echo "no" >&6; }
5449 if test -z "$ac_cv_path_PKG_CONFIG"; then
5450 ac_pt_PKG_CONFIG
=$PKG_CONFIG
5451 # Extract the first word of "pkg-config", so it can be a program name with args.
5452 set dummy pkg-config
; ac_word
=$2
5453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5454 $as_echo_n "checking for $ac_word... " >&6; }
5455 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
5456 $as_echo_n "(cached) " >&6
5458 case $ac_pt_PKG_CONFIG in
5460 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
5463 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5467 test -z "$as_dir" && as_dir
=.
5468 for ac_exec_ext
in '' $ac_executable_extensions; do
5469 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5470 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
5471 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5481 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
5482 if test -n "$ac_pt_PKG_CONFIG"; then
5483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
5484 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
5486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5487 $as_echo "no" >&6; }
5490 if test "x$ac_pt_PKG_CONFIG" = x
; then
5493 case $cross_compiling:$ac_tool_warned in
5495 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5496 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5497 ac_tool_warned
=yes ;;
5499 PKG_CONFIG
=$ac_pt_PKG_CONFIG
5502 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
5506 if test -n "$PKG_CONFIG"; then
5507 _pkg_min_version
=0.9.0
5508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
5509 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
5510 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
5511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5512 $as_echo "yes" >&6; }
5514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5515 $as_echo "no" >&6; }
5522 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5523 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5528 macro_version
='2.2.7a'
5529 macro_revision
='1.3134'
5543 ltmain
="$ac_aux_dir/ltmain.sh"
5545 # Backslashify metacharacters that are still active within
5546 # double-quoted strings.
5547 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
5549 # Same as above, but do not quote variable references.
5550 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
5552 # Sed substitution to delay expansion of an escaped shell variable in a
5553 # double_quote_subst'ed string.
5554 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
5556 # Sed substitution to delay expansion of an escaped single quote.
5557 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
5559 # Sed substitution to avoid accidental globbing in evaled expressions
5560 no_glob_subst
='s/\*/\\\*/g'
5562 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5563 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5564 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5567 $as_echo_n "checking how to print strings... " >&6; }
5568 # Test print first, because it will be a builtin if present.
5569 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5570 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5572 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5575 # Use this function as a fallback that always works.
5576 func_fallback_echo ()
5578 eval 'cat <<_LTECHO_EOF
5582 ECHO='func_fallback_echo
'
5585 # func_echo_all arg...
5586 # Invoke $ECHO with all args, space-separated.
5593 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5594 $as_echo "printf" >&6; } ;;
5595 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5596 $as_echo "print -r" >&6; } ;;
5597 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5598 $as_echo "cat" >&6; } ;;
5614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5615 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5616 if ${ac_cv_path_SED+:} false; then :
5617 $as_echo_n "(cached) " >&6
5619 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5620 for ac_i in 1 2 3 4 5 6 7; do
5621 ac_script="$ac_script$as_nl$ac_script"
5623 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5624 { ac_script=; unset ac_script;}
5625 if test -z "$SED"; then
5626 ac_path_SED_found=false
5627 # Loop through the user's path and
test for each of PROGNAME-LIST
5628 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5632 test -z "$as_dir" && as_dir
=.
5633 for ac_prog
in sed gsed
; do
5634 for ac_exec_ext
in '' $ac_executable_extensions; do
5635 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
5636 as_fn_executable_p
"$ac_path_SED" ||
continue
5637 # Check for GNU ac_path_SED and select it if it is found.
5638 # Check for GNU $ac_path_SED
5639 case `"$ac_path_SED" --version 2>&1` in
5641 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
5644 $as_echo_n 0123456789 >"conftest.in"
5647 cat "conftest.in" "conftest.in" >"conftest.tmp"
5648 mv "conftest.tmp" "conftest.in"
5649 cp "conftest.in" "conftest.nl"
5650 $as_echo '' >> "conftest.nl"
5651 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5652 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5653 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5654 if test $ac_count -gt ${ac_path_SED_max-0}; then
5655 # Best one so far, save it but keep looking for a better one
5656 ac_cv_path_SED
="$ac_path_SED"
5657 ac_path_SED_max
=$ac_count
5659 # 10*(2^10) chars as input seems more than enough
5660 test $ac_count -gt 10 && break
5662 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5665 $ac_path_SED_found && break 3
5670 if test -z "$ac_cv_path_SED"; then
5671 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
5678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5679 $as_echo "$ac_cv_path_SED" >&6; }
5680 SED
="$ac_cv_path_SED"
5683 test -z "$SED" && SED
=sed
5684 Xsed
="$SED -e 1s/^X//"
5696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5697 $as_echo_n "checking for fgrep... " >&6; }
5698 if ${ac_cv_path_FGREP+:} false
; then :
5699 $as_echo_n "(cached) " >&6
5701 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
5702 then ac_cv_path_FGREP
="$GREP -F"
5704 if test -z "$FGREP"; then
5705 ac_path_FGREP_found
=false
5706 # Loop through the user's path and test for each of PROGNAME-LIST
5707 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5708 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5711 test -z "$as_dir" && as_dir
=.
5712 for ac_prog
in fgrep
; do
5713 for ac_exec_ext
in '' $ac_executable_extensions; do
5714 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
5715 as_fn_executable_p
"$ac_path_FGREP" ||
continue
5716 # Check for GNU ac_path_FGREP and select it if it is found.
5717 # Check for GNU $ac_path_FGREP
5718 case `"$ac_path_FGREP" --version 2>&1` in
5720 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
5723 $as_echo_n 0123456789 >"conftest.in"
5726 cat "conftest.in" "conftest.in" >"conftest.tmp"
5727 mv "conftest.tmp" "conftest.in"
5728 cp "conftest.in" "conftest.nl"
5729 $as_echo 'FGREP' >> "conftest.nl"
5730 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5731 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5732 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5733 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5734 # Best one so far, save it but keep looking for a better one
5735 ac_cv_path_FGREP
="$ac_path_FGREP"
5736 ac_path_FGREP_max
=$ac_count
5738 # 10*(2^10) chars as input seems more than enough
5739 test $ac_count -gt 10 && break
5741 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5744 $ac_path_FGREP_found && break 3
5749 if test -z "$ac_cv_path_FGREP"; then
5750 as_fn_error $?
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5753 ac_cv_path_FGREP
=$FGREP
5758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5759 $as_echo "$ac_cv_path_FGREP" >&6; }
5760 FGREP
="$ac_cv_path_FGREP"
5763 test -z "$GREP" && GREP
=grep
5783 # Check whether --with-gnu-ld was given.
5784 if test "${with_gnu_ld+set}" = set; then :
5785 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
5791 if test "$GCC" = yes; then
5792 # Check if gcc -print-prog-name=ld gives a path.
5793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5794 $as_echo_n "checking for ld used by $CC... " >&6; }
5797 # gcc leaves a trailing carriage return which upsets mingw
5798 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5800 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5803 # Accept absolute paths.
5805 re_direlt
='/[^/][^/]*/\.\./'
5806 # Canonicalize the pathname of ld
5807 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5808 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
5809 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5811 test -z "$LD" && LD
="$ac_prog"
5814 # If it fails, then pretend we aren't using GCC.
5818 # If it is relative, then search for the first ld in PATH.
5822 elif test "$with_gnu_ld" = yes; then
5823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5824 $as_echo_n "checking for GNU ld... " >&6; }
5826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5827 $as_echo_n "checking for non-GNU ld... " >&6; }
5829 if ${lt_cv_path_LD+:} false
; then :
5830 $as_echo_n "(cached) " >&6
5832 if test -z "$LD"; then
5833 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5834 for ac_dir
in $PATH; do
5836 test -z "$ac_dir" && ac_dir
=.
5837 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5838 lt_cv_path_LD
="$ac_dir/$ac_prog"
5839 # Check to see if the program is GNU ld. I'd rather use --version,
5840 # but apparently some variants of GNU ld only accept -v.
5841 # Break only if it was the GNU/non-GNU ld that we prefer.
5842 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5843 *GNU
* |
*'with BFD'*)
5844 test "$with_gnu_ld" != no
&& break
5847 test "$with_gnu_ld" != yes && break
5854 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
5859 if test -n "$LD"; then
5860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5861 $as_echo "$LD" >&6; }
5863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5864 $as_echo "no" >&6; }
5866 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
5867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5868 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5869 if ${lt_cv_prog_gnu_ld+:} false
; then :
5870 $as_echo_n "(cached) " >&6
5872 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5873 case `$LD -v 2>&1 </dev/null` in
5874 *GNU
* |
*'with BFD'*)
5875 lt_cv_prog_gnu_ld
=yes
5878 lt_cv_prog_gnu_ld
=no
5882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5883 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5884 with_gnu_ld
=$lt_cv_prog_gnu_ld
5894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5895 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5896 if ${lt_cv_path_NM+:} false
; then :
5897 $as_echo_n "(cached) " >&6
5899 if test -n "$NM"; then
5900 # Let the user override the nm to test.
5901 lt_nm_to_check
="$NM"
5903 lt_nm_to_check
="${ac_tool_prefix}nm"
5904 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5905 lt_nm_to_check
="$lt_nm_to_check nm"
5908 for lt_tmp_nm
in "$lt_nm_to_check"; do
5909 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5910 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
5912 test -z "$ac_dir" && ac_dir
=.
5913 # Strip out any user-provided options from the nm to test twice,
5914 # the first time to test to see if nm (rather than its options) has
5915 # an explicit path, the second time to yield a file which can be
5917 tmp_nm_path
="`$ECHO "$lt_tmp_nm" | sed 's, -.*$,,'`"
5918 case "$tmp_nm_path" in
5919 */*|
*\\*) tmp_nm
="$lt_tmp_nm";;
5920 *) tmp_nm
="$ac_dir/$lt_tmp_nm";;
5922 tmp_nm_to_nm
="`$ECHO "$tmp_nm" | sed 's, -.*$,,'`"
5923 if test -f "$tmp_nm_to_nm" ||
test -f "$tmp_nm_to_nm$ac_exeext" ; then
5924 # Check to see if the nm accepts a BSD-compat flag.
5925 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5926 # nm: unknown option "B" ignored
5927 case `"$tmp_nm" -B "$tmp_nm_to_nm" 2>&1 | grep -v '^ *$' | sed '1q'` in
5928 *$tmp_nm*) lt_cv_path_NM
="$tmp_nm -B"
5932 case `"$tmp_nm" -p "$tmp_nm_to_nm" 2>&1 | grep -v '^ *$' | sed '1q'` in
5934 lt_cv_path_NM
="$tmp_nm -p"
5938 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5939 continue # so that we can try to find one that supports BSD flags
5948 : ${lt_cv_path_NM=no}
5950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5951 $as_echo "$lt_cv_path_NM" >&6; }
5952 if test "$lt_cv_path_NM" != "no"; then
5955 # Didn't find any BSD compatible name lister, look for dumpbin.
5956 if test -n "$DUMPBIN"; then :
5957 # Let the user override the test.
5959 if test -n "$ac_tool_prefix"; then
5960 for ac_prog
in dumpbin
"link -dump"
5962 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5963 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5965 $as_echo_n "checking for $ac_word... " >&6; }
5966 if ${ac_cv_prog_DUMPBIN+:} false
; then :
5967 $as_echo_n "(cached) " >&6
5969 if test -n "$DUMPBIN"; then
5970 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
5972 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5976 test -z "$as_dir" && as_dir
=.
5977 for ac_exec_ext
in '' $ac_executable_extensions; do
5978 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5979 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
5980 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5989 DUMPBIN
=$ac_cv_prog_DUMPBIN
5990 if test -n "$DUMPBIN"; then
5991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5992 $as_echo "$DUMPBIN" >&6; }
5994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5995 $as_echo "no" >&6; }
5999 test -n "$DUMPBIN" && break
6002 if test -z "$DUMPBIN"; then
6003 ac_ct_DUMPBIN
=$DUMPBIN
6004 for ac_prog
in dumpbin
"link -dump"
6006 # Extract the first word of "$ac_prog", so it can be a program name with args.
6007 set dummy
$ac_prog; ac_word
=$2
6008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6009 $as_echo_n "checking for $ac_word... " >&6; }
6010 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false
; then :
6011 $as_echo_n "(cached) " >&6
6013 if test -n "$ac_ct_DUMPBIN"; then
6014 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
6016 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6020 test -z "$as_dir" && as_dir
=.
6021 for ac_exec_ext
in '' $ac_executable_extensions; do
6022 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6023 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
6024 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6033 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
6034 if test -n "$ac_ct_DUMPBIN"; then
6035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6036 $as_echo "$ac_ct_DUMPBIN" >&6; }
6038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6039 $as_echo "no" >&6; }
6043 test -n "$ac_ct_DUMPBIN" && break
6046 if test "x$ac_ct_DUMPBIN" = x
; then
6049 case $cross_compiling:$ac_tool_warned in
6051 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6052 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6053 ac_tool_warned
=yes ;;
6055 DUMPBIN
=$ac_ct_DUMPBIN
6059 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6061 DUMPBIN
="$DUMPBIN -symbols"
6069 if test "$DUMPBIN" != ":"; then
6073 test -z "$NM" && NM
=nm
6080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6081 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6082 if ${lt_cv_nm_interface+:} false
; then :
6083 $as_echo_n "(cached) " >&6
6085 lt_cv_nm_interface
="BSD nm"
6086 echo "int some_variable = 0;" > conftest.
$ac_ext
6087 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6088 (eval "$ac_compile" 2>conftest.err
)
6089 cat conftest.err
>&5
6090 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6091 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
6092 cat conftest.err
>&5
6093 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6094 cat conftest.out
>&5
6095 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
6096 lt_cv_nm_interface
="MS dumpbin"
6100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6101 $as_echo "$lt_cv_nm_interface" >&6; }
6103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6104 $as_echo_n "checking whether ln -s works... " >&6; }
6106 if test "$LN_S" = "ln -s"; then
6107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6108 $as_echo "yes" >&6; }
6110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6111 $as_echo "no, using $LN_S" >&6; }
6114 # find the maximum length of command line arguments
6115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6116 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6117 if ${lt_cv_sys_max_cmd_len+:} false
; then :
6118 $as_echo_n "(cached) " >&6
6125 # On DJGPP, this test can blow up pretty badly due to problems in libc
6126 # (any single argument exceeding 2000 bytes causes a buffer overrun
6127 # during glob expansion). Even if it were fixed, the result of this
6128 # check would be larger than it should be.
6129 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
6133 # Under GNU Hurd, this test is not required because there is
6134 # no limit to the length of command line arguments.
6135 # Libtool will interpret -1 as no limit whatsoever
6136 lt_cv_sys_max_cmd_len
=-1;
6139 cygwin
* | mingw
* | cegcc
*)
6140 # On Win9x/ME, this test blows up -- it succeeds, but takes
6141 # about 5 minutes as the teststring grows exponentially.
6142 # Worse, since 9x/ME are not pre-emptively multitasking,
6143 # you end up with a "frozen" computer, even though with patience
6144 # the test eventually succeeds (with a max line length of 256k).
6145 # Instead, let's just punt: use the minimum linelength reported by
6146 # all of the supported platforms: 8192 (on NT/2K/XP).
6147 lt_cv_sys_max_cmd_len
=8192;
6151 # On MiNT this can take a long time and run out of memory.
6152 lt_cv_sys_max_cmd_len
=8192;
6156 # On AmigaOS with pdksh, this test takes hours, literally.
6157 # So we just punt and use a minimum line length of 8192.
6158 lt_cv_sys_max_cmd_len
=8192;
6161 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
6162 # This has been around since 386BSD, at least. Likely further.
6163 if test -x /sbin
/sysctl
; then
6164 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
6165 elif test -x /usr
/sbin
/sysctl
; then
6166 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
6168 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
6170 # And add a safety zone
6171 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6172 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6176 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6177 lt_cv_sys_max_cmd_len
=196608
6181 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6182 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6183 # nice to cause kernel panics so lets avoid the loop below.
6184 # First set a reasonable default.
6185 lt_cv_sys_max_cmd_len
=16384
6187 if test -x /sbin
/sysconfig
; then
6188 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6189 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
6194 lt_cv_sys_max_cmd_len
=102400
6196 sysv5
* | sco5v6
* | sysv4.2uw2
*)
6197 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6198 if test -n "$kargmax"; then
6199 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
6201 lt_cv_sys_max_cmd_len
=32768
6205 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
6206 if test -n "$lt_cv_sys_max_cmd_len"; then
6207 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6208 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6210 # Make teststring a little bigger before we do anything with it.
6211 # a 1K string should be a reasonable start.
6212 for i
in 1 2 3 4 5 6 7 8 ; do
6213 teststring
=$teststring$teststring
6215 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
6216 # If test is not a shell built-in, we'll probably end up computing a
6217 # maximum length that is only half of the actual maximum length, but
6219 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6220 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
6221 test $i != 17 # 1/2 MB should be enough
6224 teststring
=$teststring$teststring
6226 # Only check the string length outside the loop.
6227 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
6229 # Add a significant safety factor because C++ compilers can tack on
6230 # massive amounts of additional arguments before passing them to the
6231 # linker. It appears as though 1/2 is a usable value.
6232 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
6239 if test -n $lt_cv_sys_max_cmd_len ; then
6240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6241 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6244 $as_echo "none" >&6; }
6246 max_cmd_len
=$lt_cv_sys_max_cmd_len
6257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6258 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6259 # Try some XSI features
6262 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6264 && eval 'test $(( 1 + 1 )) -eq 2 \
6265 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6267 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
6268 $as_echo "$xsi_shell" >&6; }
6271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
6272 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
6274 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
6276 && lt_shell_append=yes
6277 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
6278 $as_echo "$lt_shell_append" >&6; }
6281 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6291 # test EBCDIC or ASCII
6292 case `echo X|tr X '\101'` in
6293 A) # ASCII based system
6294 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6295 lt_SP2NL='tr \040 \012'
6296 lt_NL2SP='tr \015\012 \040\040'
6298 *) # EBCDIC based system
6299 lt_SP2NL='tr \100 \n'
6300 lt_NL2SP='tr \r\n \100\100'
6312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
6313 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
6314 if ${lt_cv_ld_reload_flag+:} false; then :
6315 $as_echo_n "(cached
) " >&6
6317 lt_cv_ld_reload_flag='-r'
6319 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
6320 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6321 reload_flag=$lt_cv_ld_reload_flag
6322 case $reload_flag in
6324 *) reload_flag=" $reload_flag" ;;
6326 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6329 if test "$GCC" = yes; then
6330 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6332 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6345 if test -n "$ac_tool_prefix"; then
6346 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
6347 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6349 $as_echo_n "checking
for $ac_word...
" >&6; }
6350 if ${ac_cv_prog_OBJDUMP+:} false; then :
6351 $as_echo_n "(cached
) " >&6
6353 if test -n "$OBJDUMP"; then
6354 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6360 test -z "$as_dir" && as_dir=.
6361 for ac_exec_ext in '' $ac_executable_extensions; do
6362 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6363 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
6364 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6373 OBJDUMP=$ac_cv_prog_OBJDUMP
6374 if test -n "$OBJDUMP"; then
6375 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
6376 $as_echo "$OBJDUMP" >&6; }
6378 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6379 $as_echo "no
" >&6; }
6384 if test -z "$ac_cv_prog_OBJDUMP"; then
6385 ac_ct_OBJDUMP=$OBJDUMP
6386 # Extract the first word of "objdump
", so it can be a program name with args.
6387 set dummy objdump; ac_word=$2
6388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6389 $as_echo_n "checking
for $ac_word...
" >&6; }
6390 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6391 $as_echo_n "(cached
) " >&6
6393 if test -n "$ac_ct_OBJDUMP"; then
6394 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6396 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6400 test -z "$as_dir" && as_dir=.
6401 for ac_exec_ext in '' $ac_executable_extensions; do
6402 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6403 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
6404 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6413 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6414 if test -n "$ac_ct_OBJDUMP"; then
6415 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
6416 $as_echo "$ac_ct_OBJDUMP" >&6; }
6418 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6419 $as_echo "no
" >&6; }
6422 if test "x
$ac_ct_OBJDUMP" = x; then
6425 case $cross_compiling:$ac_tool_warned in
6427 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6428 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6429 ac_tool_warned=yes ;;
6431 OBJDUMP=$ac_ct_OBJDUMP
6434 OBJDUMP="$ac_cv_prog_OBJDUMP"
6437 test -z "$OBJDUMP" && OBJDUMP=objdump
6447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
6448 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
6449 if ${lt_cv_deplibs_check_method+:} false; then :
6450 $as_echo_n "(cached
) " >&6
6452 lt_cv_file_magic_cmd='$MAGIC_CMD'
6453 lt_cv_file_magic_test_file=
6454 lt_cv_deplibs_check_method='unknown'
6455 # Need to set the preceding variable on all platforms that support
6456 # interlibrary dependencies.
6457 # 'none' -- dependencies not supported.
6458 # `unknown' -- same as none, but documents that we really don't know.
6459 # 'pass_all' -- all dependencies passed with no checks.
6460 # 'test_compile' -- check by making test program.
6461 # 'file_magic [[regex]]' -- check by looking for files in library path
6462 # which responds to the $file_magic_cmd with a given extended regex.
6463 # If you have `file' or equivalent on your system and you're not sure
6464 # whether `pass_all' will *always* work, you probably want this one.
6468 lt_cv_deplibs_check_method=pass_all
6472 lt_cv_deplibs_check_method=pass_all
6476 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6477 lt_cv_file_magic_cmd='/usr/bin/file -L'
6478 lt_cv_file_magic_test_file=/shlib/libc.so
6482 # func_win32_libid is a shell function defined in ltmain.sh
6483 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6484 lt_cv_file_magic_cmd='func_win32_libid'
6488 # Base MSYS/MinGW do not provide the 'file' command needed by
6489 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6490 # unless we find 'file', for example because we are cross-compiling.
6491 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6492 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
6493 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6494 lt_cv_file_magic_cmd='func_win32_libid'
6496 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6497 lt_cv_file_magic_cmd='$OBJDUMP -f'
6502 # use the weaker test based on 'objdump'. See mingw*.
6503 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6504 lt_cv_file_magic_cmd='$OBJDUMP -f'
6507 darwin* | rhapsody*)
6508 lt_cv_deplibs_check_method=pass_all
6511 freebsd* | dragonfly*)
6512 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6515 # Not sure whether the presence of OpenBSD here was a mistake.
6516 # Let's accept both of them until this is cleared up.
6517 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6518 lt_cv_file_magic_cmd=/usr/bin/file
6519 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6523 lt_cv_deplibs_check_method=pass_all
6528 lt_cv_deplibs_check_method=pass_all
6532 lt_cv_deplibs_check_method=pass_all
6535 hpux10.20* | hpux11*)
6536 lt_cv_file_magic_cmd=/usr/bin/file
6539 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6540 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6543 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]'
6544 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6547 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6548 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6554 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6555 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6558 irix5* | irix6* | nonstopux*)
6560 *-32|*"-32 ") libmagic=32-bit;;
6561 *-n32|*"-n32 ") libmagic=N32;;
6562 *-64|*"-64 ") libmagic=64-bit;;
6563 *) libmagic=never-match;;
6565 lt_cv_deplibs_check_method=pass_all
6568 # This must be Linux ELF.
6569 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6570 lt_cv_deplibs_check_method=pass_all
6574 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6575 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6577 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6582 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6583 lt_cv_file_magic_cmd=/usr/bin/file
6584 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6588 lt_cv_deplibs_check_method=pass_all
6592 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
6593 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6595 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6599 osf3* | osf4* | osf5*)
6600 lt_cv_deplibs_check_method=pass_all
6604 lt_cv_deplibs_check_method=pass_all
6608 lt_cv_deplibs_check_method=pass_all
6611 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6612 lt_cv_deplibs_check_method=pass_all
6616 case $host_vendor in
6618 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]'
6619 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6622 lt_cv_deplibs_check_method=pass_all
6625 lt_cv_file_magic_cmd='/bin/file'
6626 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6629 lt_cv_file_magic_cmd='/bin/file'
6630 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
6631 lt_cv_file_magic_test_file=/lib/libc.so
6634 lt_cv_deplibs_check_method=pass_all
6637 lt_cv_deplibs_check_method=pass_all
6643 lt_cv_deplibs_check_method=pass_all
6648 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
6649 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6650 file_magic_cmd=$lt_cv_file_magic_cmd
6651 deplibs_check_method=$lt_cv_deplibs_check_method
6652 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6666 plugin_names="liblto_plugin.so liblto_plugin-0.dll cyglto_plugin-0.dll
"
6667 for plugin in $plugin_names; do
6668 plugin_so=`${CC} ${CFLAGS} --print-prog-name $plugin`
6669 if test x$plugin_so = x$plugin; then
6670 plugin_so=`${CC} ${CFLAGS} --print-file-name $plugin`
6672 if test x$plugin_so != x$plugin; then
6673 plugin_option="--plugin $plugin_so"
6678 if test -n "$ac_tool_prefix"; then
6679 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6680 set dummy ${ac_tool_prefix}ar; ac_word=$2
6681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6682 $as_echo_n "checking
for $ac_word...
" >&6; }
6683 if ${ac_cv_prog_AR+:} false; then :
6684 $as_echo_n "(cached
) " >&6
6686 if test -n "$AR"; then
6687 ac_cv_prog_AR="$AR" # Let the user override the test.
6689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6693 test -z "$as_dir" && as_dir=.
6694 for ac_exec_ext in '' $ac_executable_extensions; do
6695 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6696 ac_cv_prog_AR="${ac_tool_prefix}ar"
6697 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6707 if test -n "$AR"; then
6708 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
6709 $as_echo "$AR" >&6; }
6711 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6712 $as_echo "no
" >&6; }
6717 if test -z "$ac_cv_prog_AR"; then
6719 # Extract the first word of "ar", so it can be a program name with args.
6720 set dummy ar; ac_word=$2
6721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6722 $as_echo_n "checking
for $ac_word...
" >&6; }
6723 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6724 $as_echo_n "(cached
) " >&6
6726 if test -n "$ac_ct_AR"; then
6727 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6733 test -z "$as_dir" && as_dir=.
6734 for ac_exec_ext in '' $ac_executable_extensions; do
6735 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6736 ac_cv_prog_ac_ct_AR="ar"
6737 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6746 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6747 if test -n "$ac_ct_AR"; then
6748 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
6749 $as_echo "$ac_ct_AR" >&6; }
6751 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6752 $as_echo "no
" >&6; }
6755 if test "x
$ac_ct_AR" = x; then
6758 case $cross_compiling:$ac_tool_warned in
6760 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6761 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6762 ac_tool_warned=yes ;;
6770 test -z "$AR" && AR=ar
6771 if test -n "$plugin_option"; then
6772 if $AR --help 2>&1 | grep -q "\
--plugin"; then
6774 $AR $plugin_option rc conftest.a conftest.c
6775 if test "$?
" != 0; then
6776 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: Failed
: $AR $plugin_option rc
" >&5
6777 $as_echo "$as_me: WARNING
: Failed
: $AR $plugin_option rc
" >&2;}
6779 AR="$AR $plugin_option"
6784 test -z "$AR_FLAGS" && AR_FLAGS=cru
6796 if test -n "$ac_tool_prefix"; then
6797 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6798 set dummy ${ac_tool_prefix}strip; ac_word=$2
6799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6800 $as_echo_n "checking
for $ac_word...
" >&6; }
6801 if ${ac_cv_prog_STRIP+:} false; then :
6802 $as_echo_n "(cached
) " >&6
6804 if test -n "$STRIP"; then
6805 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6807 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6811 test -z "$as_dir" && as_dir=.
6812 for ac_exec_ext in '' $ac_executable_extensions; do
6813 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6814 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6815 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6824 STRIP=$ac_cv_prog_STRIP
6825 if test -n "$STRIP"; then
6826 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
6827 $as_echo "$STRIP" >&6; }
6829 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6830 $as_echo "no
" >&6; }
6835 if test -z "$ac_cv_prog_STRIP"; then
6837 # Extract the first word of "strip
", so it can be a program name with args.
6838 set dummy strip; ac_word=$2
6839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6840 $as_echo_n "checking
for $ac_word...
" >&6; }
6841 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6842 $as_echo_n "(cached
) " >&6
6844 if test -n "$ac_ct_STRIP"; then
6845 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6847 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6851 test -z "$as_dir" && as_dir=.
6852 for ac_exec_ext in '' $ac_executable_extensions; do
6853 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6854 ac_cv_prog_ac_ct_STRIP="strip
"
6855 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6864 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6865 if test -n "$ac_ct_STRIP"; then
6866 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
6867 $as_echo "$ac_ct_STRIP" >&6; }
6869 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6870 $as_echo "no
" >&6; }
6873 if test "x
$ac_ct_STRIP" = x; then
6876 case $cross_compiling:$ac_tool_warned in
6878 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6879 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6880 ac_tool_warned=yes ;;
6885 STRIP="$ac_cv_prog_STRIP"
6888 test -z "$STRIP" && STRIP=:
6895 if test -n "$ac_tool_prefix"; then
6896 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6897 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6899 $as_echo_n "checking
for $ac_word...
" >&6; }
6900 if ${ac_cv_prog_RANLIB+:} false; then :
6901 $as_echo_n "(cached
) " >&6
6903 if test -n "$RANLIB"; then
6904 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6910 test -z "$as_dir" && as_dir=.
6911 for ac_exec_ext in '' $ac_executable_extensions; do
6912 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6913 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
6914 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6923 RANLIB=$ac_cv_prog_RANLIB
6924 if test -n "$RANLIB"; then
6925 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
6926 $as_echo "$RANLIB" >&6; }
6928 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6929 $as_echo "no
" >&6; }
6934 if test -z "$ac_cv_prog_RANLIB"; then
6935 ac_ct_RANLIB=$RANLIB
6936 # Extract the first word of "ranlib
", so it can be a program name with args.
6937 set dummy ranlib; ac_word=$2
6938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6939 $as_echo_n "checking
for $ac_word...
" >&6; }
6940 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6941 $as_echo_n "(cached
) " >&6
6943 if test -n "$ac_ct_RANLIB"; then
6944 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6946 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6950 test -z "$as_dir" && as_dir=.
6951 for ac_exec_ext in '' $ac_executable_extensions; do
6952 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6953 ac_cv_prog_ac_ct_RANLIB="ranlib
"
6954 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6963 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6964 if test -n "$ac_ct_RANLIB"; then
6965 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
6966 $as_echo "$ac_ct_RANLIB" >&6; }
6968 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6969 $as_echo "no
" >&6; }
6972 if test "x
$ac_ct_RANLIB" = x; then
6975 case $cross_compiling:$ac_tool_warned in
6977 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6978 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6979 ac_tool_warned=yes ;;
6981 RANLIB=$ac_ct_RANLIB
6984 RANLIB="$ac_cv_prog_RANLIB"
6987 test -z "$RANLIB" && RANLIB=:
6988 if test -n "$plugin_option" && test "$RANLIB" != ":"; then
6989 if $RANLIB --help 2>&1 | grep -q "\
--plugin"; then
6990 RANLIB="$RANLIB $plugin_option"
6999 # Determine commands to create old-style static archives.
7000 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7001 old_postinstall_cmds='chmod 644 $oldlib'
7002 old_postuninstall_cmds=
7004 if test -n "$RANLIB"; then
7007 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
7010 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
7013 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
7018 lock_old_archive_extraction=yes ;;
7020 lock_old_archive_extraction=no ;;
7061 # If no C compiler was specified, use CC.
7064 # If no C compiler flags were specified, use CFLAGS.
7065 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7067 # Allow CC to be a program name with arguments.
7071 # Check for command to grab the raw symbol name followed by C symbol from nm.
7072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
7073 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
7074 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7075 $as_echo_n "(cached
) " >&6
7078 # These are sane defaults that work on at least a few old systems.
7079 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7081 # Character class describing NM global symbol codes.
7082 symcode='[BCDEGRST]'
7084 # Regexp to match symbols that can be accessed directly from C.
7085 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7087 # Define system-specific variables.
7092 cygwin* | mingw* | pw32* | cegcc*)
7093 symcode='[ABCDGISTW]'
7096 if test "$host_cpu" = ia64; then
7097 symcode='[ABCDEGRST]'
7101 symcode='[BCDEGRST]'
7104 symcode='[BCDEGQRST]'
7115 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7123 # If we're using GNU nm, then use its standard symbol codes.
7124 case `$NM -V 2>&1` in
7125 *GNU* | *'with BFD'*)
7126 symcode='[ABCDGIRSTW]' ;;
7129 # Transform an extracted symbol line into a proper C declaration.
7130 # Some systems (esp. on ia64) link data and code symbols differently,
7131 # so use this general approach.
7132 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7134 # Transform an extracted symbol line into symbol name and symbol address
7135 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7136 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'"
7138 # Handle CRLF in mingw tool chain
7142 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7146 # Try without a prefix underscore, then with it.
7147 for ac_symprfx in "" "_
"; do
7149 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7150 symxfrm="\\1 $ac_symprfx\\2 \\2"
7152 # Write the raw and C identifiers.
7153 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
7154 # Fake it for dumpbin and say T for any non-static function
7155 # and D for any global variable.
7156 # Also find C++ and __fastcall symbols from MSVC++,
7157 # which start with @ or ?.
7158 lt_cv_sys_global_symbol_pipe="$AWK '"\
7159 " {last_section=section; section=\$ 3};"\
7160 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7161 " \$ 0!~/External *\|/{next};"\
7162 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7163 " {if(hide[section]) next};"\
7164 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7165 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7166 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7167 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7168 " ' prfx
=^
$ac_symprfx"
7170 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7173 # Check to see that the pipe works correctly.
7177 cat > conftest.$ac_ext <<_LT_EOF
7182 void nm_test_func(void);
7183 void nm_test_func(void){}
7187 int main(){nm_test_var='a';nm_test_func();return(0);}
7190 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7191 (eval $ac_compile) 2>&5
7193 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7194 test $ac_status = 0; }; then
7195 # Now try to grab the symbols.
7197 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
7198 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7200 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7201 test $ac_status = 0; } && test -s "$nlist"; then
7202 # Try sorting and uniquifying the output.
7203 if sort "$nlist" | uniq > "$nlist"T; then
7204 mv -f "$nlist"T "$nlist"
7209 # Make sure that we snagged all the symbols we need.
7210 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7211 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7212 cat <<_LT_EOF > conftest.$ac_ext
7218 # Now generate the symbol file.
7219 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7221 cat <<_LT_EOF >> conftest.$ac_ext
7223 /* The mapping between symbol names and symbols. */
7228 lt__PROGRAM__LTX_preloaded_symbols[] =
7230 { "@PROGRAM@
", (void *) 0 },
7232 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7233 cat <<\_LT_EOF >> conftest.$ac_ext
7237 /* This works around a problem in FreeBSD linker */
7238 #ifdef FREEBSD_WORKAROUND
7239 static const void *lt_preloaded_setup() {
7240 return lt__PROGRAM__LTX_preloaded_symbols;
7248 # Now try linking the two files.
7249 mv conftest.$ac_objext conftstm.$ac_objext
7250 lt_save_LIBS="$LIBS"
7251 lt_save_CFLAGS="$CFLAGS"
7252 LIBS="conftstm.
$ac_objext"
7253 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7254 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7255 (eval $ac_link) 2>&5
7257 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7258 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7261 LIBS="$lt_save_LIBS"
7262 CFLAGS="$lt_save_CFLAGS"
7264 echo "cannot
find nm_test_func
in $nlist" >&5
7267 echo "cannot
find nm_test_var
in $nlist" >&5
7270 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
7273 echo "$progname: failed program was
:" >&5
7274 cat conftest.$ac_ext >&5
7276 rm -rf conftest* conftst*
7278 # Do not use the global_symbol_pipe unless it works.
7279 if test "$pipe_works" = yes; then
7282 lt_cv_sys_global_symbol_pipe=
7288 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7289 lt_cv_sys_global_symbol_to_cdecl=
7291 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7292 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
7293 $as_echo "failed
" >&6; }
7295 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
7296 $as_echo "ok
" >&6; }
7320 # Check whether --enable-libtool-lock was given.
7321 if test "${enable_libtool_lock+set}" = set; then :
7322 enableval=$enable_libtool_lock;
7325 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
7327 # Some flags need to be propagated to the compiler or linker for good
7331 # Find out which ABI we are using.
7332 echo 'int i;' > conftest.$ac_ext
7333 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7334 (eval $ac_compile) 2>&5
7336 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7337 test $ac_status = 0; }; then
7338 case `/usr/bin/file conftest.$ac_objext` in
7350 # Find out which ABI we are using.
7351 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
7352 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7353 (eval $ac_compile) 2>&5
7355 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7356 test $ac_status = 0; }; then
7357 if test "$lt_cv_prog_gnu_ld" = yes; then
7358 case `/usr/bin/file conftest.$ac_objext` in
7360 LD="${LD-ld} -melf32bsmip"
7363 LD="${LD-ld} -melf32bmipn32"
7366 LD="${LD-ld} -melf64bmip"
7370 case `/usr/bin/file conftest.$ac_objext` in
7386 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7387 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7388 # Find out which ABI we are using.
7389 echo 'int i;' > conftest.$ac_ext
7390 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7391 (eval $ac_compile) 2>&5
7393 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7394 test $ac_status = 0; }; then
7395 case `/usr/bin/file conftest.o` in
7398 x86_64-*kfreebsd*-gnu)
7399 LD="${LD-ld} -m elf_i386_fbsd
"
7402 case `/usr/bin/file conftest.o` in
7404 LD="${LD-ld} -m elf32_x86_64
"
7407 LD="${LD-ld} -m elf_i386
"
7411 powerpc64le-*linux*)
7412 LD="${LD-ld} -m elf32lppclinux
"
7415 LD="${LD-ld} -m elf32ppclinux
"
7418 LD="${LD-ld} -m elf_s390
"
7421 LD="${LD-ld} -m elf32_sparc
"
7427 x86_64-*kfreebsd*-gnu)
7428 LD="${LD-ld} -m elf_x86_64_fbsd
"
7431 LD="${LD-ld} -m elf_x86_64
"
7434 LD="${LD-ld} -m elf64lppc
"
7437 LD="${LD-ld} -m elf64ppc
"
7439 s390*-*linux*|s390*-*tpf*)
7440 LD="${LD-ld} -m elf64_s390
"
7443 LD="${LD-ld} -m elf64_sparc
"
7453 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7454 SAVE_CFLAGS="$CFLAGS"
7455 CFLAGS="$CFLAGS -belf"
7456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
7457 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
7458 if ${lt_cv_cc_needs_belf+:} false; then :
7459 $as_echo_n "(cached
) " >&6
7462 ac_cpp='$CPP $CPPFLAGS'
7463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7468 /* end confdefs.h. */
7478 if ac_fn_c_try_link "$LINENO"; then :
7479 lt_cv_cc_needs_belf=yes
7481 lt_cv_cc_needs_belf=no
7483 rm -f core conftest.err conftest.$ac_objext \
7484 conftest$ac_exeext conftest.$ac_ext
7486 ac_cpp='$CPP $CPPFLAGS'
7487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7492 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
7493 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7494 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7495 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7496 CFLAGS="$SAVE_CFLAGS"
7500 # Find out which ABI we are using.
7501 echo 'int i;' > conftest.$ac_ext
7502 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7503 (eval $ac_compile) 2>&5
7505 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7506 test $ac_status = 0; }; then
7507 case `/usr/bin/file conftest.o` in
7509 case $lt_cv_prog_gnu_ld in
7510 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
7512 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7524 need_locks="$enable_libtool_lock"
7528 rhapsody* | darwin*)
7529 if test -n "$ac_tool_prefix"; then
7530 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
7531 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7533 $as_echo_n "checking
for $ac_word...
" >&6; }
7534 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7535 $as_echo_n "(cached
) " >&6
7537 if test -n "$DSYMUTIL"; then
7538 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7544 test -z "$as_dir" && as_dir=.
7545 for ac_exec_ext in '' $ac_executable_extensions; do
7546 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7547 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
7548 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7557 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7558 if test -n "$DSYMUTIL"; then
7559 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
7560 $as_echo "$DSYMUTIL" >&6; }
7562 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7563 $as_echo "no
" >&6; }
7568 if test -z "$ac_cv_prog_DSYMUTIL"; then
7569 ac_ct_DSYMUTIL=$DSYMUTIL
7570 # Extract the first word of "dsymutil
", so it can be a program name with args.
7571 set dummy dsymutil; ac_word=$2
7572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7573 $as_echo_n "checking
for $ac_word...
" >&6; }
7574 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7575 $as_echo_n "(cached
) " >&6
7577 if test -n "$ac_ct_DSYMUTIL"; then
7578 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7584 test -z "$as_dir" && as_dir=.
7585 for ac_exec_ext in '' $ac_executable_extensions; do
7586 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7587 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
7588 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7597 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7598 if test -n "$ac_ct_DSYMUTIL"; then
7599 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
7600 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7602 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7603 $as_echo "no
" >&6; }
7606 if test "x
$ac_ct_DSYMUTIL" = x; then
7609 case $cross_compiling:$ac_tool_warned in
7611 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7612 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7613 ac_tool_warned=yes ;;
7615 DSYMUTIL=$ac_ct_DSYMUTIL
7618 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7621 if test -n "$ac_tool_prefix"; then
7622 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
7623 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7625 $as_echo_n "checking
for $ac_word...
" >&6; }
7626 if ${ac_cv_prog_NMEDIT+:} false; then :
7627 $as_echo_n "(cached
) " >&6
7629 if test -n "$NMEDIT"; then
7630 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7636 test -z "$as_dir" && as_dir=.
7637 for ac_exec_ext in '' $ac_executable_extensions; do
7638 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7639 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
7640 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7649 NMEDIT=$ac_cv_prog_NMEDIT
7650 if test -n "$NMEDIT"; then
7651 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
7652 $as_echo "$NMEDIT" >&6; }
7654 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7655 $as_echo "no
" >&6; }
7660 if test -z "$ac_cv_prog_NMEDIT"; then
7661 ac_ct_NMEDIT=$NMEDIT
7662 # Extract the first word of "nmedit
", so it can be a program name with args.
7663 set dummy nmedit; ac_word=$2
7664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7665 $as_echo_n "checking
for $ac_word...
" >&6; }
7666 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7667 $as_echo_n "(cached
) " >&6
7669 if test -n "$ac_ct_NMEDIT"; then
7670 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7676 test -z "$as_dir" && as_dir=.
7677 for ac_exec_ext in '' $ac_executable_extensions; do
7678 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7679 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
7680 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7689 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7690 if test -n "$ac_ct_NMEDIT"; then
7691 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
7692 $as_echo "$ac_ct_NMEDIT" >&6; }
7694 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7695 $as_echo "no
" >&6; }
7698 if test "x
$ac_ct_NMEDIT" = x; then
7701 case $cross_compiling:$ac_tool_warned in
7703 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7704 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7705 ac_tool_warned=yes ;;
7707 NMEDIT=$ac_ct_NMEDIT
7710 NMEDIT="$ac_cv_prog_NMEDIT"
7713 if test -n "$ac_tool_prefix"; then
7714 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
7715 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7717 $as_echo_n "checking
for $ac_word...
" >&6; }
7718 if ${ac_cv_prog_LIPO+:} false; then :
7719 $as_echo_n "(cached
) " >&6
7721 if test -n "$LIPO"; then
7722 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7728 test -z "$as_dir" && as_dir=.
7729 for ac_exec_ext in '' $ac_executable_extensions; do
7730 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7731 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
7732 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7741 LIPO=$ac_cv_prog_LIPO
7742 if test -n "$LIPO"; then
7743 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
7744 $as_echo "$LIPO" >&6; }
7746 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7747 $as_echo "no
" >&6; }
7752 if test -z "$ac_cv_prog_LIPO"; then
7754 # Extract the first word of "lipo
", so it can be a program name with args.
7755 set dummy lipo; ac_word=$2
7756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7757 $as_echo_n "checking
for $ac_word...
" >&6; }
7758 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7759 $as_echo_n "(cached
) " >&6
7761 if test -n "$ac_ct_LIPO"; then
7762 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7764 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7768 test -z "$as_dir" && as_dir=.
7769 for ac_exec_ext in '' $ac_executable_extensions; do
7770 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7771 ac_cv_prog_ac_ct_LIPO="lipo
"
7772 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7781 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7782 if test -n "$ac_ct_LIPO"; then
7783 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
7784 $as_echo "$ac_ct_LIPO" >&6; }
7786 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7787 $as_echo "no
" >&6; }
7790 if test "x
$ac_ct_LIPO" = x; then
7793 case $cross_compiling:$ac_tool_warned in
7795 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7796 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7797 ac_tool_warned=yes ;;
7802 LIPO="$ac_cv_prog_LIPO"
7805 if test -n "$ac_tool_prefix"; then
7806 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
7807 set dummy ${ac_tool_prefix}otool; ac_word=$2
7808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7809 $as_echo_n "checking
for $ac_word...
" >&6; }
7810 if ${ac_cv_prog_OTOOL+:} false; then :
7811 $as_echo_n "(cached
) " >&6
7813 if test -n "$OTOOL"; then
7814 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7820 test -z "$as_dir" && as_dir=.
7821 for ac_exec_ext in '' $ac_executable_extensions; do
7822 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7823 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
7824 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7833 OTOOL=$ac_cv_prog_OTOOL
7834 if test -n "$OTOOL"; then
7835 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
7836 $as_echo "$OTOOL" >&6; }
7838 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7839 $as_echo "no
" >&6; }
7844 if test -z "$ac_cv_prog_OTOOL"; then
7846 # Extract the first word of "otool
", so it can be a program name with args.
7847 set dummy otool; ac_word=$2
7848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7849 $as_echo_n "checking
for $ac_word...
" >&6; }
7850 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7851 $as_echo_n "(cached
) " >&6
7853 if test -n "$ac_ct_OTOOL"; then
7854 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7856 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7860 test -z "$as_dir" && as_dir=.
7861 for ac_exec_ext in '' $ac_executable_extensions; do
7862 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7863 ac_cv_prog_ac_ct_OTOOL="otool
"
7864 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7873 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7874 if test -n "$ac_ct_OTOOL"; then
7875 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
7876 $as_echo "$ac_ct_OTOOL" >&6; }
7878 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7879 $as_echo "no
" >&6; }
7882 if test "x
$ac_ct_OTOOL" = x; then
7885 case $cross_compiling:$ac_tool_warned in
7887 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7888 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7889 ac_tool_warned=yes ;;
7894 OTOOL="$ac_cv_prog_OTOOL"
7897 if test -n "$ac_tool_prefix"; then
7898 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
7899 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7901 $as_echo_n "checking
for $ac_word...
" >&6; }
7902 if ${ac_cv_prog_OTOOL64+:} false; then :
7903 $as_echo_n "(cached
) " >&6
7905 if test -n "$OTOOL64"; then
7906 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7912 test -z "$as_dir" && as_dir=.
7913 for ac_exec_ext in '' $ac_executable_extensions; do
7914 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7915 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
7916 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7925 OTOOL64=$ac_cv_prog_OTOOL64
7926 if test -n "$OTOOL64"; then
7927 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
7928 $as_echo "$OTOOL64" >&6; }
7930 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7931 $as_echo "no
" >&6; }
7936 if test -z "$ac_cv_prog_OTOOL64"; then
7937 ac_ct_OTOOL64=$OTOOL64
7938 # Extract the first word of "otool64
", so it can be a program name with args.
7939 set dummy otool64; ac_word=$2
7940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7941 $as_echo_n "checking
for $ac_word...
" >&6; }
7942 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7943 $as_echo_n "(cached
) " >&6
7945 if test -n "$ac_ct_OTOOL64"; then
7946 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7948 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7952 test -z "$as_dir" && as_dir=.
7953 for ac_exec_ext in '' $ac_executable_extensions; do
7954 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7955 ac_cv_prog_ac_ct_OTOOL64="otool64
"
7956 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7965 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7966 if test -n "$ac_ct_OTOOL64"; then
7967 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
7968 $as_echo "$ac_ct_OTOOL64" >&6; }
7970 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7971 $as_echo "no
" >&6; }
7974 if test "x
$ac_ct_OTOOL64" = x; then
7977 case $cross_compiling:$ac_tool_warned in
7979 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7980 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7981 ac_tool_warned=yes ;;
7983 OTOOL64=$ac_ct_OTOOL64
7986 OTOOL64="$ac_cv_prog_OTOOL64"
8015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
8016 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
8017 if ${lt_cv_apple_cc_single_mod+:} false; then :
8018 $as_echo_n "(cached
) " >&6
8020 lt_cv_apple_cc_single_mod=no
8021 if test -z "${LT_MULTI_MODULE}"; then
8022 # By default we will add the -single_module flag. You can override
8023 # by either setting the environment variable LT_MULTI_MODULE
8024 # non-empty at configure time, or by adding -multi_module to the
8026 rm -rf libconftest.dylib*
8027 echo "int foo
(void
){return 1;}" > conftest.c
8028 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8029 -dynamiclib -Wl,-single_module conftest.c
" >&5
8030 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8031 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8033 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
8034 lt_cv_apple_cc_single_mod=yes
8036 cat conftest.err >&5
8038 rm -rf libconftest.dylib*
8042 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
8043 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
8045 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
8046 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8047 $as_echo_n "(cached
) " >&6
8049 lt_cv_ld_exported_symbols_list=no
8050 save_LDFLAGS=$LDFLAGS
8051 echo "_main
" > conftest.sym
8052 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
8053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8054 /* end confdefs.h. */
8064 if ac_fn_c_try_link "$LINENO"; then :
8065 lt_cv_ld_exported_symbols_list=yes
8067 lt_cv_ld_exported_symbols_list=no
8069 rm -f core conftest.err conftest.$ac_objext \
8070 conftest$ac_exeext conftest.$ac_ext
8071 LDFLAGS="$save_LDFLAGS"
8074 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
8075 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
8077 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
8078 if ${lt_cv_ld_force_load+:} false; then :
8079 $as_echo_n "(cached
) " >&6
8081 lt_cv_ld_force_load=no
8082 cat > conftest.c << _LT_EOF
8083 int forced_loaded() { return 2;}
8085 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
8086 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8087 echo "$AR cru libconftest.a conftest.o
" >&5
8088 $AR cru libconftest.a conftest.o 2>&5
8089 cat > conftest.c << _LT_EOF
8090 int main() { return 0;}
8092 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
8093 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8095 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
8096 lt_cv_ld_force_load=yes
8098 cat conftest.err >&5
8100 rm -f conftest.err libconftest.a conftest conftest.c
8101 rm -rf conftest.dSYM
8104 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
8105 $as_echo "$lt_cv_ld_force_load" >&6; }
8107 rhapsody* | darwin1.[012])
8108 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8110 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8111 darwin*) # darwin 5.x on
8112 # if running on 10.5 or later, the deployment target defaults
8113 # to the OS version, if on x86, and 10.4, the deployment
8114 # target defaults to 10.4. Don't you love it?
8115 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8116 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8117 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8119 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8121 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8125 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8126 _lt_dar_single_mod='$single_module'
8128 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8129 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8131 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8133 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
8134 _lt_dsymutil='~$DSYMUTIL $lib || :'
8141 for ac_header in dlfcn.h
8143 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h
" "ac_cv_header_dlfcn_h
" "$ac_includes_default
8145 if test "x
$ac_cv_header_dlfcn_h" = xyes; then :
8146 cat >>confdefs.h <<_ACEOF
8147 #define HAVE_DLFCN_H 1
8169 # Check whether --enable-shared was given.
8170 if test "${enable_shared+set}" = set; then :
8171 enableval=$enable_shared; p=${PACKAGE-default}
8173 yes) enable_shared=yes ;;
8174 no) enable_shared=no ;;
8177 # Look at the argument we got. We use all the common list separators.
8178 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8179 for pkg in $enableval; do
8181 if test "X
$pkg" = "X
$p"; then
8200 # Check whether --enable-static was given.
8201 if test "${enable_static+set}" = set; then :
8202 enableval=$enable_static; p=${PACKAGE-default}
8204 yes) enable_static=yes ;;
8205 no) enable_static=no ;;
8208 # Look at the argument we got. We use all the common list separators.
8209 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8210 for pkg in $enableval; do
8212 if test "X
$pkg" = "X
$p"; then
8232 # Check whether --with-pic was given.
8233 if test "${with_pic+set}" = set; then :
8234 withval=$with_pic; pic_mode="$withval"
8240 test -z "$pic_mode" && pic_mode=default
8248 # Check whether --enable-fast-install was given.
8249 if test "${enable_fast_install+set}" = set; then :
8250 enableval=$enable_fast_install; p=${PACKAGE-default}
8252 yes) enable_fast_install=yes ;;
8253 no) enable_fast_install=no ;;
8255 enable_fast_install=no
8256 # Look at the argument we got. We use all the common list separators.
8257 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8258 for pkg in $enableval; do
8260 if test "X
$pkg" = "X
$p"; then
8261 enable_fast_install=yes
8268 enable_fast_install=yes
8281 # This can be used to rebuild libtool when needed
8282 LIBTOOL_DEPS="$ltmain"
8284 # Always use our own libtool.
8285 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8312 test -z "$LN_S" && LN_S="ln -s"
8327 if test -n "${ZSH_VERSION+set}" ; then
8328 setopt NO_GLOB_SUBST
8331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdir
" >&5
8332 $as_echo_n "checking
for objdir...
" >&6; }
8333 if ${lt_cv_objdir+:} false; then :
8334 $as_echo_n "(cached
) " >&6
8336 rm -f .libs 2>/dev/null
8337 mkdir .libs 2>/dev/null
8338 if test -d .libs; then
8341 # MS-DOS does not allow filenames that begin with a dot.
8344 rmdir .libs 2>/dev/null
8346 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_objdir" >&5
8347 $as_echo "$lt_cv_objdir" >&6; }
8348 objdir=$lt_cv_objdir
8354 cat >>confdefs.h <<_ACEOF
8355 #define LT_OBJDIR "$lt_cv_objdir/"
8363 # AIX sometimes has problems with the GCC collect2 program. For some
8364 # reason, if we set the COLLECT_NAMES environment variable, the problems
8365 # vanish in a puff of smoke.
8366 if test "X
${COLLECT_NAMES+set}" != Xset; then
8368 export COLLECT_NAMES
8375 can_build_shared=yes
8377 # All known linkers require a `.a' archive for static linking (except MSVC,
8378 # which needs '.lib').
8381 with_gnu_ld="$lt_cv_prog_gnu_ld"
8384 old_CFLAGS="$CFLAGS"
8386 # Set sane defaults for various variables
8387 test -z "$CC" && CC=cc
8388 test -z "$LTCC" && LTCC=$CC
8389 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8390 test -z "$LD" && LD=ld
8391 test -z "$ac_objext" && ac_objext=o
8393 for cc_temp in $compiler""; do
8395 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8396 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8401 cc_basename=`$ECHO "$cc_temp" | $SED "s
%.
*/%%; s
%^
$host_alias-%%"`
8404 # Only perform the check for file, if the check method requires it
8405 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8406 case $deplibs_check_method in
8408 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ac_tool_prefix}file" >&5
8410 $as_echo_n "checking
for ${ac_tool_prefix}file...
" >&6; }
8411 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8412 $as_echo_n "(cached
) " >&6
8416 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8419 lt_save_MAGIC_CMD="$MAGIC_CMD"
8420 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8421 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
8422 for ac_dir in $ac_dummy; do
8424 test -z "$ac_dir" && ac_dir=.
8425 if test -f $ac_dir/${ac_tool_prefix}file; then
8426 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8427 if test -n "$file_magic_test_file"; then
8428 case $deplibs_check_method in
8430 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
8431 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8432 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8433 $EGREP "$file_magic_regex" > /dev/null; then
8438 *** Warning: the command libtool uses to detect shared libraries,
8439 *** $file_magic_cmd, produces output that libtool cannot recognize.
8440 *** The result is that libtool may fail to recognize shared libraries
8441 *** as such. This will affect the creation of libtool libraries that
8442 *** depend on shared libraries, but programs linked with such libtool
8443 *** libraries will work regardless of this problem. Nevertheless, you
8444 *** may want to report the problem to your system manager and/or to
8445 *** bug-libtool@gnu.org
8455 MAGIC_CMD="$lt_save_MAGIC_CMD"
8460 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8461 if test -n "$MAGIC_CMD"; then
8462 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
8463 $as_echo "$MAGIC_CMD" >&6; }
8465 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8466 $as_echo "no
" >&6; }
8473 if test -z "$lt_cv_path_MAGIC_CMD"; then
8474 if test -n "$ac_tool_prefix"; then
8475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for file" >&5
8476 $as_echo_n "checking
for file...
" >&6; }
8477 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8478 $as_echo_n "(cached
) " >&6
8482 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8485 lt_save_MAGIC_CMD="$MAGIC_CMD"
8486 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8487 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
8488 for ac_dir in $ac_dummy; do
8490 test -z "$ac_dir" && ac_dir=.
8491 if test -f $ac_dir/file; then
8492 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8493 if test -n "$file_magic_test_file"; then
8494 case $deplibs_check_method in
8496 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
8497 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8498 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8499 $EGREP "$file_magic_regex" > /dev/null; then
8504 *** Warning: the command libtool uses to detect shared libraries,
8505 *** $file_magic_cmd, produces output that libtool cannot recognize.
8506 *** The result is that libtool may fail to recognize shared libraries
8507 *** as such. This will affect the creation of libtool libraries that
8508 *** depend on shared libraries, but programs linked with such libtool
8509 *** libraries will work regardless of this problem. Nevertheless, you
8510 *** may want to report the problem to your system manager and/or to
8511 *** bug-libtool@gnu.org
8521 MAGIC_CMD="$lt_save_MAGIC_CMD"
8526 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8527 if test -n "$MAGIC_CMD"; then
8528 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
8529 $as_echo "$MAGIC_CMD" >&6; }
8531 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8532 $as_echo "no
" >&6; }
8545 # Use C for the default configuration in the libtool script
8549 ac_cpp='$CPP $CPPFLAGS'
8550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8555 # Source file extension for C test sources.
8558 # Object file extension for compiled C test sources.
8562 # Code to be used in simple compile tests
8563 lt_simple_compile_test_code="int some_variable
= 0;"
8565 # Code to be used in simple link tests
8566 lt_simple_link_test_code='int main(){return(0);}'
8574 # If no C compiler was specified, use CC.
8577 # If no C compiler flags were specified, use CFLAGS.
8578 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8580 # Allow CC to be a program name with arguments.
8583 # Save the default compiler, since it gets overwritten when the other
8584 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8585 compiler_DEFAULT=$CC
8587 # save warnings/boilerplate of simple test code
8588 ac_outfile=conftest.$ac_objext
8589 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8590 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8591 _lt_compiler_boilerplate=`cat conftest.err`
8594 ac_outfile=conftest.$ac_objext
8595 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8596 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8597 _lt_linker_boilerplate=`cat conftest.err`
8602 ## There is no encapsulation within the following macros, do not change
8603 ## the running order or otherwise move them around unless you know exactly
8604 ## what you are doing...
8605 if test -n "$compiler"; then
8607 lt_prog_compiler_no_builtin_flag=
8609 if test "$GCC" = yes; then
8610 case $cc_basename in
8612 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8614 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-fno-rtti -fno-exceptions" >&5
8618 $as_echo_n "checking
if $compiler supports
-fno-rtti -fno-exceptions...
" >&6; }
8619 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8620 $as_echo_n "(cached
) " >&6
8622 lt_cv_prog_compiler_rtti_exceptions=no
8623 ac_outfile=conftest.$ac_objext
8624 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8625 lt_compiler_flag="-fno-rtti -fno-exceptions"
8626 # Insert the option either (1) after the last *FLAGS variable, or
8627 # (2) before a word containing "conftest.
", or (3) at the end.
8628 # Note that $ac_compile itself does not contain backslashes and begins
8629 # with a dollar sign (not a hyphen), so the echo should work correctly.
8630 # The option is referenced via a variable to avoid confusing sed.
8631 lt_compile=`echo "$ac_compile" | $SED \
8632 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8633 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8634 -e 's:$: $lt_compiler_flag:'`
8635 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
8636 (eval "$lt_compile" 2>conftest.err)
8638 cat conftest.err >&5
8639 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8640 if (exit $ac_status) && test -s "$ac_outfile"; then
8641 # The compiler can only warn and ignore the option if not recognized
8642 # So say no if there are warnings other than the usual output.
8643 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8644 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8645 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8646 lt_cv_prog_compiler_rtti_exceptions=yes
8652 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_rtti_exceptions" >&5
8653 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8655 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8656 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8668 lt_prog_compiler_wl=
8669 lt_prog_compiler_pic=
8670 lt_prog_compiler_static=
8672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $compiler option to produce PIC
" >&5
8673 $as_echo_n "checking
for $compiler option to produce PIC...
" >&6; }
8675 if test "$GCC" = yes; then
8676 lt_prog_compiler_wl='-Wl,'
8677 lt_prog_compiler_static='-static'
8681 # All AIX code is PIC.
8682 if test "$host_cpu" = ia64; then
8683 # AIX 5 now supports IA64 processor
8684 lt_prog_compiler_static='-Bstatic'
8686 lt_prog_compiler_pic='-fPIC'
8692 # see comment about AmigaOS4 .so support
8693 lt_prog_compiler_pic='-fPIC'
8696 # FIXME: we need at least 68020 code to build shared libraries, but
8697 # adding the `-m68020' flag to GCC prevents building anything better,
8699 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8704 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8705 # PIC is the default for these OSes.
8708 mingw* | cygwin* | pw32* | os2* | cegcc*)
8709 # This hack is so that the source file can tell whether it is being
8710 # built for inclusion in a dll (and should export symbols for example).
8711 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8712 # (--disable-auto-import) libraries
8713 lt_prog_compiler_pic='-DDLL_EXPORT'
8716 darwin* | rhapsody*)
8717 # PIC is the default on this platform
8718 # Common symbols not allowed in MH_DYLIB files
8719 lt_prog_compiler_pic='-fno-common'
8723 # PIC is the default for Haiku.
8724 # The "-static" flag exists, but is broken.
8725 lt_prog_compiler_static=
8729 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8730 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8731 # sets the default TLS model and affects inlining.
8737 lt_prog_compiler_pic='-fPIC'
8743 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8744 # Instead, we relocate shared libraries at runtime.
8748 # Just because we use GCC doesn't mean we suddenly get shared libraries
8749 # on systems that don't support them.
8750 lt_prog_compiler_can_build_shared=no
8755 # QNX uses GNU C++, but need to define -shared option too, otherwise
8757 lt_prog_compiler_pic='-fPIC -shared'
8761 if test -d /usr/nec; then
8762 lt_prog_compiler_pic=-Kconform_pic
8767 lt_prog_compiler_pic='-fPIC'
8771 case $cc_basename in
8772 nvcc*) # Cuda Compiler Driver 2.2
8773 lt_prog_compiler_wl='-Xlinker '
8774 lt_prog_compiler_pic='-Xcompiler -fPIC'
8778 # PORTME Check for flag to pass linker flags through the system compiler.
8781 lt_prog_compiler_wl='-Wl,'
8782 if test "$host_cpu" = ia64; then
8783 # AIX 5 now supports IA64 processor
8784 lt_prog_compiler_static='-Bstatic'
8786 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8790 mingw* | cygwin* | pw32* | os2* | cegcc*)
8791 # This hack is so that the source file can tell whether it is being
8792 # built for inclusion in a dll (and should export symbols for example).
8793 lt_prog_compiler_pic='-DDLL_EXPORT'
8796 hpux9* | hpux10* | hpux11*)
8797 lt_prog_compiler_wl='-Wl,'
8798 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8805 lt_prog_compiler_pic='+Z'
8808 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8809 lt_prog_compiler_static='${wl}-a ${wl}archive'
8812 irix5* | irix6* | nonstopux*)
8813 lt_prog_compiler_wl='-Wl,'
8814 # PIC (with -KPIC) is the default.
8815 lt_prog_compiler_static='-non_shared'
8818 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8819 case $cc_basename in
8820 # old Intel for x86_64 which still supported -KPIC.
8822 lt_prog_compiler_wl='-Wl,'
8823 lt_prog_compiler_pic='-KPIC'
8824 lt_prog_compiler_static='-static'
8826 # icc used to be incompatible with GCC.
8827 # ICC 10 doesn't accept -KPIC any more.
8829 lt_prog_compiler_wl='-Wl,'
8830 lt_prog_compiler_pic='-fPIC'
8831 lt_prog_compiler_static='-static'
8833 # Lahey Fortran 8.1.
8835 lt_prog_compiler_wl='-Wl,'
8836 lt_prog_compiler_pic='--shared'
8837 lt_prog_compiler_static='--static'
8839 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8840 # Portland Group compilers (*not* the Pentium gcc compiler,
8841 # which looks to be a dead project)
8842 lt_prog_compiler_wl='-Wl,'
8843 lt_prog_compiler_pic='-fpic'
8844 lt_prog_compiler_static='-Bstatic'
8847 lt_prog_compiler_wl='-Wl,'
8848 # All Alpha code is PIC.
8849 lt_prog_compiler_static='-non_shared'
8851 xl* | bgxl* | bgf* | mpixl*)
8852 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8853 lt_prog_compiler_wl='-Wl,'
8854 lt_prog_compiler_pic='-qpic'
8855 lt_prog_compiler_static='-qstaticlink'
8858 case `$CC -V 2>&1 | sed 5q` in
8859 *Sun\ F* | *Sun*Fortran*)
8860 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8861 lt_prog_compiler_pic='-KPIC'
8862 lt_prog_compiler_static='-Bstatic'
8863 lt_prog_compiler_wl=''
8867 lt_prog_compiler_pic='-KPIC'
8868 lt_prog_compiler_static='-Bstatic'
8869 lt_prog_compiler_wl='-Wl,'
8877 lt_prog_compiler_pic='-KPIC'
8878 lt_prog_compiler_static='-Bstatic'
8882 # QNX uses GNU C++, but need to define -shared option too, otherwise
8884 lt_prog_compiler_pic='-fPIC -shared'
8887 osf3* | osf4* | osf5*)
8888 lt_prog_compiler_wl='-Wl,'
8889 # All OSF/1 code is PIC.
8890 lt_prog_compiler_static='-non_shared'
8894 lt_prog_compiler_static='-non_shared'
8898 lt_prog_compiler_pic='-KPIC'
8899 lt_prog_compiler_static='-Bstatic'
8900 case $cc_basename in
8902 lt_prog_compiler_wl='-Qoption ld ';;
8904 lt_prog_compiler_wl='-Wl,';;
8909 lt_prog_compiler_wl='-Qoption ld '
8910 lt_prog_compiler_pic='-PIC'
8911 lt_prog_compiler_static='-Bstatic'
8914 sysv4 | sysv4.2uw2* | sysv4.3*)
8915 lt_prog_compiler_wl='-Wl,'
8916 lt_prog_compiler_pic='-KPIC'
8917 lt_prog_compiler_static='-Bstatic'
8921 if test -d /usr/nec ;then
8922 lt_prog_compiler_pic='-Kconform_pic'
8923 lt_prog_compiler_static='-Bstatic'
8927 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8928 lt_prog_compiler_wl='-Wl,'
8929 lt_prog_compiler_pic='-KPIC'
8930 lt_prog_compiler_static='-Bstatic'
8934 lt_prog_compiler_wl='-Wl,'
8935 lt_prog_compiler_can_build_shared=no
8939 lt_prog_compiler_pic='-pic'
8940 lt_prog_compiler_static='-Bstatic'
8944 lt_prog_compiler_can_build_shared=no
8950 # For platforms which do not support PIC, -DPIC is meaningless:
8952 lt_prog_compiler_pic=
8955 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8958 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_prog_compiler_pic" >&5
8959 $as_echo "$lt_prog_compiler_pic" >&6; }
8967 # Check to make sure the PIC flag actually works.
8969 if test -n "$lt_prog_compiler_pic"; then
8970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler PIC flag
$lt_prog_compiler_pic works
" >&5
8971 $as_echo_n "checking
if $compiler PIC flag
$lt_prog_compiler_pic works...
" >&6; }
8972 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8973 $as_echo_n "(cached
) " >&6
8975 lt_cv_prog_compiler_pic_works=no
8976 ac_outfile=conftest.$ac_objext
8977 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8978 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8979 # Insert the option either (1) after the last *FLAGS variable, or
8980 # (2) before a word containing "conftest.
", or (3) at the end.
8981 # Note that $ac_compile itself does not contain backslashes and begins
8982 # with a dollar sign (not a hyphen), so the echo should work correctly.
8983 # The option is referenced via a variable to avoid confusing sed.
8984 lt_compile=`echo "$ac_compile" | $SED \
8985 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8986 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8987 -e 's:$: $lt_compiler_flag:'`
8988 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
8989 (eval "$lt_compile" 2>conftest.err)
8991 cat conftest.err >&5
8992 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8993 if (exit $ac_status) && test -s "$ac_outfile"; then
8994 # The compiler can only warn and ignore the option if not recognized
8995 # So say no if there are warnings other than the usual output.
8996 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8997 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8998 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8999 lt_cv_prog_compiler_pic_works=yes
9005 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_pic_works" >&5
9006 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9008 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9009 case $lt_prog_compiler_pic in
9011 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9014 lt_prog_compiler_pic=
9015 lt_prog_compiler_can_build_shared=no
9026 # Check to make sure the static flag actually works.
9028 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler static flag
$lt_tmp_static_flag works
" >&5
9030 $as_echo_n "checking
if $compiler static flag
$lt_tmp_static_flag works...
" >&6; }
9031 if ${lt_cv_prog_compiler_static_works+:} false; then :
9032 $as_echo_n "(cached
) " >&6
9034 lt_cv_prog_compiler_static_works=no
9035 save_LDFLAGS="$LDFLAGS"
9036 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9037 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9038 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9039 # The linker can only warn and ignore the option if not recognized
9040 # So say no if there are warnings
9041 if test -s conftest.err; then
9042 # Append any errors to the config.log.
9043 cat conftest.err 1>&5
9044 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9045 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9046 if diff conftest.exp conftest.er2 >/dev/null; then
9047 lt_cv_prog_compiler_static_works=yes
9050 lt_cv_prog_compiler_static_works=yes
9054 LDFLAGS="$save_LDFLAGS"
9057 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_static_works" >&5
9058 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9060 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9063 lt_prog_compiler_static=
9072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
9073 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
9074 if ${lt_cv_prog_compiler_c_o+:} false; then :
9075 $as_echo_n "(cached
) " >&6
9077 lt_cv_prog_compiler_c_o=no
9078 $RM -r conftest 2>/dev/null
9082 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9084 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
9085 # Insert the option either (1) after the last *FLAGS variable, or
9086 # (2) before a word containing "conftest.
", or (3) at the end.
9087 # Note that $ac_compile itself does not contain backslashes and begins
9088 # with a dollar sign (not a hyphen), so the echo should work correctly.
9089 lt_compile=`echo "$ac_compile" | $SED \
9090 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9091 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9092 -e 's:$: $lt_compiler_flag:'`
9093 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
9094 (eval "$lt_compile" 2>out/conftest.err)
9096 cat out/conftest.err >&5
9097 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9098 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9100 # The compiler can only warn and ignore the option if not recognized
9101 # So say no if there are warnings
9102 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9103 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9104 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9105 lt_cv_prog_compiler_c_o=yes
9110 # SGI C++ compiler will create directory out/ii_files/ for
9111 # template instantiation
9112 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9113 $RM out/* && rmdir out
9119 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
9120 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
9128 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
9129 if ${lt_cv_prog_compiler_c_o+:} false; then :
9130 $as_echo_n "(cached
) " >&6
9132 lt_cv_prog_compiler_c_o=no
9133 $RM -r conftest 2>/dev/null
9137 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9139 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
9140 # Insert the option either (1) after the last *FLAGS variable, or
9141 # (2) before a word containing "conftest.
", or (3) at the end.
9142 # Note that $ac_compile itself does not contain backslashes and begins
9143 # with a dollar sign (not a hyphen), so the echo should work correctly.
9144 lt_compile=`echo "$ac_compile" | $SED \
9145 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9146 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9147 -e 's:$: $lt_compiler_flag:'`
9148 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
9149 (eval "$lt_compile" 2>out/conftest.err)
9151 cat out/conftest.err >&5
9152 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9153 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9155 # The compiler can only warn and ignore the option if not recognized
9156 # So say no if there are warnings
9157 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9158 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9159 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9160 lt_cv_prog_compiler_c_o=yes
9165 # SGI C++ compiler will create directory out/ii_files/ for
9166 # template instantiation
9167 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9168 $RM out/* && rmdir out
9174 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
9175 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9180 hard_links="nottested
"
9181 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9182 # do not overwrite the value of need_locks provided by the user
9183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if we can lock with hard links
" >&5
9184 $as_echo_n "checking
if we can lock with hard links...
" >&6; }
9187 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9189 ln conftest.a conftest.b 2>&5 || hard_links=no
9190 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9191 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $hard_links" >&5
9192 $as_echo "$hard_links" >&6; }
9193 if test "$hard_links" = no; then
9194 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&5
9195 $as_echo "$as_me: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&2;}
9207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the
$compiler linker
($LD) supports shared libraries
" >&5
9208 $as_echo_n "checking whether the
$compiler linker
($LD) supports shared libraries...
" >&6; }
9211 allow_undefined_flag=
9212 always_export_symbols=no
9214 archive_expsym_cmds=
9215 compiler_needs_object=no
9216 enable_shared_with_static_runtimes=no
9217 export_dynamic_flag_spec=
9218 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9219 hardcode_automatic=no
9221 hardcode_direct_absolute=no
9222 hardcode_libdir_flag_spec=
9223 hardcode_libdir_flag_spec_ld=
9224 hardcode_libdir_separator=
9226 hardcode_shlibpath_var=unsupported
9228 link_all_deplibs=unknown
9231 old_archive_from_new_cmds=
9232 old_archive_from_expsyms_cmds=
9233 thread_safe_flag_spec=
9234 whole_archive_flag_spec=
9235 # include_expsyms should be a list of space-separated symbols to be *always*
9236 # included in the symbol list
9238 # exclude_expsyms can be an extended regexp of symbols to exclude
9239 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9240 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9241 # as well as any symbol that contains `d'.
9242 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9243 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9244 # platforms (ab)use it in PIC code, but their linkers get confused if
9245 # the symbol is explicitly referenced. Since portable code cannot
9246 # rely on this symbol name, it's probably fine to never include it in
9247 # preloaded symbol tables.
9248 # Exclude shared library initialization/finalization symbols.
9249 extract_expsyms_cmds=
9252 cygwin* | mingw* | pw32* | cegcc*)
9253 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9254 # When not using gcc, we currently assume that we are using
9255 # Microsoft Visual C++.
9256 if test "$GCC" != yes; then
9261 # we just hope/assume this is gcc and not c89 (= MSVC++)
9271 # On some targets, GNU ld is compatible enough with the native linker
9272 # that we're better off using the native interface for both.
9273 lt_use_gnu_ld_interface=no
9274 if test "$with_gnu_ld" = yes; then
9277 # The AIX port of GNU ld has always aspired to compatibility
9278 # with the native linker. However, as the warning in the GNU ld
9279 # block says, versions before 2.19.5* couldn't really create working
9280 # shared libraries, regardless of the interface used.
9281 case `$LD -v 2>&1` in
9282 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9283 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9284 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9286 lt_use_gnu_ld_interface=yes
9291 lt_use_gnu_ld_interface=yes
9296 if test "$lt_use_gnu_ld_interface" = yes; then
9297 # If archive_cmds runs LD, not CC, wlarc should be empty
9300 # Set some defaults for GNU ld with shared library support. These
9301 # are reset later if shared libraries are not supported. Putting them
9302 # here allows them to be overridden if necessary.
9303 runpath_var=LD_RUN_PATH
9304 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9305 export_dynamic_flag_spec='${wl}--export-dynamic'
9306 # ancient GNU ld didn't support --whole-archive et. al.
9307 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9308 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9310 whole_archive_flag_spec=
9312 supports_anon_versioning=no
9313 case `$LD -v 2>&1` in
9314 *GNU\ gold*) supports_anon_versioning=yes ;;
9315 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9316 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9317 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9318 *\ 2.11.*) ;; # other 2.11 versions
9319 *) supports_anon_versioning=yes ;;
9322 # See if GNU ld supports shared libraries.
9325 # On AIX/PPC, the GNU linker is very broken
9326 if test "$host_cpu" != ia64; then
9330 *** Warning: the GNU linker, at least up to release 2.19, is reported
9331 *** to be unable to reliably create shared libraries on AIX.
9332 *** Therefore, libtool is disabling shared libraries support. If you
9333 *** really care for shared libraries, you may want to install binutils
9334 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9335 *** You will then need to restart the configuration process.
9344 # see comment about AmigaOS4 .so support
9345 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9346 archive_expsym_cmds=''
9349 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)'
9350 hardcode_libdir_flag_spec
='-L$libdir'
9351 hardcode_minus_L
=yes
9357 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9358 allow_undefined_flag
=unsupported
9359 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9360 # support --undefined. This deserves some investigation. FIXME
9361 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9367 cygwin
* | mingw
* | pw32
* | cegcc
*)
9368 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9369 # as there is no search path for DLLs.
9370 hardcode_libdir_flag_spec
='-L$libdir'
9371 export_dynamic_flag_spec
='${wl}--export-all-symbols'
9372 allow_undefined_flag
=unsupported
9373 always_export_symbols
=no
9374 enable_shared_with_static_runtimes
=yes
9375 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9377 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
9378 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9379 # If the export-symbols file already is a .def file (1st line
9380 # is EXPORTS), use it as is; otherwise, prepend...
9381 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9382 cp $export_symbols $output_objdir/$soname.def;
9384 echo EXPORTS > $output_objdir/$soname.def;
9385 cat $export_symbols >> $output_objdir/$soname.def;
9387 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9394 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9395 link_all_deplibs
=yes
9400 hardcode_shlibpath_var
=no
9401 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9402 export_dynamic_flag_spec
='${wl}-E'
9403 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9404 # Instead, shared libraries are loaded at an image base (0x10000000 by
9405 # default) and relocated if they conflict, which is a slow very memory
9406 # consuming and fragmenting process. To avoid this, we pick a random,
9407 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9408 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9409 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9410 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'
9413 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9415 if test "$host_os" = linux-dietlibc
; then
9416 case $cc_basename in
9417 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9420 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
9421 && test "$tmp_diet" = no
9423 tmp_addflag
=' $pic_flag'
9424 tmp_sharedflag
='-shared'
9425 case $cc_basename,$host_cpu in
9426 pgcc
*) # Portland Group C compiler
9427 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'
9428 tmp_addflag
=' $pic_flag'
9430 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9431 # Portland Group f77 and f90 compilers
9432 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'
9433 tmp_addflag
=' $pic_flag -Mnomain' ;;
9434 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9435 tmp_addflag
=' -i_dynamic' ;;
9436 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9437 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9438 ifc
* | ifort
*) # Intel Fortran compiler
9439 tmp_addflag
=' -nofor_main' ;;
9440 lf95
*) # Lahey Fortran 8.1
9441 whole_archive_flag_spec
=
9442 tmp_sharedflag
='--shared' ;;
9443 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9444 tmp_sharedflag
='-qmkshrobj'
9446 nvcc
*) # Cuda Compiler Driver 2.2
9447 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'
9448 compiler_needs_object
=yes
9451 case `$CC -V 2>&1 | sed 5q` in
9452 *Sun\ C
*) # Sun C 5.9
9453 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'
9454 compiler_needs_object
=yes
9455 tmp_sharedflag
='-G' ;;
9456 *Sun\ F
*) # Sun Fortran 8.3
9457 tmp_sharedflag
='-G' ;;
9459 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9461 if test "x$supports_anon_versioning" = xyes
; then
9462 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9463 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9464 echo "local: *; };" >> $output_objdir/$libname.ver~
9465 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9468 case $cc_basename in
9469 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
9470 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9471 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9472 hardcode_libdir_flag_spec
=
9473 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
9474 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9475 if test "x$supports_anon_versioning" = xyes
; then
9476 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9477 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9478 echo "local: *; };" >> $output_objdir/$libname.ver~
9479 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9489 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9490 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9493 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9494 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9499 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
9503 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9504 *** create shared libraries on Solaris systems. Therefore, libtool
9505 *** is disabling shared libraries support. We urge you to upgrade GNU
9506 *** binutils to release 2.9.1 or newer. Another option is to modify
9507 *** your PATH or compiler configuration so that the native linker is
9508 *** used, and then restart.
9511 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9512 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9513 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9519 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9520 case `$LD -v 2>&1` in
9521 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9525 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9526 *** reliably create shared libraries on SCO systems. Therefore, libtool
9527 *** is disabling shared libraries support. We urge you to upgrade GNU
9528 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9529 *** your PATH or compiler configuration so that the native linker is
9530 *** used, and then restart.
9535 # For security reasons, it is highly recommended that you always
9536 # use absolute paths for naming shared libraries, and exclude the
9537 # DT_RUNPATH tag from executables and libraries. But doing so
9538 # requires that you compile everything twice, which is a pain.
9539 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9540 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9541 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9542 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9551 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9554 hardcode_shlibpath_var
=no
9558 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9559 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9560 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9567 if test "$ld_shlibs" = no
; then
9569 hardcode_libdir_flag_spec
=
9570 export_dynamic_flag_spec
=
9571 whole_archive_flag_spec
=
9574 # PORTME fill in a description of your system's linker (not GNU ld)
9577 allow_undefined_flag
=unsupported
9578 always_export_symbols
=yes
9579 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'
9580 # Note: this linker hardcodes the directories in LIBPATH if there
9581 # are no directories specified by -L.
9582 hardcode_minus_L
=yes
9583 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9584 # Neither direct hardcoding nor static linking is supported with a
9586 hardcode_direct
=unsupported
9591 if test "$host_cpu" = ia64
; then
9592 # On IA64, the linker does run time linking by default, so we don't
9593 # have to do anything special.
9594 aix_use_runtimelinking
=no
9595 exp_sym_flag
='-Bexport'
9598 # If we're using GNU nm, then we don't want the "-C" option.
9599 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9600 # Also, AIX nm treats weak defined symbols like other global
9601 # defined symbols, whereas GNU nm marks them as "W".
9602 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9603 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'
9605 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'
9607 aix_use_runtimelinking
=no
9609 # Test if we are trying to use run time linking or normal
9610 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9611 # need to do runtime linking.
9612 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9613 for ld_flag
in $LDFLAGS; do
9614 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9615 aix_use_runtimelinking
=yes
9622 exp_sym_flag
='-bexport'
9623 no_entry_flag
='-bnoentry'
9626 # When large executables or shared objects are built, AIX ld can
9627 # have problems creating the table of contents. If linking a library
9628 # or program results in "error TOC overflow" add -mminimal-toc to
9629 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9630 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9634 hardcode_direct_absolute
=yes
9635 hardcode_libdir_separator
=':'
9636 link_all_deplibs
=yes
9637 file_list_spec
='${wl}-f,'
9639 if test "$GCC" = yes; then
9640 case $host_os in aix4.
[012]|aix4.
[012].
*)
9641 # We only want to do this on AIX 4.2 and lower, the check
9642 # below for broken collect2 doesn't work under 4.3+
9643 collect2name
=`${CC} -print-prog-name=collect2`
9644 if test -f "$collect2name" &&
9645 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9647 # We have reworked collect2
9650 # We have old collect2
9651 hardcode_direct
=unsupported
9652 # It fails to find uninstalled libraries when the uninstalled
9653 # path is not listed in the libpath. Setting hardcode_minus_L
9654 # to unsupported forces relinking
9655 hardcode_minus_L
=yes
9656 hardcode_libdir_flag_spec
='-L$libdir'
9657 hardcode_libdir_separator
=
9661 shared_flag
='-shared'
9662 if test "$aix_use_runtimelinking" = yes; then
9663 shared_flag
="$shared_flag "'${wl}-G'
9667 if test "$host_cpu" = ia64
; then
9668 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9669 # chokes on -Wl,-G. The following line is correct:
9672 if test "$aix_use_runtimelinking" = yes; then
9673 shared_flag
='${wl}-G'
9675 shared_flag
='${wl}-bM:SRE'
9680 export_dynamic_flag_spec
='${wl}-bexpall'
9681 # It seems that -bexpall does not export symbols beginning with
9682 # underscore (_), so it is better to generate a list of symbols to export.
9683 always_export_symbols
=yes
9684 if test "$aix_use_runtimelinking" = yes; then
9685 # Warning - without using the other runtime loading flags (-brtl),
9686 # -berok will link without error, but may produce a broken library.
9687 allow_undefined_flag
='-berok'
9688 # Determine the default libpath from the value encoded in an
9690 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9691 /* end confdefs.h. */
9701 if ac_fn_c_try_link
"$LINENO"; then :
9703 lt_aix_libpath_sed
='
9704 /Import File Strings/,/^$/ {
9710 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9711 # Check for a 64-bit object if we didn't find anything.
9712 if test -z "$aix_libpath"; then
9713 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9716 rm -f core conftest.err conftest.
$ac_objext \
9717 conftest
$ac_exeext conftest.
$ac_ext
9718 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9720 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9721 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"
9723 if test "$host_cpu" = ia64
; then
9724 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9725 allow_undefined_flag
="-z nodefs"
9726 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"
9728 # Determine the default libpath from the value encoded in an
9730 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9731 /* end confdefs.h. */
9741 if ac_fn_c_try_link
"$LINENO"; then :
9743 lt_aix_libpath_sed
='
9744 /Import File Strings/,/^$/ {
9750 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9751 # Check for a 64-bit object if we didn't find anything.
9752 if test -z "$aix_libpath"; then
9753 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9756 rm -f core conftest.err conftest.
$ac_objext \
9757 conftest
$ac_exeext conftest.
$ac_ext
9758 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9760 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9761 # Warning - without using the other run time loading flags,
9762 # -berok will link without error, but may produce a broken library.
9763 no_undefined_flag
=' ${wl}-bernotok'
9764 allow_undefined_flag
=' ${wl}-berok'
9765 if test "$with_gnu_ld" = yes; then
9766 # We only use this code for GNU lds that support --whole-archive.
9767 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9769 # Exported symbols can be pulled into shared objects from archives
9770 whole_archive_flag_spec
='$convenience'
9772 archive_cmds_need_lc
=yes
9773 # This is similar to how AIX traditionally builds its shared libraries.
9774 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'
9782 # see comment about AmigaOS4 .so support
9783 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9784 archive_expsym_cmds
=''
9787 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)'
9788 hardcode_libdir_flag_spec
='-L$libdir'
9789 hardcode_minus_L
=yes
9795 export_dynamic_flag_spec
=-rdynamic
9798 cygwin
* | mingw
* | pw32
* | cegcc
*)
9799 # When not using gcc, we currently assume that we are using
9800 # Microsoft Visual C++.
9801 # hardcode_libdir_flag_spec is actually meaningless, as there is
9802 # no search path for DLLs.
9803 hardcode_libdir_flag_spec
=' '
9804 allow_undefined_flag
=unsupported
9805 # Tell ltmain to make .lib files, not .a files.
9807 # Tell ltmain to make .dll files, not .so files.
9809 # FIXME: Setting linknames here is a bad hack.
9810 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9811 # The linker will automatically build a .lib file if we build a DLL.
9812 old_archive_from_new_cmds
='true'
9813 # FIXME: Should let the user specify the lib program.
9814 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9815 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9816 enable_shared_with_static_runtimes
=yes
9819 darwin
* | rhapsody
*)
9822 archive_cmds_need_lc
=no
9824 hardcode_automatic
=yes
9825 hardcode_shlibpath_var
=unsupported
9826 if test "$lt_cv_ld_force_load" = "yes"; then
9827 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\"`'
9829 whole_archive_flag_spec
=''
9831 link_all_deplibs
=yes
9832 allow_undefined_flag
="$_lt_dar_allow_undefined"
9833 case $cc_basename in
9834 ifort
*) _lt_dar_can_shared
=yes ;;
9835 *) _lt_dar_can_shared
=$GCC ;;
9837 if test "$_lt_dar_can_shared" = "yes"; then
9838 output_verbose_link_cmd
=func_echo_all
9839 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9840 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9841 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}"
9842 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}"
9851 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9852 hardcode_libdir_flag_spec
='-L$libdir'
9853 hardcode_shlibpath_var
=no
9856 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9857 # support. Future versions do this automatically, but an explicit c++rt0.o
9858 # does not break anything, and helps significantly (at the cost of a little
9861 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9862 hardcode_libdir_flag_spec
='-R$libdir'
9864 hardcode_shlibpath_var
=no
9867 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9869 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9871 hardcode_minus_L
=yes
9872 hardcode_shlibpath_var
=no
9875 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9876 freebsd
* | dragonfly
*)
9877 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9878 hardcode_libdir_flag_spec
='-R$libdir'
9880 hardcode_shlibpath_var
=no
9884 if test "$GCC" = yes; then
9885 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'
9887 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'
9889 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9890 hardcode_libdir_separator
=:
9893 # hardcode_minus_L: Not really in the search PATH,
9894 # but as the default location of the library.
9895 hardcode_minus_L
=yes
9896 export_dynamic_flag_spec
='${wl}-E'
9900 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9901 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9903 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9905 if test "$with_gnu_ld" = no
; then
9906 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9907 hardcode_libdir_flag_spec_ld
='+b $libdir'
9908 hardcode_libdir_separator
=:
9910 hardcode_direct_absolute
=yes
9911 export_dynamic_flag_spec
='${wl}-E'
9912 # hardcode_minus_L: Not really in the search PATH,
9913 # but as the default location of the library.
9914 hardcode_minus_L
=yes
9919 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9922 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9925 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9928 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9934 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9937 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9941 # Older versions of the 11.00 compiler do not understand -b yet
9942 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9944 $as_echo_n "checking if $CC understands -b... " >&6; }
9945 if ${lt_cv_prog_compiler__b+:} false
; then :
9946 $as_echo_n "(cached) " >&6
9948 lt_cv_prog_compiler__b
=no
9949 save_LDFLAGS
="$LDFLAGS"
9950 LDFLAGS
="$LDFLAGS -b"
9951 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9952 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9953 # The linker can only warn and ignore the option if not recognized
9954 # So say no if there are warnings
9955 if test -s conftest.err
; then
9956 # Append any errors to the config.log.
9957 cat conftest.err
1>&5
9958 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9959 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9960 if diff conftest.exp conftest.er2
>/dev
/null
; then
9961 lt_cv_prog_compiler__b
=yes
9964 lt_cv_prog_compiler__b
=yes
9968 LDFLAGS
="$save_LDFLAGS"
9971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9972 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9974 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
9975 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9977 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9983 if test "$with_gnu_ld" = no
; then
9984 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9985 hardcode_libdir_separator
=:
9990 hardcode_shlibpath_var
=no
9994 hardcode_direct_absolute
=yes
9995 export_dynamic_flag_spec
='${wl}-E'
9997 # hardcode_minus_L: Not really in the search PATH,
9998 # but as the default location of the library.
9999 hardcode_minus_L
=yes
10005 irix5
* | irix6
* | nonstopux
*)
10006 if test "$GCC" = yes; then
10007 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'
10008 # Try to use the -exported_symbol ld option, if it does not
10009 # work, assume that -exports_file does not work either and
10010 # implicitly export all symbols.
10011 save_LDFLAGS
="$LDFLAGS"
10012 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10013 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10014 /* end confdefs.h. */
10017 if ac_fn_c_try_link
"$LINENO"; then :
10018 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'
10021 rm -f core conftest.err conftest.
$ac_objext \
10022 conftest
$ac_exeext conftest.
$ac_ext
10023 LDFLAGS
="$save_LDFLAGS"
10025 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'
10026 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'
10028 archive_cmds_need_lc
='no'
10029 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10030 hardcode_libdir_separator
=:
10032 link_all_deplibs
=yes
10036 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10037 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10039 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10041 hardcode_libdir_flag_spec
='-R$libdir'
10042 hardcode_direct
=yes
10043 hardcode_shlibpath_var
=no
10047 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10048 hardcode_direct
=yes
10049 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10050 hardcode_libdir_separator
=:
10051 hardcode_shlibpath_var
=no
10058 if test -f /usr
/libexec
/ld.so
; then
10059 hardcode_direct
=yes
10060 hardcode_shlibpath_var
=no
10061 hardcode_direct_absolute
=yes
10062 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10063 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10064 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10065 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10066 export_dynamic_flag_spec
='${wl}-E'
10069 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
10070 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10071 hardcode_libdir_flag_spec
='-R$libdir'
10074 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10075 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10085 hardcode_libdir_flag_spec
='-L$libdir'
10086 hardcode_minus_L
=yes
10087 allow_undefined_flag
=unsupported
10088 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'
10089 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10093 if test "$GCC" = yes; then
10094 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10095 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'
10097 allow_undefined_flag
=' -expect_unresolved \*'
10098 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'
10100 archive_cmds_need_lc
='no'
10101 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10102 hardcode_libdir_separator
=:
10105 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10106 if test "$GCC" = yes; then
10107 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10108 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-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'
10109 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10111 allow_undefined_flag
=' -expect_unresolved \*'
10112 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'
10113 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~
10114 $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'
10116 # Both c and cxx compiler support -rpath directly
10117 hardcode_libdir_flag_spec
='-rpath $libdir'
10119 archive_cmds_need_lc
='no'
10120 hardcode_libdir_separator
=:
10124 no_undefined_flag
=' -z defs'
10125 if test "$GCC" = yes; then
10127 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10128 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10129 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10131 case `$CC -V 2>&1` in
10134 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10135 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10136 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10140 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10141 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10142 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10146 hardcode_libdir_flag_spec
='-R$libdir'
10147 hardcode_shlibpath_var
=no
10149 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10151 # The compiler driver will combine and reorder linker options,
10152 # but understands `-z linker_flag'. GCC discards it without `$wl',
10153 # but is careful enough not to reorder.
10154 # Supported since Solaris 2.6 (maybe 2.5.1?)
10155 if test "$GCC" = yes; then
10156 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10158 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10162 link_all_deplibs
=yes
10166 if test "x$host_vendor" = xsequent
; then
10167 # Use $CC to link under sequent, because it throws in some extra .o
10168 # files that make .init and .fini sections work.
10169 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10171 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10173 hardcode_libdir_flag_spec
='-L$libdir'
10174 hardcode_direct
=yes
10175 hardcode_minus_L
=yes
10176 hardcode_shlibpath_var
=no
10180 case $host_vendor in
10182 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10183 hardcode_direct
=yes # is this really true???
10186 ## LD is ld it makes a PLAMLIB
10187 ## CC just makes a GrossModule.
10188 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10189 reload_cmds
='$CC -r -o $output$reload_objs'
10193 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10194 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10197 runpath_var
='LD_RUN_PATH'
10198 hardcode_shlibpath_var
=no
10202 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10203 hardcode_shlibpath_var
=no
10204 export_dynamic_flag_spec
='-Bexport'
10208 if test -d /usr
/nec
; then
10209 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10210 hardcode_shlibpath_var
=no
10211 runpath_var
=LD_RUN_PATH
10212 hardcode_runpath_var
=yes
10217 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10218 no_undefined_flag
='${wl}-z,text'
10219 archive_cmds_need_lc
=no
10220 hardcode_shlibpath_var
=no
10221 runpath_var
='LD_RUN_PATH'
10223 if test "$GCC" = yes; then
10224 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10225 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10227 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10228 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10232 sysv5
* | sco3.2v5
* | sco5v6
*)
10233 # Note: We can NOT use -z defs as we might desire, because we do not
10234 # link with -lc, and that would cause any symbols used from libc to
10235 # always be unresolved, which means just about no library would
10236 # ever link correctly. If we're not using GNU ld we use -z text
10237 # though, which does catch some bad symbols but isn't as heavy-handed
10239 no_undefined_flag
='${wl}-z,text'
10240 allow_undefined_flag
='${wl}-z,nodefs'
10241 archive_cmds_need_lc
=no
10242 hardcode_shlibpath_var
=no
10243 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10244 hardcode_libdir_separator
=':'
10245 link_all_deplibs
=yes
10246 export_dynamic_flag_spec
='${wl}-Bexport'
10247 runpath_var
='LD_RUN_PATH'
10249 if test "$GCC" = yes; then
10250 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10251 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10253 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10254 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10259 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10260 hardcode_libdir_flag_spec
='-L$libdir'
10261 hardcode_shlibpath_var
=no
10269 if test x
$host_vendor = xsni
; then
10271 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10272 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10279 $as_echo "$ld_shlibs" >&6; }
10280 test "$ld_shlibs" = no
&& can_build_shared
=no
10282 with_gnu_ld
=$with_gnu_ld
10299 # Do we need to explicitly link libc?
10301 case "x$archive_cmds_need_lc" in
10303 # Assume -lc should be added
10304 archive_cmds_need_lc
=yes
10306 if test "$enable_shared" = yes && test "$GCC" = yes; then
10307 case $archive_cmds in
10309 # FIXME: we may have to deal with multi-command sequences.
10312 # Test whether the compiler implicitly links with -lc since on some
10313 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10314 # to ld, don't add -lc before -lgcc.
10315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10316 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10317 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
10318 $as_echo_n "(cached) " >&6
10321 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10323 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10324 (eval $ac_compile) 2>&5
10326 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10327 test $ac_status = 0; } 2>conftest.err
; then
10330 libobjs
=conftest.
$ac_objext
10332 wl
=$lt_prog_compiler_wl
10333 pic_flag
=$lt_prog_compiler_pic
10339 lt_save_allow_undefined_flag
=$allow_undefined_flag
10340 allow_undefined_flag
=
10341 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10342 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10344 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10345 test $ac_status = 0; }
10347 lt_cv_archive_cmds_need_lc
=no
10349 lt_cv_archive_cmds_need_lc
=yes
10351 allow_undefined_flag
=$lt_save_allow_undefined_flag
10353 cat conftest.err
1>&5
10358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10359 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10360 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
10523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10524 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10526 if test "$GCC" = yes; then
10528 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10529 *) lt_awk_arg
="/^libraries:/" ;;
10532 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
10533 *) lt_sed_strip_eq
="s,=/,/,g" ;;
10535 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10536 case $lt_search_path_spec in
10538 # if the path contains ";" then we assume it to be the separator
10539 # otherwise default to the standard path separator (i.e. ":") - it is
10540 # assumed that no part of a normal pathname contains ";" but that should
10541 # okay in the real world where ";" in dirpaths is itself problematic.
10542 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10545 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10548 # Ok, now we have the path, separated by spaces, we can step through it
10549 # and add multilib dir if necessary.
10550 lt_tmp_lt_search_path_spec
=
10551 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10552 for lt_sys_path
in $lt_search_path_spec; do
10553 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10554 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10556 test -d "$lt_sys_path" && \
10557 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10560 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10561 BEGIN {RS=" "; FS="/|\n";} {
10564 for (lt_i = NF; lt_i > 0; lt_i--) {
10565 if ($lt_i != "" && $lt_i != ".") {
10566 if ($lt_i == "..") {
10569 if (lt_count == 0) {
10570 lt_foo="/" $lt_i lt_foo;
10577 if (lt_foo != "") { lt_freq[lt_foo]++; }
10578 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10580 # AWK program above erroneously prepends '/' to C:/dos/paths
10583 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
10584 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10586 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10588 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10590 library_names_spec
=
10591 libname_spec
='lib$name'
10595 postuninstall_cmds
=
10599 shlibpath_overrides_runpath
=unknown
10601 dynamic_linker
="$host_os ld.so"
10602 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10603 need_lib_prefix
=unknown
10604 hardcode_into_libs
=no
10606 # when you set need_version to no, make sure it does not cause -set_version
10607 # flags to be left without arguments
10608 need_version
=unknown
10613 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10614 shlibpath_var
=LIBPATH
10616 # AIX 3 has no versioning support, so we append a major version to the name.
10617 soname_spec
='${libname}${release}${shared_ext}$major'
10624 hardcode_into_libs
=yes
10625 if test "$host_cpu" = ia64
; then
10626 # AIX 5 supports IA64
10627 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10628 shlibpath_var
=LD_LIBRARY_PATH
10630 # With GCC up to 2.95.x, collect2 would create an import file
10631 # for dependence libraries. The import file would start with
10632 # the line `#! .'. This would cause the generated library to
10633 # depend on `.', always an invalid library. This was fixed in
10634 # development snapshots of GCC prior to 3.0.
10636 aix4 | aix4.
[01] | aix4.
[01].
*)
10637 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10639 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10642 can_build_shared
=no
10646 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10647 # soname into executable. Probably we can add versioning support to
10648 # collect2, so additional links can be useful in future.
10649 if test "$aix_use_runtimelinking" = yes; then
10650 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10651 # instead of lib<name>.a to let people know that these are not
10652 # typical AIX shared libraries.
10653 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10655 # We preserve .a as extension for shared libraries through AIX4.2
10656 # and later when we are not doing run time linking.
10657 library_names_spec
='${libname}${release}.a $libname.a'
10658 soname_spec
='${libname}${release}${shared_ext}$major'
10660 shlibpath_var
=LIBPATH
10667 # Since July 2007 AmigaOS4 officially supports .so libraries.
10668 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10669 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10672 library_names_spec
='$libname.ixlibrary $libname.a'
10673 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10674 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'
10680 library_names_spec
='${libname}${shared_ext}'
10681 dynamic_linker
="$host_os ld.so"
10682 shlibpath_var
=LIBRARY_PATH
10688 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10689 soname_spec
='${libname}${release}${shared_ext}$major'
10690 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10691 shlibpath_var
=LD_LIBRARY_PATH
10692 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10693 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10694 # the default ld.so.conf also contains /usr/contrib/lib and
10695 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10696 # libtool to hard-code these into programs
10699 cygwin
* | mingw
* | pw32
* | cegcc
*)
10700 version_type
=windows
10705 case $GCC,$host_os in
10706 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
10707 library_names_spec
='$libname.dll.a'
10708 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10709 postinstall_cmds
='base_file=`basename \${file}`~
10710 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10711 dldir=$destdir/`dirname \$dlpath`~
10712 test -d \$dldir || mkdir -p \$dldir~
10713 $install_prog $dir/$dlname \$dldir/$dlname~
10714 chmod a+x \$dldir/$dlname~
10715 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10716 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10718 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10719 dlpath=$dir/\$dldll~
10721 shlibpath_overrides_runpath
=yes
10725 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10726 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10728 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
10731 # MinGW DLLs use traditional 'lib' prefix
10732 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10735 # pw32 DLLs use 'pw' prefix rather than 'lib'
10736 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10742 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10745 dynamic_linker
='Win32 ld.exe'
10746 # FIXME: first we should search . and the directory the executable is in
10750 darwin
* | rhapsody
*)
10751 dynamic_linker
="$host_os dyld"
10752 version_type
=darwin
10755 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10756 soname_spec
='${libname}${release}${major}$shared_ext'
10757 shlibpath_overrides_runpath
=yes
10758 shlibpath_var
=DYLD_LIBRARY_PATH
10759 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10761 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10762 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10769 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10770 soname_spec
='${libname}${release}${shared_ext}$major'
10771 shlibpath_var
=LD_LIBRARY_PATH
10774 freebsd
* | dragonfly
*)
10775 # DragonFly does not have aout. When/if they implement a new
10776 # versioning mechanism, adjust this.
10777 if test -x /usr
/bin
/objformat
; then
10778 objformat
=`/usr/bin/objformat`
10781 freebsd
[23].
*) objformat
=aout
;;
10782 *) objformat
=elf
;;
10785 version_type
=freebsd-
$objformat
10786 case $version_type in
10788 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10793 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10797 shlibpath_var
=LD_LIBRARY_PATH
10800 shlibpath_overrides_runpath
=yes
10802 freebsd3.
[01]* | freebsdelf3.
[01]*)
10803 shlibpath_overrides_runpath
=yes
10804 hardcode_into_libs
=yes
10806 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10807 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10808 shlibpath_overrides_runpath
=no
10809 hardcode_into_libs
=yes
10811 *) # from 4.6 on, and DragonFly
10812 shlibpath_overrides_runpath
=yes
10813 hardcode_into_libs
=yes
10822 dynamic_linker
="$host_os runtime_loader"
10823 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10824 soname_spec
='${libname}${release}${shared_ext}$major'
10825 shlibpath_var
=LIBRARY_PATH
10826 shlibpath_overrides_runpath
=yes
10827 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10828 hardcode_into_libs
=yes
10831 hpux9
* | hpux10
* | hpux11
*)
10832 # Give a soname corresponding to the major version so that dld.sl refuses to
10833 # link against other versions.
10840 hardcode_into_libs
=yes
10841 dynamic_linker
="$host_os dld.so"
10842 shlibpath_var
=LD_LIBRARY_PATH
10843 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10844 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10845 soname_spec
='${libname}${release}${shared_ext}$major'
10846 if test "X$HPUX_IA64_MODE" = X32
; then
10847 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10849 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10851 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10855 hardcode_into_libs
=yes
10856 dynamic_linker
="$host_os dld.sl"
10857 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10858 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10859 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10860 soname_spec
='${libname}${release}${shared_ext}$major'
10861 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10862 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10866 dynamic_linker
="$host_os dld.sl"
10867 shlibpath_var
=SHLIB_PATH
10868 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10869 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10870 soname_spec
='${libname}${release}${shared_ext}$major'
10873 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10874 postinstall_cmds
='chmod 555 $lib'
10875 # or fails outright, so override atomically:
10876 install_override_mode
=555
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 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10886 shlibpath_var
=LD_LIBRARY_PATH
10887 shlibpath_overrides_runpath
=no
10888 hardcode_into_libs
=yes
10891 irix5
* | irix6
* | nonstopux
*)
10893 nonstopux
*) version_type
=nonstopux
;;
10895 if test "$lt_cv_prog_gnu_ld" = yes; then
10903 soname_spec
='${libname}${release}${shared_ext}$major'
10904 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10906 irix5
* | nonstopux
*)
10907 libsuff
= shlibsuff
=
10910 case $LD in # libtool.m4 will add one of these switches to LD
10911 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10912 libsuff
= shlibsuff
= libmagic
=32-bit;;
10913 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10914 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10915 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10916 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10917 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10921 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10922 shlibpath_overrides_runpath
=no
10923 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10924 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10925 hardcode_into_libs
=yes
10928 # No shared lib support for Linux oldld, aout, or coff.
10929 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10933 # This must be Linux ELF.
10934 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
10938 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10939 soname_spec
='${libname}${release}${shared_ext}$major'
10940 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10941 shlibpath_var
=LD_LIBRARY_PATH
10942 shlibpath_overrides_runpath
=no
10944 # Some binutils ld are patched to set DT_RUNPATH
10945 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
10946 $as_echo_n "(cached) " >&6
10948 lt_cv_shlibpath_overrides_runpath
=no
10949 save_LDFLAGS
=$LDFLAGS
10950 save_libdir
=$libdir
10951 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10952 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10953 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10954 /* end confdefs.h. */
10964 if ac_fn_c_try_link
"$LINENO"; then :
10965 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
10966 lt_cv_shlibpath_overrides_runpath
=yes
10969 rm -f core conftest.err conftest.
$ac_objext \
10970 conftest
$ac_exeext conftest.
$ac_ext
10971 LDFLAGS
=$save_LDFLAGS
10972 libdir
=$save_libdir
10976 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
10978 # This implies no fast_install, which is unacceptable.
10979 # Some rework will be needed to allow for fast_install
10980 # before this can be enabled.
10981 hardcode_into_libs
=yes
10983 # Append ld.so.conf contents to the search path
10984 if test -f /etc
/ld.so.conf
; then
10985 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' ' '`
10986 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10989 # We used to test for /lib/ld.so.1 and disable shared libraries on
10990 # powerpc, because MkLinux only supported shared libraries with the
10991 # GNU dynamic linker. Since this was broken with cross compilers,
10992 # most powerpc-linux boxes support dynamic linking these days and
10993 # people can always --disable-shared, the test was removed, and we
10994 # assume the GNU/Linux dynamic linker is in use.
10995 dynamic_linker
='GNU/Linux ld.so'
11002 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11003 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11004 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11005 dynamic_linker
='NetBSD (a.out) ld.so'
11007 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11008 soname_spec
='${libname}${release}${shared_ext}$major'
11009 dynamic_linker
='NetBSD ld.elf_so'
11011 shlibpath_var
=LD_LIBRARY_PATH
11012 shlibpath_overrides_runpath
=yes
11013 hardcode_into_libs
=yes
11018 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11019 shlibpath_var
=LD_LIBRARY_PATH
11020 shlibpath_overrides_runpath
=yes
11027 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11028 soname_spec
='${libname}${release}${shared_ext}$major'
11029 shlibpath_var
=LD_LIBRARY_PATH
11030 shlibpath_overrides_runpath
=no
11031 hardcode_into_libs
=yes
11032 dynamic_linker
='ldqnx.so'
11037 sys_lib_dlsearch_path_spec
="/usr/lib"
11039 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11041 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
11042 *) need_version
=no
;;
11044 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11045 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11046 shlibpath_var
=LD_LIBRARY_PATH
11047 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11049 openbsd2.
[89] | openbsd2.
[89].
*)
11050 shlibpath_overrides_runpath
=no
11053 shlibpath_overrides_runpath
=yes
11057 shlibpath_overrides_runpath
=yes
11062 libname_spec
='$name'
11065 library_names_spec
='$libname${shared_ext} $libname.a'
11066 dynamic_linker
='OS/2 ld.exe'
11067 shlibpath_var
=LIBPATH
11070 osf3
* | osf4
* | osf5
*)
11074 soname_spec
='${libname}${release}${shared_ext}$major'
11075 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11076 shlibpath_var
=LD_LIBRARY_PATH
11077 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11078 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11089 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11090 soname_spec
='${libname}${release}${shared_ext}$major'
11091 shlibpath_var
=LD_LIBRARY_PATH
11092 shlibpath_overrides_runpath
=yes
11093 hardcode_into_libs
=yes
11094 # ldd complains unless libraries are executable
11095 postinstall_cmds
='chmod +x $lib'
11100 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11101 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11102 shlibpath_var
=LD_LIBRARY_PATH
11103 shlibpath_overrides_runpath
=yes
11104 if test "$with_gnu_ld" = yes; then
11112 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11113 soname_spec
='${libname}${release}${shared_ext}$major'
11114 shlibpath_var
=LD_LIBRARY_PATH
11115 case $host_vendor in
11117 shlibpath_overrides_runpath
=no
11119 runpath_var
=LD_RUN_PATH
11127 shlibpath_overrides_runpath
=no
11128 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11134 if test -d /usr
/nec
;then
11136 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11137 soname_spec
='$libname${shared_ext}.$major'
11138 shlibpath_var
=LD_LIBRARY_PATH
11142 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11143 version_type
=freebsd-elf
11146 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11147 soname_spec
='${libname}${release}${shared_ext}$major'
11148 shlibpath_var
=LD_LIBRARY_PATH
11149 shlibpath_overrides_runpath
=yes
11150 hardcode_into_libs
=yes
11151 if test "$with_gnu_ld" = yes; then
11152 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11154 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11157 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11161 sys_lib_dlsearch_path_spec
='/usr/lib'
11165 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11169 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11170 shlibpath_var
=LD_LIBRARY_PATH
11171 shlibpath_overrides_runpath
=no
11172 hardcode_into_libs
=yes
11177 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11178 soname_spec
='${libname}${release}${shared_ext}$major'
11179 shlibpath_var
=LD_LIBRARY_PATH
11186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11187 $as_echo "$dynamic_linker" >&6; }
11188 test "$dynamic_linker" = no
&& can_build_shared
=no
11190 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11191 if test "$GCC" = yes; then
11192 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11195 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11196 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
11198 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11199 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
11293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11294 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11296 if test -n "$hardcode_libdir_flag_spec" ||
11297 test -n "$runpath_var" ||
11298 test "X$hardcode_automatic" = "Xyes" ; then
11300 # We can hardcode non-existent directories.
11301 if test "$hardcode_direct" != no
&&
11302 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11303 # have to relink, otherwise we might link with an installed library
11304 # when we should be linking with a yet-to-be-installed one
11305 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11306 test "$hardcode_minus_L" != no
; then
11307 # Linking always hardcodes the temporary library directory.
11308 hardcode_action
=relink
11310 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11311 hardcode_action
=immediate
11314 # We cannot hardcode anything, or else we can only hardcode existing
11316 hardcode_action
=unsupported
11318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11319 $as_echo "$hardcode_action" >&6; }
11321 if test "$hardcode_action" = relink ||
11322 test "$inherit_rpath" = yes; then
11323 # Fast installation is not supported
11324 enable_fast_install
=no
11325 elif test "$shlibpath_overrides_runpath" = yes ||
11326 test "$enable_shared" = no
; then
11327 # Fast installation is not necessary
11328 enable_fast_install
=needless
11336 if test "x$enable_dlopen" != xyes
; then
11337 enable_dlopen
=unknown
11338 enable_dlopen_self
=unknown
11339 enable_dlopen_self_static
=unknown
11346 lt_cv_dlopen
="load_add_on"
11348 lt_cv_dlopen_self
=yes
11351 mingw
* | pw32
* | cegcc
*)
11352 lt_cv_dlopen
="LoadLibrary"
11357 lt_cv_dlopen
="dlopen"
11362 # if libdl is installed we need to link against it
11363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11364 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11365 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11366 $as_echo_n "(cached) " >&6
11368 ac_check_lib_save_LIBS
=$LIBS
11370 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11371 /* end confdefs.h. */
11373 /* Override any GCC internal prototype to avoid an error.
11374 Use char because int might match the return type of a GCC
11375 builtin and then its argument prototype would still apply. */
11388 if ac_fn_c_try_link
"$LINENO"; then :
11389 ac_cv_lib_dl_dlopen
=yes
11391 ac_cv_lib_dl_dlopen
=no
11393 rm -f core conftest.err conftest.
$ac_objext \
11394 conftest
$ac_exeext conftest.
$ac_ext
11395 LIBS
=$ac_check_lib_save_LIBS
11397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11398 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11399 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11400 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11403 lt_cv_dlopen
="dyld"
11405 lt_cv_dlopen_self
=yes
11412 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
11413 if test "x$ac_cv_func_shl_load" = xyes
; then :
11414 lt_cv_dlopen
="shl_load"
11416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11417 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11418 if ${ac_cv_lib_dld_shl_load+:} false
; then :
11419 $as_echo_n "(cached) " >&6
11421 ac_check_lib_save_LIBS
=$LIBS
11423 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11424 /* end confdefs.h. */
11426 /* Override any GCC internal prototype to avoid an error.
11427 Use char because int might match the return type of a GCC
11428 builtin and then its argument prototype would still apply. */
11436 return shl_load ();
11441 if ac_fn_c_try_link
"$LINENO"; then :
11442 ac_cv_lib_dld_shl_load
=yes
11444 ac_cv_lib_dld_shl_load
=no
11446 rm -f core conftest.err conftest.
$ac_objext \
11447 conftest
$ac_exeext conftest.
$ac_ext
11448 LIBS
=$ac_check_lib_save_LIBS
11450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11451 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11452 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
11453 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
11455 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
11456 if test "x$ac_cv_func_dlopen" = xyes
; then :
11457 lt_cv_dlopen
="dlopen"
11459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11460 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11461 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11462 $as_echo_n "(cached) " >&6
11464 ac_check_lib_save_LIBS
=$LIBS
11466 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11467 /* end confdefs.h. */
11469 /* Override any GCC internal prototype to avoid an error.
11470 Use char because int might match the return type of a GCC
11471 builtin and then its argument prototype would still apply. */
11484 if ac_fn_c_try_link
"$LINENO"; then :
11485 ac_cv_lib_dl_dlopen
=yes
11487 ac_cv_lib_dl_dlopen
=no
11489 rm -f core conftest.err conftest.
$ac_objext \
11490 conftest
$ac_exeext conftest.
$ac_ext
11491 LIBS
=$ac_check_lib_save_LIBS
11493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11494 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11495 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11496 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11499 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11500 if ${ac_cv_lib_svld_dlopen+:} false
; then :
11501 $as_echo_n "(cached) " >&6
11503 ac_check_lib_save_LIBS
=$LIBS
11504 LIBS
="-lsvld $LIBS"
11505 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11506 /* end confdefs.h. */
11508 /* Override any GCC internal prototype to avoid an error.
11509 Use char because int might match the return type of a GCC
11510 builtin and then its argument prototype would still apply. */
11523 if ac_fn_c_try_link
"$LINENO"; then :
11524 ac_cv_lib_svld_dlopen
=yes
11526 ac_cv_lib_svld_dlopen
=no
11528 rm -f core conftest.err conftest.
$ac_objext \
11529 conftest
$ac_exeext conftest.
$ac_ext
11530 LIBS
=$ac_check_lib_save_LIBS
11532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11533 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11534 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
11535 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11538 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11539 if ${ac_cv_lib_dld_dld_link+:} false
; then :
11540 $as_echo_n "(cached) " >&6
11542 ac_check_lib_save_LIBS
=$LIBS
11544 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11545 /* end confdefs.h. */
11547 /* Override any GCC internal prototype to avoid an error.
11548 Use char because int might match the return type of a GCC
11549 builtin and then its argument prototype would still apply. */
11557 return dld_link ();
11562 if ac_fn_c_try_link
"$LINENO"; then :
11563 ac_cv_lib_dld_dld_link
=yes
11565 ac_cv_lib_dld_dld_link
=no
11567 rm -f core conftest.err conftest.
$ac_objext \
11568 conftest
$ac_exeext conftest.
$ac_ext
11569 LIBS
=$ac_check_lib_save_LIBS
11571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11572 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11573 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
11574 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11595 if test "x$lt_cv_dlopen" != xno
; then
11601 case $lt_cv_dlopen in
11603 save_CPPFLAGS
="$CPPFLAGS"
11604 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11606 save_LDFLAGS
="$LDFLAGS"
11607 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11610 LIBS
="$lt_cv_dlopen_libs $LIBS"
11612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11613 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11614 if ${lt_cv_dlopen_self+:} false
; then :
11615 $as_echo_n "(cached) " >&6
11617 if test "$cross_compiling" = yes; then :
11618 lt_cv_dlopen_self
=cross
11620 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11621 lt_status
=$lt_dlunknown
11622 cat > conftest.
$ac_ext <<_LT_EOF
11623 #line 11623 "configure"
11624 #include "confdefs.h"
11633 # define LT_DLGLOBAL RTLD_GLOBAL
11636 # define LT_DLGLOBAL DL_GLOBAL
11638 # define LT_DLGLOBAL 0
11642 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11643 find out it does not work in some platform. */
11644 #ifndef LT_DLLAZY_OR_NOW
11646 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11649 # define LT_DLLAZY_OR_NOW DL_LAZY
11652 # define LT_DLLAZY_OR_NOW RTLD_NOW
11655 # define LT_DLLAZY_OR_NOW DL_NOW
11657 # define LT_DLLAZY_OR_NOW 0
11664 /* When -fvisbility=hidden is used, assume the code has been annotated
11665 correspondingly for the symbols needed. */
11666 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11667 void fnord () __attribute__((visibility("default")));
11670 void fnord () { int i=42; }
11673 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11674 int status = $lt_dlunknown;
11678 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11681 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11682 else puts (dlerror ());
11684 /* dlclose (self); */
11692 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11693 (eval $ac_link) 2>&5
11695 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11696 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11697 (.
/conftest
; exit; ) >&5 2>/dev
/null
11699 case x
$lt_status in
11700 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11701 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11702 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11705 # compilation failed
11706 lt_cv_dlopen_self
=no
11713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11714 $as_echo "$lt_cv_dlopen_self" >&6; }
11716 if test "x$lt_cv_dlopen_self" = xyes
; then
11717 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11719 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11720 if ${lt_cv_dlopen_self_static+:} false
; then :
11721 $as_echo_n "(cached) " >&6
11723 if test "$cross_compiling" = yes; then :
11724 lt_cv_dlopen_self_static
=cross
11726 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11727 lt_status
=$lt_dlunknown
11728 cat > conftest.
$ac_ext <<_LT_EOF
11729 #line 11729 "configure"
11730 #include "confdefs.h"
11739 # define LT_DLGLOBAL RTLD_GLOBAL
11742 # define LT_DLGLOBAL DL_GLOBAL
11744 # define LT_DLGLOBAL 0
11748 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11749 find out it does not work in some platform. */
11750 #ifndef LT_DLLAZY_OR_NOW
11752 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11755 # define LT_DLLAZY_OR_NOW DL_LAZY
11758 # define LT_DLLAZY_OR_NOW RTLD_NOW
11761 # define LT_DLLAZY_OR_NOW DL_NOW
11763 # define LT_DLLAZY_OR_NOW 0
11770 /* When -fvisbility=hidden is used, assume the code has been annotated
11771 correspondingly for the symbols needed. */
11772 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11773 void fnord () __attribute__((visibility("default")));
11776 void fnord () { int i=42; }
11779 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11780 int status = $lt_dlunknown;
11784 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11787 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11788 else puts (dlerror ());
11790 /* dlclose (self); */
11798 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11799 (eval $ac_link) 2>&5
11801 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11802 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11803 (.
/conftest
; exit; ) >&5 2>/dev
/null
11805 case x
$lt_status in
11806 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11807 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11808 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11811 # compilation failed
11812 lt_cv_dlopen_self_static
=no
11819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11820 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11823 CPPFLAGS
="$save_CPPFLAGS"
11824 LDFLAGS
="$save_LDFLAGS"
11829 case $lt_cv_dlopen_self in
11830 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11831 *) enable_dlopen_self
=unknown
;;
11834 case $lt_cv_dlopen_self_static in
11835 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11836 *) enable_dlopen_self_static
=unknown
;;
11858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11859 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11860 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11861 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11862 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11864 $as_echo "yes" >&6; }
11866 # FIXME - insert some real tests, host_os isn't really good enough
11869 if test -n "$STRIP" ; then
11870 striplib
="$STRIP -x"
11871 old_striplib
="$STRIP -S"
11872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11873 $as_echo "yes" >&6; }
11875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11876 $as_echo "no" >&6; }
11880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11881 $as_echo "no" >&6; }
11897 # Report which library types will actually be built
11898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11899 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11901 $as_echo "$can_build_shared" >&6; }
11903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11904 $as_echo_n "checking whether to build shared libraries... " >&6; }
11905 test "$can_build_shared" = "no" && enable_shared
=no
11907 # On AIX, shared libraries and static libraries use the same namespace, and
11908 # are all built from PIC.
11911 test "$enable_shared" = yes && enable_static
=no
11912 if test -n "$RANLIB"; then
11913 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11914 postinstall_cmds
='$RANLIB $lib'
11919 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11920 test "$enable_shared" = yes && enable_static
=no
11924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11925 $as_echo "$enable_shared" >&6; }
11927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11928 $as_echo_n "checking whether to build static libraries... " >&6; }
11929 # Make sure either enable_shared or enable_static is yes.
11930 test "$enable_shared" = yes || enable_static
=yes
11931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11932 $as_echo "$enable_static" >&6; }
11939 ac_cpp
='$CPP $CPPFLAGS'
11940 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11941 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11942 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11946 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11947 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11948 (test "X$CXX" != "Xg++"))) ; then
11950 ac_cpp
='$CXXCPP $CPPFLAGS'
11951 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11952 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11953 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11955 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11956 if test -z "$CXXCPP"; then
11957 if ${ac_cv_prog_CXXCPP+:} false
; then :
11958 $as_echo_n "(cached) " >&6
11960 # Double quotes because CXXCPP needs to be expanded
11961 for CXXCPP
in "$CXX -E" "/lib/cpp"
11963 ac_preproc_ok
=false
11964 for ac_cxx_preproc_warn_flag
in '' yes
11966 # Use a header file that comes with gcc, so configuring glibc
11967 # with a fresh cross-compiler works.
11968 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11969 # <limits.h> exists even on freestanding compilers.
11970 # On the NeXT, cc -E runs the code through the compiler's parser,
11971 # not just through cpp. "Syntax error" is here to catch this case.
11972 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11973 /* end confdefs.h. */
11975 # include <limits.h>
11977 # include <assert.h>
11981 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11984 # Broken: fails on valid input.
11987 rm -f conftest.err conftest.i conftest.
$ac_ext
11989 # OK, works on sane cases. Now check whether nonexistent headers
11990 # can be detected and how.
11991 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11992 /* end confdefs.h. */
11993 #include <ac_nonexistent.h>
11995 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11996 # Broken: success on invalid input.
11999 # Passes both tests.
12003 rm -f conftest.err conftest.i conftest.
$ac_ext
12006 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12007 rm -f conftest.i conftest.err conftest.
$ac_ext
12008 if $ac_preproc_ok; then :
12013 ac_cv_prog_CXXCPP
=$CXXCPP
12016 CXXCPP
=$ac_cv_prog_CXXCPP
12018 ac_cv_prog_CXXCPP
=$CXXCPP
12020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12021 $as_echo "$CXXCPP" >&6; }
12022 ac_preproc_ok
=false
12023 for ac_cxx_preproc_warn_flag
in '' yes
12025 # Use a header file that comes with gcc, so configuring glibc
12026 # with a fresh cross-compiler works.
12027 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12028 # <limits.h> exists even on freestanding compilers.
12029 # On the NeXT, cc -E runs the code through the compiler's parser,
12030 # not just through cpp. "Syntax error" is here to catch this case.
12031 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12032 /* end confdefs.h. */
12034 # include <limits.h>
12036 # include <assert.h>
12040 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12043 # Broken: fails on valid input.
12046 rm -f conftest.err conftest.i conftest.
$ac_ext
12048 # OK, works on sane cases. Now check whether nonexistent headers
12049 # can be detected and how.
12050 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12051 /* end confdefs.h. */
12052 #include <ac_nonexistent.h>
12054 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12055 # Broken: success on invalid input.
12058 # Passes both tests.
12062 rm -f conftest.err conftest.i conftest.
$ac_ext
12065 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12066 rm -f conftest.i conftest.err conftest.
$ac_ext
12067 if $ac_preproc_ok; then :
12070 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12071 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12072 as_fn_error $?
"C++ preprocessor \"$CXXCPP\" fails sanity check
12073 See \`config.log' for more details" "$LINENO" 5; }
12077 ac_cpp
='$CPP $CPPFLAGS'
12078 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12079 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12080 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12083 _lt_caught_CXX_error
=yes
12087 ac_cpp
='$CXXCPP $CPPFLAGS'
12088 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12089 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12090 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12092 archive_cmds_need_lc_CXX
=no
12093 allow_undefined_flag_CXX
=
12094 always_export_symbols_CXX
=no
12095 archive_expsym_cmds_CXX
=
12096 compiler_needs_object_CXX
=no
12097 export_dynamic_flag_spec_CXX
=
12098 hardcode_direct_CXX
=no
12099 hardcode_direct_absolute_CXX
=no
12100 hardcode_libdir_flag_spec_CXX
=
12101 hardcode_libdir_flag_spec_ld_CXX
=
12102 hardcode_libdir_separator_CXX
=
12103 hardcode_minus_L_CXX
=no
12104 hardcode_shlibpath_var_CXX
=unsupported
12105 hardcode_automatic_CXX
=no
12106 inherit_rpath_CXX
=no
12108 module_expsym_cmds_CXX
=
12109 link_all_deplibs_CXX
=unknown
12110 old_archive_cmds_CXX
=$old_archive_cmds
12111 reload_flag_CXX
=$reload_flag
12112 reload_cmds_CXX
=$reload_cmds
12113 no_undefined_flag_CXX
=
12114 whole_archive_flag_spec_CXX
=
12115 enable_shared_with_static_runtimes_CXX
=no
12117 # Source file extension for C++ test sources.
12120 # Object file extension for compiled C++ test sources.
12124 # No sense in running all these tests if we already determined that
12125 # the CXX compiler isn't working. Some variables (like enable_shared)
12126 # are currently assumed to apply to all compilers on this platform,
12127 # and will be corrupted by setting them based on a non-working compiler.
12128 if test "$_lt_caught_CXX_error" != yes; then
12129 # Code to be used in simple compile tests
12130 lt_simple_compile_test_code
="int some_variable = 0;"
12132 # Code to be used in simple link tests
12133 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
12135 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12142 # If no C compiler was specified, use CC.
12145 # If no C compiler flags were specified, use CFLAGS.
12146 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
12148 # Allow CC to be a program name with arguments.
12152 # save warnings/boilerplate of simple test code
12153 ac_outfile
=conftest.
$ac_objext
12154 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
12155 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12156 _lt_compiler_boilerplate
=`cat conftest.err`
12159 ac_outfile
=conftest.
$ac_objext
12160 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
12161 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12162 _lt_linker_boilerplate
=`cat conftest.err`
12166 # Allow CC to be a program name with arguments.
12171 lt_save_with_gnu_ld
=$with_gnu_ld
12172 lt_save_path_LD
=$lt_cv_path_LD
12173 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12174 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
12176 $as_unset lt_cv_prog_gnu_ld
12178 if test -n "${lt_cv_path_LDCXX+set}"; then
12179 lt_cv_path_LD
=$lt_cv_path_LDCXX
12181 $as_unset lt_cv_path_LD
12183 test -z "${LDCXX+set}" || LD
=$LDCXX
12187 for cc_temp
in $compiler""; do
12189 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
12190 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
12195 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12198 if test -n "$compiler"; then
12199 # We don't want -fno-exception when compiling C++ code, so set the
12200 # no_builtin_flag separately
12201 if test "$GXX" = yes; then
12202 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
12204 lt_prog_compiler_no_builtin_flag_CXX
=
12207 if test "$GXX" = yes; then
12208 # Set up default GNU C++ configuration
12212 # Check whether --with-gnu-ld was given.
12213 if test "${with_gnu_ld+set}" = set; then :
12214 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
12220 if test "$GCC" = yes; then
12221 # Check if gcc -print-prog-name=ld gives a path.
12222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12223 $as_echo_n "checking for ld used by $CC... " >&6; }
12226 # gcc leaves a trailing carriage return which upsets mingw
12227 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12229 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
12232 # Accept absolute paths.
12234 re_direlt
='/[^/][^/]*/\.\./'
12235 # Canonicalize the pathname of ld
12236 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12237 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
12238 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12240 test -z "$LD" && LD
="$ac_prog"
12243 # If it fails, then pretend we aren't using GCC.
12247 # If it is relative, then search for the first ld in PATH.
12248 with_gnu_ld
=unknown
12251 elif test "$with_gnu_ld" = yes; then
12252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12253 $as_echo_n "checking for GNU ld... " >&6; }
12255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12256 $as_echo_n "checking for non-GNU ld... " >&6; }
12258 if ${lt_cv_path_LD+:} false
; then :
12259 $as_echo_n "(cached) " >&6
12261 if test -z "$LD"; then
12262 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
12263 for ac_dir
in $PATH; do
12265 test -z "$ac_dir" && ac_dir
=.
12266 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
12267 lt_cv_path_LD
="$ac_dir/$ac_prog"
12268 # Check to see if the program is GNU ld. I'd rather use --version,
12269 # but apparently some variants of GNU ld only accept -v.
12270 # Break only if it was the GNU/non-GNU ld that we prefer.
12271 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12272 *GNU
* |
*'with BFD'*)
12273 test "$with_gnu_ld" != no
&& break
12276 test "$with_gnu_ld" != yes && break
12283 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
12287 LD
="$lt_cv_path_LD"
12288 if test -n "$LD"; then
12289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12290 $as_echo "$LD" >&6; }
12292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12293 $as_echo "no" >&6; }
12295 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
12296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12297 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12298 if ${lt_cv_prog_gnu_ld+:} false
; then :
12299 $as_echo_n "(cached) " >&6
12301 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12302 case `$LD -v 2>&1 </dev/null` in
12303 *GNU
* |
*'with BFD'*)
12304 lt_cv_prog_gnu_ld
=yes
12307 lt_cv_prog_gnu_ld
=no
12311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12312 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12313 with_gnu_ld
=$lt_cv_prog_gnu_ld
12321 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12322 # archiving commands below assume that GNU ld is being used.
12323 if test "$with_gnu_ld" = yes; then
12324 archive_cmds_CXX
='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12325 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'
12327 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12328 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12330 # If archive_cmds runs LD, not CC, wlarc should be empty
12331 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12332 # investigate it a little bit more. (MM)
12335 # ancient GNU ld didn't support --whole-archive et. al.
12336 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12337 $GREP 'no-whole-archive' > /dev
/null
; then
12338 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12340 whole_archive_flag_spec_CXX
=
12346 # A generic and very simple default shared library creation
12347 # command for GNU C++ for the case where it uses the native
12348 # linker, instead of GNU ld. If possible, this setting should
12349 # overridden to take advantage of the native linker features on
12350 # the platform it is being used on.
12351 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12354 # Commands to make compiler produce verbose output that lists
12355 # what "hidden" libraries, object files and flags are used when
12356 # linking a shared library.
12357 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12365 # PORTME: fill in a description of your system's C++ link characteristics
12366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12367 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12371 # FIXME: insert proper C++ library support
12375 if test "$host_cpu" = ia64
; then
12376 # On IA64, the linker does run time linking by default, so we don't
12377 # have to do anything special.
12378 aix_use_runtimelinking
=no
12379 exp_sym_flag
='-Bexport'
12382 aix_use_runtimelinking
=no
12384 # Test if we are trying to use run time linking or normal
12385 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12386 # need to do runtime linking.
12387 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
12388 for ld_flag
in $LDFLAGS; do
12391 aix_use_runtimelinking
=yes
12399 exp_sym_flag
='-bexport'
12400 no_entry_flag
='-bnoentry'
12403 # When large executables or shared objects are built, AIX ld can
12404 # have problems creating the table of contents. If linking a library
12405 # or program results in "error TOC overflow" add -mminimal-toc to
12406 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12407 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12409 archive_cmds_CXX
=''
12410 hardcode_direct_CXX
=yes
12411 hardcode_direct_absolute_CXX
=yes
12412 hardcode_libdir_separator_CXX
=':'
12413 link_all_deplibs_CXX
=yes
12414 file_list_spec_CXX
='${wl}-f,'
12416 if test "$GXX" = yes; then
12417 case $host_os in aix4.
[012]|aix4.
[012].
*)
12418 # We only want to do this on AIX 4.2 and lower, the check
12419 # below for broken collect2 doesn't work under 4.3+
12420 collect2name
=`${CC} -print-prog-name=collect2`
12421 if test -f "$collect2name" &&
12422 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
12424 # We have reworked collect2
12427 # We have old collect2
12428 hardcode_direct_CXX
=unsupported
12429 # It fails to find uninstalled libraries when the uninstalled
12430 # path is not listed in the libpath. Setting hardcode_minus_L
12431 # to unsupported forces relinking
12432 hardcode_minus_L_CXX
=yes
12433 hardcode_libdir_flag_spec_CXX
='-L$libdir'
12434 hardcode_libdir_separator_CXX
=
12437 shared_flag
='-shared'
12438 if test "$aix_use_runtimelinking" = yes; then
12439 shared_flag
="$shared_flag "'${wl}-G'
12443 if test "$host_cpu" = ia64
; then
12444 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12445 # chokes on -Wl,-G. The following line is correct:
12448 if test "$aix_use_runtimelinking" = yes; then
12449 shared_flag
='${wl}-G'
12451 shared_flag
='${wl}-bM:SRE'
12456 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
12457 # It seems that -bexpall does not export symbols beginning with
12458 # underscore (_), so it is better to generate a list of symbols to
12460 always_export_symbols_CXX
=yes
12461 if test "$aix_use_runtimelinking" = yes; then
12462 # Warning - without using the other runtime loading flags (-brtl),
12463 # -berok will link without error, but may produce a broken library.
12464 allow_undefined_flag_CXX
='-berok'
12465 # Determine the default libpath from the value encoded in an empty
12467 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12468 /* end confdefs.h. */
12478 if ac_fn_cxx_try_link
"$LINENO"; then :
12480 lt_aix_libpath_sed
='
12481 /Import File Strings/,/^$/ {
12487 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12488 # Check for a 64-bit object if we didn't find anything.
12489 if test -z "$aix_libpath"; then
12490 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12493 rm -f core conftest.err conftest.
$ac_objext \
12494 conftest
$ac_exeext conftest.
$ac_ext
12495 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12497 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
12499 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"
12501 if test "$host_cpu" = ia64
; then
12502 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
12503 allow_undefined_flag_CXX
="-z nodefs"
12504 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"
12506 # Determine the default libpath from the value encoded in an
12507 # empty executable.
12508 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12509 /* end confdefs.h. */
12519 if ac_fn_cxx_try_link
"$LINENO"; then :
12521 lt_aix_libpath_sed
='
12522 /Import File Strings/,/^$/ {
12528 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12529 # Check for a 64-bit object if we didn't find anything.
12530 if test -z "$aix_libpath"; then
12531 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12534 rm -f core conftest.err conftest.
$ac_objext \
12535 conftest
$ac_exeext conftest.
$ac_ext
12536 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12538 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
12539 # Warning - without using the other run time loading flags,
12540 # -berok will link without error, but may produce a broken library.
12541 no_undefined_flag_CXX
=' ${wl}-bernotok'
12542 allow_undefined_flag_CXX
=' ${wl}-berok'
12543 if test "$with_gnu_ld" = yes; then
12544 # We only use this code for GNU lds that support --whole-archive.
12545 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12547 # Exported symbols can be pulled into shared objects from archives
12548 whole_archive_flag_spec_CXX
='$convenience'
12550 archive_cmds_need_lc_CXX
=yes
12551 # This is similar to how AIX traditionally builds its shared
12553 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'
12559 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12560 allow_undefined_flag_CXX
=unsupported
12561 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12562 # support --undefined. This deserves some investigation. FIXME
12563 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12570 case $cc_basename in
12572 # FIXME: insert proper C++ library support
12578 cygwin
* | mingw
* | pw32
* | cegcc
*)
12579 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12580 # as there is no search path for DLLs.
12581 hardcode_libdir_flag_spec_CXX
='-L$libdir'
12582 export_dynamic_flag_spec_CXX
='${wl}--export-all-symbols'
12583 allow_undefined_flag_CXX
=unsupported
12584 always_export_symbols_CXX
=no
12585 enable_shared_with_static_runtimes_CXX
=yes
12587 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
12588 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'
12589 # If the export-symbols file already is a .def file (1st line
12590 # is EXPORTS), use it as is; otherwise, prepend...
12591 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12592 cp $export_symbols $output_objdir/$soname.def;
12594 echo EXPORTS > $output_objdir/$soname.def;
12595 cat $export_symbols >> $output_objdir/$soname.def;
12597 $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'
12602 darwin
* | rhapsody
*)
12605 archive_cmds_need_lc_CXX
=no
12606 hardcode_direct_CXX
=no
12607 hardcode_automatic_CXX
=yes
12608 hardcode_shlibpath_var_CXX
=unsupported
12609 if test "$lt_cv_ld_force_load" = "yes"; then
12610 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\"`'
12612 whole_archive_flag_spec_CXX
=''
12614 link_all_deplibs_CXX
=yes
12615 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
12616 case $cc_basename in
12617 ifort
*) _lt_dar_can_shared
=yes ;;
12618 *) _lt_dar_can_shared
=$GCC ;;
12620 if test "$_lt_dar_can_shared" = "yes"; then
12621 output_verbose_link_cmd
=func_echo_all
12622 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}"
12623 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12624 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}"
12625 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}"
12626 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12627 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}"
12628 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}"
12638 case $cc_basename in
12640 # FIXME: insert proper C++ library support
12644 # Green Hills C++ Compiler
12645 # FIXME: insert proper C++ library support
12649 # FIXME: insert proper C++ library support
12656 # C++ shared libraries reported to be fairly broken before
12662 archive_cmds_need_lc_CXX
=no
12665 freebsd
* | dragonfly
*)
12666 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12675 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12676 link_all_deplibs_CXX
=yes
12680 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
12681 hardcode_libdir_separator_CXX
=:
12682 export_dynamic_flag_spec_CXX
='${wl}-E'
12683 hardcode_direct_CXX
=yes
12684 hardcode_minus_L_CXX
=yes # Not in the search PATH,
12685 # but as the default
12686 # location of the library.
12688 case $cc_basename in
12690 # FIXME: insert proper C++ library support
12694 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'
12695 # Commands to make compiler produce verbose output that lists
12696 # what "hidden" libraries, object files and flags are used when
12697 # linking a shared library.
12699 # There doesn't appear to be a way to prevent this compiler from
12700 # explicitly linking system object files so we need to strip them
12701 # from the output so that they don't get included in the library
12703 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"'
12706 if test "$GXX" = yes; then
12707 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'
12709 # FIXME: insert proper C++ library support
12717 if test $with_gnu_ld = no
; then
12718 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
12719 hardcode_libdir_separator_CXX
=:
12725 export_dynamic_flag_spec_CXX
='${wl}-E'
12731 hardcode_direct_CXX
=no
12732 hardcode_shlibpath_var_CXX
=no
12735 hardcode_direct_CXX
=yes
12736 hardcode_direct_absolute_CXX
=yes
12737 hardcode_minus_L_CXX
=yes # Not in the search PATH,
12738 # but as the default
12739 # location of the library.
12743 case $cc_basename in
12745 # FIXME: insert proper C++ library support
12751 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12754 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12757 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12760 # Commands to make compiler produce verbose output that lists
12761 # what "hidden" libraries, object files and flags are used when
12762 # linking a shared library.
12764 # There doesn't appear to be a way to prevent this compiler from
12765 # explicitly linking system object files so we need to strip them
12766 # from the output so that they don't get included in the library
12768 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"'
12771 if test "$GXX" = yes; then
12772 if test $with_gnu_ld = no
; then
12775 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12778 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12781 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'
12786 # FIXME: insert proper C++ library support
12794 hardcode_direct_CXX
=no
12795 hardcode_shlibpath_var_CXX
=no
12796 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12797 export_dynamic_flag_spec_CXX
='${wl}-E'
12798 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12799 # Instead, shared libraries are loaded at an image base (0x10000000 by
12800 # default) and relocated if they conflict, which is a slow very memory
12801 # consuming and fragmenting process. To avoid this, we pick a random,
12802 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12803 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12804 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'
12805 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'
12808 case $cc_basename in
12811 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'
12813 # Archives containing C++ object files must be created using
12814 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12815 # necessary to make sure instantiated templates are included
12817 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
12820 if test "$GXX" = yes; then
12821 if test "$with_gnu_ld" = no
; then
12822 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'
12824 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'
12827 link_all_deplibs_CXX
=yes
12830 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12831 hardcode_libdir_separator_CXX
=:
12832 inherit_rpath_CXX
=yes
12835 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
12836 case $cc_basename in
12838 # Kuck and Associates, Inc. (KAI) C++ Compiler
12840 # KCC will only create a shared library if the output file
12841 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12842 # to its proper name (with version) after linking.
12843 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'
12844 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'
12845 # Commands to make compiler produce verbose output that lists
12846 # what "hidden" libraries, object files and flags are used when
12847 # linking a shared library.
12849 # There doesn't appear to be a way to prevent this compiler from
12850 # explicitly linking system object files so we need to strip them
12851 # from the output so that they don't get included in the library
12853 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"'
12855 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12856 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12858 # Archives containing C++ object files must be created using
12859 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12860 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
12865 # version 8.0 and above of icpc choke on multiply defined symbols
12866 # if we add $predep_objects and $postdep_objects, however 7.1 and
12867 # earlier do not add the objects themselves.
12868 case `$CC -V 2>&1` in
12870 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12871 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'
12873 *) # Version 8.0 or newer
12876 ia64
*) tmp_idyn
=' -i_dynamic';;
12878 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12879 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'
12882 archive_cmds_need_lc_CXX
=no
12883 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12884 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12885 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12888 # Portland Group C++ compiler
12890 *pgCC\
[1-5].
* |
*pgcpp\
[1-5].
*)
12891 prelink_cmds_CXX
='tpldir=Template.dir~
12893 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12894 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12895 old_archive_cmds_CXX
='tpldir=Template.dir~
12897 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12898 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12900 archive_cmds_CXX
='tpldir=Template.dir~
12902 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12903 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12904 archive_expsym_cmds_CXX
='tpldir=Template.dir~
12906 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12907 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
12909 *) # Version 6 and above use weak symbols
12910 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12911 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'
12915 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
12916 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12917 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'
12921 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12922 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'
12924 runpath_var
=LD_RUN_PATH
12925 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
12926 hardcode_libdir_separator_CXX
=:
12928 # Commands to make compiler produce verbose output that lists
12929 # what "hidden" libraries, object files and flags are used when
12930 # linking a shared library.
12932 # There doesn't appear to be a way to prevent this compiler from
12933 # explicitly linking system object files so we need to strip them
12934 # from the output so that they don't get included in the library
12936 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'
12938 xl
* | mpixl
* | bgxl
*)
12939 # IBM XL 8.0 on PPC, with GNU ld
12940 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12941 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12942 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12943 if test "x$supports_anon_versioning" = xyes
; then
12944 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
12945 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12946 echo "local: *; };" >> $output_objdir/$libname.ver~
12947 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12951 case `$CC -V 2>&1 | sed 5q` in
12954 no_undefined_flag_CXX
=' -zdefs'
12955 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12956 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'
12957 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12958 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'
12959 compiler_needs_object_CXX
=yes
12961 # Not sure whether something based on
12962 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12964 output_verbose_link_cmd
='func_echo_all'
12966 # Archives containing C++ object files must be created using
12967 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12968 # necessary to make sure instantiated templates are included
12970 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
12978 # FIXME: insert proper C++ library support
12983 # FIXME: insert proper C++ library support
12988 case $cc_basename in
12990 # FIXME: insert proper C++ library support
12994 # FIXME: insert proper C++ library support
13001 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
13002 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13004 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13005 hardcode_direct_CXX
=yes
13006 hardcode_shlibpath_var_CXX
=no
13008 # Workaround some broken pre-1.5 toolchains
13009 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13017 # C++ shared libraries are fairly broken
13022 if test -f /usr
/libexec
/ld.so
; then
13023 hardcode_direct_CXX
=yes
13024 hardcode_shlibpath_var_CXX
=no
13025 hardcode_direct_absolute_CXX
=yes
13026 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13027 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13028 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13029 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13030 export_dynamic_flag_spec_CXX
='${wl}-E'
13031 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13033 output_verbose_link_cmd
=func_echo_all
13039 osf3
* | osf4
* | osf5
*)
13040 case $cc_basename in
13042 # Kuck and Associates, Inc. (KAI) C++ Compiler
13044 # KCC will only create a shared library if the output file
13045 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13046 # to its proper name (with version) after linking.
13047 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'
13049 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13050 hardcode_libdir_separator_CXX
=:
13052 # Archives containing C++ object files must be created using
13053 # the KAI C++ compiler.
13055 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
13056 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
13060 # Rational C++ 2.4.1
13061 # FIXME: insert proper C++ library support
13067 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13068 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'
13069 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13072 allow_undefined_flag_CXX
=' -expect_unresolved \*'
13073 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'
13074 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13075 echo "-hidden">> $lib.exp~
13076 $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~
13078 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13082 hardcode_libdir_separator_CXX
=:
13084 # Commands to make compiler produce verbose output that lists
13085 # what "hidden" libraries, object files and flags are used when
13086 # linking a shared library.
13088 # There doesn't appear to be a way to prevent this compiler from
13089 # explicitly linking system object files so we need to strip them
13090 # from the output so that they don't get included in the library
13092 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"'
13095 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13096 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13099 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'
13102 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'
13106 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13107 hardcode_libdir_separator_CXX
=:
13109 # Commands to make compiler produce verbose output that lists
13110 # what "hidden" libraries, object files and flags are used when
13111 # linking a shared library.
13112 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13115 # FIXME: insert proper C++ library support
13123 # FIXME: insert proper C++ library support
13128 case $cc_basename in
13131 # FIXME: insert proper C++ library support
13136 # FIXME: insert proper C++ library support
13140 # FIXME: insert proper C++ library support
13147 case $cc_basename in
13149 # Sun C++ 4.2, 5.x and Centerline C++
13150 archive_cmds_need_lc_CXX
=yes
13151 no_undefined_flag_CXX
=' -zdefs'
13152 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13153 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13154 $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'
13156 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13157 hardcode_shlibpath_var_CXX
=no
13159 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13161 # The compiler driver will combine and reorder linker options,
13162 # but understands `-z linker_flag'.
13163 # Supported since Solaris 2.6 (maybe 2.5.1?)
13164 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
13167 link_all_deplibs_CXX
=yes
13169 output_verbose_link_cmd
='func_echo_all'
13171 # Archives containing C++ object files must be created using
13172 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13173 # necessary to make sure instantiated templates are included
13175 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13178 # Green Hills C++ Compiler
13179 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13181 # The C++ compiler must be used to create the archive.
13182 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13185 # GNU C++ compiler with Solaris linker
13186 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13187 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
13188 if $CC --version |
$GREP -v '^2\.7' > /dev
/null
; then
13189 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13190 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13191 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13193 # Commands to make compiler produce verbose output that lists
13194 # what "hidden" libraries, object files and flags are used when
13195 # linking a shared library.
13196 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13198 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13200 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13201 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13202 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13204 # Commands to make compiler produce verbose output that lists
13205 # what "hidden" libraries, object files and flags are used when
13206 # linking a shared library.
13207 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13210 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
13212 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13214 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13222 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
13223 no_undefined_flag_CXX
='${wl}-z,text'
13224 archive_cmds_need_lc_CXX
=no
13225 hardcode_shlibpath_var_CXX
=no
13226 runpath_var
='LD_RUN_PATH'
13228 case $cc_basename in
13230 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13231 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13234 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13235 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13240 sysv5
* | sco3.2v5
* | sco5v6
*)
13241 # Note: We can NOT use -z defs as we might desire, because we do not
13242 # link with -lc, and that would cause any symbols used from libc to
13243 # always be unresolved, which means just about no library would
13244 # ever link correctly. If we're not using GNU ld we use -z text
13245 # though, which does catch some bad symbols but isn't as heavy-handed
13247 no_undefined_flag_CXX
='${wl}-z,text'
13248 allow_undefined_flag_CXX
='${wl}-z,nodefs'
13249 archive_cmds_need_lc_CXX
=no
13250 hardcode_shlibpath_var_CXX
=no
13251 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
13252 hardcode_libdir_separator_CXX
=':'
13253 link_all_deplibs_CXX
=yes
13254 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
13255 runpath_var
='LD_RUN_PATH'
13257 case $cc_basename in
13259 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13260 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13261 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
13262 '"$old_archive_cmds_CXX"
13263 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
13264 '"$reload_cmds_CXX"
13267 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13268 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13274 case $cc_basename in
13276 # NonStop-UX NCC 3.20
13277 # FIXME: insert proper C++ library support
13281 # FIXME: insert proper C++ library support
13288 # FIXME: insert proper C++ library support
13293 # FIXME: insert proper C++ library support
13298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13299 $as_echo "$ld_shlibs_CXX" >&6; }
13300 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
13306 ## There is no encapsulation within the following macros, do not change
13307 ## the running order or otherwise move them around unless you know exactly
13308 ## what you are doing...
13309 # Dependencies to place before and after the object being linked:
13310 predep_objects_CXX
=
13311 postdep_objects_CXX
=
13314 compiler_lib_search_path_CXX
=
13316 cat > conftest.
$ac_ext <<_LT_EOF
13320 Foo (void) { a = 0; }
13326 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13327 (eval $ac_compile) 2>&5
13329 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13330 test $ac_status = 0; }; then
13331 # Parse the compiler output and extract the necessary
13332 # objects, libraries and library flags.
13334 # Sentinel used to keep track of whether or not we are before
13335 # the conftest object file.
13336 pre_test_object_deps_done
=no
13338 for p
in `eval "$output_verbose_link_cmd"`; do
13342 # Some compilers place space between "-{L,R}" and the path.
13343 # Remove the space.
13344 if test $p = "-L" ||
13345 test $p = "-R"; then
13352 if test "$pre_test_object_deps_done" = no
; then
13355 # Internal compiler library paths should come after those
13356 # provided the user. The postdeps already come after the
13357 # user supplied libs so there is no need to process them.
13358 if test -z "$compiler_lib_search_path_CXX"; then
13359 compiler_lib_search_path_CXX
="${prev}${p}"
13361 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
13364 # The "-l" case would never come before the object being
13365 # linked, so don't bother handling this case.
13368 if test -z "$postdeps_CXX"; then
13369 postdeps_CXX
="${prev}${p}"
13371 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
13377 # This assumes that the test object file only shows up
13378 # once in the compiler output.
13379 if test "$p" = "conftest.$objext"; then
13380 pre_test_object_deps_done
=yes
13384 if test "$pre_test_object_deps_done" = no
; then
13385 if test -z "$predep_objects_CXX"; then
13386 predep_objects_CXX
="$p"
13388 predep_objects_CXX
="$predep_objects_CXX $p"
13391 if test -z "$postdep_objects_CXX"; then
13392 postdep_objects_CXX
="$p"
13394 postdep_objects_CXX
="$postdep_objects_CXX $p"
13399 *) ;; # Ignore the rest.
13407 echo "libtool.m4: error: problem compiling CXX test program"
13410 $RM -f confest.
$objext
13412 # PORTME: override above test on systems where it is broken
13415 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13416 # hack all around it, let's just trust "g++" to DTRT.
13417 predep_objects_CXX
=
13418 postdep_objects_CXX
=
13423 case `$CC -V 2>&1 | sed 5q` in
13427 # The more standards-conforming stlport4 library is
13428 # incompatible with the Cstd library. Avoid specifying
13429 # it if it's in CXXFLAGS. Ignore libCrun as
13430 # -library=stlport4 depends on it.
13431 case " $CXX $CXXFLAGS " in
13432 *" -library=stlport4 "*)
13433 solaris_use_stlport4
=yes
13437 if test "$solaris_use_stlport4" != yes; then
13438 postdeps_CXX
='-library=Cstd -library=Crun'
13445 case $cc_basename in
13447 # The more standards-conforming stlport4 library is
13448 # incompatible with the Cstd library. Avoid specifying
13449 # it if it's in CXXFLAGS. Ignore libCrun as
13450 # -library=stlport4 depends on it.
13451 case " $CXX $CXXFLAGS " in
13452 *" -library=stlport4 "*)
13453 solaris_use_stlport4
=yes
13457 # Adding this requires a known-good setup of shared libraries for
13458 # Sun compiler versions before 5.6, else PIC objects from an old
13459 # archive will be linked into the output, leading to subtle bugs.
13460 if test "$solaris_use_stlport4" != yes; then
13461 postdeps_CXX
='-library=Cstd -library=Crun'
13469 case " $postdeps_CXX " in
13470 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
13472 compiler_lib_search_dirs_CXX
=
13473 if test -n "${compiler_lib_search_path_CXX}"; then
13474 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13507 lt_prog_compiler_wl_CXX
=
13508 lt_prog_compiler_pic_CXX
=
13509 lt_prog_compiler_static_CXX
=
13511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13512 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13514 # C++ specific cases for pic, static, wl, etc.
13515 if test "$GXX" = yes; then
13516 lt_prog_compiler_wl_CXX
='-Wl,'
13517 lt_prog_compiler_static_CXX
='-static'
13521 # All AIX code is PIC.
13522 if test "$host_cpu" = ia64
; then
13523 # AIX 5 now supports IA64 processor
13524 lt_prog_compiler_static_CXX
='-Bstatic'
13526 lt_prog_compiler_pic_CXX
='-fPIC'
13532 # see comment about AmigaOS4 .so support
13533 lt_prog_compiler_pic_CXX
='-fPIC'
13536 # FIXME: we need at least 68020 code to build shared libraries, but
13537 # adding the `-m68020' flag to GCC prevents building anything better,
13539 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
13544 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13545 # PIC is the default for these OSes.
13547 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
13548 # This hack is so that the source file can tell whether it is being
13549 # built for inclusion in a dll (and should export symbols for example).
13550 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13551 # (--disable-auto-import) libraries
13552 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
13554 darwin
* | rhapsody
*)
13555 # PIC is the default on this platform
13556 # Common symbols not allowed in MH_DYLIB files
13557 lt_prog_compiler_pic_CXX
='-fno-common'
13560 # DJGPP does not support shared libraries at all
13561 lt_prog_compiler_pic_CXX
=
13564 # PIC is the default for Haiku.
13565 # The "-static" flag exists, but is broken.
13566 lt_prog_compiler_static_CXX
=
13569 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13570 # Instead, we relocate shared libraries at runtime.
13573 if test -d /usr
/nec
; then
13574 lt_prog_compiler_pic_CXX
=-Kconform_pic
13578 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13579 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13580 # sets the default TLS model and affects inlining.
13585 lt_prog_compiler_pic_CXX
='-fPIC'
13590 # QNX uses GNU C++, but need to define -shared option too, otherwise
13591 # it will coredump.
13592 lt_prog_compiler_pic_CXX
='-fPIC -shared'
13595 lt_prog_compiler_pic_CXX
='-fPIC'
13601 # All AIX code is PIC.
13602 if test "$host_cpu" = ia64
; then
13603 # AIX 5 now supports IA64 processor
13604 lt_prog_compiler_static_CXX
='-Bstatic'
13606 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
13610 case $cc_basename in
13612 # Green Hills C++ Compiler
13613 # _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"
13618 case $cc_basename in
13620 lt_prog_compiler_pic_CXX
='-KPIC'
13623 # Green Hills C++ Compiler
13624 lt_prog_compiler_pic_CXX
='-pic'
13630 freebsd
* | dragonfly
*)
13631 # FreeBSD uses GNU C++
13633 hpux9
* | hpux10
* | hpux11
*)
13634 case $cc_basename in
13636 lt_prog_compiler_wl_CXX
='-Wl,'
13637 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
13638 if test "$host_cpu" != ia64
; then
13639 lt_prog_compiler_pic_CXX
='+Z'
13643 lt_prog_compiler_wl_CXX
='-Wl,'
13644 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
13650 lt_prog_compiler_pic_CXX
='+Z'
13659 # This is c89, which is MS Visual C++ (no shared libs)
13660 # Anyone wants to do a port?
13662 irix5
* | irix6
* | nonstopux
*)
13663 case $cc_basename in
13665 lt_prog_compiler_wl_CXX
='-Wl,'
13666 lt_prog_compiler_static_CXX
='-non_shared'
13667 # CC pic flag -KPIC is the default.
13673 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13674 case $cc_basename in
13677 lt_prog_compiler_wl_CXX
='--backend -Wl,'
13678 lt_prog_compiler_pic_CXX
='-fPIC'
13681 # old Intel C++ for x86_64 which still supported -KPIC.
13682 lt_prog_compiler_wl_CXX
='-Wl,'
13683 lt_prog_compiler_pic_CXX
='-KPIC'
13684 lt_prog_compiler_static_CXX
='-static'
13687 # Intel C++, used to be incompatible with GCC.
13688 # ICC 10 doesn't accept -KPIC any more.
13689 lt_prog_compiler_wl_CXX
='-Wl,'
13690 lt_prog_compiler_pic_CXX
='-fPIC'
13691 lt_prog_compiler_static_CXX
='-static'
13694 # Portland Group C++ compiler
13695 lt_prog_compiler_wl_CXX
='-Wl,'
13696 lt_prog_compiler_pic_CXX
='-fpic'
13697 lt_prog_compiler_static_CXX
='-Bstatic'
13701 # Make sure the PIC flag is empty. It appears that all Alpha
13702 # Linux and Compaq Tru64 Unix objects are PIC.
13703 lt_prog_compiler_pic_CXX
=
13704 lt_prog_compiler_static_CXX
='-non_shared'
13706 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
13707 # IBM XL 8.0, 9.0 on PPC and BlueGene
13708 lt_prog_compiler_wl_CXX
='-Wl,'
13709 lt_prog_compiler_pic_CXX
='-qpic'
13710 lt_prog_compiler_static_CXX
='-qstaticlink'
13713 case `$CC -V 2>&1 | sed 5q` in
13716 lt_prog_compiler_pic_CXX
='-KPIC'
13717 lt_prog_compiler_static_CXX
='-Bstatic'
13718 lt_prog_compiler_wl_CXX
='-Qoption ld '
13729 case $cc_basename in
13731 lt_prog_compiler_pic_CXX
='-W c,exportall'
13740 # QNX uses GNU C++, but need to define -shared option too, otherwise
13741 # it will coredump.
13742 lt_prog_compiler_pic_CXX
='-fPIC -shared'
13744 osf3
* | osf4
* | osf5
*)
13745 case $cc_basename in
13747 lt_prog_compiler_wl_CXX
='--backend -Wl,'
13750 # Rational C++ 2.4.1
13751 lt_prog_compiler_pic_CXX
='-pic'
13754 # Digital/Compaq C++
13755 lt_prog_compiler_wl_CXX
='-Wl,'
13756 # Make sure the PIC flag is empty. It appears that all Alpha
13757 # Linux and Compaq Tru64 Unix objects are PIC.
13758 lt_prog_compiler_pic_CXX
=
13759 lt_prog_compiler_static_CXX
='-non_shared'
13768 case $cc_basename in
13770 # Sun C++ 4.2, 5.x and Centerline C++
13771 lt_prog_compiler_pic_CXX
='-KPIC'
13772 lt_prog_compiler_static_CXX
='-Bstatic'
13773 lt_prog_compiler_wl_CXX
='-Qoption ld '
13776 # Green Hills C++ Compiler
13777 lt_prog_compiler_pic_CXX
='-PIC'
13784 case $cc_basename in
13787 lt_prog_compiler_pic_CXX
='-pic'
13788 lt_prog_compiler_static_CXX
='-Bstatic'
13792 lt_prog_compiler_pic_CXX
='-pic'
13798 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
13799 case $cc_basename in
13801 lt_prog_compiler_wl_CXX
='-Wl,'
13802 lt_prog_compiler_pic_CXX
='-KPIC'
13803 lt_prog_compiler_static_CXX
='-Bstatic'
13808 case $cc_basename in
13810 # NonStop-UX NCC 3.20
13811 lt_prog_compiler_pic_CXX
='-KPIC'
13820 lt_prog_compiler_can_build_shared_CXX
=no
13826 # For platforms which do not support PIC, -DPIC is meaningless:
13828 lt_prog_compiler_pic_CXX
=
13831 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
13834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13835 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13840 # Check to make sure the PIC flag actually works.
13842 if test -n "$lt_prog_compiler_pic_CXX"; then
13843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13844 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13845 if ${lt_cv_prog_compiler_pic_works_CXX+:} false
; then :
13846 $as_echo_n "(cached) " >&6
13848 lt_cv_prog_compiler_pic_works_CXX
=no
13849 ac_outfile
=conftest.
$ac_objext
13850 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13851 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
13852 # Insert the option either (1) after the last *FLAGS variable, or
13853 # (2) before a word containing "conftest.", or (3) at the end.
13854 # Note that $ac_compile itself does not contain backslashes and begins
13855 # with a dollar sign (not a hyphen), so the echo should work correctly.
13856 # The option is referenced via a variable to avoid confusing sed.
13857 lt_compile
=`echo "$ac_compile" | $SED \
13858 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13859 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13860 -e 's:$: $lt_compiler_flag:'`
13861 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13862 (eval "$lt_compile" 2>conftest.err
)
13864 cat conftest.err
>&5
13865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13866 if (exit $ac_status) && test -s "$ac_outfile"; then
13867 # The compiler can only warn and ignore the option if not recognized
13868 # So say no if there are warnings other than the usual output.
13869 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
13870 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13871 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
13872 lt_cv_prog_compiler_pic_works_CXX
=yes
13878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13879 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13881 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
13882 case $lt_prog_compiler_pic_CXX in
13884 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
13887 lt_prog_compiler_pic_CXX
=
13888 lt_prog_compiler_can_build_shared_CXX
=no
13896 # Check to make sure the static flag actually works.
13898 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
13899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13900 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13901 if ${lt_cv_prog_compiler_static_works_CXX+:} false
; then :
13902 $as_echo_n "(cached) " >&6
13904 lt_cv_prog_compiler_static_works_CXX
=no
13905 save_LDFLAGS
="$LDFLAGS"
13906 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
13907 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
13908 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
13909 # The linker can only warn and ignore the option if not recognized
13910 # So say no if there are warnings
13911 if test -s conftest.err
; then
13912 # Append any errors to the config.log.
13913 cat conftest.err
1>&5
13914 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
13915 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13916 if diff conftest.exp conftest.er2
>/dev
/null
; then
13917 lt_cv_prog_compiler_static_works_CXX
=yes
13920 lt_cv_prog_compiler_static_works_CXX
=yes
13924 LDFLAGS
="$save_LDFLAGS"
13927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13928 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13930 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
13933 lt_prog_compiler_static_CXX
=
13939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13940 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13941 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
13942 $as_echo_n "(cached) " >&6
13944 lt_cv_prog_compiler_c_o_CXX
=no
13945 $RM -r conftest
2>/dev
/null
13949 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13951 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13952 # Insert the option either (1) after the last *FLAGS variable, or
13953 # (2) before a word containing "conftest.", or (3) at the end.
13954 # Note that $ac_compile itself does not contain backslashes and begins
13955 # with a dollar sign (not a hyphen), so the echo should work correctly.
13956 lt_compile
=`echo "$ac_compile" | $SED \
13957 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13958 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13959 -e 's:$: $lt_compiler_flag:'`
13960 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13961 (eval "$lt_compile" 2>out
/conftest.err
)
13963 cat out
/conftest.err
>&5
13964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13965 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13967 # The compiler can only warn and ignore the option if not recognized
13968 # So say no if there are warnings
13969 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
13970 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13971 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13972 lt_cv_prog_compiler_c_o_CXX
=yes
13977 # SGI C++ compiler will create directory out/ii_files/ for
13978 # template instantiation
13979 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
13980 $RM out
/* && rmdir out
13986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13987 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13992 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13993 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
13994 $as_echo_n "(cached) " >&6
13996 lt_cv_prog_compiler_c_o_CXX
=no
13997 $RM -r conftest
2>/dev
/null
14001 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14003 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14004 # Insert the option either (1) after the last *FLAGS variable, or
14005 # (2) before a word containing "conftest.", or (3) at the end.
14006 # Note that $ac_compile itself does not contain backslashes and begins
14007 # with a dollar sign (not a hyphen), so the echo should work correctly.
14008 lt_compile
=`echo "$ac_compile" | $SED \
14009 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14010 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14011 -e 's:$: $lt_compiler_flag:'`
14012 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14013 (eval "$lt_compile" 2>out
/conftest.err
)
14015 cat out
/conftest.err
>&5
14016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14017 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14019 # The compiler can only warn and ignore the option if not recognized
14020 # So say no if there are warnings
14021 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
14022 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14023 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14024 lt_cv_prog_compiler_c_o_CXX
=yes
14029 # SGI C++ compiler will create directory out/ii_files/ for
14030 # template instantiation
14031 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14032 $RM out
/* && rmdir out
14038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14039 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14044 hard_links
="nottested"
14045 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
14046 # do not overwrite the value of need_locks provided by the user
14047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14048 $as_echo_n "checking if we can lock with hard links... " >&6; }
14051 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14053 ln conftest.a conftest.b
2>&5 || hard_links
=no
14054 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14056 $as_echo "$hard_links" >&6; }
14057 if test "$hard_links" = no
; then
14058 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14059 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14069 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14071 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14074 # If we're using GNU nm, then we don't want the "-C" option.
14075 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14076 # Also, AIX nm treats weak defined symbols like other global defined
14077 # symbols, whereas GNU nm marks them as "W".
14078 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
14079 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'
14081 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'
14085 export_symbols_cmds_CXX
="$ltdll_cmds"
14087 cygwin
* | mingw
* | cegcc
*)
14088 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'
14091 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14094 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14097 $as_echo "$ld_shlibs_CXX" >&6; }
14098 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
14100 with_gnu_ld_CXX
=$with_gnu_ld
14108 # Do we need to explicitly link libc?
14110 case "x$archive_cmds_need_lc_CXX" in
14112 # Assume -lc should be added
14113 archive_cmds_need_lc_CXX
=yes
14115 if test "$enable_shared" = yes && test "$GCC" = yes; then
14116 case $archive_cmds_CXX in
14118 # FIXME: we may have to deal with multi-command sequences.
14121 # Test whether the compiler implicitly links with -lc since on some
14122 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14123 # to ld, don't add -lc before -lgcc.
14124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14125 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14126 if ${lt_cv_archive_cmds_need_lc_CXX+:} false
; then :
14127 $as_echo_n "(cached) " >&6
14130 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14132 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14133 (eval $ac_compile) 2>&5
14135 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14136 test $ac_status = 0; } 2>conftest.err
; then
14139 libobjs
=conftest.
$ac_objext
14141 wl
=$lt_prog_compiler_wl_CXX
14142 pic_flag
=$lt_prog_compiler_pic_CXX
14148 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
14149 allow_undefined_flag_CXX
=
14150 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14151 (eval $archive_cmds_CXX 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
14153 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14154 test $ac_status = 0; }
14156 lt_cv_archive_cmds_need_lc_CXX
=no
14158 lt_cv_archive_cmds_need_lc_CXX
=yes
14160 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
14162 cat conftest.err
1>&5
14167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14168 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14169 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
14239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14240 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14242 library_names_spec
=
14243 libname_spec
='lib$name'
14247 postuninstall_cmds
=
14251 shlibpath_overrides_runpath
=unknown
14253 dynamic_linker
="$host_os ld.so"
14254 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
14255 need_lib_prefix
=unknown
14256 hardcode_into_libs
=no
14258 # when you set need_version to no, make sure it does not cause -set_version
14259 # flags to be left without arguments
14260 need_version
=unknown
14265 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
14266 shlibpath_var
=LIBPATH
14268 # AIX 3 has no versioning support, so we append a major version to the name.
14269 soname_spec
='${libname}${release}${shared_ext}$major'
14276 hardcode_into_libs
=yes
14277 if test "$host_cpu" = ia64
; then
14278 # AIX 5 supports IA64
14279 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14280 shlibpath_var
=LD_LIBRARY_PATH
14282 # With GCC up to 2.95.x, collect2 would create an import file
14283 # for dependence libraries. The import file would start with
14284 # the line `#! .'. This would cause the generated library to
14285 # depend on `.', always an invalid library. This was fixed in
14286 # development snapshots of GCC prior to 3.0.
14288 aix4 | aix4.
[01] | aix4.
[01].
*)
14289 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14291 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
14294 can_build_shared
=no
14298 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14299 # soname into executable. Probably we can add versioning support to
14300 # collect2, so additional links can be useful in future.
14301 if test "$aix_use_runtimelinking" = yes; then
14302 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14303 # instead of lib<name>.a to let people know that these are not
14304 # typical AIX shared libraries.
14305 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14307 # We preserve .a as extension for shared libraries through AIX4.2
14308 # and later when we are not doing run time linking.
14309 library_names_spec
='${libname}${release}.a $libname.a'
14310 soname_spec
='${libname}${release}${shared_ext}$major'
14312 shlibpath_var
=LIBPATH
14319 # Since July 2007 AmigaOS4 officially supports .so libraries.
14320 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14321 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14324 library_names_spec
='$libname.ixlibrary $libname.a'
14325 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14326 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'
14332 library_names_spec
='${libname}${shared_ext}'
14333 dynamic_linker
="$host_os ld.so"
14334 shlibpath_var
=LIBRARY_PATH
14340 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14341 soname_spec
='${libname}${release}${shared_ext}$major'
14342 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
14343 shlibpath_var
=LD_LIBRARY_PATH
14344 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14345 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
14346 # the default ld.so.conf also contains /usr/contrib/lib and
14347 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14348 # libtool to hard-code these into programs
14351 cygwin
* | mingw
* | pw32
* | cegcc
*)
14352 version_type
=windows
14357 case $GCC,$host_os in
14358 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
14359 library_names_spec
='$libname.dll.a'
14360 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14361 postinstall_cmds
='base_file=`basename \${file}`~
14362 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14363 dldir=$destdir/`dirname \$dlpath`~
14364 test -d \$dldir || mkdir -p \$dldir~
14365 $install_prog $dir/$dlname \$dldir/$dlname~
14366 chmod a+x \$dldir/$dlname~
14367 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14368 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14370 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14371 dlpath=$dir/\$dldll~
14373 shlibpath_overrides_runpath
=yes
14377 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14378 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14382 # MinGW DLLs use traditional 'lib' prefix
14383 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14386 # pw32 DLLs use 'pw' prefix rather than 'lib'
14387 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14393 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14396 dynamic_linker
='Win32 ld.exe'
14397 # FIXME: first we should search . and the directory the executable is in
14401 darwin
* | rhapsody
*)
14402 dynamic_linker
="$host_os dyld"
14403 version_type
=darwin
14406 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14407 soname_spec
='${libname}${release}${major}$shared_ext'
14408 shlibpath_overrides_runpath
=yes
14409 shlibpath_var
=DYLD_LIBRARY_PATH
14410 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
14412 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
14419 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14420 soname_spec
='${libname}${release}${shared_ext}$major'
14421 shlibpath_var
=LD_LIBRARY_PATH
14424 freebsd
* | dragonfly
*)
14425 # DragonFly does not have aout. When/if they implement a new
14426 # versioning mechanism, adjust this.
14427 if test -x /usr
/bin
/objformat
; then
14428 objformat
=`/usr/bin/objformat`
14431 freebsd
[23].
*) objformat
=aout
;;
14432 *) objformat
=elf
;;
14435 version_type
=freebsd-
$objformat
14436 case $version_type in
14438 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14443 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14447 shlibpath_var
=LD_LIBRARY_PATH
14450 shlibpath_overrides_runpath
=yes
14452 freebsd3.
[01]* | freebsdelf3.
[01]*)
14453 shlibpath_overrides_runpath
=yes
14454 hardcode_into_libs
=yes
14456 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
14457 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
14458 shlibpath_overrides_runpath
=no
14459 hardcode_into_libs
=yes
14461 *) # from 4.6 on, and DragonFly
14462 shlibpath_overrides_runpath
=yes
14463 hardcode_into_libs
=yes
14472 dynamic_linker
="$host_os runtime_loader"
14473 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14474 soname_spec
='${libname}${release}${shared_ext}$major'
14475 shlibpath_var
=LIBRARY_PATH
14476 shlibpath_overrides_runpath
=yes
14477 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
14478 hardcode_into_libs
=yes
14481 hpux9
* | hpux10
* | hpux11
*)
14482 # Give a soname corresponding to the major version so that dld.sl refuses to
14483 # link against other versions.
14490 hardcode_into_libs
=yes
14491 dynamic_linker
="$host_os dld.so"
14492 shlibpath_var
=LD_LIBRARY_PATH
14493 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14494 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14495 soname_spec
='${libname}${release}${shared_ext}$major'
14496 if test "X$HPUX_IA64_MODE" = X32
; then
14497 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14499 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
14501 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14505 hardcode_into_libs
=yes
14506 dynamic_linker
="$host_os dld.sl"
14507 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
14508 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14509 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14510 soname_spec
='${libname}${release}${shared_ext}$major'
14511 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14512 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14516 dynamic_linker
="$host_os dld.sl"
14517 shlibpath_var
=SHLIB_PATH
14518 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
14519 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14520 soname_spec
='${libname}${release}${shared_ext}$major'
14523 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14524 postinstall_cmds
='chmod 555 $lib'
14525 # or fails outright, so override atomically:
14526 install_override_mode
=555
14533 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14534 soname_spec
='${libname}${release}${shared_ext}$major'
14535 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
14536 shlibpath_var
=LD_LIBRARY_PATH
14537 shlibpath_overrides_runpath
=no
14538 hardcode_into_libs
=yes
14541 irix5
* | irix6
* | nonstopux
*)
14543 nonstopux
*) version_type
=nonstopux
;;
14545 if test "$lt_cv_prog_gnu_ld" = yes; then
14553 soname_spec
='${libname}${release}${shared_ext}$major'
14554 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14556 irix5
* | nonstopux
*)
14557 libsuff
= shlibsuff
=
14560 case $LD in # libtool.m4 will add one of these switches to LD
14561 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
14562 libsuff
= shlibsuff
= libmagic
=32-bit;;
14563 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
14564 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
14565 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
14566 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
14567 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
14571 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
14572 shlibpath_overrides_runpath
=no
14573 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14574 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
14575 hardcode_into_libs
=yes
14578 # No shared lib support for Linux oldld, aout, or coff.
14579 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
14583 # This must be Linux ELF.
14584 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
14588 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14589 soname_spec
='${libname}${release}${shared_ext}$major'
14590 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14591 shlibpath_var
=LD_LIBRARY_PATH
14592 shlibpath_overrides_runpath
=no
14594 # Some binutils ld are patched to set DT_RUNPATH
14595 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
14596 $as_echo_n "(cached) " >&6
14598 lt_cv_shlibpath_overrides_runpath
=no
14599 save_LDFLAGS
=$LDFLAGS
14600 save_libdir
=$libdir
14601 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14602 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14603 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14604 /* end confdefs.h. */
14614 if ac_fn_cxx_try_link
"$LINENO"; then :
14615 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
14616 lt_cv_shlibpath_overrides_runpath
=yes
14619 rm -f core conftest.err conftest.
$ac_objext \
14620 conftest
$ac_exeext conftest.
$ac_ext
14621 LDFLAGS
=$save_LDFLAGS
14622 libdir
=$save_libdir
14626 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
14628 # This implies no fast_install, which is unacceptable.
14629 # Some rework will be needed to allow for fast_install
14630 # before this can be enabled.
14631 hardcode_into_libs
=yes
14633 # Append ld.so.conf contents to the search path
14634 if test -f /etc
/ld.so.conf
; then
14635 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' ' '`
14636 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
14639 # We used to test for /lib/ld.so.1 and disable shared libraries on
14640 # powerpc, because MkLinux only supported shared libraries with the
14641 # GNU dynamic linker. Since this was broken with cross compilers,
14642 # most powerpc-linux boxes support dynamic linking these days and
14643 # people can always --disable-shared, the test was removed, and we
14644 # assume the GNU/Linux dynamic linker is in use.
14645 dynamic_linker
='GNU/Linux ld.so'
14652 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
14653 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14654 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14655 dynamic_linker
='NetBSD (a.out) ld.so'
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 dynamic_linker
='NetBSD ld.elf_so'
14661 shlibpath_var
=LD_LIBRARY_PATH
14662 shlibpath_overrides_runpath
=yes
14663 hardcode_into_libs
=yes
14668 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14669 shlibpath_var
=LD_LIBRARY_PATH
14670 shlibpath_overrides_runpath
=yes
14677 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14678 soname_spec
='${libname}${release}${shared_ext}$major'
14679 shlibpath_var
=LD_LIBRARY_PATH
14680 shlibpath_overrides_runpath
=no
14681 hardcode_into_libs
=yes
14682 dynamic_linker
='ldqnx.so'
14687 sys_lib_dlsearch_path_spec
="/usr/lib"
14689 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14691 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
14692 *) need_version
=no
;;
14694 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14695 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14696 shlibpath_var
=LD_LIBRARY_PATH
14697 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14699 openbsd2.
[89] | openbsd2.
[89].
*)
14700 shlibpath_overrides_runpath
=no
14703 shlibpath_overrides_runpath
=yes
14707 shlibpath_overrides_runpath
=yes
14712 libname_spec
='$name'
14715 library_names_spec
='$libname${shared_ext} $libname.a'
14716 dynamic_linker
='OS/2 ld.exe'
14717 shlibpath_var
=LIBPATH
14720 osf3
* | osf4
* | osf5
*)
14724 soname_spec
='${libname}${release}${shared_ext}$major'
14725 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14726 shlibpath_var
=LD_LIBRARY_PATH
14727 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14728 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
14739 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14740 soname_spec
='${libname}${release}${shared_ext}$major'
14741 shlibpath_var
=LD_LIBRARY_PATH
14742 shlibpath_overrides_runpath
=yes
14743 hardcode_into_libs
=yes
14744 # ldd complains unless libraries are executable
14745 postinstall_cmds
='chmod +x $lib'
14750 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14751 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14752 shlibpath_var
=LD_LIBRARY_PATH
14753 shlibpath_overrides_runpath
=yes
14754 if test "$with_gnu_ld" = yes; then
14762 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14763 soname_spec
='${libname}${release}${shared_ext}$major'
14764 shlibpath_var
=LD_LIBRARY_PATH
14765 case $host_vendor in
14767 shlibpath_overrides_runpath
=no
14769 runpath_var
=LD_RUN_PATH
14777 shlibpath_overrides_runpath
=no
14778 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
14784 if test -d /usr
/nec
;then
14786 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14787 soname_spec
='$libname${shared_ext}.$major'
14788 shlibpath_var
=LD_LIBRARY_PATH
14792 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
14793 version_type
=freebsd-elf
14796 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14797 soname_spec
='${libname}${release}${shared_ext}$major'
14798 shlibpath_var
=LD_LIBRARY_PATH
14799 shlibpath_overrides_runpath
=yes
14800 hardcode_into_libs
=yes
14801 if test "$with_gnu_ld" = yes; then
14802 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14804 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
14807 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
14811 sys_lib_dlsearch_path_spec
='/usr/lib'
14815 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14819 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14820 shlibpath_var
=LD_LIBRARY_PATH
14821 shlibpath_overrides_runpath
=no
14822 hardcode_into_libs
=yes
14827 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14828 soname_spec
='${libname}${release}${shared_ext}$major'
14829 shlibpath_var
=LD_LIBRARY_PATH
14836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14837 $as_echo "$dynamic_linker" >&6; }
14838 test "$dynamic_linker" = no
&& can_build_shared
=no
14840 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
14841 if test "$GCC" = yes; then
14842 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14845 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14846 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
14848 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14849 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
14889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14890 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14891 hardcode_action_CXX
=
14892 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14893 test -n "$runpath_var_CXX" ||
14894 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14896 # We can hardcode non-existent directories.
14897 if test "$hardcode_direct_CXX" != no
&&
14898 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14899 # have to relink, otherwise we might link with an installed library
14900 # when we should be linking with a yet-to-be-installed one
14901 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14902 test "$hardcode_minus_L_CXX" != no
; then
14903 # Linking always hardcodes the temporary library directory.
14904 hardcode_action_CXX
=relink
14906 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14907 hardcode_action_CXX
=immediate
14910 # We cannot hardcode anything, or else we can only hardcode existing
14912 hardcode_action_CXX
=unsupported
14914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14915 $as_echo "$hardcode_action_CXX" >&6; }
14917 if test "$hardcode_action_CXX" = relink ||
14918 test "$inherit_rpath_CXX" = yes; then
14919 # Fast installation is not supported
14920 enable_fast_install
=no
14921 elif test "$shlibpath_overrides_runpath" = yes ||
14922 test "$enable_shared" = no
; then
14923 # Fast installation is not necessary
14924 enable_fast_install
=needless
14933 fi # test -n "$compiler"
14939 with_gnu_ld
=$lt_save_with_gnu_ld
14940 lt_cv_path_LDCXX
=$lt_cv_path_LD
14941 lt_cv_path_LD
=$lt_save_path_LD
14942 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
14943 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
14944 fi # test "$_lt_caught_CXX_error" != yes
14947 ac_cpp
='$CPP $CPPFLAGS'
14948 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14949 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14950 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14964 ac_config_commands
="$ac_config_commands libtool"
14969 # Only expand once:
14973 # The tests for host and target for $enable_largefile require
14978 # As the $enable_largefile decision depends on --enable-plugins we must set it
14979 # even in directories otherwise not depending on the $plugins option.
14983 for ac_header
in dlfcn.h
14985 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
14987 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
14988 cat >>confdefs.h
<<_ACEOF
14989 #define HAVE_DLFCN_H 1
14996 for ac_header
in windows.h
14998 ac_fn_c_check_header_compile
"$LINENO" "windows.h" "ac_cv_header_windows_h" "$ac_includes_default
15000 if test "x$ac_cv_header_windows_h" = xyes
; then :
15001 cat >>confdefs.h
<<_ACEOF
15002 #define HAVE_WINDOWS_H 1
15010 # Check whether --enable-plugins was given.
15011 if test "${enable_plugins+set}" = set; then :
15012 enableval
=$enable_plugins; case "${enableval}" in
15015 if test "$maybe_plugins" != "yes" ; then
15016 as_fn_error $?
"Building with plugin support requires a host that supports dlopen." "$LINENO" 5
15020 plugins
=$maybe_plugins
15024 if test "$plugins" = "yes"; then
15025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlsym" >&5
15026 $as_echo_n "checking for library containing dlsym... " >&6; }
15027 if ${ac_cv_search_dlsym+:} false
; then :
15028 $as_echo_n "(cached) " >&6
15030 ac_func_search_save_LIBS
=$LIBS
15031 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15032 /* end confdefs.h. */
15034 /* Override any GCC internal prototype to avoid an error.
15035 Use char because int might match the return type of a GCC
15036 builtin and then its argument prototype would still apply. */
15049 for ac_lib
in '' dl
; do
15050 if test -z "$ac_lib"; then
15051 ac_res
="none required"
15054 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15056 if ac_fn_c_try_link
"$LINENO"; then :
15057 ac_cv_search_dlsym
=$ac_res
15059 rm -f core conftest.err conftest.
$ac_objext \
15061 if ${ac_cv_search_dlsym+:} false
; then :
15065 if ${ac_cv_search_dlsym+:} false
; then :
15068 ac_cv_search_dlsym
=no
15070 rm conftest.
$ac_ext
15071 LIBS
=$ac_func_search_save_LIBS
15073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlsym" >&5
15074 $as_echo "$ac_cv_search_dlsym" >&6; }
15075 ac_res
=$ac_cv_search_dlsym
15076 if test "$ac_res" != no
; then :
15077 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15085 sparc-
*-solaris*|i?
86-*-solaris*)
15086 # On native 32-bit Solaris/SPARC and x86, large-file and procfs support
15087 # were mutually exclusive until Solaris 11.3. Without procfs support,
15088 # the bfd/ elf module cannot provide certain routines such as
15089 # elfcore_write_prpsinfo or elfcore_write_prstatus. So unless the user
15090 # explicitly requested large-file support through the
15091 # --enable-largefile switch, disable large-file support in favor of
15094 # Check if <sys/procfs.h> is incompatible with large-file support.
15095 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15096 /* end confdefs.h. */
15097 #define _FILE_OFFSET_BITS 64
15098 #define _STRUCTURED_PROC 1
15099 #include <sys/procfs.h>
15108 if ac_fn_c_try_compile
"$LINENO"; then :
15109 acx_cv_procfs_lfs
=yes
15111 acx_cv_procfs_lfs
=no
15113 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15115 # Forcefully disable large-file support only if necessary, gdb is in
15116 # tree and enabled.
15117 if test "${target}" = "${host}" -a "$acx_cv_procfs_lfs" = no \
15118 -a -d $srcdir/..
/gdb
-a "$enable_gdb" != no
; then
15119 : ${enable_largefile="no"}
15120 if test "$plugins" = yes; then
15121 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
15122 plugin support disabled; require large-file support which is incompatible with GDB." >&5
15123 $as_echo "$as_me: WARNING:
15124 plugin support disabled; require large-file support which is incompatible with GDB." >&2;}
15129 # Explicitly undef _FILE_OFFSET_BITS if enable_largefile=no for the
15130 # benefit of g++ 9+ which predefines it on Solaris.
15131 if test "$enable_largefile" = no
; then
15132 LARGEFILE_CPPFLAGS
="-U_FILE_OFFSET_BITS"
15138 # Check whether --enable-largefile was given.
15139 if test "${enable_largefile+set}" = set; then :
15140 enableval
=$enable_largefile;
15143 if test "$enable_largefile" != no
; then
15145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
15146 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
15147 if ${ac_cv_sys_largefile_CC+:} false
; then :
15148 $as_echo_n "(cached) " >&6
15150 ac_cv_sys_largefile_CC
=no
15151 if test "$GCC" != yes; then
15154 # IRIX 6.2 and later do not support large files by default,
15155 # so use the C compiler's -n32 option if that helps.
15156 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15157 /* end confdefs.h. */
15158 #include <sys/types.h>
15159 /* Check that off_t can represent 2**63 - 1 correctly.
15160 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15161 since some C++ compilers masquerading as C compilers
15162 incorrectly reject 9223372036854775807. */
15163 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15164 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15165 && LARGE_OFF_T % 2147483647 == 1)
15175 if ac_fn_c_try_compile
"$LINENO"; then :
15178 rm -f core conftest.err conftest.
$ac_objext
15180 if ac_fn_c_try_compile
"$LINENO"; then :
15181 ac_cv_sys_largefile_CC
=' -n32'; break
15183 rm -f core conftest.err conftest.
$ac_objext
15187 rm -f conftest.
$ac_ext
15190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
15191 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
15192 if test "$ac_cv_sys_largefile_CC" != no
; then
15193 CC
=$CC$ac_cv_sys_largefile_CC
15196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
15197 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
15198 if ${ac_cv_sys_file_offset_bits+:} false
; then :
15199 $as_echo_n "(cached) " >&6
15202 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15203 /* end confdefs.h. */
15204 #include <sys/types.h>
15205 /* Check that off_t can represent 2**63 - 1 correctly.
15206 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15207 since some C++ compilers masquerading as C compilers
15208 incorrectly reject 9223372036854775807. */
15209 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15210 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15211 && LARGE_OFF_T % 2147483647 == 1)
15221 if ac_fn_c_try_compile
"$LINENO"; then :
15222 ac_cv_sys_file_offset_bits
=no
; break
15224 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15225 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15226 /* end confdefs.h. */
15227 #define _FILE_OFFSET_BITS 64
15228 #include <sys/types.h>
15229 /* Check that off_t can represent 2**63 - 1 correctly.
15230 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15231 since some C++ compilers masquerading as C compilers
15232 incorrectly reject 9223372036854775807. */
15233 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15234 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15235 && LARGE_OFF_T % 2147483647 == 1)
15245 if ac_fn_c_try_compile
"$LINENO"; then :
15246 ac_cv_sys_file_offset_bits
=64; break
15248 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15249 ac_cv_sys_file_offset_bits
=unknown
15253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
15254 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
15255 case $ac_cv_sys_file_offset_bits in #(
15258 cat >>confdefs.h
<<_ACEOF
15259 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
15264 if test $ac_cv_sys_file_offset_bits = unknown
; then
15265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
15266 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
15267 if ${ac_cv_sys_large_files+:} false
; then :
15268 $as_echo_n "(cached) " >&6
15271 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15272 /* end confdefs.h. */
15273 #include <sys/types.h>
15274 /* Check that off_t can represent 2**63 - 1 correctly.
15275 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15276 since some C++ compilers masquerading as C compilers
15277 incorrectly reject 9223372036854775807. */
15278 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15279 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15280 && LARGE_OFF_T % 2147483647 == 1)
15290 if ac_fn_c_try_compile
"$LINENO"; then :
15291 ac_cv_sys_large_files
=no
; break
15293 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15294 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15295 /* end confdefs.h. */
15296 #define _LARGE_FILES 1
15297 #include <sys/types.h>
15298 /* Check that off_t can represent 2**63 - 1 correctly.
15299 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15300 since some C++ compilers masquerading as C compilers
15301 incorrectly reject 9223372036854775807. */
15302 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15303 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15304 && LARGE_OFF_T % 2147483647 == 1)
15314 if ac_fn_c_try_compile
"$LINENO"; then :
15315 ac_cv_sys_large_files
=1; break
15317 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15318 ac_cv_sys_large_files
=unknown
15322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
15323 $as_echo "$ac_cv_sys_large_files" >&6; }
15324 case $ac_cv_sys_large_files in #(
15327 cat >>confdefs.h
<<_ACEOF
15328 #define _LARGE_FILES $ac_cv_sys_large_files
15341 .
${srcdir}/..
/bfd
/development.sh
15342 test "$development" = true
&& ac_checking
=yes
15343 # Check whether --enable-checking was given.
15344 if test "${enable_checking+set}" = set; then :
15345 enableval
=$enable_checking; case "${enableval}" in
15346 no|none
) ac_checking
= ;;
15347 *) ac_checking
=yes ;;
15350 if test x
$ac_checking != x
; then
15352 $as_echo "#define ENABLE_CHECKING 1" >>confdefs.h
15357 # Check whether --with-lib-path was given.
15358 if test "${with_lib_path+set}" = set; then :
15359 withval
=$with_lib_path; LIB_PATH
=$withval
15362 # Check whether --enable-targets was given.
15363 if test "${enable_targets+set}" = set; then :
15364 enableval
=$enable_targets; case "${enableval}" in
15365 yes |
"") as_fn_error $?
"enable-targets option must specify target names or 'all'" "$LINENO" 5
15367 no
) enable_targets
= ;;
15368 *) enable_targets
=$enableval ;;
15372 # Check whether --enable-64-bit-bfd was given.
15373 if test "${enable_64_bit_bfd+set}" = set; then :
15374 enableval
=$enable_64_bit_bfd; case $enableval in #(
15378 as_fn_error $?
"bad value ${enableval} for 64-bit-bfd option" "$LINENO" 5 ;; #(
15383 enable_64_bit_bfd
=no
15387 if test "x$enable_64_bit_bfd" = "xno"; then :
15388 # The cast to long int works around a bug in the HP C Compiler
15389 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15390 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15391 # This bug is HP SR number 8606223364.
15392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
15393 $as_echo_n "checking size of void *... " >&6; }
15394 if ${ac_cv_sizeof_void_p+:} false
; then :
15395 $as_echo_n "(cached) " >&6
15397 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
15400 if test "$ac_cv_type_void_p" = yes; then
15401 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15402 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15403 as_fn_error
77 "cannot compute sizeof (void *)
15404 See \`config.log' for more details" "$LINENO" 5; }
15406 ac_cv_sizeof_void_p
=0
15411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
15412 $as_echo "$ac_cv_sizeof_void_p" >&6; }
15416 cat >>confdefs.h
<<_ACEOF
15417 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
15421 if test "x$ac_cv_sizeof_void_p" = "x8"; then :
15422 enable_64_bit_bfd
=yes
15427 if test "x$enable_64_bit_bfd" = "xyes"; then
15428 ENABLE_BFD_64_BIT_TRUE
=
15429 ENABLE_BFD_64_BIT_FALSE
='#'
15431 ENABLE_BFD_64_BIT_TRUE
='#'
15432 ENABLE_BFD_64_BIT_FALSE
=
15438 # Check whether --with-sysroot was given.
15439 if test "${with_sysroot+set}" = set; then :
15440 withval
=$with_sysroot;
15441 case ${with_sysroot} in
15442 yes) TARGET_SYSTEM_ROOT
='${exec_prefix}/${target_alias}/sys-root' ;;
15443 *) TARGET_SYSTEM_ROOT
=$with_sysroot ;;
15446 TARGET_SYSTEM_ROOT_DEFINE
='-DTARGET_SYSTEM_ROOT=\"$(TARGET_SYSTEM_ROOT)\"'
15449 if test "x$prefix" = xNONE
; then
15450 test_prefix
=/usr
/local
15452 test_prefix
=$prefix
15454 if test "x$exec_prefix" = xNONE
; then
15455 test_exec_prefix
=$test_prefix
15457 test_exec_prefix
=$exec_prefix
15459 case ${TARGET_SYSTEM_ROOT} in
15460 "${test_prefix}"|
"${test_prefix}/"*|\
15461 "${test_exec_prefix}"|
"${test_exec_prefix}/"*|\
15462 '${prefix}'|
'${prefix}/'*|\
15463 '${exec_prefix}'|
'${exec_prefix}/'*)
15464 t
="$TARGET_SYSTEM_ROOT_DEFINE -DTARGET_SYSTEM_ROOT_RELOCATABLE"
15465 TARGET_SYSTEM_ROOT_DEFINE
="$t"
15472 TARGET_SYSTEM_ROOT
=
15473 TARGET_SYSTEM_ROOT_DEFINE
='-DTARGET_SYSTEM_ROOT=\"\"'
15481 # Check whether --enable-gold was given.
15482 if test "${enable_gold+set}" = set; then :
15483 enableval
=$enable_gold; case "${enableval}" in
15485 install_as_default
=no
15486 installed_linker
=ld.bfd
15489 install_as_default
=yes
15490 installed_linker
=ld.bfd
15493 as_fn_error $?
"invalid --enable-gold argument" "$LINENO" 5
15497 install_as_default
=yes
15498 installed_linker
=ld.bfd
15504 # Check whether --enable-got was given.
15505 if test "${enable_got+set}" = set; then :
15506 enableval
=$enable_got; case "${enableval}" in
15507 target | single | negative | multigot
) got_handling
=$enableval ;;
15508 *) as_fn_error $?
"bad value ${enableval} for --enable-got option" "$LINENO" 5 ;;
15511 got_handling
=target
15515 case "${got_handling}" in
15518 $as_echo "#define GOT_HANDLING_DEFAULT GOT_HANDLING_TARGET_DEFAULT" >>confdefs.h
15522 $as_echo "#define GOT_HANDLING_DEFAULT GOT_HANDLING_SINGLE" >>confdefs.h
15526 $as_echo "#define GOT_HANDLING_DEFAULT GOT_HANDLING_NEGATIVE" >>confdefs.h
15530 $as_echo "#define GOT_HANDLING_DEFAULT GOT_HANDLING_MULTIGOT" >>confdefs.h
15532 *) as_fn_error $?
"bad value ${got_handling} for --enable-got option" "$LINENO" 5 ;;
15536 # Decide the default method for compressing debug sections.
15537 ac_default_compressed_debug_sections
=unset
15538 # Provide a configure time option to override our default.
15539 # Check whether --enable-compressed_debug_sections was given.
15540 if test "${enable_compressed_debug_sections+set}" = set; then :
15541 enableval
=$enable_compressed_debug_sections; case ,"${enableval}", in
15542 ,yes, |
,all
, |
*,ld
,*) ac_default_compressed_debug_sections
=yes ;;
15543 ,no
, |
,none
,) ac_default_compressed_debug_sections
=no
;;
15547 # Decide setting DT_RUNPATH instead of DT_RPATH by default
15548 ac_default_new_dtags
=unset
15549 # Provide a configure time option to override our default.
15550 # Check whether --enable-new_dtags was given.
15551 if test "${enable_new_dtags+set}" = set; then :
15552 enableval
=$enable_new_dtags; case "${enableval}" in
15553 yes) ac_default_new_dtags
=1 ;;
15554 no
) ac_default_new_dtags
=0 ;;
15558 # Decide if -z relro should be enabled in ELF linker by default.
15559 ac_default_ld_z_relro
=unset
15560 # Provide a configure time option to override our default.
15561 # Check whether --enable-relro was given.
15562 if test "${enable_relro+set}" = set; then :
15563 enableval
=$enable_relro; case "${enableval}" in
15564 yes) ac_default_ld_z_relro
=1 ;;
15565 no
) ac_default_ld_z_relro
=0 ;;
15569 # Decide if DT_TEXTREL check should be enabled in ELF linker.
15570 ac_default_ld_textrel_check
=unset
15571 # Check whether --enable-textrel-check was given.
15572 if test "${enable_textrel_check+set}" = set; then :
15573 enableval
=$enable_textrel_check; case "${enableval}" in
15574 yes|no|warning|error
) ac_default_ld_textrel_check
=${enableval} ;;
15579 # Decide if -z separate-code should be enabled in ELF linker by default.
15580 ac_default_ld_z_separate_code
=unset
15581 # Check whether --enable-separate-code was given.
15582 if test "${enable_separate_code+set}" = set; then :
15583 enableval
=$enable_separate_code; case "${enableval}" in
15584 yes) ac_default_ld_z_separate_code
=1 ;;
15585 no
) ac_default_ld_z_separate_code
=0 ;;
15591 # By default warn when an executable stack is created due to object files
15592 # requesting such, not when the user specifies -z execstack.
15593 ac_default_ld_warn_execstack
=2
15594 # Check whether --enable-warn-execstack was given.
15595 if test "${enable_warn_execstack+set}" = set; then :
15596 enableval
=$enable_warn_execstack; case "${enableval}" in
15597 yes) ac_default_ld_warn_execstack
=1 ;;
15598 no
) ac_default_ld_warn_execstack
=0 ;;
15603 ac_default_ld_warn_rwx_segments
=unset
15604 # Check whether --enable-warn-rwx-segments was given.
15605 if test "${enable_warn_rwx_segments+set}" = set; then :
15606 enableval
=$enable_warn_rwx_segments; case "${enableval}" in
15607 yes) ac_default_ld_warn_rwx_segments
=1 ;;
15608 no
) ac_default_ld_warn_rwx_segments
=0 ;;
15613 ac_default_ld_default_execstack
=unset
15614 # Check whether --enable-default-execstack was given.
15615 if test "${enable_default_execstack+set}" = set; then :
15616 enableval
=$enable_default_execstack; case "${enableval}" in
15617 yes) ac_default_ld_default_execstack
=1 ;;
15618 no
) ac_default_ld_default_execstack
=0 ;;
15624 # Decide if --error-handling-script should be supported.
15625 ac_support_error_handling_script
=unset
15626 # Check whether --enable-error-handling-script was given.
15627 if test "${enable_error_handling_script+set}" = set; then :
15628 enableval
=$enable_error_handling_script; case "${enableval}" in
15629 yes) ac_support_error_handling_script
=1 ;;
15630 no
) ac_support_error_handling_script
=0 ;;
15635 # Decide which "--hash-style" to use by default
15636 # Provide a configure time option to override our default.
15637 # Check whether --enable-default-hash-style was given.
15638 if test "${enable_default_hash_style+set}" = set; then :
15639 enableval
=$enable_default_hash_style; case "${enable_default_hash_style}" in
15640 sysv | gnu | both
) ;;
15641 *) as_fn_error $?
"bad value ${enable_default_hash_style} for enable-default-hash-style option" "$LINENO" 5 ;;
15644 case "${target}" in
15645 # Enable gnu hash only on GNU targets, but not mips
15646 mips
*-*-*) enable_default_hash_style
=sysv
;;
15647 *-*-gnu* |
*-*-linux* |
*-*-nacl*) enable_default_hash_style
=both
;;
15648 *) enable_default_hash_style
=sysv
;;
15653 case "${enable_default_hash_style}" in
15654 sysv | both
) ac_default_emit_sysv_hash
=1 ;;
15655 *) ac_default_emit_sysv_hash
=0 ;;
15658 case "${enable_default_hash_style}" in
15659 gnu | both
) ac_default_emit_gnu_hash
=1 ;;
15660 *) ac_default_emit_gnu_hash
=0 ;;
15663 # Check whether --enable-initfini-array was given.
15664 if test "${enable_initfini_array+set}" = set; then :
15665 enableval
=$enable_initfini_array; case "${enableval}" in
15667 *) as_fn_error $?
"invalid --enable-initfini-array argument" "$LINENO" 5 ;;
15670 enable_initfini_array
=yes
15674 if test $enable_initfini_array = yes; then
15676 $as_echo "#define HAVE_INITFINI_ARRAY 1" >>confdefs.h
15680 # Check whether --enable-libctf was given.
15681 if test "${enable_libctf+set}" = set; then :
15682 enableval
=$enable_libctf;
15683 case "$enableval" in
15685 *) as_fn_error $?
"Argument to enable/disable libctf must be yes or no" "$LINENO" 5 ;;
15693 if test "${enable_libctf}" = yes; then
15695 $as_echo "#define ENABLE_LIBCTF 1" >>confdefs.h
15698 if test "${enable_libctf}" = yes; then
15699 ENABLE_LIBCTF_TRUE
=
15700 ENABLE_LIBCTF_FALSE
='#'
15702 ENABLE_LIBCTF_TRUE
='#'
15703 ENABLE_LIBCTF_FALSE
=
15708 # Used to validate --package-metadata= input. Disabled by default.
15709 # Check whether --enable-jansson was given.
15710 if test "${enable_jansson+set}" = set; then :
15711 enableval
=$enable_jansson; enable_jansson
=$enableval
15713 enable_jansson
="no"
15717 if test "x$enable_jansson" != "xno"; then :
15720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jansson" >&5
15721 $as_echo_n "checking for jansson... " >&6; }
15723 if test -n "$JANSSON_CFLAGS"; then
15724 pkg_cv_JANSSON_CFLAGS
="$JANSSON_CFLAGS"
15725 elif test -n "$PKG_CONFIG"; then
15726 if test -n "$PKG_CONFIG" && \
15727 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"jansson\""; } >&5
15728 ($PKG_CONFIG --exists --print-errors "jansson") 2>&5
15730 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15731 test $ac_status = 0; }; then
15732 pkg_cv_JANSSON_CFLAGS
=`$PKG_CONFIG --cflags "jansson" 2>/dev/null`
15733 test "x$?" != "x0" && pkg_failed
=yes
15740 if test -n "$JANSSON_LIBS"; then
15741 pkg_cv_JANSSON_LIBS
="$JANSSON_LIBS"
15742 elif test -n "$PKG_CONFIG"; then
15743 if test -n "$PKG_CONFIG" && \
15744 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"jansson\""; } >&5
15745 ($PKG_CONFIG --exists --print-errors "jansson") 2>&5
15747 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15748 test $ac_status = 0; }; then
15749 pkg_cv_JANSSON_LIBS
=`$PKG_CONFIG --libs "jansson" 2>/dev/null`
15750 test "x$?" != "x0" && pkg_failed
=yes
15758 if test $pkg_failed = no
; then
15759 pkg_save_LDFLAGS
="$LDFLAGS"
15760 LDFLAGS
="$LDFLAGS $pkg_cv_JANSSON_LIBS"
15761 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15762 /* end confdefs.h. */
15772 if ac_fn_c_try_link
"$LINENO"; then :
15777 rm -f core conftest.err conftest.
$ac_objext \
15778 conftest
$ac_exeext conftest.
$ac_ext
15779 LDFLAGS
=$pkg_save_LDFLAGS
15784 if test $pkg_failed = yes; then
15785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15786 $as_echo "no" >&6; }
15788 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15789 _pkg_short_errors_supported
=yes
15791 _pkg_short_errors_supported
=no
15793 if test $_pkg_short_errors_supported = yes; then
15794 JANSSON_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "jansson" 2>&1`
15796 JANSSON_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "jansson" 2>&1`
15798 # Put the nasty error message in config.log where it belongs
15799 echo "$JANSSON_PKG_ERRORS" >&5
15801 as_fn_error $?
"Cannot find jansson library" "$LINENO" 5
15802 elif test $pkg_failed = untried
; then
15803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15804 $as_echo "no" >&6; }
15805 as_fn_error $?
"Cannot find jansson library" "$LINENO" 5
15807 JANSSON_CFLAGS
=$pkg_cv_JANSSON_CFLAGS
15808 JANSSON_LIBS
=$pkg_cv_JANSSON_LIBS
15809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15810 $as_echo "yes" >&6; }
15813 $as_echo "#define HAVE_JANSSON 1" >>confdefs.h
15823 # Set the 'development' global.
15824 .
$srcdir/..
/bfd
/development.sh
15826 # Set acp_cpp_for_build variable
15827 ac_cpp_for_build
="$CC_FOR_BUILD -E $CPPFLAGS_FOR_BUILD"
15829 # Default set of GCC warnings to enable.
15830 GCC_WARN_CFLAGS
="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
15831 GCC_WARN_CFLAGS_FOR_BUILD
="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
15833 # Add -Wshadow if the compiler is a sufficiently recent version of GCC.
15834 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15835 /* end confdefs.h. */
15838 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15839 $EGREP "(^[0-3]$|^__GNUC__$)" >/dev
/null
2>&1; then :
15842 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Wshadow"
15847 # Add -Wstack-usage if the compiler is a sufficiently recent version of GCC.
15848 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15849 /* end confdefs.h. */
15852 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15853 $EGREP "(^[0-4]$|^__GNUC__$)" >/dev
/null
2>&1; then :
15856 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15857 /* end confdefs.h. */
15860 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15861 $EGREP "^__clang__$" >/dev
/null
2>&1; then :
15862 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Wstack-usage=262144"
15870 # Set WARN_WRITE_STRINGS if the compiler supports -Wwrite-strings.
15871 WARN_WRITE_STRINGS
=""
15872 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15873 /* end confdefs.h. */
15876 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15877 $EGREP "(^[0-3]$|^__GNUC__$)" >/dev
/null
2>&1; then :
15880 WARN_WRITE_STRINGS
="-Wwrite-strings"
15885 # Verify CC_FOR_BUILD to be compatible with warning flags
15887 # Add -Wshadow if the compiler is a sufficiently recent version of GCC.
15888 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15889 /* end confdefs.h. */
15892 if (eval "$ac_cpp_for_build conftest.$ac_ext") 2>&5 |
15893 $EGREP "(^[0-3]$|^__GNUC__$)" >/dev
/null
2>&1; then :
15896 GCC_WARN_CFLAGS_FOR_BUILD
="$GCC_WARN_CFLAGS_FOR_BUILD -Wshadow"
15901 # Add -Wstack-usage if the compiler is a sufficiently recent version of GCC.
15902 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15903 /* end confdefs.h. */
15906 if (eval "$ac_cpp_for_build conftest.$ac_ext") 2>&5 |
15907 $EGREP "(^[0-4]$|^__GNUC__$)" >/dev
/null
2>&1; then :
15910 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15911 /* end confdefs.h. */
15914 if (eval "$ac_cpp_for_build conftest.$ac_ext") 2>&5 |
15915 $EGREP "^__clang__$" >/dev
/null
2>&1; then :
15916 GCC_WARN_CFLAGS_FOR_BUILD
="$GCC_WARN_CFLAGS_FOR_BUILD -Wstack-usage=262144"
15924 # Check whether --enable-werror was given.
15925 if test "${enable_werror+set}" = set; then :
15926 enableval
=$enable_werror; case "${enableval}" in
15927 yes | y
) ERROR_ON_WARNING
="yes" ;;
15928 no | n
) ERROR_ON_WARNING
="no" ;;
15929 *) as_fn_error $?
"bad value ${enableval} for --enable-werror" "$LINENO" 5 ;;
15934 # Disable -Wformat by default when using gcc on mingw
15937 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
15938 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Wno-format"
15939 GCC_WARN_CFLAGS_FOR_BUILD
="$GCC_WARN_CFLAGS_FOR_BUILD -Wno-format"
15945 # Enable -Werror by default when using gcc. Turn it off for releases.
15946 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" -a "$development" = true
; then
15947 ERROR_ON_WARNING
=yes
15951 if test "${ERROR_ON_WARNING}" = yes ; then
15952 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Werror"
15953 GCC_WARN_CFLAGS_FOR_BUILD
="$GCC_WARN_CFLAGS_FOR_BUILD -Werror"
15954 NO_WERROR
="-Wno-error"
15957 if test "${GCC}" = yes ; then
15958 WARN_CFLAGS
="${GCC_WARN_CFLAGS}"
15959 WARN_CFLAGS_FOR_BUILD
="${GCC_WARN_CFLAGS_FOR_BUILD}"
15962 # Check whether --enable-build-warnings was given.
15963 if test "${enable_build_warnings+set}" = set; then :
15964 enableval
=$enable_build_warnings; case "${enableval}" in
15965 yes) WARN_CFLAGS
="${GCC_WARN_CFLAGS}"
15966 WARN_CFLAGS_FOR_BUILD
="${GCC_WARN_CFLAGS_FOR_BUILD}";;
15967 no
) if test "${GCC}" = yes ; then
15969 WARN_CFLAGS_FOR_BUILD
="-w"
15971 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
15972 WARN_CFLAGS
="${GCC_WARN_CFLAGS} ${t}"
15973 WARN_CFLAGS_FOR_BUILD
="${GCC_WARN_CFLAGS_FOR_BUILD} ${t}";;
15974 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
15975 WARN_CFLAGS
="${t} ${GCC_WARN_CFLAGS}"
15976 WARN_CFLAGS_FOR_BUILD
="${t} ${GCC_WARN_CFLAGS_FOR_BUILD}";;
15977 *) WARN_CFLAGS
=`echo "${enableval}" | sed -e "s/,/ /g"`
15978 WARN_CFLAGS_FOR_BUILD
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
15983 if test x
"$silent" != x
"yes" && test x
"$WARN_CFLAGS" != x
""; then
15984 echo "Setting warning flags = $WARN_CFLAGS" 6>&1
15994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
15995 $as_echo_n "checking for LC_MESSAGES... " >&6; }
15996 if ${am_cv_val_LC_MESSAGES+:} false
; then :
15997 $as_echo_n "(cached) " >&6
15999 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16000 /* end confdefs.h. */
16001 #include <locale.h>
16010 if ac_fn_c_try_link
"$LINENO"; then :
16011 am_cv_val_LC_MESSAGES
=yes
16013 am_cv_val_LC_MESSAGES
=no
16015 rm -f core conftest.err conftest.
$ac_objext \
16016 conftest
$ac_exeext conftest.
$ac_ext
16018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
16019 $as_echo "$am_cv_val_LC_MESSAGES" >&6; }
16020 if test $am_cv_val_LC_MESSAGES = yes; then
16022 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
16027 ac_config_headers
="$ac_config_headers config.h:config.in"
16033 if test -z "$target" ; then
16034 as_fn_error $?
"Unrecognized target system type; please check config.sub." "$LINENO" 5
16036 if test -z "$host" ; then
16037 as_fn_error $?
"Unrecognized host system type; please check config.sub." "$LINENO" 5
16040 # host-specific stuff:
16042 ALL_LINGUAS
="bg da de es fi fr ga id it ja pt_BR ru sr sv tr uk vi zh_CN zh_TW"
16043 # If we haven't got the data from the intl directory,
16044 # assume NLS is disabled.
16053 if test -f ..
/intl
/config.intl
; then
16054 . ..
/intl
/config.intl
16056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
16057 $as_echo_n "checking whether NLS is requested... " >&6; }
16058 if test x
"$USE_NLS" != xyes
; then
16059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16060 $as_echo "no" >&6; }
16062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16063 $as_echo "yes" >&6; }
16065 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
16068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
16069 $as_echo_n "checking for catalogs to be installed... " >&6; }
16070 # Look for .po and .gmo files in the source directory.
16073 for cat in $srcdir/po
/*.gmo
$srcdir/po
/*.po
; do
16074 # If there aren't any .gmo files the shell will give us the
16075 # literal string "../path/to/srcdir/po/*.gmo" which has to be
16077 case "$cat" in *\
**)
16080 # The quadruple backslash is collapsed to a double backslash
16081 # by the backticks, then collapsed again by the double quotes,
16082 # leaving us with one backslash in the sed expression (right
16083 # before the dot that mustn't act as a wildcard).
16084 cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
16085 lang
=`echo $cat | sed -e "s!\\\\.gmo!!"`
16086 # The user is allowed to set LINGUAS to a list of languages to
16087 # install catalogs for. If it's empty that means "all of them."
16088 if test "x$LINGUAS" = x
; then
16089 CATALOGS
="$CATALOGS $cat"
16090 XLINGUAS
="$XLINGUAS $lang"
16092 case "$LINGUAS" in *$lang*)
16093 CATALOGS
="$CATALOGS $cat"
16094 XLINGUAS
="$XLINGUAS $lang"
16099 LINGUAS
="$XLINGUAS"
16100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
16101 $as_echo "$LINGUAS" >&6; }
16115 if test -n "$ac_aux_dir"; then
16116 case "$ac_aux_dir" in
16117 /*) MKINSTALLDIRS
="$ac_aux_dir/mkinstalldirs" ;;
16118 *) MKINSTALLDIRS
="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
16121 if test -z "$MKINSTALLDIRS"; then
16122 MKINSTALLDIRS
="\$(top_srcdir)/mkinstalldirs"
16127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
16128 $as_echo_n "checking whether NLS is requested... " >&6; }
16129 # Check whether --enable-nls was given.
16130 if test "${enable_nls+set}" = set; then :
16131 enableval
=$enable_nls; USE_NLS
=$enableval
16136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
16137 $as_echo "$USE_NLS" >&6; }
16144 # Prepare PATH_SEPARATOR.
16145 # The user is always right.
16146 if test "${PATH_SEPARATOR+set}" != set; then
16147 echo "#! /bin/sh" >conf$$.sh
16148 echo "exit 0" >>conf$$.sh
16150 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
16158 # Find out how to test for executable files. Don't use a zero-byte file,
16159 # as systems may use methods other than mode bits to determine executability.
16160 cat >conf$$.
file <<_ASEOF
16164 chmod +x conf$$.
file
16165 if test -x conf$$.
file >/dev
/null
2>&1; then
16166 ac_executable_p
="test -x"
16168 ac_executable_p
="test -f"
16172 # Extract the first word of "msgfmt", so it can be a program name with args.
16173 set dummy msgfmt
; ac_word
=$2
16174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16175 $as_echo_n "checking for $ac_word... " >&6; }
16176 if ${ac_cv_path_MSGFMT+:} false
; then :
16177 $as_echo_n "(cached) " >&6
16181 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
16184 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
16185 for ac_dir
in $PATH; do
16187 test -z "$ac_dir" && ac_dir
=.
16188 for ac_exec_ext
in '' $ac_executable_extensions; do
16189 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
16190 if $ac_dir/$ac_word --statistics /dev
/null
>/dev
/null
2>&1 &&
16191 (if $ac_dir/$ac_word --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
16192 ac_cv_path_MSGFMT
="$ac_dir/$ac_word$ac_exec_ext"
16199 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
16203 MSGFMT
="$ac_cv_path_MSGFMT"
16204 if test "$MSGFMT" != ":"; then
16205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
16206 $as_echo "$MSGFMT" >&6; }
16208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16209 $as_echo "no" >&6; }
16212 # Extract the first word of "gmsgfmt", so it can be a program name with args.
16213 set dummy gmsgfmt
; ac_word
=$2
16214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16215 $as_echo_n "checking for $ac_word... " >&6; }
16216 if ${ac_cv_path_GMSGFMT+:} false
; then :
16217 $as_echo_n "(cached) " >&6
16221 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
16224 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16225 for as_dir
in $PATH
16228 test -z "$as_dir" && as_dir
=.
16229 for ac_exec_ext
in '' $ac_executable_extensions; do
16230 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16231 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
16232 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16239 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
16243 GMSGFMT
=$ac_cv_path_GMSGFMT
16244 if test -n "$GMSGFMT"; then
16245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
16246 $as_echo "$GMSGFMT" >&6; }
16248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16249 $as_echo "no" >&6; }
16255 # Prepare PATH_SEPARATOR.
16256 # The user is always right.
16257 if test "${PATH_SEPARATOR+set}" != set; then
16258 echo "#! /bin/sh" >conf$$.sh
16259 echo "exit 0" >>conf$$.sh
16261 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
16269 # Find out how to test for executable files. Don't use a zero-byte file,
16270 # as systems may use methods other than mode bits to determine executability.
16271 cat >conf$$.
file <<_ASEOF
16275 chmod +x conf$$.
file
16276 if test -x conf$$.
file >/dev
/null
2>&1; then
16277 ac_executable_p
="test -x"
16279 ac_executable_p
="test -f"
16283 # Extract the first word of "xgettext", so it can be a program name with args.
16284 set dummy xgettext
; ac_word
=$2
16285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16286 $as_echo_n "checking for $ac_word... " >&6; }
16287 if ${ac_cv_path_XGETTEXT+:} false
; then :
16288 $as_echo_n "(cached) " >&6
16290 case "$XGETTEXT" in
16292 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
16295 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
16296 for ac_dir
in $PATH; do
16298 test -z "$ac_dir" && ac_dir
=.
16299 for ac_exec_ext
in '' $ac_executable_extensions; do
16300 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
16301 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
16302 (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
16303 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word$ac_exec_ext"
16310 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
16314 XGETTEXT
="$ac_cv_path_XGETTEXT"
16315 if test "$XGETTEXT" != ":"; then
16316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
16317 $as_echo "$XGETTEXT" >&6; }
16319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16320 $as_echo "no" >&6; }
16326 # Prepare PATH_SEPARATOR.
16327 # The user is always right.
16328 if test "${PATH_SEPARATOR+set}" != set; then
16329 echo "#! /bin/sh" >conf$$.sh
16330 echo "exit 0" >>conf$$.sh
16332 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
16340 # Find out how to test for executable files. Don't use a zero-byte file,
16341 # as systems may use methods other than mode bits to determine executability.
16342 cat >conf$$.
file <<_ASEOF
16346 chmod +x conf$$.
file
16347 if test -x conf$$.
file >/dev
/null
2>&1; then
16348 ac_executable_p
="test -x"
16350 ac_executable_p
="test -f"
16354 # Extract the first word of "msgmerge", so it can be a program name with args.
16355 set dummy msgmerge
; ac_word
=$2
16356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16357 $as_echo_n "checking for $ac_word... " >&6; }
16358 if ${ac_cv_path_MSGMERGE+:} false
; then :
16359 $as_echo_n "(cached) " >&6
16361 case "$MSGMERGE" in
16363 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
16366 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
16367 for ac_dir
in $PATH; do
16369 test -z "$ac_dir" && ac_dir
=.
16370 for ac_exec_ext
in '' $ac_executable_extensions; do
16371 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
16372 if $ac_dir/$ac_word --update -q /dev
/null
/dev
/null
>/dev
/null
2>&1; then
16373 ac_cv_path_MSGMERGE
="$ac_dir/$ac_word$ac_exec_ext"
16380 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE
=":"
16384 MSGMERGE
="$ac_cv_path_MSGMERGE"
16385 if test "$MSGMERGE" != ":"; then
16386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
16387 $as_echo "$MSGMERGE" >&6; }
16389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16390 $as_echo "no" >&6; }
16394 if test "$GMSGFMT" != ":"; then
16395 if $GMSGFMT --statistics /dev
/null
>/dev
/null
2>&1 &&
16396 (if $GMSGFMT --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
16399 GMSGFMT
=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
16400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
16401 $as_echo "found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; }
16406 if test "$XGETTEXT" != ":"; then
16407 if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
16408 (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
16411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
16412 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
16418 ac_config_commands
="$ac_config_commands default-1"
16424 for ac_prog
in 'bison -y' byacc
16426 # Extract the first word of "$ac_prog", so it can be a program name with args.
16427 set dummy
$ac_prog; ac_word
=$2
16428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16429 $as_echo_n "checking for $ac_word... " >&6; }
16430 if ${ac_cv_prog_YACC+:} false
; then :
16431 $as_echo_n "(cached) " >&6
16433 if test -n "$YACC"; then
16434 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
16436 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16437 for as_dir
in $PATH
16440 test -z "$as_dir" && as_dir
=.
16441 for ac_exec_ext
in '' $ac_executable_extensions; do
16442 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16443 ac_cv_prog_YACC
="$ac_prog"
16444 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16453 YACC
=$ac_cv_prog_YACC
16454 if test -n "$YACC"; then
16455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
16456 $as_echo "$YACC" >&6; }
16458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16459 $as_echo "no" >&6; }
16463 test -n "$YACC" && break
16465 test -n "$YACC" || YACC
="yacc"
16467 for ac_prog
in flex
lex
16469 # Extract the first word of "$ac_prog", so it can be a program name with args.
16470 set dummy
$ac_prog; ac_word
=$2
16471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16472 $as_echo_n "checking for $ac_word... " >&6; }
16473 if ${ac_cv_prog_LEX+:} false
; then :
16474 $as_echo_n "(cached) " >&6
16476 if test -n "$LEX"; then
16477 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
16479 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16480 for as_dir
in $PATH
16483 test -z "$as_dir" && as_dir
=.
16484 for ac_exec_ext
in '' $ac_executable_extensions; do
16485 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16486 ac_cv_prog_LEX
="$ac_prog"
16487 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16496 LEX
=$ac_cv_prog_LEX
16497 if test -n "$LEX"; then
16498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
16499 $as_echo "$LEX" >&6; }
16501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16502 $as_echo "no" >&6; }
16506 test -n "$LEX" && break
16508 test -n "$LEX" || LEX
=":"
16512 *) cat >conftest.l
<<_ACEOF
16518 e { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument. */
16519 yyless ((input () != 0)); }
16520 f { unput (yytext[0]); }
16521 . { BEGIN INITIAL; }
16523 #ifdef YYTEXT_POINTER
16524 extern char *yytext;
16529 return ! yylex () + ! yywrap ();
16532 { { ac_try
="$LEX conftest.l"
16533 case "(($ac_try" in
16534 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16535 *) ac_try_echo=$ac_try;;
16537 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16538 $as_echo "$ac_try_echo"; } >&5
16539 (eval "$LEX conftest.l") 2>&5
16541 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16542 test $ac_status = 0; }
16543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
16544 $as_echo_n "checking lex output file root... " >&6; }
16545 if ${ac_cv_prog_lex_root+:} false; then :
16546 $as_echo_n "(cached) " >&6
16549 if test -f lex.yy.c; then
16550 ac_cv_prog_lex_root=lex.yy
16551 elif test -f lexyy.c; then
16552 ac_cv_prog_lex_root=lexyy
16554 as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5
16557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
16558 $as_echo "$ac_cv_prog_lex_root" >&6; }
16559 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
16561 if test -z "${LEXLIB+set}"; then
16562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
16563 $as_echo_n "checking lex library... " >&6; }
16564 if ${ac_cv_lib_lex+:} false; then :
16565 $as_echo_n "(cached) " >&6
16569 ac_cv_lib_lex='none needed'
16570 for ac_lib in '' -lfl -ll; do
16571 LIBS="$ac_lib $ac_save_LIBS"
16572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16573 /* end confdefs.h. */
16574 `cat $LEX_OUTPUT_ROOT.c
`
16576 if ac_fn_c_try_link "$LINENO"; then :
16577 ac_cv_lib_lex=$ac_lib
16579 rm -f core conftest.err conftest.$ac_objext \
16580 conftest$ac_exeext conftest.$ac_ext
16581 test "$ac_cv_lib_lex" != 'none needed' && break
16586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5
16587 $as_echo "$ac_cv_lib_lex" >&6; }
16588 test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
16592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
16593 $as_echo_n "checking whether yytext is a pointer... " >&6; }
16594 if ${ac_cv_prog_lex_yytext_pointer+:} false; then :
16595 $as_echo_n "(cached) " >&6
16597 # POSIX says lex can declare yytext either as a pointer or an array; the
16598 # default is implementation-dependent. Figure out which it is, since
16599 # not all implementations provide the %pointer and %array declarations.
16600 ac_cv_prog_lex_yytext_pointer=no
16602 LIBS="$LEXLIB $ac_save_LIBS"
16603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16604 /* end confdefs.h. */
16606 #define YYTEXT_POINTER 1
16607 `cat $LEX_OUTPUT_ROOT.c
`
16609 if ac_fn_c_try_link "$LINENO"; then :
16610 ac_cv_prog_lex_yytext_pointer=yes
16612 rm -f core conftest.err conftest.$ac_objext \
16613 conftest$ac_exeext conftest.$ac_ext
16617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5
16618 $as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
16619 if test $ac_cv_prog_lex_yytext_pointer = yes; then
16621 $as_echo "#define YYTEXT_POINTER 1" >>confdefs.h
16624 rm -f conftest.l $LEX_OUTPUT_ROOT.c
16627 if test "$LEX" = :; then
16628 LEX=${am_missing_run}flex
16632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
16633 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
16634 # Check whether --enable-maintainer-mode was given.
16635 if test "${enable_maintainer_mode+set}" = set; then :
16636 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
16638 USE_MAINTAINER_MODE=no
16641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
16642 $as_echo "$USE_MAINTAINER_MODE" >&6; }
16643 if test $USE_MAINTAINER_MODE = yes; then
16644 MAINTAINER_MODE_TRUE=
16645 MAINTAINER_MODE_FALSE='#'
16647 MAINTAINER_MODE_TRUE='#'
16648 MAINTAINER_MODE_FALSE=
16651 MAINT=$MAINTAINER_MODE_TRUE
16655 GENINSRC_NEVER_TRUE=
16656 GENINSRC_NEVER_FALSE='#'
16658 GENINSRC_NEVER_TRUE='#'
16659 GENINSRC_NEVER_FALSE=
16662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to compare bootstrapped objects" >&5
16663 $as_echo_n "checking how to compare bootstrapped objects... " >&6; }
16664 if ${gcc_cv_prog_cmp_skip+:} false; then :
16665 $as_echo_n "(cached) " >&6
16669 gcc_cv_prog_cmp_skip='tail -c +17 $$f1 > tmp-foo1; tail -c +17 $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
16670 if cmp t1 t2 2 2 > /dev/null 2>&1; then
16671 if cmp t1 t2 1 1 > /dev/null 2>&1; then
16674 gcc_cv_prog_cmp_skip='cmp $$f1 $$f2 16 16'
16677 if cmp --ignore-initial=2 t1 t2 > /dev/null 2>&1; then
16678 if cmp --ignore-initial=1 t1 t2 > /dev/null 2>&1; then
16681 gcc_cv_prog_cmp_skip='cmp --ignore-initial=16 $$f1 $$f2'
16687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_cmp_skip" >&5
16688 $as_echo "$gcc_cv_prog_cmp_skip" >&6; }
16689 do_compare="$gcc_cv_prog_cmp_skip"
16693 . ${srcdir}/configure.host
16698 # We use headers from include/ that check various HAVE_*_H macros, thus
16699 # should ensure they are set by configure. This is true even when C99
16700 # guarantees they are available.
16701 # sha1.h and md4.h test HAVE_LIMITS_H, HAVE_SYS_TYPES_H and HAVE_STDINT_H
16702 # plugin-api.h tests HAVE_STDINT_H and HAVE_INTTYPES_H
16703 # Besides those, we need to check anything used in ld/ not in C99.
16704 for ac_header in fcntl.h elf-hints.h limits.h inttypes.h stdint.h \
16705 sys/file.h sys/mman.h sys/param.h sys/stat.h sys/time.h \
16706 sys/types.h unistd.h
16708 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
16709 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16710 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16711 cat >>confdefs.h <<_ACEOF
16712 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
16719 for ac_func in close glob lseek mkstemp open realpath waitpid
16721 as_ac_var=`$as_echo "ac_cv_func_$ac_func" |
$as_tr_sh`
16722 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16723 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16724 cat >>confdefs.h <<_ACEOF
16725 #define `$as_echo "HAVE_$ac_func" |
$as_tr_cpp` 1
16734 *-*-msdos* | *-*-go32* | *-*-mingw32* | *-*-cygwin* | *-*-windows*)
16736 $as_echo "#define USE_BINARY_FOPEN 1" >>confdefs.h
16740 ac_fn_c_check_decl "$LINENO" "asprintf" "ac_cv_have_decl_asprintf" "$ac_includes_default"
16741 if test "x$ac_cv_have_decl_asprintf" = xyes; then :
16747 cat >>confdefs.h <<_ACEOF
16748 #define HAVE_DECL_ASPRINTF $ac_have_decl
16750 ac_fn_c_check_decl "$LINENO" "environ" "ac_cv_have_decl_environ" "$ac_includes_default"
16751 if test "x$ac_cv_have_decl_environ" = xyes; then :
16757 cat >>confdefs.h <<_ACEOF
16758 #define HAVE_DECL_ENVIRON $ac_have_decl
16765 for ac_header in $ac_header_list
16767 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
16768 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
16770 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16771 cat >>confdefs.h <<_ACEOF
16772 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
16786 for ac_func in getpagesize
16788 ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize"
16789 if test "x$ac_cv_func_getpagesize" = xyes; then :
16790 cat >>confdefs.h <<_ACEOF
16791 #define HAVE_GETPAGESIZE 1
16797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
16798 $as_echo_n "checking for working mmap... " >&6; }
16799 if ${ac_cv_func_mmap_fixed_mapped+:} false; then :
16800 $as_echo_n "(cached) " >&6
16802 if test "$cross_compiling" = yes; then :
16803 ac_cv_func_mmap_fixed_mapped=no
16805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16806 /* end confdefs.h. */
16807 $ac_includes_default
16808 /* malloc might have been renamed as rpl_malloc. */
16811 /* Thanks to Mike Haertel and Jim Avera for this test.
16812 Here is a matrix of mmap possibilities:
16813 mmap private not fixed
16814 mmap private fixed at somewhere currently unmapped
16815 mmap private fixed at somewhere already mapped
16816 mmap shared not fixed
16817 mmap shared fixed at somewhere currently unmapped
16818 mmap shared fixed at somewhere already mapped
16819 For private mappings, we should verify that changes cannot be read()
16820 back from the file, nor mmap's back from the file at a different
16821 address. (There have been systems where private was not correctly
16822 implemented like the infamous i386 svr4.0, and systems where the
16823 VM page cache was not coherent with the file system buffer cache
16824 like early versions of FreeBSD and possibly contemporary NetBSD.)
16825 For shared mappings, we should conversely verify that changes get
16826 propagated back to all the places they're supposed to be.
16828 Grep wants private fixed already mapped.
16829 The main things grep needs to know about mmap are:
16830 * does it exist and is it safe to write into the mmap'd area
16831 * how to use it (BSD variants) */
16834 #include <sys/mman.h>
16836 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
16840 /* This mess was copied from the GNU getpagesize.h. */
16841 #ifndef HAVE_GETPAGESIZE
16842 # ifdef _SC_PAGESIZE
16843 # define getpagesize() sysconf(_SC_PAGESIZE)
16844 # else /* no _SC_PAGESIZE */
16845 # ifdef HAVE_SYS_PARAM_H
16846 # include <sys/param.h>
16847 # ifdef EXEC_PAGESIZE
16848 # define getpagesize() EXEC_PAGESIZE
16849 # else /* no EXEC_PAGESIZE */
16851 # define getpagesize() NBPG * CLSIZE
16854 # endif /* no CLSIZE */
16855 # else /* no NBPG */
16857 # define getpagesize() NBPC
16858 # else /* no NBPC */
16860 # define getpagesize() PAGESIZE
16861 # endif /* PAGESIZE */
16862 # endif /* no NBPC */
16863 # endif /* no NBPG */
16864 # endif /* no EXEC_PAGESIZE */
16865 # else /* no HAVE_SYS_PARAM_H */
16866 # define getpagesize() 8192 /* punt totally */
16867 # endif /* no HAVE_SYS_PARAM_H */
16868 # endif /* no _SC_PAGESIZE */
16870 #endif /* no HAVE_GETPAGESIZE */
16875 char *data, *data2, *data3;
16876 const char *cdata2;
16880 pagesize = getpagesize ();
16882 /* First, make a file with some known garbage in it. */
16883 data = (char *) malloc (pagesize);
16886 for (i = 0; i < pagesize; ++i)
16887 *(data + i) = rand ();
16889 fd = creat ("conftest.mmap", 0600);
16892 if (write (fd, data, pagesize) != pagesize)
16896 /* Next, check that the tail of a page is zero-filled. File must have
16897 non-zero length, otherwise we risk SIGBUS for entire page. */
16898 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
16902 if (write (fd2, cdata2, 1) != 1)
16904 data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
16905 if (data2 == MAP_FAILED)
16907 for (i = 0; i < pagesize; ++i)
16911 if (munmap (data2, pagesize))
16914 /* Next, try to mmap the file at a fixed address which already has
16915 something else allocated at it. If we can, also make sure that
16916 we see the same garbage. */
16917 fd = open ("conftest.mmap", O_RDWR);
16920 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
16921 MAP_PRIVATE | MAP_FIXED, fd, 0L))
16923 for (i = 0; i < pagesize; ++i)
16924 if (*(data + i) != *(data2 + i))
16927 /* Finally, make sure that changes to the mapped area do not
16928 percolate back to the file as seen by read(). (This is a bug on
16929 some variants of i386 svr4.0.) */
16930 for (i = 0; i < pagesize; ++i)
16931 *(data2 + i) = *(data2 + i) + 1;
16932 data3 = (char *) malloc (pagesize);
16935 if (read (fd, data3, pagesize) != pagesize)
16937 for (i = 0; i < pagesize; ++i)
16938 if (*(data + i) != *(data3 + i))
16944 if ac_fn_c_try_run "$LINENO"; then :
16945 ac_cv_func_mmap_fixed_mapped=yes
16947 ac_cv_func_mmap_fixed_mapped=no
16949 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16950 conftest.$ac_objext conftest.beam conftest.$ac_ext
16954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
16955 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
16956 if test $ac_cv_func_mmap_fixed_mapped = yes; then
16958 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
16961 rm -f conftest.mmap conftest.txt
16964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
16965 $as_echo_n "checking for library containing dlopen... " >&6; }
16966 if ${ac_cv_search_dlopen+:} false; then :
16967 $as_echo_n "(cached) " >&6
16969 ac_func_search_save_LIBS=$LIBS
16970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16971 /* end confdefs.h. */
16973 /* Override any GCC internal prototype to avoid an error.
16974 Use char because int might match the return type of a GCC
16975 builtin and then its argument prototype would still apply. */
16988 for ac_lib in '' dl; do
16989 if test -z "$ac_lib"; then
16990 ac_res="none required"
16993 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16995 if ac_fn_c_try_link "$LINENO"; then :
16996 ac_cv_search_dlopen=$ac_res
16998 rm -f core conftest.err conftest.$ac_objext \
17000 if ${ac_cv_search_dlopen+:} false; then :
17004 if ${ac_cv_search_dlopen+:} false; then :
17007 ac_cv_search_dlopen=no
17009 rm conftest.$ac_ext
17010 LIBS=$ac_func_search_save_LIBS
17012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
17013 $as_echo "$ac_cv_search_dlopen" >&6; }
17014 ac_res=$ac_cv_search_dlopen
17015 if test "$ac_res" != no; then :
17016 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a known getopt prototype in unistd.h" >&5
17022 $as_echo_n "checking for a known getopt prototype in unistd.h... " >&6; }
17023 if ${ld_cv_decl_getopt_unistd_h+:} false; then :
17024 $as_echo_n "(cached) " >&6
17026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17027 /* end confdefs.h. */
17028 #include <unistd.h>
17032 extern int getopt (int, char *const*, const char *);
17037 if ac_fn_c_try_compile "$LINENO"; then :
17038 ld_cv_decl_getopt_unistd_h=yes
17040 ld_cv_decl_getopt_unistd_h=no
17042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_cv_decl_getopt_unistd_h" >&5
17046 $as_echo "$ld_cv_decl_getopt_unistd_h" >&6; }
17047 if test $ld_cv_decl_getopt_unistd_h = yes; then
17049 $as_echo "#define HAVE_DECL_GETOPT 1" >>confdefs.h
17053 # Link in zlib/zstd if we can. This allows us to read and write
17054 # compressed debug sections.
17056 # Use the system's zlib library.
17057 zlibdir="-L\$(top_builddir)/../zlib"
17058 zlibinc="-I\$(top_srcdir)/../zlib"
17060 # Check whether --with-system-zlib was given.
17061 if test "${with_system_zlib+set}" = set; then :
17062 withval=$with_system_zlib; if test x$with_system_zlib = xyes ; then
17074 # Check whether --with-zstd was given.
17075 if test "${with_zstd+set}" = set; then :
17076 withval=$with_zstd;
17082 if test "$with_zstd" != no; then :
17085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libzstd" >&5
17086 $as_echo_n "checking for libzstd... " >&6; }
17088 if test -n "$ZSTD_CFLAGS"; then
17089 pkg_cv_ZSTD_CFLAGS="$ZSTD_CFLAGS"
17090 elif test -n "$PKG_CONFIG"; then
17091 if test -n "$PKG_CONFIG" && \
17092 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libzstd\""; } >&5
17093 ($PKG_CONFIG --exists --print-errors "libzstd") 2>&5
17095 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17096 test $ac_status = 0; }; then
17097 pkg_cv_ZSTD_CFLAGS=`$PKG_CONFIG --cflags "libzstd" 2>/dev
/null
`
17098 test "x$?" != "x0" && pkg_failed=yes
17105 if test -n "$ZSTD_LIBS"; then
17106 pkg_cv_ZSTD_LIBS="$ZSTD_LIBS"
17107 elif test -n "$PKG_CONFIG"; then
17108 if test -n "$PKG_CONFIG" && \
17109 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libzstd\""; } >&5
17110 ($PKG_CONFIG --exists --print-errors "libzstd") 2>&5
17112 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17113 test $ac_status = 0; }; then
17114 pkg_cv_ZSTD_LIBS=`$PKG_CONFIG --libs "libzstd" 2>/dev
/null
`
17115 test "x$?" != "x0" && pkg_failed=yes
17123 if test $pkg_failed = no; then
17124 pkg_save_LDFLAGS="$LDFLAGS"
17125 LDFLAGS="$LDFLAGS $pkg_cv_ZSTD_LIBS"
17126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17127 /* end confdefs.h. */
17137 if ac_fn_c_try_link "$LINENO"; then :
17142 rm -f core conftest.err conftest.$ac_objext \
17143 conftest$ac_exeext conftest.$ac_ext
17144 LDFLAGS=$pkg_save_LDFLAGS
17149 if test $pkg_failed = yes; then
17150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17151 $as_echo "no" >&6; }
17153 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17154 _pkg_short_errors_supported=yes
17156 _pkg_short_errors_supported=no
17158 if test $_pkg_short_errors_supported = yes; then
17159 ZSTD_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libzstd" 2>&1`
17161 ZSTD_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libzstd" 2>&1`
17163 # Put the nasty error message in config.log where it belongs
17164 echo "$ZSTD_PKG_ERRORS" >&5
17167 if test "$with_zstd" = yes; then
17168 as_fn_error $? "--with-zstd was given, but pkgconfig/libzstd.pc is not found" "$LINENO" 5
17171 elif test $pkg_failed = untried; then
17172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17173 $as_echo "no" >&6; }
17175 if test "$with_zstd" = yes; then
17176 as_fn_error $? "--with-zstd was given, but pkgconfig/libzstd.pc is not found" "$LINENO" 5
17180 ZSTD_CFLAGS=$pkg_cv_ZSTD_CFLAGS
17181 ZSTD_LIBS=$pkg_cv_ZSTD_LIBS
17182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17183 $as_echo "yes" >&6; }
17186 $as_echo "#define HAVE_ZSTD 1" >>confdefs.h
17194 # When converting linker scripts into strings for use in emulation
17195 # files, use astring.sed if the compiler supports ANSI string
17196 # concatenation, or ostring.sed otherwise. This is to support the
17197 # broken Microsoft MSVC compiler, which limits the length of string
17198 # constants, while still supporting pre-ANSI compilers which do not
17199 # support string concatenation.
17200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ANSI C string concatenation works" >&5
17201 $as_echo_n "checking whether ANSI C string concatenation works... " >&6; }
17202 if ${ld_cv_string_concatenation+:} false; then :
17203 $as_echo_n "(cached) " >&6
17205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17206 /* end confdefs.h. */
17216 if ac_fn_c_try_compile "$LINENO"; then :
17217 ld_cv_string_concatenation=yes
17219 ld_cv_string_concatenation=no
17221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_cv_string_concatenation" >&5
17225 $as_echo "$ld_cv_string_concatenation" >&6; }
17226 if test "$ld_cv_string_concatenation" = "yes"; then
17227 STRINGIFY=astring.sed
17229 STRINGIFY=ostring.sed
17233 # target-specific stuff:
17242 elf_list_options=false
17243 elf_shlib_list_options=false
17244 elf_plt_unwind_list_options=false
17245 for targ_alias in `echo $target_alias $enable_targets |
sed 's/,/ /g'`
17247 if test "$targ_alias" = "all"; then
17249 elf_list_options=true
17250 elf_shlib_list_options=true
17251 elf_plt_unwind_list_options=true
17253 # Canonicalize the secondary target names.
17254 result=`$ac_config_sub $targ_alias 2>/dev
/null
`
17255 if test -n "$result"; then
17261 . ${srcdir}/configure.tgt
17263 if test "$targ" = "$target"; then
17267 if test x${enable_64_bit_bfd} = xno; then
17268 . ${srcdir}/../bfd/config.bfd
17271 if test x${enable_64_bit_bfd} = xyes; then
17272 targ_extra_emuls="$targ_extra_emuls $targ64_extra_emuls"
17273 targ_extra_libpath="$targ_extra_libpath $targ64_extra_libpath"
17276 for i in $targ_emul $targ_extra_emuls $targ_extra_libpath; do
17277 case " $all_emuls " in
17280 all_emuls="$all_emuls e${i}.o"
17281 eval result=\$tdir_$i
17282 test -z "$result" && result=$targ_alias
17287 elf_list_options=true
17290 if $GREP "TEMPLATE_NAME=elf" ${srcdir}/emulparams/${i}.sh >/dev/null 2>/dev/null; then
17291 elf_list_options=true
17295 if test "$elf_list_options" = "true"; then
17300 source_sh ${srcdir}/emulparams/${i}.sh
17301 if test x${GENERATE_SHLIB_SCRIPT} = xyes; then
17302 elf_shlib_list_options=true
17304 if test x${PLT_UNWIND} = xyes; then
17305 elf_plt_unwind_list_options=true
17312 for i in $targ_emul $targ_extra_libpath; do
17313 case " $all_libpath " in
17316 if test -z "$all_libpath"; then
17319 all_libpath="$all_libpath ${i}"
17325 for i in $targ_extra_ofiles; do
17326 case " $all_emul_extras " in
17329 all_emul_extras="$all_emul_extras ${i}"
17337 if test x$ac_default_compressed_debug_sections = xyes ; then
17339 $as_echo "#define DEFAULT_FLAG_COMPRESS_DEBUG 1" >>confdefs.h
17343 if test "${ac_default_new_dtags}" = unset; then
17344 ac_default_new_dtags=0
17347 cat >>confdefs.h <<_ACEOF
17348 #define DEFAULT_NEW_DTAGS $ac_default_new_dtags
17352 if test "${ac_default_ld_z_relro}" = unset; then
17353 ac_default_ld_z_relro=0
17356 cat >>confdefs.h <<_ACEOF
17357 #define DEFAULT_LD_Z_RELRO $ac_default_ld_z_relro
17361 ac_default_ld_textrel_check_warning=0
17362 case "${ac_default_ld_textrel_check}" in
17364 ac_default_ld_textrel_check=textrel_check_none
17367 ac_default_ld_textrel_check=textrel_check_warning
17368 ac_default_ld_textrel_check_warning=1
17371 ac_default_ld_textrel_check=textrel_check_error
17375 cat >>confdefs.h <<_ACEOF
17376 #define DEFAULT_LD_TEXTREL_CHECK $ac_default_ld_textrel_check
17380 cat >>confdefs.h <<_ACEOF
17381 #define DEFAULT_LD_TEXTREL_CHECK_WARNING $ac_default_ld_textrel_check_warning
17385 if test "${ac_default_ld_z_separate_code}" = unset; then
17386 ac_default_ld_z_separate_code=0
17389 cat >>confdefs.h <<_ACEOF
17390 #define DEFAULT_LD_Z_SEPARATE_CODE $ac_default_ld_z_separate_code
17396 cat >>confdefs.h <<_ACEOF
17397 #define DEFAULT_LD_WARN_EXECSTACK $ac_default_ld_warn_execstack
17401 if test "${ac_default_ld_warn_rwx_segments}" = unset; then
17402 ac_default_ld_warn_rwx_segments=1
17405 cat >>confdefs.h <<_ACEOF
17406 #define DEFAULT_LD_WARN_RWX_SEGMENTS $ac_default_ld_warn_rwx_segments
17410 if test "${ac_default_ld_default_execstack}" = unset; then
17411 ac_default_ld_default_execstack=1
17414 cat >>confdefs.h <<_ACEOF
17415 #define DEFAULT_LD_EXECSTACK $ac_default_ld_default_execstack
17420 if test "${ac_support_error_handling_script}" = unset; then
17421 ac_support_error_handling_script=1
17424 cat >>confdefs.h <<_ACEOF
17425 #define SUPPORT_ERROR_HANDLING_SCRIPT $ac_support_error_handling_script
17430 cat >>confdefs.h <<_ACEOF
17431 #define DEFAULT_EMIT_SYSV_HASH $ac_default_emit_sysv_hash
17436 cat >>confdefs.h <<_ACEOF
17437 #define DEFAULT_EMIT_GNU_HASH $ac_default_emit_gnu_hash
17449 if test x${all_targets} = xtrue; then
17450 if test x${enable_64_bit_bfd} = xyes; then
17451 EMULATION_OFILES='$(ALL_EMULATIONS) $(ALL_64_EMULATIONS)'
17452 EMUL_EXTRA_OFILES='$(ALL_EMUL_EXTRA_OFILES) $(ALL_64_EMUL_EXTRA_OFILES)'
17454 EMULATION_OFILES='$(ALL_EMULATIONS)'
17455 EMUL_EXTRA_OFILES='$(ALL_EMUL_EXTRA_OFILES)'
17458 EMULATION_OFILES=$all_emuls
17459 EMUL_EXTRA_OFILES=$all_emul_extras
17465 EMULATION_LIBPATH=$all_libpath
17468 if test x${enable_static} = xno; then
17469 TESTBFDLIB="-Wl,--rpath,../bfd/.libs ../bfd/.libs/libbfd.so"
17470 TESTCTFLIB="-Wl,--rpath,../libctf/.libs ../libctf/.libs/libctf.so"
17472 TESTBFDLIB="../bfd/.libs/libbfd.a"
17473 TESTCTFLIB="../libctf/.libs/libctf.a"
17475 if test "${enable_libctf}" = no; then
17481 target_vendor=${target_vendor=$host_vendor}
17482 case "$target_vendor" in
17483 hp) EXTRA_SHLIB_EXTENSION=".sl" ;;
17484 *) EXTRA_SHLIB_EXTENSION= ;;
17487 case "$target_os" in
17488 lynxos) EXTRA_SHLIB_EXTENSION=".a" ;;
17491 if test x${EXTRA_SHLIB_EXTENSION} != x ; then
17493 cat >>confdefs.h <<_ACEOF
17494 #define EXTRA_SHLIB_EXTENSION "$EXTRA_SHLIB_EXTENSION"
17499 ac_config_commands="$ac_config_commands default"
17507 ac_config_files="$ac_config_files Makefile po/Makefile.in:po/Make-in"
17509 cat >confcache <<\_ACEOF
17510 # This file is a shell script that caches the results of configure
17511 # tests run on this system so they can be shared between configure
17512 # scripts and configure runs, see configure's option --config-cache.
17513 # It is not useful on other systems. If it contains results you don't
17514 # want to keep, you may remove or edit it.
17516 # config.status only pays attention to the cache file if you give it
17517 # the --recheck option to rerun configure.
17519 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
17520 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17521 # following values.
17525 # The following way of writing the cache mishandles newlines in values,
17526 # but we know of no workaround that is simple, portable, and efficient.
17527 # So, we kill variables containing newlines.
17528 # Ultrix sh set writes to stderr and can't be redirected directly,
17529 # and sets the high bit in the cache file unless we assign to the vars.
17531 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17532 eval ac_val
=\$
$ac_var
17536 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17537 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17540 _ | IFS | as_nl
) ;; #(
17541 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
17542 *) { eval $ac_var=; unset $ac_var;} ;;
17548 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17549 *${as_nl}ac_space
=\
*)
17550 # `set' does not quote correctly, so add quotes: double-quote
17551 # substitution turns \\\\ into \\, and sed turns \\ into \.
17554 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17557 # `set' quotes correctly as required by POSIX, so do not add quotes.
17558 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17567 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17569 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17571 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
17572 if test -w "$cache_file"; then
17573 if test "x$cache_file" != "x/dev/null"; then
17574 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17575 $as_echo "$as_me: updating cache $cache_file" >&6;}
17576 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
17577 cat confcache
>"$cache_file"
17579 case $cache_file in #(
17581 mv -f confcache
"$cache_file"$$
&&
17582 mv -f "$cache_file"$$
"$cache_file" ;; #(
17584 mv -f confcache
"$cache_file" ;;
17589 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17590 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17595 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
17596 # Let make expand exec_prefix.
17597 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
17599 DEFS
=-DHAVE_CONFIG_H
17604 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
17605 # 1. Remove the extension, and $U if already installed.
17606 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
17607 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
17608 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17609 # will be set to the directory where LIBOBJS objects are built.
17610 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17611 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
17613 LIBOBJS
=$ac_libobjs
17615 LTLIBOBJS
=$ac_ltlibobjs
17618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
17619 $as_echo_n "checking that generated files are newer than configure... " >&6; }
17620 if test -n "$am_sleep_pid"; then
17621 # Hide warnings about reused PIDs.
17622 wait $am_sleep_pid 2>/dev
/null
17624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
17625 $as_echo "done" >&6; }
17626 if test -n "$EXEEXT"; then
17628 am__EXEEXT_FALSE
='#'
17630 am__EXEEXT_TRUE
='#'
17634 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
17635 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
17636 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17638 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
17639 as_fn_error $?
"conditional \"AMDEP\" was never defined.
17640 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17642 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
17643 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
17644 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17646 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
17647 as_fn_error $?
"conditional \"am__fastdepCXX\" was never defined.
17648 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17650 if test -z "${ENABLE_BFD_64_BIT_TRUE}" && test -z "${ENABLE_BFD_64_BIT_FALSE}"; then
17651 as_fn_error $?
"conditional \"ENABLE_BFD_64_BIT\" was never defined.
17652 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17654 if test -z "${ENABLE_LIBCTF_TRUE}" && test -z "${ENABLE_LIBCTF_FALSE}"; then
17655 as_fn_error $?
"conditional \"ENABLE_LIBCTF\" was never defined.
17656 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17658 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
17659 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
17660 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17662 if test -z "${GENINSRC_NEVER_TRUE}" && test -z "${GENINSRC_NEVER_FALSE}"; then
17663 as_fn_error $?
"conditional \"GENINSRC_NEVER\" was never defined.
17664 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17667 : "${CONFIG_STATUS=./config.status}"
17669 ac_clean_files_save
=$ac_clean_files
17670 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
17671 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17672 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17674 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17676 # Generated by $as_me.
17677 # Run this file to recreate the current configuration.
17678 # Compiler output produced by configure, useful for debugging
17679 # configure, is in config.log if it exists.
17682 ac_cs_recheck=false
17685 SHELL=\${CONFIG_SHELL-$SHELL}
17688 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
17689 ## -------------------- ##
17690 ## M4sh Initialization. ##
17691 ## -------------------- ##
17693 # Be more Bourne compatible
17694 DUALCASE
=1; export DUALCASE
# for MKS sh
17695 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
17698 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17699 # is contrary to our usage. Disable this feature.
17700 alias -g '${1+"$@"}'='"$@"'
17701 setopt NO_GLOB_SUBST
17703 case `(set -o) 2>/dev/null` in #(
17715 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17716 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17717 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17718 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17719 # Prefer a ksh shell builtin over an external printf program on Solaris,
17720 # but without wasting forks for bash or zsh.
17721 if test -z "$BASH_VERSION$ZSH_VERSION" \
17722 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17723 as_echo='print
-r --'
17724 as_echo_n='print
-rn --'
17725 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17726 as_echo='printf %s
\n'
17727 as_echo_n='printf %s
'
17729 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17730 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
17731 as_echo_n='/usr
/ucb
/echo -n'
17733 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17734 as_echo_n_body='eval
17738 expr "X$arg" : "X\\(.*\\)$as_nl";
17739 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17741 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
17743 export as_echo_n_body
17744 as_echo_n='sh
-c $as_echo_n_body as_echo
'
17746 export as_echo_body
17747 as_echo='sh
-c $as_echo_body as_echo
'
17750 # The user is always right.
17751 if test "${PATH_SEPARATOR+set}" != set; then
17753 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17754 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17761 # We need space, tab and new line, in precisely that order. Quoting is
17762 # there to prevent editors from complaining about space-tab.
17763 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17764 # splitting by setting IFS to empty value.)
17767 # Find who we are. Look in the path if we contain no directory separator.
17770 *[\\/]* ) as_myself=$0 ;;
17771 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17772 for as_dir in $PATH
17775 test -z "$as_dir" && as_dir=.
17776 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17782 # We did not find ourselves, most probably we were run as `sh COMMAND'
17783 # in which case we are not to be found in the path.
17784 if test "x$as_myself" = x
; then
17787 if test ! -f "$as_myself"; then
17788 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17792 # Unset variables that we do not need and which cause bugs (e.g. in
17793 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
17794 # suppresses any "Segmentation fault" message there. '((' could
17795 # trigger a bug in pdksh 5.2.14.
17796 for as_var
in BASH_ENV ENV MAIL MAILPATH
17797 do eval test x\
${$as_var+set} = xset \
17798 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
17811 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
17814 # as_fn_error STATUS ERROR [LINENO LOG_FD]
17815 # ----------------------------------------
17816 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17817 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17818 # script with STATUS, using 1 if that was 0.
17821 as_status
=$1; test $as_status -eq 0 && as_status
=1
17823 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
17824 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17826 $as_echo "$as_me: error: $2" >&2
17827 as_fn_exit
$as_status
17831 # as_fn_set_status STATUS
17832 # -----------------------
17833 # Set $? to STATUS, without forking.
17834 as_fn_set_status
()
17837 } # as_fn_set_status
17839 # as_fn_exit STATUS
17840 # -----------------
17841 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17845 as_fn_set_status
$1
17851 # Portably unset VAR.
17854 { eval $1=; unset $1;}
17856 as_unset
=as_fn_unset
17857 # as_fn_append VAR VALUE
17858 # ----------------------
17859 # Append the text in VALUE to the end of the definition contained in VAR. Take
17860 # advantage of any shell optimizations that allow amortized linear growth over
17861 # repeated appends, instead of the typical quadratic growth present in naive
17863 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
17864 eval 'as_fn_append ()
17875 # as_fn_arith ARG...
17876 # ------------------
17877 # Perform arithmetic evaluation on the ARGs, and store the result in the
17878 # global $as_val. Take advantage of shells that can avoid forks. The arguments
17879 # must be portable across $(()) and expr.
17880 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
17881 eval 'as_fn_arith ()
17888 as_val
=`expr "$@" || test $? -eq 1`
17893 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
17894 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
17900 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17901 as_basename
=basename
17906 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
17912 as_me
=`$as_basename -- "$0" ||
17913 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17914 X"$0" : 'X\(//\)$' \| \
17915 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17917 sed '/^.*\/\([^/][^/]*\)\/*$/{
17931 # Avoid depending upon Character Ranges.
17932 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
17933 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17934 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
17935 as_cr_digits
='0123456789'
17936 as_cr_alnum
=$as_cr_Letters$as_cr_digits
17938 ECHO_C
= ECHO_N
= ECHO_T
=
17939 case `echo -n x` in #(((((
17941 case `echo 'xy\c'` in
17942 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
17944 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
17951 rm -f conf$$ conf$$.exe conf$$.
file
17952 if test -d conf$$.dir
; then
17953 rm -f conf$$.dir
/conf$$.
file
17956 mkdir conf$$.dir
2>/dev
/null
17958 if (echo >conf$$.
file) 2>/dev
/null
; then
17959 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
17961 # ... but there are two gotchas:
17962 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17963 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17964 # In both cases, we have to default to `cp -pR'.
17965 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
17967 elif ln conf$$.
file conf$$
2>/dev
/null
; then
17975 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
17976 rmdir conf$$.dir
2>/dev
/null
17981 # Create "$as_dir" as a directory, including parents if necessary.
17986 -*) as_dir
=.
/$as_dir;;
17988 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
17992 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17993 *) as_qdir
=$as_dir;;
17995 as_dirs
="'$as_qdir' $as_dirs"
17996 as_dir
=`$as_dirname -- "$as_dir" ||
17997 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17998 X"$as_dir" : 'X\(//\)[^/]' \| \
17999 X"$as_dir" : 'X\(//\)$' \| \
18000 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18001 $as_echo X"$as_dir" |
18002 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18006 /^X\(\/\/\)[^/].*/{
18019 test -d "$as_dir" && break
18021 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
18022 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
18026 if mkdir
-p .
2>/dev
/null
; then
18027 as_mkdir_p
='mkdir -p "$as_dir"'
18029 test -d .
/-p && rmdir .
/-p
18034 # as_fn_executable_p FILE
18035 # -----------------------
18036 # Test if FILE is an executable regular file.
18037 as_fn_executable_p
()
18039 test -f "$1" && test -x "$1"
18040 } # as_fn_executable_p
18041 as_test_x
='test -x'
18042 as_executable_p
=as_fn_executable_p
18044 # Sed expression to map a string onto a valid CPP name.
18045 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18047 # Sed expression to map a string onto a valid variable name.
18048 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18052 ## ----------------------------------- ##
18053 ## Main body of $CONFIG_STATUS script. ##
18054 ## ----------------------------------- ##
18056 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
18058 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18059 # Save the log message, to keep $0 and so on meaningful, and to
18060 # report actual input values of CONFIG_FILES etc. instead of their
18061 # values after options handling.
18063 This file was extended by ld $as_me 2.39.50, which was
18064 generated by GNU Autoconf 2.69. Invocation command line was
18066 CONFIG_FILES = $CONFIG_FILES
18067 CONFIG_HEADERS = $CONFIG_HEADERS
18068 CONFIG_LINKS = $CONFIG_LINKS
18069 CONFIG_COMMANDS = $CONFIG_COMMANDS
18072 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18077 case $ac_config_files in *"
18078 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
18081 case $ac_config_headers in *"
18082 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
18086 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18087 # Files that config.status was made for.
18088 config_files="$ac_config_files"
18089 config_headers="$ac_config_headers"
18090 config_commands="$ac_config_commands"
18094 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18096 \`$as_me' instantiates files and other configuration actions
18097 from templates according to the current configuration. Unless the files
18098 and actions are specified as TAGs, all are instantiated by default.
18100 Usage: $0 [OPTION]... [TAG]...
18102 -h, --help print this help, then exit
18103 -V, --version print version number and configuration settings, then exit
18104 --config print configuration, then exit
18105 -q, --quiet, --silent
18106 do not print progress messages
18107 -d, --debug don't remove temporary files
18108 --recheck update $as_me by reconfiguring in the same conditions
18109 --file=FILE[:TEMPLATE]
18110 instantiate the configuration file FILE
18111 --header=FILE[:TEMPLATE]
18112 instantiate the configuration header FILE
18114 Configuration files:
18117 Configuration headers:
18120 Configuration commands:
18123 Report bugs to the package provider."
18126 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18127 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18129 ld config.status 2.39.50
18130 configured by $0, generated by GNU Autoconf 2.69,
18131 with options \\"\$ac_cs_config\\"
18133 Copyright (C) 2012 Free Software Foundation, Inc.
18134 This config.status script is free software; the Free Software Foundation
18135 gives unlimited permission to copy, distribute and modify it."
18142 test -n "\$AWK" || AWK=awk
18145 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18146 # The default lists apply if the user does not specify any file.
18152 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18153 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
18157 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18169 # Handling of the options.
18170 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
18172 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
18173 $as_echo "$ac_cs_version"; exit ;;
18174 --config |
--confi |
--conf |
--con |
--co |
--c )
18175 $as_echo "$ac_cs_config"; exit ;;
18176 --debug |
--debu |
--deb |
--de |
--d |
-d )
18178 --file |
--fil |
--fi |
--f )
18181 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18182 '') as_fn_error $?
"missing file argument" ;;
18184 as_fn_append CONFIG_FILES
" '$ac_optarg'"
18185 ac_need_defaults
=false
;;
18186 --header |
--heade |
--head |
--hea )
18189 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18191 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
18192 ac_need_defaults
=false
;;
18194 # Conflict between --help and --header
18195 as_fn_error $?
"ambiguous option: \`$1'
18196 Try \`$0 --help' for more information.";;
18197 --help |
--hel |
-h )
18198 $as_echo "$ac_cs_usage"; exit ;;
18199 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
18200 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
18203 # This is an error.
18204 -*) as_fn_error $?
"unrecognized option: \`$1'
18205 Try \`$0 --help' for more information." ;;
18207 *) as_fn_append ac_config_targets
" $1"
18208 ac_need_defaults
=false
;;
18214 ac_configure_extra_args
=
18216 if $ac_cs_silent; then
18218 ac_configure_extra_args
="$ac_configure_extra_args --silent"
18222 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18223 if \$ac_cs_recheck; then
18224 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18226 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18227 CONFIG_SHELL='$SHELL'
18228 export CONFIG_SHELL
18233 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18237 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18238 ## Running $as_me. ##
18244 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18248 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
18251 # The HP-UX ksh and POSIX shell print the target directory to stdout
18252 # if CDPATH is set.
18253 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18255 sed_quote_subst='$sed_quote_subst'
18256 double_quote_subst='$double_quote_subst'
18257 delay_variable_subst='$delay_variable_subst'
18258 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
18259 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
18260 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
18261 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
18262 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
18263 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
18264 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
18265 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
18266 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
18267 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
18268 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
18269 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
18270 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
18271 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
18272 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
18273 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
18274 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
18275 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
18276 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
18277 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
18278 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
18279 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
18280 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
18281 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
18282 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
18283 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
18284 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
18285 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
18286 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
18287 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
18288 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
18289 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
18290 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
18291 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
18292 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
18293 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
18294 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
18295 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
18296 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
18297 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
18298 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
18299 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
18300 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
18301 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
18302 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
18303 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
18304 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
18305 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
18306 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"`'
18307 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
18308 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
18309 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
18310 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
18311 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
18312 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
18313 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
18314 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
18315 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
18316 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
18317 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
18318 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
18319 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
18320 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
18321 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
18322 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
18323 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
18324 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
18325 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
18326 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
18327 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
18328 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
18329 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
18330 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
18331 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
18332 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
18333 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
18334 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
18335 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
18336 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
18337 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
18338 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
18339 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
18340 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
18341 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
18342 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
18343 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
18344 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
18345 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
18346 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
18347 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
18348 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
18349 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
18350 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
18351 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
18352 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
18353 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
18354 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
18355 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
18356 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
18357 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
18358 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
18359 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
18360 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
18361 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
18362 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
18363 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
18364 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
18365 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
18366 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
18367 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
18368 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
18369 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
18370 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
18371 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
18372 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
18373 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
18374 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
18375 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
18376 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
18377 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
18378 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
18379 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
18380 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
18381 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
18382 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
18383 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
18384 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
18385 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
18386 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18387 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18388 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
18389 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
18390 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
18391 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
18392 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
18393 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
18394 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
18395 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
18396 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
18397 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
18398 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
18399 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
18400 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18401 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18402 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18403 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18404 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18405 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18406 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
18407 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
18408 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
18409 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
18410 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
18411 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
18412 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
18413 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
18414 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
18415 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
18416 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
18417 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
18418 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
18419 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
18420 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
18421 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18422 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
18423 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
18424 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18425 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
18426 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
18427 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
18428 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
18429 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
18430 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
18431 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
18432 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
18435 LTCFLAGS='$LTCFLAGS'
18436 compiler='$compiler_DEFAULT'
18438 # A function that is used when there is no print builtin or printf.
18439 func_fallback_echo ()
18441 eval 'cat <<_LTECHO_EOF
18446 # Quote evaled strings.
18460 deplibs_check_method \
18469 lt_cv_sys_global_symbol_pipe \
18470 lt_cv_sys_global_symbol_to_cdecl \
18471 lt_cv_sys_global_symbol_to_c_name_address \
18472 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
18473 lt_prog_compiler_no_builtin_flag \
18474 lt_prog_compiler_wl \
18475 lt_prog_compiler_pic \
18476 lt_prog_compiler_static \
18477 lt_cv_prog_compiler_c_o \
18485 export_dynamic_flag_spec \
18486 whole_archive_flag_spec \
18487 compiler_needs_object \
18489 allow_undefined_flag \
18490 no_undefined_flag \
18491 hardcode_libdir_flag_spec \
18492 hardcode_libdir_flag_spec_ld \
18493 hardcode_libdir_separator \
18498 variables_saved_for_relink \
18500 library_names_spec \
18502 install_override_mode \
18506 compiler_lib_search_dirs \
18511 compiler_lib_search_path \
18515 lt_prog_compiler_no_builtin_flag_CXX \
18516 lt_prog_compiler_wl_CXX \
18517 lt_prog_compiler_pic_CXX \
18518 lt_prog_compiler_static_CXX \
18519 lt_cv_prog_compiler_c_o_CXX \
18520 export_dynamic_flag_spec_CXX \
18521 whole_archive_flag_spec_CXX \
18522 compiler_needs_object_CXX \
18524 allow_undefined_flag_CXX \
18525 no_undefined_flag_CXX \
18526 hardcode_libdir_flag_spec_CXX \
18527 hardcode_libdir_flag_spec_ld_CXX \
18528 hardcode_libdir_separator_CXX \
18529 fix_srcfile_path_CXX \
18530 exclude_expsyms_CXX \
18531 include_expsyms_CXX \
18532 file_list_spec_CXX \
18533 compiler_lib_search_dirs_CXX \
18534 predep_objects_CXX \
18535 postdep_objects_CXX \
18538 compiler_lib_search_path_CXX; do
18539 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18540 *[\\\\\\\`\\"\\\$]*)
18541 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
18544 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18549 # Double-quote double-evaled strings.
18550 for var in reload_cmds \
18551 old_postinstall_cmds \
18552 old_postuninstall_cmds \
18554 extract_expsyms_cmds \
18555 old_archive_from_new_cmds \
18556 old_archive_from_expsyms_cmds \
18558 archive_expsym_cmds \
18560 module_expsym_cmds \
18561 export_symbols_cmds \
18564 postuninstall_cmds \
18566 sys_lib_search_path_spec \
18567 sys_lib_dlsearch_path_spec \
18569 old_archive_cmds_CXX \
18570 old_archive_from_new_cmds_CXX \
18571 old_archive_from_expsyms_cmds_CXX \
18573 archive_expsym_cmds_CXX \
18575 module_expsym_cmds_CXX \
18576 export_symbols_cmds_CXX \
18577 prelink_cmds_CXX; do
18578 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18579 *[\\\\\\\`\\"\\\$]*)
18580 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
18583 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18588 ac_aux_dir='$ac_aux_dir'
18589 xsi_shell='$xsi_shell'
18590 lt_shell_append='$lt_shell_append'
18592 # See if we are running on zsh, and set the options which allow our
18593 # commands through without removal of \ escapes INIT.
18594 if test -n "\${ZSH_VERSION+set}" ; then
18595 setopt NO_GLOB_SUBST
18601 TIMESTAMP='$TIMESTAMP'
18609 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
18610 # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
18612 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
18613 # Capture the value of LINGUAS because we need it to compute CATALOGS.
18614 LINGUAS="${LINGUAS-%UNSET%}"
18620 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18622 # Handling of arguments.
18623 for ac_config_target
in $ac_config_targets
18625 case $ac_config_target in
18626 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
18627 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
18628 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
18629 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
18630 "default") CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
18631 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
18632 "po/Makefile.in") CONFIG_FILES
="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
18634 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18639 # If the user did not use the arguments to specify the items to instantiate,
18640 # then the envvar interface is used. Set only those that are not.
18641 # We use the long form for the default assignment because of an extremely
18642 # bizarre bug on SunOS 4.1.3.
18643 if $ac_need_defaults; then
18644 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
18645 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
18646 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
18649 # Have a temporary directory for convenience. Make it in the build tree
18650 # simply because there is no reason against having it here, and in addition,
18651 # creating and moving files from /tmp can sometimes cause problems.
18652 # Hook for its removal unless debugging.
18653 # Note that there is a small window in which the directory will not be cleaned:
18654 # after its creation but before its name has been assigned to `$tmp'.
18658 trap 'exit_status=$?
18659 : "${ac_tmp:=$tmp}"
18660 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18662 trap 'as_fn_exit 1' 1 2 13 15
18664 # Create a (secure) tmp directory for tmp files.
18667 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18671 tmp
=.
/conf$$
-$RANDOM
18672 (umask 077 && mkdir
"$tmp")
18673 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
18676 # Set up the scripts for CONFIG_FILES section.
18677 # No need to generate them if there are no CONFIG_FILES.
18678 # This happens for instance with `./config.status config.h'.
18679 if test -n "$CONFIG_FILES"; then
18682 ac_cr
=`echo X | tr X '\015'`
18683 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18684 # But we know of no other shell where ac_cr would be empty at this
18685 # point, so we can use a bashism as a fallback.
18686 if test "x$ac_cr" = x
; then
18687 eval ac_cr
=\$
\'\\r
\'
18689 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18690 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18693 ac_cs_awk_cr
=$ac_cr
18696 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18701 echo "cat >conf$$subs.awk <<_ACEOF" &&
18702 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18704 } >conf$$subs.sh ||
18705 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18706 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18708 for ac_last_try in false false false false false :; do
18709 . ./conf$$subs.sh ||
18710 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18712 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
18713 if test $ac_delim_n = $ac_delim_num; then
18715 elif $ac_last_try; then
18716 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18718 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18721 rm -f conf$$subs.sh
18723 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18724 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
18728 s/^/S["/; s
/!.
*/"]=/
18738 s/\(.\{148\}\)..*/\1/
18740 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
18745 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18752 s/\(.\{148\}\)..*/\1/
18754 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
18758 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18763 ' <conf$$subs.awk | sed '
18768 ' >>$CONFIG_STATUS || ac_write_fail=1
18769 rm -f conf$$subs.awk
18770 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18772 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
18773 for (key in S) S_is_set[key] = 1
18779 nfields = split(line, field, "@
")
18781 len = length(field[1])
18782 for (i = 2; i < nfields; i++) {
18784 keylen = length(key)
18785 if (S_is_set[key]) {
18787 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18788 len += length(value) + length(field[++i])
18799 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18800 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18801 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
18804 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
18805 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
18808 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18809 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
18810 # trailing colons and then remove the whole line if VPATH becomes empty
18811 # (actually we leave an empty line to preserve line numbers).
18812 if test "x
$srcdir" = x.; then
18813 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18831 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18832 fi # test -n "$CONFIG_FILES"
18834 # Set up the scripts for CONFIG_HEADERS section.
18835 # No need to generate them if there are no CONFIG_HEADERS.
18836 # This happens for instance with `./config.status Makefile'.
18837 if test -n "$CONFIG_HEADERS"; then
18838 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
18842 # Transform confdefs.h into an awk script `defines.awk', embedded as
18843 # here-document in config.status, that substitutes the proper values into
18844 # config.h.in to produce config.h.
18846 # Create a delimiter string that does not exist in confdefs.h, to ease
18847 # handling of long lines.
18849 for ac_last_try in false false :; do
18850 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
18851 if test -z "$ac_tt"; then
18853 elif $ac_last_try; then
18854 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
18856 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18860 # For the awk script, D is an array of macro values keyed by name,
18861 # likewise P contains macro parameters if any. Preserve backslash
18862 # newline sequences.
18864 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18866 s/.\{148\}/&'"$ac_delim"'/g
18869 s/^[ ]*#[ ]*define[ ][ ]*/ /
18876 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
18878 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
18882 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
18883 D["\
1"]=" \
3\\\\\\n
"\\/p
18885 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
18890 s/.\{148\}/&'"$ac_delim"'/g
18895 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
18898 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
18900 ' <confdefs.h | sed '
18901 s/'"$ac_delim"'/"\\\
18902 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18904 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18905 for (key in D) D_is_set[key] = 1
18908 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18910 split(line, arg, " ")
18911 if (arg[1] == "#") {
18915 defundef
= substr
(arg
[1], 2)
18918 split(mac1
, mac2
, "(") #)
18920 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
18921 if (D_is_set
[macro
]) {
18922 # Preserve the white space surrounding the "#".
18923 print prefix
"define", macro P
[macro
] D
[macro
]
18926 # Replace #undef with comments. This is necessary, for example,
18927 # in the case of _POSIX_SOURCE, which is predefined and required
18928 # on some systems where configure will not decide to define it.
18929 if (defundef
== "undef") {
18930 print
"/*", prefix defundef
, macro
, "*/"
18938 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18939 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
18940 fi # test -n "$CONFIG_HEADERS"
18943 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
18948 :[FHLC
]) ac_mode
=$ac_tag; continue;;
18950 case $ac_mode$ac_tag in
18952 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
18953 :[FH
]-) ac_tag
=-:-;;
18954 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
18971 -) ac_f
="$ac_tmp/stdin";;
18972 *) # Look for the file first in the build tree, then in the source tree
18973 # (if the path is not absolute). The absolute path cannot be DOS-style,
18974 # because $ac_f cannot contain `:'.
18978 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
18980 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18982 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18983 as_fn_append ac_file_inputs
" '$ac_f'"
18986 # Let's still pretend it is `configure' which instantiates (i.e., don't
18987 # use $as_me), people would be surprised to read:
18988 # /* config.h. Generated by config.status. */
18989 configure_input
='Generated from '`
18990 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18992 if test x
"$ac_file" != x-
; then
18993 configure_input
="$ac_file. $configure_input"
18994 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18995 $as_echo "$as_me: creating $ac_file" >&6;}
18997 # Neutralize special characters interpreted by sed in replacement strings.
18998 case $configure_input in #(
18999 *\
&* |
*\|
* |
*\\* )
19000 ac_sed_conf_input
=`$as_echo "$configure_input" |
19001 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19002 *) ac_sed_conf_input
=$configure_input;;
19006 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
19007 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
19012 ac_dir
=`$as_dirname -- "$ac_file" ||
19013 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19014 X"$ac_file" : 'X\(//\)[^/]' \| \
19015 X"$ac_file" : 'X\(//\)$' \| \
19016 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19017 $as_echo X"$ac_file" |
19018 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19022 /^X\(\/\/\)[^/].*/{
19035 as_dir
="$ac_dir"; as_fn_mkdir_p
19039 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
19041 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19042 # A ".." for each directory in $ac_dir_suffix.
19043 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19044 case $ac_top_builddir_sub in
19045 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
19046 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
19049 ac_abs_top_builddir
=$ac_pwd
19050 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
19051 # for backward compatibility:
19052 ac_top_builddir
=$ac_top_build_prefix
19055 .
) # We are building in place.
19057 ac_top_srcdir
=$ac_top_builddir_sub
19058 ac_abs_top_srcdir
=$ac_pwd ;;
19059 [\\/]* | ?
:[\\/]* ) # Absolute name.
19060 ac_srcdir
=$srcdir$ac_dir_suffix;
19061 ac_top_srcdir
=$srcdir
19062 ac_abs_top_srcdir
=$srcdir ;;
19063 *) # Relative name.
19064 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
19065 ac_top_srcdir
=$ac_top_build_prefix$srcdir
19066 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
19068 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
19078 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
19079 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
19081 ac_MKDIR_P
=$MKDIR_P
19083 [\\/$
]* | ?
:[\\/]* ) ;;
19084 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
19088 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19089 # If the template does not know about datarootdir, expand it.
19090 # FIXME: This hack should be removed a few years after 2.60.
19091 ac_datarootdir_hack
=; ac_datarootdir_seen
=
19102 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19103 *datarootdir
*) ac_datarootdir_seen
=yes;;
19104 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
19105 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19106 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19108 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19109 ac_datarootdir_hack='
19110 s&@datadir@&$datadir&g
19111 s&@docdir@&$docdir&g
19112 s&@infodir@&$infodir&g
19113 s&@localedir@&$localedir&g
19114 s&@mandir@&$mandir&g
19115 s&\\\${datarootdir}&$datarootdir&g' ;;
19119 # Neutralize VPATH when `$srcdir' = `.'.
19120 # Shell code in configure.ac might set extrasub.
19121 # FIXME: do we really want to maintain this feature?
19122 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19123 ac_sed_extra="$ac_vpsub
19126 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19128 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
19129 s|@configure_input@|
$ac_sed_conf_input|
;t t
19130 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
19131 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
19132 s
&@srcdir@
&$ac_srcdir&;t t
19133 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
19134 s
&@top_srcdir@
&$ac_top_srcdir&;t t
19135 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
19136 s
&@builddir@
&$ac_builddir&;t t
19137 s
&@abs_builddir@
&$ac_abs_builddir&;t t
19138 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
19139 s
&@INSTALL@
&$ac_INSTALL&;t t
19140 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
19141 $ac_datarootdir_hack
19143 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
19144 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
19146 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19147 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
19148 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19149 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
19150 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
19151 which seems to be undefined. Please make sure it is defined" >&5
19152 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
19153 which seems to be undefined. Please make sure it is defined" >&2;}
19155 rm -f "$ac_tmp/stdin"
19157 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19158 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19160 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19166 if test x"$ac_file" != x-; then
19168 $as_echo "/* $configure_input */" \
19169 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19170 } >"$ac_tmp/config.h" \
19171 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19172 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19173 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19174 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19177 mv "$ac_tmp/config.h" "$ac_file" \
19178 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19181 $as_echo "/* $configure_input */" \
19182 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19183 || as_fn_error $? "could not create -" "$LINENO" 5
19185 # Compute "$ac_file"'s index
in $config_headers.
19188 for _am_header
in $config_headers :; do
19189 case $_am_header in
19190 $_am_arg |
$_am_arg:* )
19193 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
19196 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
19197 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19198 X"$_am_arg" : 'X\(//\)[^/]' \| \
19199 X"$_am_arg" : 'X\(//\)$' \| \
19200 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
19201 $as_echo X"$_am_arg" |
19202 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19206 /^X\(\/\/\)[^/].*/{
19218 s/.*/./; q'`/stamp-h
$_am_stamp_count
19221 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19222 $as_echo "$as_me: executing $ac_file commands" >&6;}
19227 case $ac_file$ac_mode in
19228 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
19229 # Older Autoconf quotes --file arguments for eval, but not when files
19230 # are listed without --file. Let's play safe and only enable the eval
19231 # if we detect the quoting.
19232 case $CONFIG_FILES in
19233 *\'*) eval set x
"$CONFIG_FILES" ;;
19234 *) set x
$CONFIG_FILES ;;
19239 # Strip MF so we end up with the name of the file.
19240 mf
=`echo "$mf" | sed -e 's/:.*$//'`
19241 # Check whether this is an Automake generated Makefile or not.
19242 # We used to match only the files named 'Makefile.in', but
19243 # some people rename them; so instead we look at the file content.
19244 # Grep'ing the first line is not enough: some people post-process
19245 # each Makefile.in and add a new line on top of each file to say so.
19246 # Grep'ing the whole file is not good either: AIX grep has a line
19247 # limit of 2048, but all sed's we know have understand at least 4000.
19248 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
19249 dirpart
=`$as_dirname -- "$mf" ||
19250 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19251 X"$mf" : 'X\(//\)[^/]' \| \
19252 X"$mf" : 'X\(//\)$' \| \
19253 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
19255 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19259 /^X\(\/\/\)[^/].*/{
19275 # Extract the definition of DEPDIR, am__include, and am__quote
19276 # from the Makefile without running 'make'.
19277 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
19278 test -z "$DEPDIR" && continue
19279 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
19280 test -z "$am__include" && continue
19281 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
19282 # Find all dependency output files, they are included files with
19283 # $(DEPDIR) in their names. We invoke sed twice because it is the
19284 # simplest approach to changing $(DEPDIR) to its actual value in the
19286 for file in `sed -n "
19287 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
19288 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
19289 # Make sure the directory exists.
19290 test -f "$dirpart/$file" && continue
19291 fdir
=`$as_dirname -- "$file" ||
19292 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19293 X"$file" : 'X\(//\)[^/]' \| \
19294 X"$file" : 'X\(//\)$' \| \
19295 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
19296 $as_echo X"$file" |
19297 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19301 /^X\(\/\/\)[^/].*/{
19314 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
19315 # echo "creating $dirpart/$file"
19316 echo '# dummy' > "$dirpart/$file"
19323 # See if we are running on zsh, and set the options which allow our
19324 # commands through without removal of \ escapes.
19325 if test -n "${ZSH_VERSION+set}" ; then
19326 setopt NO_GLOB_SUBST
19329 cfgfile
="${ofile}T"
19330 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
19333 cat <<_LT_EOF >> "$cfgfile"
19336 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
19337 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
19338 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19339 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
19341 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
19342 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
19343 # Written by Gordon Matzigkeit, 1996
19345 # This file is part of GNU Libtool.
19347 # GNU Libtool is free software; you can redistribute it and/or
19348 # modify it under the terms of the GNU General Public License as
19349 # published by the Free Software Foundation; either version 2 of
19350 # the License, or (at your option) any later version.
19352 # As a special exception to the GNU General Public License,
19353 # if you distribute this file as part of a program or library that
19354 # is built using GNU Libtool, you may include this file under the
19355 # same distribution terms that you use for the rest of that program.
19357 # GNU Libtool is distributed in the hope that it will be useful,
19358 # but WITHOUT ANY WARRANTY; without even the implied warranty of
19359 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19360 # GNU General Public License for more details.
19362 # You should have received a copy of the GNU General Public License
19363 # along with GNU Libtool; see the file COPYING. If not, a copy
19364 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
19365 # obtained by writing to the Free Software Foundation, Inc.,
19366 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
19369 # The names of the tagged configurations supported by this script.
19370 available_tags="CXX "
19372 # ### BEGIN LIBTOOL CONFIG
19374 # Which release of libtool.m4 was used?
19375 macro_version=$macro_version
19376 macro_revision=$macro_revision
19378 # Whether or not to build shared libraries.
19379 build_libtool_libs=$enable_shared
19381 # Whether or not to build static libraries.
19382 build_old_libs=$enable_static
19384 # What type of objects to build.
19387 # Whether or not to optimize for fast installation.
19388 fast_install=$enable_fast_install
19390 # Shell to use when invoking shell scripts.
19393 # An echo program that protects backslashes.
19397 host_alias=$host_alias
19401 # The build system.
19402 build_alias=$build_alias
19406 # A sed program that does not truncate output.
19409 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
19410 Xsed="\$SED -e 1s/^X//"
19412 # A grep program that handles long lines.
19418 # A literal string matcher.
19421 # A BSD- or MS-compatible name lister.
19424 # Whether we need soft or hard links.
19427 # What is the maximum length of a command?
19428 max_cmd_len=$max_cmd_len
19430 # Object file suffix (normally "o").
19433 # Executable file suffix (normally "").
19436 # whether the shell understands "unset".
19439 # turn spaces into newlines.
19442 # turn newlines into spaces.
19445 # An object symbol dumper.
19446 OBJDUMP=$lt_OBJDUMP
19448 # Method to check whether dependent libraries are shared objects.
19449 deplibs_check_method=$lt_deplibs_check_method
19451 # Command to use when deplibs_check_method == "file_magic".
19452 file_magic_cmd=$lt_file_magic_cmd
19456 AR_FLAGS=$lt_AR_FLAGS
19458 # A symbol stripping program.
19461 # Commands used to install an old-style archive.
19463 old_postinstall_cmds=$lt_old_postinstall_cmds
19464 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19466 # Whether to use a lock for old archive extraction.
19467 lock_old_archive_extraction=$lock_old_archive_extraction
19472 # LTCC compiler flags.
19473 LTCFLAGS=$lt_CFLAGS
19475 # Take the output of nm and produce a listing of raw symbols and C names.
19476 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19478 # Transform the output of nm in a proper C declaration.
19479 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19481 # Transform the output of nm in a C name address pair.
19482 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19484 # Transform the output of nm in a C name address pair when lib prefix is needed.
19485 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
19487 # The name of the directory that contains temporary libtool files.
19490 # Used to examine libraries when file_magic_cmd begins with "file".
19491 MAGIC_CMD=$MAGIC_CMD
19493 # Must we lock files when doing compilation?
19494 need_locks=$lt_need_locks
19496 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
19497 DSYMUTIL=$lt_DSYMUTIL
19499 # Tool to change global to local symbols on Mac OS X.
19502 # Tool to manipulate fat objects and archives on Mac OS X.
19505 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
19508 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
19509 OTOOL64=$lt_OTOOL64
19511 # Old archive suffix (normally "a").
19514 # Shared library suffix (normally ".so").
19515 shrext_cmds=$lt_shrext_cmds
19517 # The commands to extract the exported symbol list from a shared archive.
19518 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19520 # Variables whose values should be saved in libtool wrapper scripts and
19521 # restored at link time.
19522 variables_saved_for_relink=$lt_variables_saved_for_relink
19524 # Do we need the "lib" prefix for modules?
19525 need_lib_prefix=$need_lib_prefix
19527 # Do we need a version for libraries?
19528 need_version=$need_version
19530 # Library versioning type.
19531 version_type=$version_type
19533 # Shared library runtime path variable.
19534 runpath_var=$runpath_var
19536 # Shared library path variable.
19537 shlibpath_var=$shlibpath_var
19539 # Is shlibpath searched before the hard-coded library search path?
19540 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19542 # Format of library name prefix.
19543 libname_spec=$lt_libname_spec
19545 # List of archive names. First name is the real one, the rest are links.
19546 # The last name is the one that the linker finds with -lNAME
19547 library_names_spec=$lt_library_names_spec
19549 # The coded name of the library, if different from the real name.
19550 soname_spec=$lt_soname_spec
19552 # Permission mode override for installation of shared libraries.
19553 install_override_mode=$lt_install_override_mode
19555 # Command to use after installation of a shared archive.
19556 postinstall_cmds=$lt_postinstall_cmds
19558 # Command to use after uninstallation of a shared archive.
19559 postuninstall_cmds=$lt_postuninstall_cmds
19561 # Commands used to finish a libtool library installation in a directory.
19562 finish_cmds=$lt_finish_cmds
19564 # As "finish_cmds", except a single script fragment to be evaled but
19566 finish_eval=$lt_finish_eval
19568 # Whether we should hardcode library paths into libraries.
19569 hardcode_into_libs=$hardcode_into_libs
19571 # Compile-time system search path for libraries.
19572 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19574 # Run-time system search path for libraries.
19575 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19577 # Whether dlopen is supported.
19578 dlopen_support=$enable_dlopen
19580 # Whether dlopen of programs is supported.
19581 dlopen_self=$enable_dlopen_self
19583 # Whether dlopen of statically linked programs is supported.
19584 dlopen_self_static=$enable_dlopen_self_static
19586 # Commands to strip libraries.
19587 old_striplib=$lt_old_striplib
19588 striplib=$lt_striplib
19591 # The linker used to build libraries.
19594 # How to create reloadable object files.
19595 reload_flag=$lt_reload_flag
19596 reload_cmds=$lt_reload_cmds
19598 # Commands used to build an old-style archive.
19599 old_archive_cmds=$lt_old_archive_cmds
19601 # A language specific compiler.
19604 # Is the compiler the GNU compiler?
19607 # Compiler flag to turn off builtin functions.
19608 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
19610 # How to pass a linker flag through the compiler.
19611 wl=$lt_lt_prog_compiler_wl
19613 # Additional compiler flags for building library objects.
19614 pic_flag=$lt_lt_prog_compiler_pic
19616 # Compiler flag to prevent dynamic linking.
19617 link_static_flag=$lt_lt_prog_compiler_static
19619 # Does compiler simultaneously support -c and -o options?
19620 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
19622 # Whether or not to add -lc for building shared libraries.
19623 build_libtool_need_lc=$archive_cmds_need_lc
19625 # Whether or not to disallow shared libs when runtime libs are static.
19626 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
19628 # Compiler flag to allow reflexive dlopens.
19629 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
19631 # Compiler flag to generate shared objects directly from archives.
19632 whole_archive_flag_spec=$lt_whole_archive_flag_spec
19634 # Whether the compiler copes with passing no objects directly.
19635 compiler_needs_object=$lt_compiler_needs_object
19637 # Create an old-style archive from a shared archive.
19638 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
19640 # Create a temporary old-style archive to link instead of a shared archive.
19641 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
19643 # Commands used to build a shared archive.
19644 archive_cmds=$lt_archive_cmds
19645 archive_expsym_cmds=$lt_archive_expsym_cmds
19647 # Commands used to build a loadable module if different from building
19648 # a shared archive.
19649 module_cmds=$lt_module_cmds
19650 module_expsym_cmds=$lt_module_expsym_cmds
19652 # Whether we are building with GNU ld or not.
19653 with_gnu_ld=$lt_with_gnu_ld
19655 # Flag that allows shared libraries with undefined symbols to be built.
19656 allow_undefined_flag=$lt_allow_undefined_flag
19658 # Flag that enforces no undefined symbols.
19659 no_undefined_flag=$lt_no_undefined_flag
19661 # Flag to hardcode \$libdir into a binary during linking.
19662 # This must work even if \$libdir does not exist
19663 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
19665 # If ld is used when linking, flag to hardcode \$libdir into a binary
19666 # during linking. This must work even if \$libdir does not exist.
19667 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
19669 # Whether we need a single "-rpath" flag with a separated argument.
19670 hardcode_libdir_separator=$lt_hardcode_libdir_separator
19672 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19673 # DIR into the resulting binary.
19674 hardcode_direct=$hardcode_direct
19676 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19677 # DIR into the resulting binary and the resulting library dependency is
19678 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
19679 # library is relocated.
19680 hardcode_direct_absolute=$hardcode_direct_absolute
19682 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
19683 # into the resulting binary.
19684 hardcode_minus_L=$hardcode_minus_L
19686 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19687 # into the resulting binary.
19688 hardcode_shlibpath_var=$hardcode_shlibpath_var
19690 # Set to "yes" if building a shared library automatically hardcodes DIR
19691 # into the library and all subsequent libraries and executables linked
19693 hardcode_automatic=$hardcode_automatic
19695 # Set to yes if linker adds runtime paths of dependent libraries
19696 # to runtime path list.
19697 inherit_rpath=$inherit_rpath
19699 # Whether libtool must link a program against all its dependency libraries.
19700 link_all_deplibs=$link_all_deplibs
19702 # Fix the shell variable \$srcfile for the compiler.
19703 fix_srcfile_path=$lt_fix_srcfile_path
19705 # Set to "yes" if exported symbols are required.
19706 always_export_symbols=$always_export_symbols
19708 # The commands to list exported symbols.
19709 export_symbols_cmds=$lt_export_symbols_cmds
19711 # Symbols that should not be listed in the preloaded symbols.
19712 exclude_expsyms=$lt_exclude_expsyms
19714 # Symbols that must always be exported.
19715 include_expsyms=$lt_include_expsyms
19717 # Commands necessary for linking programs (against libraries) with templates.
19718 prelink_cmds=$lt_prelink_cmds
19720 # Specify filename containing input files.
19721 file_list_spec=$lt_file_list_spec
19723 # How to hardcode a shared library path into an executable.
19724 hardcode_action=$hardcode_action
19726 # The directories searched by this compiler when creating a shared library.
19727 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
19729 # Dependencies to place before and after the objects being linked to
19730 # create a shared library.
19731 predep_objects=$lt_predep_objects
19732 postdep_objects=$lt_postdep_objects
19733 predeps=$lt_predeps
19734 postdeps=$lt_postdeps
19736 # The library search path used internally by the compiler when linking
19737 # a shared library.
19738 compiler_lib_search_path=$lt_compiler_lib_search_path
19740 # ### END LIBTOOL CONFIG
19746 cat <<\_LT_EOF
>> "$cfgfile"
19747 # AIX sometimes has problems with the GCC collect2 program. For some
19748 # reason, if we set the COLLECT_NAMES environment variable, the problems
19749 # vanish in a puff of smoke.
19750 if test "X${COLLECT_NAMES+set}" != Xset
; then
19752 export COLLECT_NAMES
19759 ltmain
="$ac_aux_dir/ltmain.sh"
19762 # We use sed instead of cat because bash on DJGPP gets confused if
19763 # if finds mixed CR/LF and LF-only lines. Since sed operates in
19764 # text mode, it properly converts lines to CR/LF. This bash problem
19765 # is reportedly fixed, but why not run on old versions too?
19766 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
19767 ||
(rm -f "$cfgfile"; exit 1)
19771 cat << \_LT_EOF
>> "$cfgfile"
19773 # func_dirname file append nondir_replacement
19774 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
19775 # otherwise set result to NONDIR_REPLACEMENT.
19779 */*) func_dirname_result
="${1%/*}${2}" ;;
19780 * ) func_dirname_result
="${3}" ;;
19784 # func_basename file
19787 func_basename_result
="${1##*/}"
19790 # func_dirname_and_basename file append nondir_replacement
19791 # perform func_basename and func_dirname in a single function
19793 # dirname: Compute the dirname of FILE. If nonempty,
19794 # add APPEND to the result, otherwise set result
19795 # to NONDIR_REPLACEMENT.
19796 # value returned in "$func_dirname_result"
19797 # basename: Compute filename of FILE.
19798 # value retuned in "$func_basename_result"
19799 # Implementation must be kept synchronized with func_dirname
19800 # and func_basename. For efficiency, we do not delegate to
19801 # those functions but instead duplicate the functionality here.
19802 func_dirname_and_basename
()
19805 */*) func_dirname_result
="${1%/*}${2}" ;;
19806 * ) func_dirname_result
="${3}" ;;
19808 func_basename_result
="${1##*/}"
19811 # func_stripname prefix suffix name
19812 # strip PREFIX and SUFFIX off of NAME.
19813 # PREFIX and SUFFIX must not contain globbing or regex special
19814 # characters, hashes, percent signs, but SUFFIX may contain a leading
19815 # dot (in which case that matches only a dot).
19818 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
19819 # positional parameters, so assign one to ordinary parameter first.
19820 func_stripname_result
=${3}
19821 func_stripname_result
=${func_stripname_result#"${1}"}
19822 func_stripname_result
=${func_stripname_result%"${2}"}
19828 func_opt_split_opt
=${1%%=*}
19829 func_opt_split_arg
=${1#*=}
19836 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
19837 *) func_lo2o_result
=${1} ;;
19841 # func_xform libobj-or-source
19844 func_xform_result
=${1%.*}.lo
19847 # func_arith arithmetic-term...
19850 func_arith_result
=$
(( $
* ))
19854 # STRING may not start with a hyphen.
19857 func_len_result
=${#1}
19862 *) # Bourne compatible functions.
19863 cat << \_LT_EOF
>> "$cfgfile"
19865 # func_dirname file append nondir_replacement
19866 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
19867 # otherwise set result to NONDIR_REPLACEMENT.
19870 # Extract subdirectory from the argument.
19871 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
19872 if test "X$func_dirname_result" = "X${1}"; then
19873 func_dirname_result
="${3}"
19875 func_dirname_result
="$func_dirname_result${2}"
19879 # func_basename file
19882 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
19886 # func_stripname prefix suffix name
19887 # strip PREFIX and SUFFIX off of NAME.
19888 # PREFIX and SUFFIX must not contain globbing or regex special
19889 # characters, hashes, percent signs, but SUFFIX may contain a leading
19890 # dot (in which case that matches only a dot).
19891 # func_strip_suffix prefix name
19895 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
19896 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
19901 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
19902 my_sed_long_arg
='1s/^-[^=]*=//'
19907 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
19908 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
19914 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
19917 # func_xform libobj-or-source
19920 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
19923 # func_arith arithmetic-term...
19926 func_arith_result
=`expr "$@"`
19930 # STRING may not start with a hyphen.
19933 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
19939 case $lt_shell_append in
19941 cat << \_LT_EOF
>> "$cfgfile"
19943 # func_append var value
19944 # Append VALUE to the end of shell variable VAR.
19952 cat << \_LT_EOF
>> "$cfgfile"
19954 # func_append var value
19955 # Append VALUE to the end of shell variable VAR.
19966 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
19967 ||
(rm -f "$cfgfile"; exit 1)
19969 mv -f "$cfgfile" "$ofile" ||
19970 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
19974 cat <<_LT_EOF >> "$ofile"
19976 # ### BEGIN LIBTOOL TAG CONFIG: CXX
19978 # The linker used to build libraries.
19981 # How to create reloadable object files.
19982 reload_flag=$lt_reload_flag_CXX
19983 reload_cmds=$lt_reload_cmds_CXX
19985 # Commands used to build an old-style archive.
19986 old_archive_cmds=$lt_old_archive_cmds_CXX
19988 # A language specific compiler.
19989 CC=$lt_compiler_CXX
19991 # Is the compiler the GNU compiler?
19994 # Compiler flag to turn off builtin functions.
19995 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
19997 # How to pass a linker flag through the compiler.
19998 wl=$lt_lt_prog_compiler_wl_CXX
20000 # Additional compiler flags for building library objects.
20001 pic_flag=$lt_lt_prog_compiler_pic_CXX
20003 # Compiler flag to prevent dynamic linking.
20004 link_static_flag=$lt_lt_prog_compiler_static_CXX
20006 # Does compiler simultaneously support -c and -o options?
20007 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
20009 # Whether or not to add -lc for building shared libraries.
20010 build_libtool_need_lc=$archive_cmds_need_lc_CXX
20012 # Whether or not to disallow shared libs when runtime libs are static.
20013 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
20015 # Compiler flag to allow reflexive dlopens.
20016 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
20018 # Compiler flag to generate shared objects directly from archives.
20019 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
20021 # Whether the compiler copes with passing no objects directly.
20022 compiler_needs_object=$lt_compiler_needs_object_CXX
20024 # Create an old-style archive from a shared archive.
20025 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
20027 # Create a temporary old-style archive to link instead of a shared archive.
20028 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
20030 # Commands used to build a shared archive.
20031 archive_cmds=$lt_archive_cmds_CXX
20032 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
20034 # Commands used to build a loadable module if different from building
20035 # a shared archive.
20036 module_cmds=$lt_module_cmds_CXX
20037 module_expsym_cmds=$lt_module_expsym_cmds_CXX
20039 # Whether we are building with GNU ld or not.
20040 with_gnu_ld=$lt_with_gnu_ld_CXX
20042 # Flag that allows shared libraries with undefined symbols to be built.
20043 allow_undefined_flag=$lt_allow_undefined_flag_CXX
20045 # Flag that enforces no undefined symbols.
20046 no_undefined_flag=$lt_no_undefined_flag_CXX
20048 # Flag to hardcode \$libdir into a binary during linking.
20049 # This must work even if \$libdir does not exist
20050 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
20052 # If ld is used when linking, flag to hardcode \$libdir into a binary
20053 # during linking. This must work even if \$libdir does not exist.
20054 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
20056 # Whether we need a single "-rpath" flag with a separated argument.
20057 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
20059 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
20060 # DIR into the resulting binary.
20061 hardcode_direct=$hardcode_direct_CXX
20063 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
20064 # DIR into the resulting binary and the resulting library dependency is
20065 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
20066 # library is relocated.
20067 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
20069 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
20070 # into the resulting binary.
20071 hardcode_minus_L=$hardcode_minus_L_CXX
20073 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
20074 # into the resulting binary.
20075 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
20077 # Set to "yes" if building a shared library automatically hardcodes DIR
20078 # into the library and all subsequent libraries and executables linked
20080 hardcode_automatic=$hardcode_automatic_CXX
20082 # Set to yes if linker adds runtime paths of dependent libraries
20083 # to runtime path list.
20084 inherit_rpath=$inherit_rpath_CXX
20086 # Whether libtool must link a program against all its dependency libraries.
20087 link_all_deplibs=$link_all_deplibs_CXX
20089 # Fix the shell variable \$srcfile for the compiler.
20090 fix_srcfile_path=$lt_fix_srcfile_path_CXX
20092 # Set to "yes" if exported symbols are required.
20093 always_export_symbols=$always_export_symbols_CXX
20095 # The commands to list exported symbols.
20096 export_symbols_cmds=$lt_export_symbols_cmds_CXX
20098 # Symbols that should not be listed in the preloaded symbols.
20099 exclude_expsyms=$lt_exclude_expsyms_CXX
20101 # Symbols that must always be exported.
20102 include_expsyms=$lt_include_expsyms_CXX
20104 # Commands necessary for linking programs (against libraries) with templates.
20105 prelink_cmds=$lt_prelink_cmds_CXX
20107 # Specify filename containing input files.
20108 file_list_spec=$lt_file_list_spec_CXX
20110 # How to hardcode a shared library path into an executable.
20111 hardcode_action=$hardcode_action_CXX
20113 # The directories searched by this compiler when creating a shared library.
20114 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
20116 # Dependencies to place before and after the objects being linked to
20117 # create a shared library.
20118 predep_objects=$lt_predep_objects_CXX
20119 postdep_objects=$lt_postdep_objects_CXX
20120 predeps=$lt_predeps_CXX
20121 postdeps=$lt_postdeps_CXX
20123 # The library search path used internally by the compiler when linking
20124 # a shared library.
20125 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
20127 # ### END LIBTOOL TAG CONFIG: CXX
20132 for ac_file
in $CONFIG_FILES; do
20133 # Support "outfile[:infile[:infile...]]"
20135 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
20137 # PO directories have a Makefile.in generated from Makefile.in.in.
20138 case "$ac_file" in */Makefile.
in)
20139 # Adjust a relative srcdir.
20140 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
20141 ac_dir_suffix
=/`echo "$ac_dir"|sed 's%^\./%%'`
20142 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
20143 # In autoconf-2.13 it is called $ac_given_srcdir.
20144 # In autoconf-2.50 it is called $srcdir.
20145 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
20146 case "$ac_given_srcdir" in
20147 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
20148 /*) top_srcdir
="$ac_given_srcdir" ;;
20149 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
20151 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
20152 rm -f "$ac_dir/POTFILES"
20153 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" ||
echo "creating $ac_dir/POTFILES"
20154 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" |
sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," |
sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
20155 POMAKEFILEDEPS
="POTFILES.in"
20156 # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
20157 # on $ac_dir but don't depend on user-specified configuration
20159 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
20160 # The LINGUAS file contains the set of available languages.
20161 if test -n "$OBSOLETE_ALL_LINGUAS"; then
20162 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.ac is obsolete" ||
echo "setting ALL_LINGUAS in configure.ac is obsolete"
20164 ALL_LINGUAS_
=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
20165 # Hide the ALL_LINGUAS assigment from automake.
20166 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
20167 POMAKEFILEDEPS
="$POMAKEFILEDEPS LINGUAS"
20169 # The set of available languages was given in configure.ac.
20170 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
20172 case "$ac_given_srcdir" in
20174 *) srcdirpre
='$(srcdir)/' ;;
20180 for lang
in $ALL_LINGUAS; do
20181 POFILES
="$POFILES $srcdirpre$lang.po"
20182 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
20183 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
20184 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
20186 # CATALOGS depends on both $ac_dir and the user's LINGUAS
20187 # environment variable.
20189 if test -n "$ALL_LINGUAS"; then
20190 for presentlang
in $ALL_LINGUAS; do
20192 if test "%UNSET%" != "$LINGUAS"; then
20193 desiredlanguages
="$LINGUAS"
20195 desiredlanguages
="$ALL_LINGUAS"
20197 for desiredlang
in $desiredlanguages; do
20198 # Use the presentlang catalog if desiredlang is
20199 # a. equal to presentlang, or
20200 # b. a variant of presentlang (because in this case,
20201 # presentlang can be used as a fallback for messages
20202 # which are not translated in the desiredlang catalog).
20203 case "$desiredlang" in
20204 "$presentlang"*) useit
=yes;;
20207 if test $useit = yes; then
20208 INST_LINGUAS
="$INST_LINGUAS $presentlang"
20213 if test -n "$INST_LINGUAS"; then
20214 for lang
in $INST_LINGUAS; do
20215 CATALOGS
="$CATALOGS $lang.gmo"
20218 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
20219 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"
20220 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
20221 if test -f "$f"; then
20223 *.orig |
*.bak |
*~
) ;;
20224 *) cat "$f" >> "$ac_dir/Makefile" ;;
20235 *) srcdirpre
='$(srcdir)/' ;;
20239 for lang
in dummy
$OBSOLETE_ALL_LINGUAS; do
20240 if test $lang != dummy
; then
20241 POFILES
="$POFILES $srcdirpre$lang.po"
20242 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
20245 sed -e '/^SRC-POTFILES =/r po/SRC-POTFILES' \
20246 -e '/^BLD-POTFILES =/r po/BLD-POTFILES' \
20247 -e "s,@POFILES@,$POFILES," \
20248 -e "s,@GMOFILES@,$GMOFILES," \
20249 po
/Makefile.
in > po
/Makefile
;;
20257 ac_clean_files
=$ac_clean_files_save
20259 test $ac_write_fail = 0 ||
20260 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
20263 # configure is writing to config.log, and then calls config.status.
20264 # config.status does its own redirection, appending to config.log.
20265 # Unfortunately, on DOS this fails, as config.log is still kept open
20266 # by configure, so config.status won't be able to write to it; its
20267 # output is simply discarded. So we exec the FD to /dev/null,
20268 # effectively closing config.log, so it can be properly (re)opened and
20269 # appended to by config.status. When coming back to configure, we
20270 # need to make the FD available again.
20271 if test "$no_create" != yes; then
20273 ac_config_status_args
=
20274 test "$silent" = yes &&
20275 ac_config_status_args
="$ac_config_status_args --quiet"
20277 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
20279 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20280 # would make configure fail if this is the last instruction.
20281 $ac_cs_success || as_fn_exit
1
20283 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
20284 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20285 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
20290 touch config.status.tmp
20291 if touch --reference=config.status config.status.tmp
> /dev
/null
2>&1; then
20292 sed '/as_fn_exit 0/i \
20293 sed -e \"s/^\t\\\(\\\$(AM_V_CCLD)\\\)/\t+ \\\1/\" Makefile > Makefile.tmp \
20294 touch --reference=Makefile Makefile.tmp \
20295 mv Makefile.tmp Makefile \
20296 ' config.status
> config.status.tmp
20297 touch --reference=config.status config.status.tmp
20298 mv config.status.tmp config.status
20299 chmod +x config.status
20300 sed -e "s/^\t\(\$(AM_V_CCLD)\)/\t+ \1/" Makefile
> Makefile.tmp
20301 touch --reference=Makefile Makefile.tmp
20302 mv Makefile.tmp Makefile
20304 rm -f config.status.tmp