2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for transmission 2.51.
5 # Report bugs to <http://trac.transmissionbt.com/newticket>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
19 # Be more Bourne compatible
20 DUALCASE
=1; export DUALCASE
# for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
29 case `(set -o) 2>/dev/null` in #(
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo_n='print
-rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
57 as_echo_n='/usr
/ucb
/echo -n'
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
70 as_echo_n='sh
-c $as_echo_n_body as_echo
'
73 as_echo='sh
-c $as_echo_body as_echo
'
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
79 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87 # We need space, tab and new line, in precisely that order. Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
93 # Find who we are. Look in the path if we contain no directory separator.
96 *[\\/]* ) as_myself=$0 ;;
97 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
101 test -z "$as_dir" && as_dir=.
102 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
108 # We did not find ourselves, most probably we were run as `sh COMMAND'
109 # in which case we are not to be found in the path.
110 if test "x$as_myself" = x
; then
113 if test ! -f "$as_myself"; then
114 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
118 # Unset variables that we do not need and which cause bugs (e.g. in
119 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
120 # suppresses any "Segmentation fault" message there. '((' could
121 # trigger a bug in pdksh 5.2.14.
122 for as_var
in BASH_ENV ENV MAIL MAILPATH
123 do eval test x\
${$as_var+set} = xset \
124 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
137 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
139 if test "x$CONFIG_SHELL" = x
; then
140 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
143 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144 # is contrary to our usage. Disable this feature.
145 alias -g '\${1+\"\$@\"}'='\"\$@\"'
148 case \`(set -o) 2>/dev/null\` in #(
156 as_required
="as_fn_return () { (exit \$1); }
157 as_fn_success () { as_fn_return 0; }
158 as_fn_failure () { as_fn_return 1; }
159 as_fn_ret_success () { return 0; }
160 as_fn_ret_failure () { return 1; }
163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
170 exitcode=1; echo positional parameters were not saved.
172 test x\$exitcode = x0 || exit 1"
173 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
174 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
175 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
178 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
179 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
180 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
181 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
182 PATH=/empty FPATH=/empty; export PATH FPATH
183 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
184 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
185 test \$(( 1 + 1 )) = 2 || exit 1"
186 if (eval "$as_required") 2>/dev
/null
; then :
191 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
194 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
196 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
199 test -z "$as_dir" && as_dir
=.
203 for as_base
in sh bash ksh sh5
; do
204 # Try only shells that exist, to save several forks.
205 as_shell
=$as_dir/$as_base
206 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
207 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
208 CONFIG_SHELL
=$as_shell as_have_required
=yes
209 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
217 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
218 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
219 CONFIG_SHELL
=$SHELL as_have_required
=yes
224 if test "x$CONFIG_SHELL" != x
; then :
225 # We cannot yet assume a decent shell, so we have to provide a
226 # neutralization value for shells without unset; and this also
227 # works around shells that cannot unset nonexistent variables.
228 # Preserve -v and -x to the replacement shell.
231 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
234 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
239 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
242 if test x
$as_have_required = xno
; then :
243 $as_echo "$0: This script requires a shell more modern than all"
244 $as_echo "$0: the shells that I found on your system."
245 if test x
${ZSH_VERSION+set} = xset
; then
246 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
247 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
249 $as_echo "$0: Please tell bug-autoconf@gnu.org and
250 $0: http://trac.transmissionbt.com/newticket about your
251 $0: system, including any error possibly output before this
252 $0: message. Then install a modern shell, or manually run
253 $0: the script under such a shell if you do have one."
259 SHELL
=${CONFIG_SHELL-/bin/sh}
261 # Unset more variables known to interfere with behavior of common tools.
262 CLICOLOR_FORCE
= GREP_OPTIONS
=
263 unset CLICOLOR_FORCE GREP_OPTIONS
265 ## --------------------- ##
266 ## M4sh Shell Functions. ##
267 ## --------------------- ##
270 # Portably unset VAR.
273 { eval $1=; unset $1;}
277 # as_fn_set_status STATUS
278 # -----------------------
279 # Set $? to STATUS, without forking.
287 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
297 # Create "$as_dir" as a directory, including parents if necessary.
302 -*) as_dir
=.
/$as_dir;;
304 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
308 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
311 as_dirs
="'$as_qdir' $as_dirs"
312 as_dir
=`$as_dirname -- "$as_dir" ||
313 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
314 X"$as_dir" : 'X\(//\)[^/]' \| \
315 X"$as_dir" : 'X\(//\)$' \| \
316 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
317 $as_echo X"$as_dir" |
318 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
335 test -d "$as_dir" && break
337 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
338 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
342 # as_fn_append VAR VALUE
343 # ----------------------
344 # Append the text in VALUE to the end of the definition contained in VAR. Take
345 # advantage of any shell optimizations that allow amortized linear growth over
346 # repeated appends, instead of the typical quadratic growth present in naive
348 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
349 eval 'as_fn_append ()
362 # Perform arithmetic evaluation on the ARGs, and store the result in the
363 # global $as_val. Take advantage of shells that can avoid forks. The arguments
364 # must be portable across $(()) and expr.
365 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
373 as_val
=`expr "$@" || test $? -eq 1`
378 # as_fn_error STATUS ERROR [LINENO LOG_FD]
379 # ----------------------------------------
380 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
381 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
382 # script with STATUS, using 1 if that was 0.
385 as_status
=$1; test $as_status -eq 0 && as_status
=1
387 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
388 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
390 $as_echo "$as_me: error: $2" >&2
391 as_fn_exit
$as_status
394 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
395 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
401 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
407 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
413 as_me
=`$as_basename -- "$0" ||
414 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
415 X"$0" : 'X\(//\)$' \| \
416 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
418 sed '/^.*\/\([^/][^/]*\)\/*$/{
432 # Avoid depending upon Character Ranges.
433 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
434 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
435 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
436 as_cr_digits
='0123456789'
437 as_cr_alnum
=$as_cr_Letters$as_cr_digits
440 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
441 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
442 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
443 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
444 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
456 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
460 chmod +x
"$as_me.lineno" ||
461 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
463 # Don't try to exec as it changes $[0], causing all sort of problems
464 # (the dirname of $[0] is not the place where we might find the
465 # original and so on. Autoconf is especially sensitive to this).
467 # Exit status is that of the last command.
471 ECHO_C
= ECHO_N
= ECHO_T
=
472 case `echo -n x` in #(((((
474 case `echo 'xy\c'` in
475 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
477 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
484 rm -f conf$$ conf$$.exe conf$$.
file
485 if test -d conf$$.dir
; then
486 rm -f conf$$.dir
/conf$$.
file
489 mkdir conf$$.dir
2>/dev
/null
491 if (echo >conf$$.
file) 2>/dev
/null
; then
492 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
494 # ... but there are two gotchas:
495 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
496 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
497 # In both cases, we have to default to `cp -p'.
498 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
500 elif ln conf$$.
file conf$$
2>/dev
/null
; then
508 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
509 rmdir conf$$.dir
2>/dev
/null
511 if mkdir
-p .
2>/dev
/null
; then
512 as_mkdir_p
='mkdir -p "$as_dir"'
514 test -d .
/-p && rmdir .
/-p
518 if test -x / >/dev
/null
2>&1; then
521 if ls -dL / >/dev
/null
2>&1; then
528 if test -d "$1"; then
534 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
535 ???[sx]*):;;*)false;;esac;fi
539 as_executable_p
=$as_test_x
541 # Sed expression to map a string onto a valid CPP name.
542 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
544 # Sed expression to map a string onto a valid variable name.
545 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
547 SHELL
=${CONFIG_SHELL-/bin/sh}
550 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
554 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
555 # so uname gets run too.
556 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
561 ac_default_prefix
=/usr
/local
563 ac_config_libobj_dir
=.
570 # Identity of this package.
571 PACKAGE_NAME
='transmission'
572 PACKAGE_TARNAME
='transmission'
573 PACKAGE_VERSION
='2.51'
574 PACKAGE_STRING
='transmission 2.51'
575 PACKAGE_BUGREPORT
='http://trac.transmissionbt.com/newticket'
578 ac_unique_file
="libtransmission/transmission.h"
579 # Factoring default headers for most tests.
580 ac_includes_default
="\
582 #ifdef HAVE_SYS_TYPES_H
583 # include <sys/types.h>
585 #ifdef HAVE_SYS_STAT_H
586 # include <sys/stat.h>
592 # ifdef HAVE_STDLIB_H
597 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
602 #ifdef HAVE_STRINGS_H
603 # include <strings.h>
605 #ifdef HAVE_INTTYPES_H
606 # include <inttypes.h>
615 ac_subst_vars
='am__EXEEXT_FALSE
628 transmissionlocaledir
648 INTLTOOL_SERVICE_RULE
650 INTLTOOL_SCHEMAS_RULE
652 INTLTOOL_XML_NOMERGE_RULE
657 INTLTOOL_SOUNDLIST_RULE
664 INTLTOOL_DIRECTORY_RULE
665 INTLTOOL_DESKTOP_RULE
666 intltool__v_merge_options_0
667 intltool__v_merge_options_
668 INTLTOOL_V_MERGE_OPTIONS
677 LIBAPPINDICATOR_CFLAGS
719 LIBAPPINDICATOR_MINIMUM
784 INSTALL_STRIP_PROGRAM
832 program_transform_name
847 enable_option_checking
853 enable_dependency_tracking
863 enable_external_natpmp
871 ac_precious_vars
='build_alias
893 LIBAPPINDICATOR_CFLAGS
894 LIBAPPINDICATOR_LIBS'
897 # Initialize some variables set by options.
899 ac_init_version
=false
900 ac_unrecognized_opts
=
902 # The variables have the same names as the options, with
903 # dashes changed to underlines.
911 program_transform_name
=s
,x
,x
,
919 # Installation directory options.
920 # These are left unexpanded so users can "make install exec_prefix=/foo"
921 # and all the variables that are supposed to be based on exec_prefix
922 # by default will actually change.
923 # Use braces instead of parens because sh, perl, etc. also accept them.
924 # (The list follows the same order as the GNU Coding Standards.)
925 bindir
='${exec_prefix}/bin'
926 sbindir
='${exec_prefix}/sbin'
927 libexecdir
='${exec_prefix}/libexec'
928 datarootdir
='${prefix}/share'
929 datadir
='${datarootdir}'
930 sysconfdir
='${prefix}/etc'
931 sharedstatedir
='${prefix}/com'
932 localstatedir
='${prefix}/var'
933 includedir
='${prefix}/include'
934 oldincludedir
='/usr/include'
935 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
936 infodir
='${datarootdir}/info'
941 libdir
='${exec_prefix}/lib'
942 localedir
='${datarootdir}/locale'
943 mandir
='${datarootdir}/man'
949 # If the previous option needs an argument, assign it.
950 if test -n "$ac_prev"; then
951 eval $ac_prev=\
$ac_option
957 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
962 # Accept the important Cygnus configure options, so we can diagnose typos.
964 case $ac_dashdash$ac_option in
968 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
970 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
973 -build |
--build |
--buil |
--bui |
--bu)
974 ac_prev
=build_alias
;;
975 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
976 build_alias
=$ac_optarg ;;
978 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
979 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
980 ac_prev
=cache_file
;;
981 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
982 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
983 cache_file
=$ac_optarg ;;
986 cache_file
=config.cache
;;
988 -datadir |
--datadir |
--datadi |
--datad)
990 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
991 datadir
=$ac_optarg ;;
993 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
994 |
--dataroo |
--dataro |
--datar)
995 ac_prev
=datarootdir
;;
996 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
997 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
998 datarootdir
=$ac_optarg ;;
1000 -disable-* |
--disable-*)
1001 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1002 # Reject names that are not valid shell variable names.
1003 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1004 as_fn_error $?
"invalid feature name: $ac_useropt"
1005 ac_useropt_orig
=$ac_useropt
1006 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1007 case $ac_user_opts in
1009 "enable_
$ac_useropt"
1011 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1012 ac_unrecognized_sep
=', ';;
1014 eval enable_
$ac_useropt=no
;;
1016 -docdir |
--docdir |
--docdi |
--doc |
--do)
1018 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1019 docdir
=$ac_optarg ;;
1021 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1023 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1024 dvidir
=$ac_optarg ;;
1026 -enable-* |
--enable-*)
1027 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1028 # Reject names that are not valid shell variable names.
1029 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1030 as_fn_error $?
"invalid feature name: $ac_useropt"
1031 ac_useropt_orig
=$ac_useropt
1032 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1033 case $ac_user_opts in
1035 "enable_
$ac_useropt"
1037 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1038 ac_unrecognized_sep
=', ';;
1040 eval enable_
$ac_useropt=\
$ac_optarg ;;
1042 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1043 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1044 |
--exec |
--exe |
--ex)
1045 ac_prev
=exec_prefix
;;
1046 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1047 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1048 |
--exec=* |
--exe=* |
--ex=*)
1049 exec_prefix
=$ac_optarg ;;
1051 -gas |
--gas |
--ga |
--g)
1052 # Obsolete; use --with-gas.
1055 -help |
--help |
--hel |
--he |
-h)
1056 ac_init_help
=long
;;
1057 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1058 ac_init_help
=recursive
;;
1059 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1060 ac_init_help
=short
;;
1062 -host |
--host |
--hos |
--ho)
1063 ac_prev
=host_alias
;;
1064 -host=* |
--host=* |
--hos=* |
--ho=*)
1065 host_alias
=$ac_optarg ;;
1067 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1069 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1071 htmldir
=$ac_optarg ;;
1073 -includedir |
--includedir |
--includedi |
--included |
--include \
1074 |
--includ |
--inclu |
--incl |
--inc)
1075 ac_prev
=includedir
;;
1076 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1077 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1078 includedir
=$ac_optarg ;;
1080 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1082 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1083 infodir
=$ac_optarg ;;
1085 -libdir |
--libdir |
--libdi |
--libd)
1087 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1088 libdir
=$ac_optarg ;;
1090 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1091 |
--libexe |
--libex |
--libe)
1092 ac_prev
=libexecdir
;;
1093 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1094 |
--libexe=* |
--libex=* |
--libe=*)
1095 libexecdir
=$ac_optarg ;;
1097 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1098 ac_prev
=localedir
;;
1099 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1100 localedir
=$ac_optarg ;;
1102 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1103 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1104 ac_prev
=localstatedir
;;
1105 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1106 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1107 localstatedir
=$ac_optarg ;;
1109 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1111 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1112 mandir
=$ac_optarg ;;
1114 -nfp |
--nfp |
--nf)
1115 # Obsolete; use --without-fp.
1118 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1119 |
--no-cr |
--no-c |
-n)
1122 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1123 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1126 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1127 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1128 |
--oldin |
--oldi |
--old |
--ol |
--o)
1129 ac_prev
=oldincludedir
;;
1130 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1131 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1132 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1133 oldincludedir
=$ac_optarg ;;
1135 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1137 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1138 prefix
=$ac_optarg ;;
1140 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1141 |
--program-pre |
--program-pr |
--program-p)
1142 ac_prev
=program_prefix
;;
1143 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1144 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1145 program_prefix
=$ac_optarg ;;
1147 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1148 |
--program-suf |
--program-su |
--program-s)
1149 ac_prev
=program_suffix
;;
1150 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1151 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1152 program_suffix
=$ac_optarg ;;
1154 -program-transform-name |
--program-transform-name \
1155 |
--program-transform-nam |
--program-transform-na \
1156 |
--program-transform-n |
--program-transform- \
1157 |
--program-transform |
--program-transfor \
1158 |
--program-transfo |
--program-transf \
1159 |
--program-trans |
--program-tran \
1160 |
--progr-tra |
--program-tr |
--program-t)
1161 ac_prev
=program_transform_name
;;
1162 -program-transform-name=* |
--program-transform-name=* \
1163 |
--program-transform-nam=* |
--program-transform-na=* \
1164 |
--program-transform-n=* |
--program-transform-=* \
1165 |
--program-transform=* |
--program-transfor=* \
1166 |
--program-transfo=* |
--program-transf=* \
1167 |
--program-trans=* |
--program-tran=* \
1168 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1169 program_transform_name
=$ac_optarg ;;
1171 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1173 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1174 pdfdir
=$ac_optarg ;;
1176 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1178 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1181 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1182 |
-silent |
--silent |
--silen |
--sile |
--sil)
1185 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1187 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1189 sbindir
=$ac_optarg ;;
1191 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1192 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1193 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1195 ac_prev
=sharedstatedir
;;
1196 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1197 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1198 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1200 sharedstatedir
=$ac_optarg ;;
1202 -site |
--site |
--sit)
1204 -site=* |
--site=* |
--sit=*)
1207 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1209 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1210 srcdir
=$ac_optarg ;;
1212 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1213 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1214 ac_prev
=sysconfdir
;;
1215 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1216 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1217 sysconfdir
=$ac_optarg ;;
1219 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1220 ac_prev
=target_alias
;;
1221 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1222 target_alias
=$ac_optarg ;;
1224 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1227 -version |
--version |
--versio |
--versi |
--vers |
-V)
1228 ac_init_version
=: ;;
1231 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1232 # Reject names that are not valid shell variable names.
1233 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1234 as_fn_error $?
"invalid package name: $ac_useropt"
1235 ac_useropt_orig
=$ac_useropt
1236 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1237 case $ac_user_opts in
1241 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1242 ac_unrecognized_sep
=', ';;
1244 eval with_
$ac_useropt=\
$ac_optarg ;;
1246 -without-* |
--without-*)
1247 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1248 # Reject names that are not valid shell variable names.
1249 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1250 as_fn_error $?
"invalid package name: $ac_useropt"
1251 ac_useropt_orig
=$ac_useropt
1252 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1253 case $ac_user_opts in
1257 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1258 ac_unrecognized_sep
=', ';;
1260 eval with_
$ac_useropt=no
;;
1263 # Obsolete; use --with-x.
1266 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1267 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1268 ac_prev
=x_includes
;;
1269 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1270 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1271 x_includes
=$ac_optarg ;;
1273 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1274 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1275 ac_prev
=x_libraries
;;
1276 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1277 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1278 x_libraries
=$ac_optarg ;;
1280 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1281 Try \`$0 --help' for more information"
1285 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1286 # Reject names that are not valid shell variable names.
1287 case $ac_envvar in #(
1288 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1289 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1291 eval $ac_envvar=\
$ac_optarg
1292 export $ac_envvar ;;
1295 # FIXME: should be removed in autoconf 3.0.
1296 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1297 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1298 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1299 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1305 if test -n "$ac_prev"; then
1306 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1307 as_fn_error $?
"missing argument to $ac_option"
1310 if test -n "$ac_unrecognized_opts"; then
1311 case $enable_option_checking in
1313 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1314 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1318 # Check all directory arguments for consistency.
1319 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1320 datadir sysconfdir sharedstatedir localstatedir includedir \
1321 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1322 libdir localedir mandir
1324 eval ac_val
=\$
$ac_var
1325 # Remove trailing slashes.
1328 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1329 eval $ac_var=\
$ac_val;;
1331 # Be sure to have absolute directory names.
1333 [\\/$
]* | ?
:[\\/]* ) continue;;
1334 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1336 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1339 # There might be people who depend on the old broken behavior: `$host'
1340 # used to hold the argument of --host etc.
1341 # FIXME: To remove some day.
1344 target
=$target_alias
1346 # FIXME: To remove some day.
1347 if test "x$host_alias" != x
; then
1348 if test "x$build_alias" = x
; then
1349 cross_compiling
=maybe
1350 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1351 If a cross compiler is detected then cross compile mode will be used" >&2
1352 elif test "x$build_alias" != "x$host_alias"; then
1358 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1360 test "$silent" = yes && exec 6>/dev
/null
1363 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1364 ac_ls_di
=`ls -di .` &&
1365 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1366 as_fn_error $?
"working directory cannot be determined"
1367 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1368 as_fn_error $?
"pwd does not report name of working directory"
1371 # Find the source files, if location was not specified.
1372 if test -z "$srcdir"; then
1373 ac_srcdir_defaulted
=yes
1374 # Try the directory containing this script, then the parent directory.
1375 ac_confdir
=`$as_dirname -- "$as_myself" ||
1376 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1377 X"$as_myself" : 'X\(//\)[^/]' \| \
1378 X"$as_myself" : 'X\(//\)$' \| \
1379 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1380 $as_echo X"$as_myself" |
1381 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1399 if test ! -r "$srcdir/$ac_unique_file"; then
1403 ac_srcdir_defaulted
=no
1405 if test ! -r "$srcdir/$ac_unique_file"; then
1406 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1407 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1409 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1411 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1413 # When building in place, set srcdir=.
1414 if test "$ac_abs_confdir" = "$ac_pwd"; then
1417 # Remove unnecessary trailing slashes from srcdir.
1418 # Double slashes in file names in object file debugging info
1419 # mess up M-x gdb in Emacs.
1421 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1423 for ac_var
in $ac_precious_vars; do
1424 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1425 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1426 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1427 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1431 # Report the --help message.
1433 if test "$ac_init_help" = "long"; then
1434 # Omit some internal or obsolete options to make the list less imposing.
1435 # This message is too long to be a string in the A/UX 3.1 sh.
1437 \`configure' configures transmission 2.51 to adapt to many kinds of systems.
1439 Usage: $0 [OPTION]... [VAR=VALUE]...
1441 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1442 VAR=VALUE. See below for descriptions of some of the useful variables.
1444 Defaults for the options are specified in brackets.
1447 -h, --help display this help and exit
1448 --help=short display options specific to this package
1449 --help=recursive display the short help of all the included packages
1450 -V, --version display version information and exit
1451 -q, --quiet, --silent do not print \`checking ...' messages
1452 --cache-file=FILE cache test results in FILE [disabled]
1453 -C, --config-cache alias for \`--cache-file=config.cache'
1454 -n, --no-create do not create output files
1455 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1457 Installation directories:
1458 --prefix=PREFIX install architecture-independent files in PREFIX
1459 [$ac_default_prefix]
1460 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1463 By default, \`make install' will install all the files in
1464 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1465 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1466 for instance \`--prefix=\$HOME'.
1468 For better control, use the options below.
1470 Fine tuning of the installation directories:
1471 --bindir=DIR user executables [EPREFIX/bin]
1472 --sbindir=DIR system admin executables [EPREFIX/sbin]
1473 --libexecdir=DIR program executables [EPREFIX/libexec]
1474 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1475 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1476 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1477 --libdir=DIR object code libraries [EPREFIX/lib]
1478 --includedir=DIR C header files [PREFIX/include]
1479 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1480 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1481 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1482 --infodir=DIR info documentation [DATAROOTDIR/info]
1483 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1484 --mandir=DIR man documentation [DATAROOTDIR/man]
1485 --docdir=DIR documentation root [DATAROOTDIR/doc/transmission]
1486 --htmldir=DIR html documentation [DOCDIR]
1487 --dvidir=DIR dvi documentation [DOCDIR]
1488 --pdfdir=DIR pdf documentation [DOCDIR]
1489 --psdir=DIR ps documentation [DOCDIR]
1495 --program-prefix=PREFIX prepend PREFIX to installed program names
1496 --program-suffix=SUFFIX append SUFFIX to installed program names
1497 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1500 --build=BUILD configure
for building on BUILD
[guessed
]
1501 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1505 if test -n "$ac_init_help"; then
1506 case $ac_init_help in
1507 short | recursive
) echo "Configuration of transmission 2.51:";;
1512 --disable-option-checking ignore unrecognized
--enable/--with options
1513 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1514 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1515 --enable-silent-rules less verbose build output
(undo
: `make V=1')
1516 --disable-silent-rules verbose build output (undo: `make V
=0')
1517 --enable-shared[=PKGS] build shared libraries [default=yes]
1518 --enable-static[=PKGS] build static libraries [default=yes]
1519 --enable-fast-install[=PKGS]
1520 optimize for fast installation [default=yes]
1521 --disable-dependency-tracking speeds up one-time build
1522 --enable-dependency-tracking do not reject slow dependency extractors
1523 --disable-libtool-lock avoid locking (might break parallel builds)
1524 --disable-largefile omit support for large files
1525 --enable-utp build µTP support
1526 --enable-external-natpmp
1527 Use system external-natpmp
1528 --enable-nls enable native language support
1529 --disable-nls do not use Native Language Support
1530 --enable-lightweight optimize libtransmission for low-resource systems:
1531 smaller cache size, prefer unencrypted peer
1533 --enable-cli build command-line client
1534 --enable-mac build Mac client
1535 --enable-daemon build daemon
1538 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1539 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1540 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1542 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1543 --with-sysroot=DIR Search for dependent libraries within DIR
1544 (or the compiler's sysroot
if not specified
).
1545 --with-zlib=DIR search
for ZLIB
in DIR
/include and DIR
/lib
1546 --with-zlib-includes=DIR
1547 search
for ZLIB includes
in DIR
1548 --with-inotify Enable inotify support
(default
=auto
)
1549 --with-kqueue Enable kqueue support
(default
=auto
)
1552 Some influential environment variables
:
1553 CC C compiler
command
1554 CFLAGS C compiler flags
1555 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1556 nonstandard directory
<lib dir
>
1557 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1558 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1559 you have headers
in a nonstandard directory
<include dir
>
1561 CXX C
++ compiler
command
1562 CXXFLAGS C
++ compiler flags
1563 CXXCPP C
++ preprocessor
1564 PKG_CONFIG path to pkg-config utility
1566 C compiler flags
for OPENSSL
, overriding pkg-config
1568 linker flags
for OPENSSL
, overriding pkg-config
1570 C compiler flags
for LIBCURL
, overriding pkg-config
1572 linker flags
for LIBCURL
, overriding pkg-config
1574 C compiler flags
for LIBEVENT
, overriding pkg-config
1576 linker flags
for LIBEVENT
, overriding pkg-config
1577 GTK_CFLAGS C compiler flags
for GTK
, overriding pkg-config
1578 GTK_LIBS linker flags
for GTK
, overriding pkg-config
1579 LIBAPPINDICATOR_CFLAGS
1580 C compiler flags
for LIBAPPINDICATOR
, overriding pkg-config
1581 LIBAPPINDICATOR_LIBS
1582 linker flags
for LIBAPPINDICATOR
, overriding pkg-config
1584 Use these variables to override the choices made by
`configure' or to help
1585 it to find libraries and programs with nonstandard names/locations.
1587 Report bugs to <http://trac.transmissionbt.com/newticket>.
1592 if test "$ac_init_help" = "recursive"; then
1593 # If there are subdirs, report their specific --help.
1594 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1595 test -d "$ac_dir" ||
1596 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1601 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1603 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1604 # A ".." for each directory in $ac_dir_suffix.
1605 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1606 case $ac_top_builddir_sub in
1607 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1608 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1611 ac_abs_top_builddir=$ac_pwd
1612 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1613 # for backward compatibility:
1614 ac_top_builddir=$ac_top_build_prefix
1617 .) # We are building in place.
1619 ac_top_srcdir=$ac_top_builddir_sub
1620 ac_abs_top_srcdir=$ac_pwd ;;
1621 [\\/]* | ?:[\\/]* ) # Absolute name.
1622 ac_srcdir=$srcdir$ac_dir_suffix;
1623 ac_top_srcdir=$srcdir
1624 ac_abs_top_srcdir=$srcdir ;;
1626 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1627 ac_top_srcdir=$ac_top_build_prefix$srcdir
1628 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1630 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1632 cd "$ac_dir" || { ac_status=$?; continue; }
1633 # Check for guested configure.
1634 if test -f "$ac_srcdir/configure.gnu"; then
1636 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1637 elif test -f "$ac_srcdir/configure"; then
1639 $SHELL "$ac_srcdir/configure" --help=recursive
1641 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1643 cd "$ac_pwd" || { ac_status=$?; break; }
1647 test -n "$ac_init_help" && exit $ac_status
1648 if $ac_init_version; then
1650 transmission configure 2.51
1651 generated by GNU Autoconf 2.68
1653 Copyright (C) 2010 Free Software Foundation, Inc.
1654 This configure script is free software; the Free Software Foundation
1655 gives unlimited permission to copy, distribute and modify it.
1660 ## ------------------------ ##
1661 ## Autoconf initialization. ##
1662 ## ------------------------ ##
1664 # ac_fn_c_try_compile LINENO
1665 # --------------------------
1666 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1667 ac_fn_c_try_compile ()
1669 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1670 rm -f conftest.$ac_objext
1671 if { { ac_try="$ac_compile"
1673 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1674 *) ac_try_echo
=$ac_try;;
1676 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1677 $as_echo "$ac_try_echo"; } >&5
1678 (eval "$ac_compile") 2>conftest.err
1680 if test -s conftest.err
; then
1681 grep -v '^ *+' conftest.err
>conftest.er1
1682 cat conftest.er1
>&5
1683 mv -f conftest.er1 conftest.err
1685 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1686 test $ac_status = 0; } && {
1687 test -z "$ac_c_werror_flag" ||
1688 test ! -s conftest.err
1689 } && test -s conftest.
$ac_objext; then :
1692 $as_echo "$as_me: failed program was:" >&5
1693 sed 's/^/| /' conftest.
$ac_ext >&5
1697 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1698 as_fn_set_status
$ac_retval
1700 } # ac_fn_c_try_compile
1702 # ac_fn_c_try_link LINENO
1703 # -----------------------
1704 # Try to link conftest.$ac_ext, and return whether this succeeded.
1707 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1708 rm -f conftest.
$ac_objext conftest
$ac_exeext
1709 if { { ac_try
="$ac_link"
1711 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1712 *) ac_try_echo=$ac_try;;
1714 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1715 $as_echo "$ac_try_echo"; } >&5
1716 (eval "$ac_link") 2>conftest.err
1718 if test -s conftest.err; then
1719 grep -v '^ *+' conftest.err >conftest.er1
1720 cat conftest.er1 >&5
1721 mv -f conftest.er1 conftest.err
1723 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1724 test $ac_status = 0; } && {
1725 test -z "$ac_c_werror_flag" ||
1726 test ! -s conftest.err
1727 } && test -s conftest$ac_exeext && {
1728 test "$cross_compiling" = yes ||
1729 $as_test_x conftest$ac_exeext
1733 $as_echo "$as_me: failed program was:" >&5
1734 sed 's/^/| /' conftest.$ac_ext >&5
1738 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1739 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1740 # interfere with the next link command; also delete a directory that is
1741 # left behind by Apple's compiler. We do this before executing the actions.
1742 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1743 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1744 as_fn_set_status $ac_retval
1746 } # ac_fn_c_try_link
1748 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1749 # -------------------------------------------------------
1750 # Tests whether HEADER exists and can be compiled using the include files in
1751 # INCLUDES, setting the cache variable VAR accordingly.
1752 ac_fn_c_check_header_compile ()
1754 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1756 $as_echo_n "checking for $2... " >&6; }
1757 if eval \${$3+:} false; then :
1758 $as_echo_n "(cached) " >&6
1760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1761 /* end confdefs.h. */
1765 if ac_fn_c_try_compile "$LINENO"; then :
1770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1774 $as_echo "$ac_res" >&6; }
1775 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1777 } # ac_fn_c_check_header_compile
1779 # ac_fn_c_try_cpp LINENO
1780 # ----------------------
1781 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1784 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1785 if { { ac_try="$ac_cpp conftest.$ac_ext"
1787 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1788 *) ac_try_echo
=$ac_try;;
1790 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1791 $as_echo "$ac_try_echo"; } >&5
1792 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1794 if test -s conftest.err
; then
1795 grep -v '^ *+' conftest.err
>conftest.er1
1796 cat conftest.er1
>&5
1797 mv -f conftest.er1 conftest.err
1799 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1800 test $ac_status = 0; } > conftest.i
&& {
1801 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1802 test ! -s conftest.err
1806 $as_echo "$as_me: failed program was:" >&5
1807 sed 's/^/| /' conftest.
$ac_ext >&5
1811 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1812 as_fn_set_status
$ac_retval
1816 # ac_fn_c_try_run LINENO
1817 # ----------------------
1818 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1819 # that executables *can* be run.
1822 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1823 if { { ac_try
="$ac_link"
1825 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1826 *) ac_try_echo=$ac_try;;
1828 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1829 $as_echo "$ac_try_echo"; } >&5
1830 (eval "$ac_link") 2>&5
1832 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1833 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1834 { { case "(($ac_try" in
1835 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1836 *) ac_try_echo
=$ac_try;;
1838 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1839 $as_echo "$ac_try_echo"; } >&5
1840 (eval "$ac_try") 2>&5
1842 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1843 test $ac_status = 0; }; }; then :
1846 $as_echo "$as_me: program exited with status $ac_status" >&5
1847 $as_echo "$as_me: failed program was:" >&5
1848 sed 's/^/| /' conftest.
$ac_ext >&5
1850 ac_retval
=$ac_status
1852 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1853 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1854 as_fn_set_status
$ac_retval
1858 # ac_fn_c_check_func LINENO FUNC VAR
1859 # ----------------------------------
1860 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1861 ac_fn_c_check_func
()
1863 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1865 $as_echo_n "checking for $2... " >&6; }
1866 if eval \
${$3+:} false
; then :
1867 $as_echo_n "(cached) " >&6
1869 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1870 /* end confdefs.h. */
1871 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1872 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1873 #define $2 innocuous_$2
1875 /* System header to define __stub macros and hopefully few prototypes,
1876 which can conflict with char $2 (); below.
1877 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1878 <limits.h> exists even on freestanding compilers. */
1881 # include <limits.h>
1883 # include <assert.h>
1888 /* Override any GCC internal prototype to avoid an error.
1889 Use char because int might match the return type of a GCC
1890 builtin and then its argument prototype would still apply. */
1895 /* The GNU C library defines this for functions which it implements
1896 to always fail with ENOSYS. Some functions are actually named
1897 something starting with __ and the normal name is an alias. */
1898 #if defined __stub_$2 || defined __stub___$2
1910 if ac_fn_c_try_link
"$LINENO"; then :
1915 rm -f core conftest.err conftest.
$ac_objext \
1916 conftest
$ac_exeext conftest.
$ac_ext
1919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1920 $as_echo "$ac_res" >&6; }
1921 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1923 } # ac_fn_c_check_func
1925 # ac_fn_cxx_try_compile LINENO
1926 # ----------------------------
1927 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1928 ac_fn_cxx_try_compile
()
1930 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1931 rm -f conftest.
$ac_objext
1932 if { { ac_try
="$ac_compile"
1934 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1935 *) ac_try_echo=$ac_try;;
1937 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1938 $as_echo "$ac_try_echo"; } >&5
1939 (eval "$ac_compile") 2>conftest.err
1941 if test -s conftest.err; then
1942 grep -v '^ *+' conftest.err >conftest.er1
1943 cat conftest.er1 >&5
1944 mv -f conftest.er1 conftest.err
1946 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1947 test $ac_status = 0; } && {
1948 test -z "$ac_cxx_werror_flag" ||
1949 test ! -s conftest.err
1950 } && test -s conftest.$ac_objext; then :
1953 $as_echo "$as_me: failed program was:" >&5
1954 sed 's/^/| /' conftest.$ac_ext >&5
1958 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1959 as_fn_set_status $ac_retval
1961 } # ac_fn_cxx_try_compile
1963 # ac_fn_cxx_try_cpp LINENO
1964 # ------------------------
1965 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1966 ac_fn_cxx_try_cpp ()
1968 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1969 if { { ac_try="$ac_cpp conftest.$ac_ext"
1971 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1972 *) ac_try_echo
=$ac_try;;
1974 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1975 $as_echo "$ac_try_echo"; } >&5
1976 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1978 if test -s conftest.err
; then
1979 grep -v '^ *+' conftest.err
>conftest.er1
1980 cat conftest.er1
>&5
1981 mv -f conftest.er1 conftest.err
1983 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1984 test $ac_status = 0; } > conftest.i
&& {
1985 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1986 test ! -s conftest.err
1990 $as_echo "$as_me: failed program was:" >&5
1991 sed 's/^/| /' conftest.
$ac_ext >&5
1995 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1996 as_fn_set_status
$ac_retval
1998 } # ac_fn_cxx_try_cpp
2000 # ac_fn_cxx_try_link LINENO
2001 # -------------------------
2002 # Try to link conftest.$ac_ext, and return whether this succeeded.
2003 ac_fn_cxx_try_link
()
2005 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2006 rm -f conftest.
$ac_objext conftest
$ac_exeext
2007 if { { ac_try
="$ac_link"
2009 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2010 *) ac_try_echo=$ac_try;;
2012 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2013 $as_echo "$ac_try_echo"; } >&5
2014 (eval "$ac_link") 2>conftest.err
2016 if test -s conftest.err; then
2017 grep -v '^ *+' conftest.err >conftest.er1
2018 cat conftest.er1 >&5
2019 mv -f conftest.er1 conftest.err
2021 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2022 test $ac_status = 0; } && {
2023 test -z "$ac_cxx_werror_flag" ||
2024 test ! -s conftest.err
2025 } && test -s conftest$ac_exeext && {
2026 test "$cross_compiling" = yes ||
2027 $as_test_x conftest$ac_exeext
2031 $as_echo "$as_me: failed program was:" >&5
2032 sed 's/^/| /' conftest.$ac_ext >&5
2036 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2037 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2038 # interfere with the next link command; also delete a directory that is
2039 # left behind by Apple's compiler. We do this before executing the actions.
2040 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2041 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2042 as_fn_set_status $ac_retval
2044 } # ac_fn_cxx_try_link
2046 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2047 # -------------------------------------------------------
2048 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2049 # the include files in INCLUDES and setting the cache variable VAR
2051 ac_fn_c_check_header_mongrel ()
2053 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2054 if eval \${$3+:} false; then :
2055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2056 $as_echo_n "checking for $2... " >&6; }
2057 if eval \${$3+:} false; then :
2058 $as_echo_n "(cached) " >&6
2061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2062 $as_echo "$ac_res" >&6; }
2064 # Is the header compilable?
2065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2066 $as_echo_n "checking $2 usability... " >&6; }
2067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2068 /* end confdefs.h. */
2072 if ac_fn_c_try_compile "$LINENO"; then :
2073 ac_header_compiler=yes
2075 ac_header_compiler=no
2077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2079 $as_echo "$ac_header_compiler" >&6; }
2081 # Is the header present?
2082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2083 $as_echo_n "checking $2 presence... " >&6; }
2084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2085 /* end confdefs.h. */
2088 if ac_fn_c_try_cpp "$LINENO"; then :
2089 ac_header_preproc=yes
2091 ac_header_preproc=no
2093 rm -f conftest.err conftest.i conftest.$ac_ext
2094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2095 $as_echo "$ac_header_preproc" >&6; }
2097 # So? What about this header?
2098 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2100 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2101 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2102 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2103 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2106 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2107 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2108 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2109 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2110 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2111 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2112 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2113 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2114 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2115 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2116 ( $as_echo "## ------------------------------------------------------- ##
2117 ## Report this to http://trac.transmissionbt.com/newticket ##
2118 ## ------------------------------------------------------- ##"
2119 ) | sed "s/^/$as_me: WARNING: /" >&2
2122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2123 $as_echo_n "checking for $2... " >&6; }
2124 if eval \${$3+:} false; then :
2125 $as_echo_n "(cached) " >&6
2127 eval "$3=\$ac_header_compiler"
2130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2131 $as_echo "$ac_res" >&6; }
2133 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2135 } # ac_fn_c_check_header_mongrel
2137 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2138 # ---------------------------------------------
2139 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2141 ac_fn_c_check_decl ()
2143 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2144 as_decl_name=`echo $2|
sed 's/ *(.*//'`
2145 as_decl_use=`echo $2|
sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2147 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2148 if eval \${$3+:} false; then :
2149 $as_echo_n "(cached) " >&6
2151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2152 /* end confdefs.h. */
2157 #ifndef $as_decl_name
2159 (void) $as_decl_use;
2161 (void) $as_decl_name;
2169 if ac_fn_c_try_compile "$LINENO"; then :
2174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2178 $as_echo "$ac_res" >&6; }
2179 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2181 } # ac_fn_c_check_decl
2182 cat >config.log <<_ACEOF
2183 This file contains any messages produced by compilers while
2184 running configure, to aid debugging if configure makes a mistake.
2186 It was created by transmission $as_me 2.51, which was
2187 generated by GNU Autoconf 2.68. Invocation command line was
2199 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2200 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
2201 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
2202 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
2203 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
2205 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2206 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2208 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2209 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2210 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2211 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2212 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2213 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2214 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2222 test -z "$as_dir" && as_dir=.
2223 $as_echo "PATH: $as_dir"
2239 # Keep a trace of the command line.
2240 # Strip out --no-create and --no-recursion so they do not pile up.
2241 # Strip out --silent because we don't want to record it for future runs.
2242 # Also quote any args containing shell meta-characters.
2243 # Make two passes to allow for proper duplicate-argument suppression.
2247 ac_must_keep_next=false
2253 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2254 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2255 | -silent | --silent | --silen | --sile | --sil)
2258 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2261 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2263 as_fn_append ac_configure_args1 " '$ac_arg'"
2264 if test $ac_must_keep_next = true; then
2265 ac_must_keep_next=false # Got value, back to normal.
2268 *=* | --config-cache | -C | -disable-* | --disable-* \
2269 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2270 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2271 | -with-* | --with-* | -without-* | --without-* | --x)
2272 case "$ac_configure_args0 " in
2273 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2276 -* ) ac_must_keep_next=true ;;
2279 as_fn_append ac_configure_args " '$ac_arg'"
2284 { ac_configure_args0=; unset ac_configure_args0;}
2285 { ac_configure_args1=; unset ac_configure_args1;}
2287 # When interrupted or exit'd, cleanup temporary files, and complete
2288 # config.log. We remove comments because anyway the quotes in there
2289 # would cause problems or look ugly.
2290 # WARNING: Use '\'' to represent an apostrophe within the trap.
2291 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2292 trap 'exit_status=$?
2293 # Save into config.log some information that might help in debugging.
2297 $as_echo "## ---------------- ##
2298 ## Cache variables. ##
2299 ## ---------------- ##"
2301 # The following way of writing the cache mishandles newlines in values,
2303 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2304 eval ac_val=\$$ac_var
2308 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2309 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2312 _ | IFS | as_nl) ;; #(
2313 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2314 *) { eval $ac_var=; unset $ac_var;} ;;
2319 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2320 *${as_nl}ac_space=\ *)
2322 "s/'\''/'\''\\\\'\'''\''/g;
2323 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2326 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2333 $as_echo "## ----------------- ##
2334 ## Output variables. ##
2335 ## ----------------- ##"
2337 for ac_var in $ac_subst_vars
2339 eval ac_val=\$$ac_var
2341 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2343 $as_echo "$ac_var='\''$ac_val'\''"
2347 if test -n "$ac_subst_files"; then
2348 $as_echo "## ------------------- ##
2349 ## File substitutions. ##
2350 ## ------------------- ##"
2352 for ac_var in $ac_subst_files
2354 eval ac_val=\$$ac_var
2356 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2358 $as_echo "$ac_var='\''$ac_val'\''"
2363 if test -s confdefs.h; then
2364 $as_echo "## ----------- ##
2371 test "$ac_signal" != 0 &&
2372 $as_echo "$as_me: caught signal $ac_signal"
2373 $as_echo "$as_me: exit $exit_status"
2375 rm -f core *.core core.conftest.* &&
2376 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2379 for ac_signal in 1 2 13 15; do
2380 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2384 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2385 rm -f -r conftest* confdefs.h
2387 $as_echo "/* confdefs.h */" > confdefs.h
2389 # Predefined preprocessor variables.
2391 cat >>confdefs.h <<_ACEOF
2392 #define PACKAGE_NAME "$PACKAGE_NAME"
2395 cat >>confdefs.h <<_ACEOF
2396 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2399 cat >>confdefs.h <<_ACEOF
2400 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2403 cat >>confdefs.h <<_ACEOF
2404 #define PACKAGE_STRING "$PACKAGE_STRING"
2407 cat >>confdefs.h <<_ACEOF
2408 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2411 cat >>confdefs.h <<_ACEOF
2412 #define PACKAGE_URL "$PACKAGE_URL"
2416 # Let the site file select an alternate cache file if it wants to.
2417 # Prefer an explicitly selected file to automatically selected ones.
2420 if test -n "$CONFIG_SITE"; then
2421 # We do not want a PATH search for config.site.
2422 case $CONFIG_SITE in #((
2423 -*) ac_site_file1=./$CONFIG_SITE;;
2424 */*) ac_site_file1=$CONFIG_SITE;;
2425 *) ac_site_file1=./$CONFIG_SITE;;
2427 elif test "x$prefix" != xNONE; then
2428 ac_site_file1=$prefix/share/config.site
2429 ac_site_file2=$prefix/etc/config.site
2431 ac_site_file1=$ac_default_prefix/share/config.site
2432 ac_site_file2=$ac_default_prefix/etc/config.site
2434 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2436 test "x$ac_site_file" = xNONE && continue
2437 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2438 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2439 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2440 sed 's/^/| /' "$ac_site_file" >&5
2442 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2443 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2444 as_fn_error $? "failed to load site
script $ac_site_file
2445 See \
`config.log' for more details" "$LINENO" 5; }
2449 if test -r "$cache_file"; then
2450 # Some versions of bash will fail to source /dev/null (special files
2451 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2452 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2453 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2454 $as_echo "$as_me: loading cache $cache_file" >&6;}
2456 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2457 *) . "./$cache_file";;
2461 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2462 $as_echo "$as_me: creating cache $cache_file" >&6;}
2466 # Check that the precious variables saved in the cache have kept the same
2468 ac_cache_corrupted=false
2469 for ac_var in $ac_precious_vars; do
2470 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2471 eval ac_new_set=\$ac_env_${ac_var}_set
2472 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2473 eval ac_new_val=\$ac_env_${ac_var}_value
2474 case $ac_old_set,$ac_new_set in
2476 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2477 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2478 ac_cache_corrupted=: ;;
2480 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2481 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2482 ac_cache_corrupted=: ;;
2485 if test "x$ac_old_val" != "x$ac_new_val"; then
2486 # differences in whitespace do not lead to failure.
2487 ac_old_val_w=`echo x
$ac_old_val`
2488 ac_new_val_w=`echo x
$ac_new_val`
2489 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2490 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2491 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2492 ac_cache_corrupted=:
2494 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2495 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2496 eval $ac_var=\$ac_old_val
2498 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2499 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2500 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2501 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2504 # Pass precious variables to config.status.
2505 if test "$ac_new_set" = set; then
2507 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2508 *) ac_arg=$ac_var=$ac_new_val ;;
2510 case " $ac_configure_args " in
2511 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2512 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2516 if $ac_cache_corrupted; then
2517 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2518 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2519 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2520 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2521 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2523 ## -------------------- ##
2524 ## Main body of script. ##
2525 ## -------------------- ##
2528 ac_cpp='$CPP $CPPFLAGS'
2529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2534 USERAGENT_PREFIX=2.51
2536 PEERID_PREFIX=-TR2510-
2539 # Check whether --enable-silent-rules was given.
2540 if test "${enable_silent_rules+set}" = set; then :
2541 enableval=$enable_silent_rules;
2544 case $enable_silent_rules in
2545 yes) AM_DEFAULT_VERBOSITY=0;;
2546 no) AM_DEFAULT_VERBOSITY=1;;
2547 *) AM_DEFAULT_VERBOSITY=0;;
2549 am_make=${MAKE-make}
2550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2551 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2552 if ${am_cv_make_support_nested_variables+:} false; then :
2553 $as_echo_n "(cached) " >&6
2555 if $as_echo 'TRUE=$(BAR$(V))
2561 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2562 am_cv_make_support_nested_variables=yes
2564 am_cv_make_support_nested_variables=no
2567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2568 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2569 if test $am_cv_make_support_nested_variables = yes; then
2571 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2573 AM_V=$AM_DEFAULT_VERBOSITY
2574 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2582 am__api_version='1.11'
2585 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2586 if test -f "$ac_dir/install-sh"; then
2588 ac_install_sh="$ac_aux_dir/install-sh -c"
2590 elif test -f "$ac_dir/install.sh"; then
2592 ac_install_sh="$ac_aux_dir/install.sh -c"
2594 elif test -f "$ac_dir/shtool"; then
2596 ac_install_sh="$ac_aux_dir/shtool install -c"
2600 if test -z "$ac_aux_dir"; then
2601 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2604 # These three variables are undocumented and unsupported,
2605 # and are intended to be withdrawn in a future Autoconf release.
2606 # They can cause serious problems if a builder's source tree is in a directory
2607 # whose full name contains unusual characters.
2608 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2609 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2610 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2613 # Find a good install program. We prefer a C program (faster),
2614 # so one script is as good as another. But avoid the broken or
2615 # incompatible versions:
2616 # SysV /etc/install, /usr/sbin/install
2617 # SunOS /usr/etc/install
2618 # IRIX /sbin/install
2620 # AmigaOS /C/install, which installs bootblocks on floppy discs
2621 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2622 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2623 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2624 # OS/2's system install, which has a completely different semantic
2625 # ./install, which can be erroneously created by make from ./install.sh.
2626 # Reject install programs that cannot install multiple files.
2627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2628 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2629 if test -z "$INSTALL"; then
2630 if ${ac_cv_path_install+:} false; then :
2631 $as_echo_n "(cached) " >&6
2633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2637 test -z "$as_dir" && as_dir=.
2638 # Account for people who put trailing slashes in PATH elements.
2639 case $as_dir/ in #((
2640 ./ | .// | /[cC]/* | \
2641 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2642 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2645 # OSF1 and SCO ODT 3.0 have their own names for install.
2646 # Don't use installbsd from OSF since it installs stuff as root
2648 for ac_prog in ginstall scoinst install; do
2649 for ac_exec_ext in '' $ac_executable_extensions; do
2650 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2651 if test $ac_prog = install &&
2652 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2653 # AIX install. It has an incompatible calling convention.
2655 elif test $ac_prog = install &&
2656 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2657 # program-specific install script used by HP pwplus--don't use.
2660 rm -rf conftest.one conftest.two conftest.dir
2661 echo one > conftest.one
2662 echo two > conftest.two
2664 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2665 test -s conftest.one && test -s conftest.two &&
2666 test -s conftest.dir/conftest.one &&
2667 test -s conftest.dir/conftest.two
2669 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2682 rm -rf conftest.one conftest.two conftest.dir
2685 if test "${ac_cv_path_install+set}" = set; then
2686 INSTALL=$ac_cv_path_install
2688 # As a last resort, use the slow shell script. Don't cache a
2689 # value for INSTALL within a source directory, because that will
2690 # break other packages using the cache if that directory is
2691 # removed, or if the value is a relative name.
2692 INSTALL=$ac_install_sh
2695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2696 $as_echo "$INSTALL" >&6; }
2698 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2699 # It thinks the first close brace ends the variable substitution.
2700 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2702 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2704 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2707 $as_echo_n "checking whether build environment is sane... " >&6; }
2710 echo timestamp > conftest.file
2711 # Reject unsafe characters in $srcdir or the absolute working directory
2712 # name. Accept space and tab only in the latter.
2716 *[\\\"\#\$\&\'\`$am_lf]*)
2717 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2720 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2721 as_fn_error $?
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2724 # Do `set' in a subshell so we don't clobber the current shell's
2725 # arguments. Must try -L first in case configure is actually a
2726 # symlink; some systems play weird games with the mod time of symlinks
2727 # (eg FreeBSD returns the mod time of the symlink's containing
2730 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2731 if test "$*" = "X"; then
2733 set X
`ls -t "$srcdir/configure" conftest.file`
2736 if test "$*" != "X $srcdir/configure conftest.file" \
2737 && test "$*" != "X conftest.file $srcdir/configure"; then
2739 # If neither matched, then we have a broken ls. This can happen
2740 # if, for instance, CONFIG_SHELL is bash and it inherits a
2741 # broken ls alias from the environment. This has actually
2742 # happened. Such a system could not be considered "sane".
2743 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2744 alias in your environment" "$LINENO" 5
2747 test "$2" = conftest.
file
2753 as_fn_error $?
"newly created file is older than distributed files!
2754 Check your system clock" "$LINENO" 5
2756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2757 $as_echo "yes" >&6; }
2758 test "$program_prefix" != NONE
&&
2759 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2760 # Use a double $ so make ignores it.
2761 test "$program_suffix" != NONE
&&
2762 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2763 # Double any \ or $.
2764 # By default was `s,x,x', remove it if useless.
2765 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2766 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2768 # expand $ac_aux_dir to an absolute path
2769 am_aux_dir
=`cd $ac_aux_dir && pwd`
2771 if test x
"${MISSING+set}" != xset
; then
2774 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2776 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2779 # Use eval to expand $SHELL
2780 if eval "$MISSING --run true"; then
2781 am_missing_run
="$MISSING --run "
2784 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2785 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2788 if test x
"${install_sh}" != xset
; then
2791 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2793 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2797 # Installed binaries are usually stripped using `strip' when the user
2798 # run `make install-strip'. However `strip' might not be the right
2799 # tool to use in cross-compilation environments, therefore Automake
2800 # will honor the `STRIP' environment variable to overrule this program.
2801 if test "$cross_compiling" != no
; then
2802 if test -n "$ac_tool_prefix"; then
2803 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2804 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2806 $as_echo_n "checking for $ac_word... " >&6; }
2807 if ${ac_cv_prog_STRIP+:} false
; then :
2808 $as_echo_n "(cached) " >&6
2810 if test -n "$STRIP"; then
2811 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2813 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2817 test -z "$as_dir" && as_dir
=.
2818 for ac_exec_ext
in '' $ac_executable_extensions; do
2819 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2820 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2821 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2830 STRIP
=$ac_cv_prog_STRIP
2831 if test -n "$STRIP"; then
2832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2833 $as_echo "$STRIP" >&6; }
2835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2836 $as_echo "no" >&6; }
2841 if test -z "$ac_cv_prog_STRIP"; then
2843 # Extract the first word of "strip", so it can be a program name with args.
2844 set dummy strip
; ac_word
=$2
2845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2846 $as_echo_n "checking for $ac_word... " >&6; }
2847 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
2848 $as_echo_n "(cached) " >&6
2850 if test -n "$ac_ct_STRIP"; then
2851 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2853 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2857 test -z "$as_dir" && as_dir
=.
2858 for ac_exec_ext
in '' $ac_executable_extensions; do
2859 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2860 ac_cv_prog_ac_ct_STRIP
="strip"
2861 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2870 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2871 if test -n "$ac_ct_STRIP"; then
2872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2873 $as_echo "$ac_ct_STRIP" >&6; }
2875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2876 $as_echo "no" >&6; }
2879 if test "x$ac_ct_STRIP" = x
; then
2882 case $cross_compiling:$ac_tool_warned in
2884 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2885 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2886 ac_tool_warned
=yes ;;
2891 STRIP
="$ac_cv_prog_STRIP"
2895 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2898 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2899 if test -z "$MKDIR_P"; then
2900 if ${ac_cv_path_mkdir+:} false
; then :
2901 $as_echo_n "(cached) " >&6
2903 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2904 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2907 test -z "$as_dir" && as_dir
=.
2908 for ac_prog
in mkdir gmkdir
; do
2909 for ac_exec_ext
in '' $ac_executable_extensions; do
2910 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2911 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2912 'mkdir (GNU coreutils) '* | \
2913 'mkdir (coreutils) '* | \
2914 'mkdir (fileutils) '4.1*)
2915 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2925 test -d .
/--version && rmdir .
/--version
2926 if test "${ac_cv_path_mkdir+set}" = set; then
2927 MKDIR_P
="$ac_cv_path_mkdir -p"
2929 # As a last resort, use the slow shell script. Don't cache a
2930 # value for MKDIR_P within a source directory, because that will
2931 # break other packages using the cache if that directory is
2932 # removed, or if the value is a relative name.
2933 MKDIR_P
="$ac_install_sh -d"
2936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2937 $as_echo "$MKDIR_P" >&6; }
2941 [\\/$
]* | ?
:[\\/]*) ;;
2942 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2945 for ac_prog
in gawk mawk nawk
awk
2947 # Extract the first word of "$ac_prog", so it can be a program name with args.
2948 set dummy
$ac_prog; ac_word
=$2
2949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2950 $as_echo_n "checking for $ac_word... " >&6; }
2951 if ${ac_cv_prog_AWK+:} false
; then :
2952 $as_echo_n "(cached) " >&6
2954 if test -n "$AWK"; then
2955 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2957 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2961 test -z "$as_dir" && as_dir
=.
2962 for ac_exec_ext
in '' $ac_executable_extensions; do
2963 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2964 ac_cv_prog_AWK
="$ac_prog"
2965 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2975 if test -n "$AWK"; then
2976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2977 $as_echo "$AWK" >&6; }
2979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2980 $as_echo "no" >&6; }
2984 test -n "$AWK" && break
2987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2988 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2990 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2991 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2992 $as_echo_n "(cached) " >&6
2994 cat >conftest.
make <<\_ACEOF
2997 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2999 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3000 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3002 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3004 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3008 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3010 $as_echo "yes" >&6; }
3013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3014 $as_echo "no" >&6; }
3015 SET_MAKE
="MAKE=${MAKE-make}"
3018 rm -rf .tst
2>/dev
/null
3019 mkdir .tst
2>/dev
/null
3020 if test -d .tst
; then
3025 rmdir .tst
2>/dev
/null
3027 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3028 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3029 # is not polluted with repeated "-I."
3030 am__isrc
=' -I$(srcdir)'
3031 # test to see if srcdir already configured
3032 if test -f $srcdir/config.status
; then
3033 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3037 # test whether we have cygpath
3038 if test -z "$CYGPATH_W"; then
3039 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3040 CYGPATH_W
='cygpath -w'
3047 # Define the identity of the package.
3048 PACKAGE
='transmission'
3052 cat >>confdefs.h
<<_ACEOF
3053 #define PACKAGE "$PACKAGE"
3057 cat >>confdefs.h
<<_ACEOF
3058 #define VERSION "$VERSION"
3061 # Some tools Automake needs.
3063 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3066 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3069 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3072 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3075 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3077 # We need awk for the "check" target. The system "awk" is bad on
3079 # Always define AMTAR for backward compatibility. Yes, it's still used
3080 # in the wild :-( We should find a proper way to deprecate it ...
3084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a pax tar archive" >&5
3085 $as_echo_n "checking how to create a pax tar archive... " >&6; }
3086 # Loop over all known methods to create a tar archive until one works.
3087 _am_tools
='gnutar pax cpio none'
3088 _am_tools
=${am_cv_prog_tar_pax-$_am_tools}
3089 # Do not fold the above two line into one, because Tru64 sh and
3090 # Solaris sh will not grok spaces in the rhs of `-'.
3091 for _am_tool
in $_am_tools
3095 for _am_tar
in tar gnutar gtar
;
3097 { echo "$as_me:$LINENO: $_am_tar --version" >&5
3098 ($_am_tar --version) >&5 2>&5
3100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3101 (exit $ac_status); } && break
3103 am__tar
="$_am_tar --format=posix -chf - "'"$$tardir"'
3104 am__tar_
="$_am_tar --format=posix -chf - "'"$tardir"'
3105 am__untar
="$_am_tar -xf -"
3108 # Must skip GNU tar: if it does not support --format= it doesn't create
3109 # ustar tarball either.
3110 (tar --version) >/dev
/null
2>&1 && continue
3111 am__tar
='tar chf - "$$tardir"'
3112 am__tar_
='tar chf - "$tardir"'
3113 am__untar
='tar xf -'
3116 am__tar
='pax -L -x pax -w "$$tardir"'
3117 am__tar_
='pax -L -x pax -w "$tardir"'
3121 am__tar
='find "$$tardir" -print | cpio -o -H pax -L'
3122 am__tar_
='find "$tardir" -print | cpio -o -H pax -L'
3123 am__untar
='cpio -i -H pax -d'
3132 # If the value was cached, stop now. We just wanted to have am__tar
3133 # and am__untar set.
3134 test -n "${am_cv_prog_tar_pax}" && break
3136 # tar/untar a dummy directory, and stop if the command works
3139 echo GrepMe
> conftest.dir
/file
3140 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
3141 (tardir
=conftest.dir
&& eval $am__tar_ >conftest.
tar) >&5 2>&5
3143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3144 (exit $ac_status); }
3146 if test -s conftest.
tar; then
3147 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
3148 ($am__untar <conftest.
tar) >&5 2>&5
3150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3151 (exit $ac_status); }
3152 grep GrepMe conftest.dir
/file >/dev
/null
2>&1 && break
3157 if ${am_cv_prog_tar_pax+:} false
; then :
3158 $as_echo_n "(cached) " >&6
3160 am_cv_prog_tar_pax
=$_am_tool
3163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_pax" >&5
3164 $as_echo "$am_cv_prog_tar_pax" >&6; }
3172 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3173 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3178 macro_version
='2.4.2'
3179 macro_revision
='1.3337'
3193 ltmain
="$ac_aux_dir/ltmain.sh"
3195 # Make sure we can run config.sub.
3196 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3197 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3200 $as_echo_n "checking build system type... " >&6; }
3201 if ${ac_cv_build+:} false
; then :
3202 $as_echo_n "(cached) " >&6
3204 ac_build_alias
=$build_alias
3205 test "x$ac_build_alias" = x
&&
3206 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3207 test "x$ac_build_alias" = x
&&
3208 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3209 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3210 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3214 $as_echo "$ac_cv_build" >&6; }
3215 case $ac_cv_build in
3217 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3220 ac_save_IFS
=$IFS; IFS
='-'
3226 # Remember, the first character of IFS is used to create $*,
3227 # except with old shells:
3230 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3234 $as_echo_n "checking host system type... " >&6; }
3235 if ${ac_cv_host+:} false
; then :
3236 $as_echo_n "(cached) " >&6
3238 if test "x$host_alias" = x
; then
3239 ac_cv_host
=$ac_cv_build
3241 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3242 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3247 $as_echo "$ac_cv_host" >&6; }
3250 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3253 ac_save_IFS
=$IFS; IFS
='-'
3259 # Remember, the first character of IFS is used to create $*,
3260 # except with old shells:
3263 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3266 # Backslashify metacharacters that are still active within
3267 # double-quoted strings.
3268 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
3270 # Same as above, but do not quote variable references.
3271 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
3273 # Sed substitution to delay expansion of an escaped shell variable in a
3274 # double_quote_subst'ed string.
3275 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
3277 # Sed substitution to delay expansion of an escaped single quote.
3278 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
3280 # Sed substitution to avoid accidental globbing in evaled expressions
3281 no_glob_subst
='s/\*/\\\*/g'
3283 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3284 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
3285 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
3287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
3288 $as_echo_n "checking how to print strings... " >&6; }
3289 # Test print first, because it will be a builtin if present.
3290 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
3291 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
3293 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
3296 # Use this function as a fallback that always works.
3297 func_fallback_echo ()
3299 eval 'cat <<_LTECHO_EOF
3303 ECHO='func_fallback_echo
'
3306 # func_echo_all arg...
3307 # Invoke $ECHO with all args, space-separated.
3314 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
3315 $as_echo "printf" >&6; } ;;
3316 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
3317 $as_echo "print -r" >&6; } ;;
3318 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
3319 $as_echo "cat" >&6; } ;;
3335 DEPDIR="${am__leading_dot}deps"
3337 ac_config_commands="$ac_config_commands depfiles"
3340 am_make=${MAKE-make}
3341 cat > confinc << 'END
'
3343 @echo this is the am__doit target
3346 # If we don't
find an include directive
, just comment out the code.
3347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3348 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3352 # First try GNU make style include.
3353 echo "include confinc" > confmf
3354 # Ignore all kinds of additional output from `make'.
3355 case `$am_make -s -f confmf 2> /dev/null` in #(
3356 *the\ am__doit\ target
*)
3362 # Now try BSD make style include.
3363 if test "$am__include" = "#"; then
3364 echo '.include "confinc"' > confmf
3365 case `$am_make -s -f confmf 2> /dev/null` in #(
3366 *the\ am__doit\ target
*)
3367 am__include
=.include
3375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3376 $as_echo "$_am_result" >&6; }
3377 rm -f confinc confmf
3379 # Check whether --enable-dependency-tracking was given.
3380 if test "${enable_dependency_tracking+set}" = set; then :
3381 enableval
=$enable_dependency_tracking;
3384 if test "x$enable_dependency_tracking" != xno
; then
3385 am_depcomp
="$ac_aux_dir/depcomp"
3389 if test "x$enable_dependency_tracking" != xno; then
3399 ac_cpp
='$CPP $CPPFLAGS'
3400 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3401 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3402 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3403 if test -n "$ac_tool_prefix"; then
3404 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3405 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3407 $as_echo_n "checking for $ac_word... " >&6; }
3408 if ${ac_cv_prog_CC+:} false
; then :
3409 $as_echo_n "(cached) " >&6
3411 if test -n "$CC"; then
3412 ac_cv_prog_CC
="$CC" # Let the user override the test.
3414 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3418 test -z "$as_dir" && as_dir
=.
3419 for ac_exec_ext
in '' $ac_executable_extensions; do
3420 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3421 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3422 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3432 if test -n "$CC"; then
3433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3434 $as_echo "$CC" >&6; }
3436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3437 $as_echo "no" >&6; }
3442 if test -z "$ac_cv_prog_CC"; then
3444 # Extract the first word of "gcc", so it can be a program name with args.
3445 set dummy gcc
; ac_word
=$2
3446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3447 $as_echo_n "checking for $ac_word... " >&6; }
3448 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3449 $as_echo_n "(cached) " >&6
3451 if test -n "$ac_ct_CC"; then
3452 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3454 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3458 test -z "$as_dir" && as_dir
=.
3459 for ac_exec_ext
in '' $ac_executable_extensions; do
3460 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3461 ac_cv_prog_ac_ct_CC
="gcc"
3462 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3471 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3472 if test -n "$ac_ct_CC"; then
3473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3474 $as_echo "$ac_ct_CC" >&6; }
3476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3477 $as_echo "no" >&6; }
3480 if test "x$ac_ct_CC" = x
; then
3483 case $cross_compiling:$ac_tool_warned in
3485 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3486 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3487 ac_tool_warned
=yes ;;
3495 if test -z "$CC"; then
3496 if test -n "$ac_tool_prefix"; then
3497 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3498 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3500 $as_echo_n "checking for $ac_word... " >&6; }
3501 if ${ac_cv_prog_CC+:} false
; then :
3502 $as_echo_n "(cached) " >&6
3504 if test -n "$CC"; then
3505 ac_cv_prog_CC
="$CC" # Let the user override the test.
3507 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3511 test -z "$as_dir" && as_dir
=.
3512 for ac_exec_ext
in '' $ac_executable_extensions; do
3513 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3514 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3515 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3525 if test -n "$CC"; then
3526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3527 $as_echo "$CC" >&6; }
3529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3530 $as_echo "no" >&6; }
3536 if test -z "$CC"; then
3537 # Extract the first word of "cc", so it can be a program name with args.
3538 set dummy cc
; ac_word
=$2
3539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3540 $as_echo_n "checking for $ac_word... " >&6; }
3541 if ${ac_cv_prog_CC+:} false
; then :
3542 $as_echo_n "(cached) " >&6
3544 if test -n "$CC"; then
3545 ac_cv_prog_CC
="$CC" # Let the user override the test.
3548 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3552 test -z "$as_dir" && as_dir
=.
3553 for ac_exec_ext
in '' $ac_executable_extensions; do
3554 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3555 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3556 ac_prog_rejected
=yes
3560 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3567 if test $ac_prog_rejected = yes; then
3568 # We found a bogon in the path, so make sure we never use it.
3569 set dummy
$ac_cv_prog_CC
3571 if test $# != 0; then
3572 # We chose a different compiler from the bogus one.
3573 # However, it has the same basename, so the bogon will be chosen
3574 # first if we set CC to just the basename; use the full file name.
3576 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3582 if test -n "$CC"; then
3583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3584 $as_echo "$CC" >&6; }
3586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3587 $as_echo "no" >&6; }
3592 if test -z "$CC"; then
3593 if test -n "$ac_tool_prefix"; then
3594 for ac_prog
in cl.exe
3596 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3597 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3599 $as_echo_n "checking for $ac_word... " >&6; }
3600 if ${ac_cv_prog_CC+:} false
; then :
3601 $as_echo_n "(cached) " >&6
3603 if test -n "$CC"; then
3604 ac_cv_prog_CC
="$CC" # Let the user override the test.
3606 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3610 test -z "$as_dir" && as_dir
=.
3611 for ac_exec_ext
in '' $ac_executable_extensions; do
3612 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3613 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3614 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3624 if test -n "$CC"; then
3625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3626 $as_echo "$CC" >&6; }
3628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3629 $as_echo "no" >&6; }
3633 test -n "$CC" && break
3636 if test -z "$CC"; then
3638 for ac_prog
in cl.exe
3640 # Extract the first word of "$ac_prog", so it can be a program name with args.
3641 set dummy
$ac_prog; ac_word
=$2
3642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3643 $as_echo_n "checking for $ac_word... " >&6; }
3644 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3645 $as_echo_n "(cached) " >&6
3647 if test -n "$ac_ct_CC"; then
3648 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3650 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3654 test -z "$as_dir" && as_dir
=.
3655 for ac_exec_ext
in '' $ac_executable_extensions; do
3656 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3657 ac_cv_prog_ac_ct_CC
="$ac_prog"
3658 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3667 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3668 if test -n "$ac_ct_CC"; then
3669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3670 $as_echo "$ac_ct_CC" >&6; }
3672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3673 $as_echo "no" >&6; }
3677 test -n "$ac_ct_CC" && break
3680 if test "x$ac_ct_CC" = x
; then
3683 case $cross_compiling:$ac_tool_warned in
3685 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3686 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3687 ac_tool_warned
=yes ;;
3696 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3697 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3698 as_fn_error $?
"no acceptable C compiler found in \$PATH
3699 See \`config.log' for more details" "$LINENO" 5; }
3701 # Provide some information about the compiler.
3702 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3705 for ac_option
in --version -v -V -qversion; do
3706 { { ac_try
="$ac_compiler $ac_option >&5"
3708 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3709 *) ac_try_echo=$ac_try;;
3711 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3712 $as_echo "$ac_try_echo"; } >&5
3713 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3715 if test -s conftest.err; then
3717 ... rest of stderr output deleted ...
3718 10q' conftest.err >conftest.er1
3719 cat conftest.er1 >&5
3721 rm -f conftest.er1 conftest.err
3722 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3723 test $ac_status = 0; }
3726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3727 /* end confdefs.h. */
3737 ac_clean_files_save=$ac_clean_files
3738 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3739 # Try to create an executable without -o first, disregard a.out.
3740 # It will help us diagnose broken compilers, and finding out an intuition
3742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3743 $as_echo_n "checking whether the C compiler works... " >&6; }
3744 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3746 # The possible output files:
3747 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3750 for ac_file in $ac_files
3753 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3754 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3759 if { { ac_try="$ac_link_default"
3761 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3762 *) ac_try_echo
=$ac_try;;
3764 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3765 $as_echo "$ac_try_echo"; } >&5
3766 (eval "$ac_link_default") 2>&5
3768 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3769 test $ac_status = 0; }; then :
3770 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3771 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3772 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3773 # so that the user can short-circuit this test for compilers unknown to
3775 for ac_file
in $ac_files ''
3777 test -f "$ac_file" ||
continue
3779 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3782 # We found the default executable, but exeext='' is most
3786 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3788 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3790 # We set ac_cv_exeext here because the later test for it is not
3791 # safe: cross compilers may not add the suffix if given an `-o'
3792 # argument, so we may need to know it at that point already.
3793 # Even if this section looks crufty: it has the advantage of
3800 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3805 if test -z "$ac_file"; then :
3806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3807 $as_echo "no" >&6; }
3808 $as_echo "$as_me: failed program was:" >&5
3809 sed 's/^/| /' conftest.
$ac_ext >&5
3811 { { $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
77 "C compiler cannot create executables
3814 See \`config.log' for more details" "$LINENO" 5; }
3816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3817 $as_echo "yes" >&6; }
3819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3820 $as_echo_n "checking for C compiler default output file name... " >&6; }
3821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3822 $as_echo "$ac_file" >&6; }
3823 ac_exeext
=$ac_cv_exeext
3825 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3826 ac_clean_files
=$ac_clean_files_save
3827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3828 $as_echo_n "checking for suffix of executables... " >&6; }
3829 if { { ac_try
="$ac_link"
3831 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3832 *) ac_try_echo=$ac_try;;
3834 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3835 $as_echo "$ac_try_echo"; } >&5
3836 (eval "$ac_link") 2>&5
3838 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3839 test $ac_status = 0; }; then :
3840 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3841 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3842 # work properly (i.e., refer to `conftest.exe'), while it won't with
3844 for ac_file
in conftest.exe conftest conftest.
*; do
3845 test -f "$ac_file" ||
continue
3847 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3848 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3854 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3855 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3856 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3857 See \`config.log' for more details" "$LINENO" 5; }
3859 rm -f conftest conftest
$ac_cv_exeext
3860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3861 $as_echo "$ac_cv_exeext" >&6; }
3863 rm -f conftest.
$ac_ext
3864 EXEEXT
=$ac_cv_exeext
3866 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3867 /* end confdefs.h. */
3872 FILE *f = fopen ("conftest.out", "w");
3873 return ferror (f) || fclose (f) != 0;
3879 ac_clean_files
="$ac_clean_files conftest.out"
3880 # Check that the compiler produces executables we can run. If not, either
3881 # the compiler is broken, or we cross compile.
3882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3883 $as_echo_n "checking whether we are cross compiling... " >&6; }
3884 if test "$cross_compiling" != yes; then
3885 { { ac_try
="$ac_link"
3887 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3888 *) ac_try_echo=$ac_try;;
3890 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3891 $as_echo "$ac_try_echo"; } >&5
3892 (eval "$ac_link") 2>&5
3894 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3895 test $ac_status = 0; }
3896 if { ac_try='./conftest$ac_cv_exeext'
3897 { { case "(($ac_try" in
3898 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3899 *) ac_try_echo
=$ac_try;;
3901 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3902 $as_echo "$ac_try_echo"; } >&5
3903 (eval "$ac_try") 2>&5
3905 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3906 test $ac_status = 0; }; }; then
3909 if test "$cross_compiling" = maybe
; then
3912 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3913 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3914 as_fn_error $?
"cannot run C compiled programs.
3915 If you meant to cross compile, use \`--host'.
3916 See \`config.log' for more details" "$LINENO" 5; }
3920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3921 $as_echo "$cross_compiling" >&6; }
3923 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3924 ac_clean_files
=$ac_clean_files_save
3925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3926 $as_echo_n "checking for suffix of object files... " >&6; }
3927 if ${ac_cv_objext+:} false
; then :
3928 $as_echo_n "(cached) " >&6
3930 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3931 /* end confdefs.h. */
3941 rm -f conftest.o conftest.obj
3942 if { { ac_try
="$ac_compile"
3944 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3945 *) ac_try_echo=$ac_try;;
3947 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3948 $as_echo "$ac_try_echo"; } >&5
3949 (eval "$ac_compile") 2>&5
3951 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3952 test $ac_status = 0; }; then :
3953 for ac_file in conftest.o conftest.obj conftest.*; do
3954 test -f "$ac_file" || continue;
3956 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3957 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3962 $as_echo "$as_me: failed program was:" >&5
3963 sed 's/^/| /' conftest.$ac_ext >&5
3965 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3966 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3967 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3968 See \
`config.log' for more details" "$LINENO" 5; }
3970 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3973 $as_echo "$ac_cv_objext" >&6; }
3974 OBJEXT=$ac_cv_objext
3976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3977 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3978 if ${ac_cv_c_compiler_gnu+:} false; then :
3979 $as_echo_n "(cached) " >&6
3981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3982 /* end confdefs.h. */
3995 if ac_fn_c_try_compile "$LINENO"; then :
4000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4001 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4005 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4006 if test $ac_compiler_gnu = yes; then
4011 ac_test_CFLAGS=${CFLAGS+set}
4012 ac_save_CFLAGS=$CFLAGS
4013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4014 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4015 if ${ac_cv_prog_cc_g+:} false; then :
4016 $as_echo_n "(cached) " >&6
4018 ac_save_c_werror_flag=$ac_c_werror_flag
4019 ac_c_werror_flag=yes
4022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4023 /* end confdefs.h. */
4033 if ac_fn_c_try_compile "$LINENO"; then :
4037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4038 /* end confdefs.h. */
4048 if ac_fn_c_try_compile "$LINENO"; then :
4051 ac_c_werror_flag=$ac_save_c_werror_flag
4053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4054 /* end confdefs.h. */
4064 if ac_fn_c_try_compile "$LINENO"; then :
4067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4072 ac_c_werror_flag=$ac_save_c_werror_flag
4074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4075 $as_echo "$ac_cv_prog_cc_g" >&6; }
4076 if test "$ac_test_CFLAGS" = set; then
4077 CFLAGS=$ac_save_CFLAGS
4078 elif test $ac_cv_prog_cc_g = yes; then
4079 if test "$GCC" = yes; then
4085 if test "$GCC" = yes; then
4091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4092 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4093 if ${ac_cv_prog_cc_c89+:} false; then :
4094 $as_echo_n "(cached) " >&6
4096 ac_cv_prog_cc_c89=no
4098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4099 /* end confdefs.h. */
4102 #include <sys/types.h>
4103 #include <sys/stat.h>
4104 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4105 struct buf { int x; };
4106 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4107 static char *e (p, i)
4113 static char *f (char * (*g) (char **, int), char **p, ...)
4118 s = g (p, va_arg (v,int));
4123 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4124 function prototypes and stuff, but not '\xHH' hex character constants.
4125 These don't provoke an error unfortunately, instead are silently treated
4126 as 'x'. The following induces an error, until -std is added to get
4127 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4128 array size at least. It's necessary to write '\x00'==0 to get something
4129 that's true only with -std. */
4130 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4132 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4133 inside strings and character constants. */
4135 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4137 int test (int i, double x);
4138 struct s1 {int (*f) (int a);};
4139 struct s2 {int (*f) (double a);};
4140 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4146 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4151 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4152 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4154 CC="$ac_save_CC $ac_arg"
4155 if ac_fn_c_try_compile "$LINENO"; then :
4156 ac_cv_prog_cc_c89=$ac_arg
4158 rm -f core conftest.err conftest.$ac_objext
4159 test "x$ac_cv_prog_cc_c89" != "xno" && break
4161 rm -f conftest.$ac_ext
4166 case "x$ac_cv_prog_cc_c89" in
4168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4169 $as_echo "none needed" >&6; } ;;
4171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4172 $as_echo "unsupported" >&6; } ;;
4174 CC="$CC $ac_cv_prog_cc_c89"
4175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4176 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4178 if test "x$ac_cv_prog_cc_c89" != xno; then :
4183 ac_cpp='$CPP $CPPFLAGS'
4184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4188 depcc="$CC" am_compiler_list=
4190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4191 $as_echo_n "checking dependency style of $depcc... " >&6; }
4192 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4193 $as_echo_n "(cached) " >&6
4195 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4196 # We make a subdir and do the tests there. Otherwise we can end up
4197 # making bogus files that we don't know about and never remove. For
4198 # instance it was reported that on HP-UX the gcc test will end up
4199 # making a dummy file named `D
' -- because `-MD' means
`put the output
4203 # Copy depcomp to subdir because otherwise we won't find it if we're
4204 # using a relative directory.
4205 cp "$am_depcomp" conftest.dir
4207 # We will build objects and dependencies in a subdirectory because
4208 # it helps to detect inapplicable dependency modes. For instance
4209 # both Tru64's cc and ICC support -MD to output dependencies as a
4210 # side effect of compilation, but ICC will put the dependencies in
4211 # the current directory while Tru64 will put them in the object
4215 am_cv_CC_dependencies_compiler_type=none
4216 if test "$am_compiler_list" = ""; then
4217 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4220 case " $depcc " in #(
4221 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4224 for depmode in $am_compiler_list; do
4225 # Setup a source with many dependencies, because some compilers
4226 # like to wrap large dependency lists on column 80 (with \), and
4227 # we should not choose a depcomp mode which is confused by this.
4229 # We need to recreate these files for each test, as the compiler may
4230 # overwrite some of them when testing with obscure command lines.
4231 # This happens at least with the AIX C compiler.
4233 for i in 1 2 3 4 5 6; do
4234 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4235 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
4236 # Solaris 8's
{/usr
,}/bin
/sh.
4237 touch sub
/conftst
$i.h
4239 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4241 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4242 # mode. It turns out that the SunPro C++ compiler does not properly
4243 # handle `-M -o', and we need to detect this. Also, some Intel
4244 # versions had trouble with output in subdirs
4245 am__obj
=sub
/conftest.
${OBJEXT-o}
4246 am__minus_obj
="-o $am__obj"
4249 # This depmode causes a compiler race in universal mode.
4250 test "$am__universal" = false ||
continue
4253 # after this tag, mechanisms are not by side-effect, so they'll
4254 # only be used when explicitly requested
4255 if test "x$enable_dependency_tracking" = xyes
; then
4261 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
4262 # This compiler won't grok `-c -o', but also, the minuso test has
4263 # not run yet. These depmodes are late enough in the game, and
4264 # so weak that their functioning should not be impacted.
4265 am__obj
=conftest.
${OBJEXT-o}
4270 if depmode
=$depmode \
4271 source=sub
/conftest.c object
=$am__obj \
4272 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4273 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4274 >/dev
/null
2>conftest.err
&&
4275 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4276 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4277 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4278 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4279 # icc doesn't choke on unknown options, it will just issue warnings
4280 # or remarks (even with -Werror). So we grep stderr for any message
4281 # that says an option was ignored or not supported.
4282 # When given -MP, icc 7.0 and 7.1 complain thusly:
4283 # icc: Command line warning: ignoring option '-M'; no argument required
4284 # The diagnosis changed in icc 8.0:
4285 # icc: Command line remark: option '-MP' not supported
4286 if (grep 'ignoring option' conftest.err ||
4287 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4288 am_cv_CC_dependencies_compiler_type
=$depmode
4297 am_cv_CC_dependencies_compiler_type
=none
4301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4302 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4303 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4306 test "x$enable_dependency_tracking" != xno \
4307 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4309 am__fastdepCC_FALSE
='#'
4311 am__fastdepCC_TRUE
='#'
4312 am__fastdepCC_FALSE
=
4316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4317 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4318 if ${ac_cv_path_SED+:} false
; then :
4319 $as_echo_n "(cached) " >&6
4321 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
4322 for ac_i
in 1 2 3 4 5 6 7; do
4323 ac_script
="$ac_script$as_nl$ac_script"
4325 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
4326 { ac_script
=; unset ac_script
;}
4327 if test -z "$SED"; then
4328 ac_path_SED_found
=false
4329 # Loop through the user's path and test for each of PROGNAME-LIST
4330 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4334 test -z "$as_dir" && as_dir
=.
4335 for ac_prog
in sed gsed
; do
4336 for ac_exec_ext
in '' $ac_executable_extensions; do
4337 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
4338 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
4339 # Check for GNU ac_path_SED and select it if it is found.
4340 # Check for GNU $ac_path_SED
4341 case `"$ac_path_SED" --version 2>&1` in
4343 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
4346 $as_echo_n 0123456789 >"conftest.in"
4349 cat "conftest.in" "conftest.in" >"conftest.tmp"
4350 mv "conftest.tmp" "conftest.in"
4351 cp "conftest.in" "conftest.nl"
4352 $as_echo '' >> "conftest.nl"
4353 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4354 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4355 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4356 if test $ac_count -gt ${ac_path_SED_max-0}; then
4357 # Best one so far, save it but keep looking for a better one
4358 ac_cv_path_SED
="$ac_path_SED"
4359 ac_path_SED_max
=$ac_count
4361 # 10*(2^10) chars as input seems more than enough
4362 test $ac_count -gt 10 && break
4364 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4367 $ac_path_SED_found && break 3
4372 if test -z "$ac_cv_path_SED"; then
4373 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
4380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4381 $as_echo "$ac_cv_path_SED" >&6; }
4382 SED
="$ac_cv_path_SED"
4385 test -z "$SED" && SED
=sed
4386 Xsed
="$SED -e 1s/^X//"
4398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4399 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4400 if ${ac_cv_path_GREP+:} false
; then :
4401 $as_echo_n "(cached) " >&6
4403 if test -z "$GREP"; then
4404 ac_path_GREP_found
=false
4405 # Loop through the user's path and test for each of PROGNAME-LIST
4406 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4407 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4410 test -z "$as_dir" && as_dir
=.
4411 for ac_prog
in grep ggrep
; do
4412 for ac_exec_ext
in '' $ac_executable_extensions; do
4413 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4414 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
4415 # Check for GNU ac_path_GREP and select it if it is found.
4416 # Check for GNU $ac_path_GREP
4417 case `"$ac_path_GREP" --version 2>&1` in
4419 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4422 $as_echo_n 0123456789 >"conftest.in"
4425 cat "conftest.in" "conftest.in" >"conftest.tmp"
4426 mv "conftest.tmp" "conftest.in"
4427 cp "conftest.in" "conftest.nl"
4428 $as_echo 'GREP' >> "conftest.nl"
4429 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4430 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4431 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4432 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4433 # Best one so far, save it but keep looking for a better one
4434 ac_cv_path_GREP
="$ac_path_GREP"
4435 ac_path_GREP_max
=$ac_count
4437 # 10*(2^10) chars as input seems more than enough
4438 test $ac_count -gt 10 && break
4440 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4443 $ac_path_GREP_found && break 3
4448 if test -z "$ac_cv_path_GREP"; then
4449 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4452 ac_cv_path_GREP
=$GREP
4456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4457 $as_echo "$ac_cv_path_GREP" >&6; }
4458 GREP
="$ac_cv_path_GREP"
4461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4462 $as_echo_n "checking for egrep... " >&6; }
4463 if ${ac_cv_path_EGREP+:} false
; then :
4464 $as_echo_n "(cached) " >&6
4466 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4467 then ac_cv_path_EGREP
="$GREP -E"
4469 if test -z "$EGREP"; then
4470 ac_path_EGREP_found
=false
4471 # Loop through the user's path and test for each of PROGNAME-LIST
4472 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4473 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4476 test -z "$as_dir" && as_dir
=.
4477 for ac_prog
in egrep; do
4478 for ac_exec_ext
in '' $ac_executable_extensions; do
4479 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4480 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4481 # Check for GNU ac_path_EGREP and select it if it is found.
4482 # Check for GNU $ac_path_EGREP
4483 case `"$ac_path_EGREP" --version 2>&1` in
4485 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4488 $as_echo_n 0123456789 >"conftest.in"
4491 cat "conftest.in" "conftest.in" >"conftest.tmp"
4492 mv "conftest.tmp" "conftest.in"
4493 cp "conftest.in" "conftest.nl"
4494 $as_echo 'EGREP' >> "conftest.nl"
4495 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4496 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4497 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4498 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4499 # Best one so far, save it but keep looking for a better one
4500 ac_cv_path_EGREP
="$ac_path_EGREP"
4501 ac_path_EGREP_max
=$ac_count
4503 # 10*(2^10) chars as input seems more than enough
4504 test $ac_count -gt 10 && break
4506 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4509 $ac_path_EGREP_found && break 3
4514 if test -z "$ac_cv_path_EGREP"; then
4515 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4518 ac_cv_path_EGREP
=$EGREP
4523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4524 $as_echo "$ac_cv_path_EGREP" >&6; }
4525 EGREP
="$ac_cv_path_EGREP"
4528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4529 $as_echo_n "checking for fgrep... " >&6; }
4530 if ${ac_cv_path_FGREP+:} false
; then :
4531 $as_echo_n "(cached) " >&6
4533 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
4534 then ac_cv_path_FGREP
="$GREP -F"
4536 if test -z "$FGREP"; then
4537 ac_path_FGREP_found
=false
4538 # Loop through the user's path and test for each of PROGNAME-LIST
4539 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4540 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4543 test -z "$as_dir" && as_dir
=.
4544 for ac_prog
in fgrep
; do
4545 for ac_exec_ext
in '' $ac_executable_extensions; do
4546 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
4547 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } ||
continue
4548 # Check for GNU ac_path_FGREP and select it if it is found.
4549 # Check for GNU $ac_path_FGREP
4550 case `"$ac_path_FGREP" --version 2>&1` in
4552 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
4555 $as_echo_n 0123456789 >"conftest.in"
4558 cat "conftest.in" "conftest.in" >"conftest.tmp"
4559 mv "conftest.tmp" "conftest.in"
4560 cp "conftest.in" "conftest.nl"
4561 $as_echo 'FGREP' >> "conftest.nl"
4562 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4563 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4564 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4565 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4566 # Best one so far, save it but keep looking for a better one
4567 ac_cv_path_FGREP
="$ac_path_FGREP"
4568 ac_path_FGREP_max
=$ac_count
4570 # 10*(2^10) chars as input seems more than enough
4571 test $ac_count -gt 10 && break
4573 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4576 $ac_path_FGREP_found && break 3
4581 if test -z "$ac_cv_path_FGREP"; then
4582 as_fn_error $?
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4585 ac_cv_path_FGREP
=$FGREP
4590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4591 $as_echo "$ac_cv_path_FGREP" >&6; }
4592 FGREP
="$ac_cv_path_FGREP"
4595 test -z "$GREP" && GREP
=grep
4615 # Check whether --with-gnu-ld was given.
4616 if test "${with_gnu_ld+set}" = set; then :
4617 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
4623 if test "$GCC" = yes; then
4624 # Check if gcc -print-prog-name=ld gives a path.
4625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4626 $as_echo_n "checking for ld used by $CC... " >&6; }
4629 # gcc leaves a trailing carriage return which upsets mingw
4630 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4632 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
4635 # Accept absolute paths.
4637 re_direlt
='/[^/][^/]*/\.\./'
4638 # Canonicalize the pathname of ld
4639 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4640 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
4641 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4643 test -z "$LD" && LD
="$ac_prog"
4646 # If it fails, then pretend we aren't using GCC.
4650 # If it is relative, then search for the first ld in PATH.
4654 elif test "$with_gnu_ld" = yes; then
4655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4656 $as_echo_n "checking for GNU ld... " >&6; }
4658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4659 $as_echo_n "checking for non-GNU ld... " >&6; }
4661 if ${lt_cv_path_LD+:} false
; then :
4662 $as_echo_n "(cached) " >&6
4664 if test -z "$LD"; then
4665 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4666 for ac_dir
in $PATH; do
4668 test -z "$ac_dir" && ac_dir
=.
4669 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
4670 lt_cv_path_LD
="$ac_dir/$ac_prog"
4671 # Check to see if the program is GNU ld. I'd rather use --version,
4672 # but apparently some variants of GNU ld only accept -v.
4673 # Break only if it was the GNU/non-GNU ld that we prefer.
4674 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4675 *GNU
* |
*'with BFD'*)
4676 test "$with_gnu_ld" != no
&& break
4679 test "$with_gnu_ld" != yes && break
4686 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
4691 if test -n "$LD"; then
4692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4693 $as_echo "$LD" >&6; }
4695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4696 $as_echo "no" >&6; }
4698 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
4699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4700 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4701 if ${lt_cv_prog_gnu_ld+:} false
; then :
4702 $as_echo_n "(cached) " >&6
4704 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4705 case `$LD -v 2>&1 </dev/null` in
4706 *GNU
* |
*'with BFD'*)
4707 lt_cv_prog_gnu_ld
=yes
4710 lt_cv_prog_gnu_ld
=no
4714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4715 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4716 with_gnu_ld
=$lt_cv_prog_gnu_ld
4726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4727 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4728 if ${lt_cv_path_NM+:} false
; then :
4729 $as_echo_n "(cached) " >&6
4731 if test -n "$NM"; then
4732 # Let the user override the test.
4735 lt_nm_to_check
="${ac_tool_prefix}nm"
4736 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4737 lt_nm_to_check
="$lt_nm_to_check nm"
4739 for lt_tmp_nm
in $lt_nm_to_check; do
4740 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4741 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
4743 test -z "$ac_dir" && ac_dir
=.
4744 tmp_nm
="$ac_dir/$lt_tmp_nm"
4745 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
4746 # Check to see if the nm accepts a BSD-compat flag.
4747 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4748 # nm: unknown option "B" ignored
4749 # Tru64's nm complains that /dev/null is an invalid object file
4750 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4751 */dev
/null
* |
*'Invalid file or object type'*)
4752 lt_cv_path_NM
="$tmp_nm -B"
4756 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4758 lt_cv_path_NM
="$tmp_nm -p"
4762 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4763 continue # so that we can try to find one that supports BSD flags
4772 : ${lt_cv_path_NM=no}
4775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4776 $as_echo "$lt_cv_path_NM" >&6; }
4777 if test "$lt_cv_path_NM" != "no"; then
4780 # Didn't find any BSD compatible name lister, look for dumpbin.
4781 if test -n "$DUMPBIN"; then :
4782 # Let the user override the test.
4784 if test -n "$ac_tool_prefix"; then
4785 for ac_prog
in dumpbin
"link -dump"
4787 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4788 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4790 $as_echo_n "checking for $ac_word... " >&6; }
4791 if ${ac_cv_prog_DUMPBIN+:} false
; then :
4792 $as_echo_n "(cached) " >&6
4794 if test -n "$DUMPBIN"; then
4795 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
4797 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4801 test -z "$as_dir" && as_dir
=.
4802 for ac_exec_ext
in '' $ac_executable_extensions; do
4803 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4804 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
4805 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4814 DUMPBIN
=$ac_cv_prog_DUMPBIN
4815 if test -n "$DUMPBIN"; then
4816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4817 $as_echo "$DUMPBIN" >&6; }
4819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4820 $as_echo "no" >&6; }
4824 test -n "$DUMPBIN" && break
4827 if test -z "$DUMPBIN"; then
4828 ac_ct_DUMPBIN
=$DUMPBIN
4829 for ac_prog
in dumpbin
"link -dump"
4831 # Extract the first word of "$ac_prog", so it can be a program name with args.
4832 set dummy
$ac_prog; ac_word
=$2
4833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4834 $as_echo_n "checking for $ac_word... " >&6; }
4835 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false
; then :
4836 $as_echo_n "(cached) " >&6
4838 if test -n "$ac_ct_DUMPBIN"; then
4839 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
4841 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4845 test -z "$as_dir" && as_dir
=.
4846 for ac_exec_ext
in '' $ac_executable_extensions; do
4847 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4848 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
4849 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4858 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
4859 if test -n "$ac_ct_DUMPBIN"; then
4860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4861 $as_echo "$ac_ct_DUMPBIN" >&6; }
4863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4864 $as_echo "no" >&6; }
4868 test -n "$ac_ct_DUMPBIN" && break
4871 if test "x$ac_ct_DUMPBIN" = x
; then
4874 case $cross_compiling:$ac_tool_warned in
4876 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4877 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4878 ac_tool_warned
=yes ;;
4880 DUMPBIN
=$ac_ct_DUMPBIN
4884 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4886 DUMPBIN
="$DUMPBIN -symbols"
4894 if test "$DUMPBIN" != ":"; then
4898 test -z "$NM" && NM
=nm
4905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4906 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4907 if ${lt_cv_nm_interface+:} false
; then :
4908 $as_echo_n "(cached) " >&6
4910 lt_cv_nm_interface
="BSD nm"
4911 echo "int some_variable = 0;" > conftest.
$ac_ext
4912 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4913 (eval "$ac_compile" 2>conftest.err
)
4914 cat conftest.err
>&5
4915 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4916 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
4917 cat conftest.err
>&5
4918 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4919 cat conftest.out
>&5
4920 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
4921 lt_cv_nm_interface
="MS dumpbin"
4925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4926 $as_echo "$lt_cv_nm_interface" >&6; }
4928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4929 $as_echo_n "checking whether ln -s works... " >&6; }
4931 if test "$LN_S" = "ln -s"; then
4932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4933 $as_echo "yes" >&6; }
4935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4936 $as_echo "no, using $LN_S" >&6; }
4939 # find the maximum length of command line arguments
4940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4941 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4942 if ${lt_cv_sys_max_cmd_len+:} false
; then :
4943 $as_echo_n "(cached) " >&6
4950 # On DJGPP, this test can blow up pretty badly due to problems in libc
4951 # (any single argument exceeding 2000 bytes causes a buffer overrun
4952 # during glob expansion). Even if it were fixed, the result of this
4953 # check would be larger than it should be.
4954 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
4958 # Under GNU Hurd, this test is not required because there is
4959 # no limit to the length of command line arguments.
4960 # Libtool will interpret -1 as no limit whatsoever
4961 lt_cv_sys_max_cmd_len
=-1;
4964 cygwin
* | mingw
* | cegcc
*)
4965 # On Win9x/ME, this test blows up -- it succeeds, but takes
4966 # about 5 minutes as the teststring grows exponentially.
4967 # Worse, since 9x/ME are not pre-emptively multitasking,
4968 # you end up with a "frozen" computer, even though with patience
4969 # the test eventually succeeds (with a max line length of 256k).
4970 # Instead, let's just punt: use the minimum linelength reported by
4971 # all of the supported platforms: 8192 (on NT/2K/XP).
4972 lt_cv_sys_max_cmd_len
=8192;
4976 # On MiNT this can take a long time and run out of memory.
4977 lt_cv_sys_max_cmd_len
=8192;
4981 # On AmigaOS with pdksh, this test takes hours, literally.
4982 # So we just punt and use a minimum line length of 8192.
4983 lt_cv_sys_max_cmd_len
=8192;
4986 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
4987 # This has been around since 386BSD, at least. Likely further.
4988 if test -x /sbin
/sysctl
; then
4989 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
4990 elif test -x /usr
/sbin
/sysctl
; then
4991 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
4993 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
4995 # And add a safety zone
4996 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4997 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5001 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5002 lt_cv_sys_max_cmd_len
=196608
5006 # The test takes a long time on OS/2.
5007 lt_cv_sys_max_cmd_len
=8192
5011 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5012 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5013 # nice to cause kernel panics so lets avoid the loop below.
5014 # First set a reasonable default.
5015 lt_cv_sys_max_cmd_len
=16384
5017 if test -x /sbin
/sysconfig
; then
5018 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5019 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
5024 lt_cv_sys_max_cmd_len
=102400
5026 sysv5
* | sco5v6
* | sysv4.2uw2
*)
5027 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5028 if test -n "$kargmax"; then
5029 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
5031 lt_cv_sys_max_cmd_len
=32768
5035 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
5036 if test -n "$lt_cv_sys_max_cmd_len"; then
5037 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5038 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5040 # Make teststring a little bigger before we do anything with it.
5041 # a 1K string should be a reasonable start.
5042 for i
in 1 2 3 4 5 6 7 8 ; do
5043 teststring
=$teststring$teststring
5045 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
5046 # If test is not a shell built-in, we'll probably end up computing a
5047 # maximum length that is only half of the actual maximum length, but
5049 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5050 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
5051 test $i != 17 # 1/2 MB should be enough
5054 teststring
=$teststring$teststring
5056 # Only check the string length outside the loop.
5057 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
5059 # Add a significant safety factor because C++ compilers can tack on
5060 # massive amounts of additional arguments before passing them to the
5061 # linker. It appears as though 1/2 is a usable value.
5062 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
5069 if test -n $lt_cv_sys_max_cmd_len ; then
5070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5071 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5074 $as_echo "none" >&6; }
5076 max_cmd_len
=$lt_cv_sys_max_cmd_len
5087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5088 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5089 # Try some XSI features
5092 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5094 && eval 'test $(( 1 + 1 )) -eq 2 \
5095 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5097 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
5098 $as_echo "$xsi_shell" >&6; }
5101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
5102 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
5104 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
5106 && lt_shell_append=yes
5107 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
5108 $as_echo "$lt_shell_append" >&6; }
5111 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5121 # test EBCDIC or ASCII
5122 case `echo X|tr X '\101'` in
5123 A) # ASCII based system
5124 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5125 lt_SP2NL='tr \040 \012'
5126 lt_NL2SP='tr \015\012 \040\040'
5128 *) # EBCDIC based system
5129 lt_SP2NL='tr \100 \n'
5130 lt_NL2SP='tr \r\n \100\100'
5142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to
$host format
" >&5
5143 $as_echo_n "checking how to convert
$build file names to
$host format...
" >&6; }
5144 if ${lt_cv_to_host_file_cmd+:} false; then :
5145 $as_echo_n "(cached
) " >&6
5150 *-*-mingw* ) # actually msys
5151 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5154 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5156 * ) # otherwise, assume *nix
5157 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5163 *-*-mingw* ) # actually msys
5164 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5167 lt_cv_to_host_file_cmd=func_convert_file_noop
5169 * ) # otherwise, assume *nix
5170 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5174 * ) # unhandled hosts (and "normal
" native builds)
5175 lt_cv_to_host_file_cmd=func_convert_file_noop
5181 to_host_file_cmd=$lt_cv_to_host_file_cmd
5182 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_host_file_cmd" >&5
5183 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to toolchain format
" >&5
5190 $as_echo_n "checking how to convert
$build file names to toolchain format...
" >&6; }
5191 if ${lt_cv_to_tool_file_cmd+:} false; then :
5192 $as_echo_n "(cached
) " >&6
5194 #assume ordinary cross tools, or native build.
5195 lt_cv_to_tool_file_cmd=func_convert_file_noop
5199 *-*-mingw* ) # actually msys
5200 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5208 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5209 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_tool_file_cmd" >&5
5210 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
5217 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
5218 if ${lt_cv_ld_reload_flag+:} false; then :
5219 $as_echo_n "(cached
) " >&6
5221 lt_cv_ld_reload_flag='-r'
5223 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
5224 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5225 reload_flag=$lt_cv_ld_reload_flag
5226 case $reload_flag in
5228 *) reload_flag=" $reload_flag" ;;
5230 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5232 cygwin* | mingw* | pw32* | cegcc*)
5233 if test "$GCC" != yes; then
5238 if test "$GCC" = yes; then
5239 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5241 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5254 if test -n "$ac_tool_prefix"; then
5255 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
5256 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5258 $as_echo_n "checking
for $ac_word...
" >&6; }
5259 if ${ac_cv_prog_OBJDUMP+:} false; then :
5260 $as_echo_n "(cached
) " >&6
5262 if test -n "$OBJDUMP"; then
5263 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5269 test -z "$as_dir" && as_dir=.
5270 for ac_exec_ext in '' $ac_executable_extensions; do
5271 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5272 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
5273 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5282 OBJDUMP=$ac_cv_prog_OBJDUMP
5283 if test -n "$OBJDUMP"; then
5284 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
5285 $as_echo "$OBJDUMP" >&6; }
5287 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5288 $as_echo "no
" >&6; }
5293 if test -z "$ac_cv_prog_OBJDUMP"; then
5294 ac_ct_OBJDUMP=$OBJDUMP
5295 # Extract the first word of "objdump
", so it can be a program name with args.
5296 set dummy objdump; ac_word=$2
5297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5298 $as_echo_n "checking
for $ac_word...
" >&6; }
5299 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5300 $as_echo_n "(cached
) " >&6
5302 if test -n "$ac_ct_OBJDUMP"; then
5303 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5309 test -z "$as_dir" && as_dir=.
5310 for ac_exec_ext in '' $ac_executable_extensions; do
5311 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5312 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
5313 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5322 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5323 if test -n "$ac_ct_OBJDUMP"; then
5324 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
5325 $as_echo "$ac_ct_OBJDUMP" >&6; }
5327 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5328 $as_echo "no
" >&6; }
5331 if test "x
$ac_ct_OBJDUMP" = x; then
5334 case $cross_compiling:$ac_tool_warned in
5336 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5337 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5338 ac_tool_warned=yes ;;
5340 OBJDUMP=$ac_ct_OBJDUMP
5343 OBJDUMP="$ac_cv_prog_OBJDUMP"
5346 test -z "$OBJDUMP" && OBJDUMP=objdump
5356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
5357 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
5358 if ${lt_cv_deplibs_check_method+:} false; then :
5359 $as_echo_n "(cached
) " >&6
5361 lt_cv_file_magic_cmd='$MAGIC_CMD'
5362 lt_cv_file_magic_test_file=
5363 lt_cv_deplibs_check_method='unknown'
5364 # Need to set the preceding variable on all platforms that support
5365 # interlibrary dependencies.
5366 # 'none' -- dependencies not supported.
5367 # `unknown' -- same as none, but documents that we really don't know.
5368 # 'pass_all' -- all dependencies passed with no checks.
5369 # 'test_compile' -- check by making test program.
5370 # 'file_magic [[regex]]' -- check by looking for files in library path
5371 # which responds to the $file_magic_cmd with a given extended regex.
5372 # If you have `file' or equivalent on your system and you're not sure
5373 # whether `pass_all' will *always* work, you probably want this one.
5377 lt_cv_deplibs_check_method=pass_all
5381 lt_cv_deplibs_check_method=pass_all
5385 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5386 lt_cv_file_magic_cmd='/usr/bin/file -L'
5387 lt_cv_file_magic_test_file=/shlib/libc.so
5391 # func_win32_libid is a shell function defined in ltmain.sh
5392 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5393 lt_cv_file_magic_cmd='func_win32_libid'
5397 # Base MSYS/MinGW do not provide the 'file' command needed by
5398 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5399 # unless we find 'file', for example because we are cross-compiling.
5400 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5401 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
5402 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5403 lt_cv_file_magic_cmd='func_win32_libid'
5405 # Keep this pattern in sync with the one in func_win32_libid.
5406 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5407 lt_cv_file_magic_cmd='$OBJDUMP -f'
5412 # use the weaker test based on 'objdump'. See mingw*.
5413 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5414 lt_cv_file_magic_cmd='$OBJDUMP -f'
5417 darwin* | rhapsody*)
5418 lt_cv_deplibs_check_method=pass_all
5421 freebsd* | dragonfly*)
5422 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5425 # Not sure whether the presence of OpenBSD here was a mistake.
5426 # Let's accept both of them until this is cleared up.
5427 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5428 lt_cv_file_magic_cmd=/usr/bin/file
5429 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5433 lt_cv_deplibs_check_method=pass_all
5438 lt_cv_deplibs_check_method=pass_all
5442 lt_cv_deplibs_check_method=pass_all
5445 hpux10.20* | hpux11*)
5446 lt_cv_file_magic_cmd=/usr/bin/file
5449 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5450 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5453 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]'
5454 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5457 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5458 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5464 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5465 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5468 irix5* | irix6* | nonstopux*)
5470 *-32|*"-32 ") libmagic=32-bit;;
5471 *-n32|*"-n32 ") libmagic=N32;;
5472 *-64|*"-64 ") libmagic=64-bit;;
5473 *) libmagic=never-match;;
5475 lt_cv_deplibs_check_method=pass_all
5478 # This must be glibc/ELF.
5479 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5480 lt_cv_deplibs_check_method=pass_all
5483 netbsd* | netbsdelf*-gnu)
5484 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5485 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5487 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5492 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5493 lt_cv_file_magic_cmd=/usr/bin/file
5494 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5498 lt_cv_deplibs_check_method=pass_all
5502 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
5503 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5505 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5509 osf3* | osf4* | osf5*)
5510 lt_cv_deplibs_check_method=pass_all
5514 lt_cv_deplibs_check_method=pass_all
5518 lt_cv_deplibs_check_method=pass_all
5521 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5522 lt_cv_deplibs_check_method=pass_all
5526 case $host_vendor in
5528 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]'
5529 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5532 lt_cv_deplibs_check_method=pass_all
5535 lt_cv_file_magic_cmd='/bin/file'
5536 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5539 lt_cv_file_magic_cmd='/bin/file'
5540 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
5541 lt_cv_file_magic_test_file=/lib/libc.so
5544 lt_cv_deplibs_check_method=pass_all
5547 lt_cv_deplibs_check_method=pass_all
5553 lt_cv_deplibs_check_method=pass_all
5558 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
5559 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5563 if test "$build" = "$host"; then
5566 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5569 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s
/\
(..\
)/s\
/[\
1]\
/[\
1]\
/g
;/g
"`
5575 file_magic_cmd=$lt_cv_file_magic_cmd
5576 deplibs_check_method=$lt_cv_deplibs_check_method
5577 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5600 if test -n "$ac_tool_prefix"; then
5601 # Extract the first word of "${ac_tool_prefix}dlltool
", so it can be a program name with args.
5602 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5604 $as_echo_n "checking
for $ac_word...
" >&6; }
5605 if ${ac_cv_prog_DLLTOOL+:} false; then :
5606 $as_echo_n "(cached
) " >&6
5608 if test -n "$DLLTOOL"; then
5609 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5611 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5615 test -z "$as_dir" && as_dir=.
5616 for ac_exec_ext in '' $ac_executable_extensions; do
5617 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5618 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool
"
5619 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5628 DLLTOOL=$ac_cv_prog_DLLTOOL
5629 if test -n "$DLLTOOL"; then
5630 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
5631 $as_echo "$DLLTOOL" >&6; }
5633 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5634 $as_echo "no
" >&6; }
5639 if test -z "$ac_cv_prog_DLLTOOL"; then
5640 ac_ct_DLLTOOL=$DLLTOOL
5641 # Extract the first word of "dlltool
", so it can be a program name with args.
5642 set dummy dlltool; ac_word=$2
5643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5644 $as_echo_n "checking
for $ac_word...
" >&6; }
5645 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5646 $as_echo_n "(cached
) " >&6
5648 if test -n "$ac_ct_DLLTOOL"; then
5649 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5655 test -z "$as_dir" && as_dir=.
5656 for ac_exec_ext in '' $ac_executable_extensions; do
5657 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5658 ac_cv_prog_ac_ct_DLLTOOL="dlltool
"
5659 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5668 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5669 if test -n "$ac_ct_DLLTOOL"; then
5670 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DLLTOOL" >&5
5671 $as_echo "$ac_ct_DLLTOOL" >&6; }
5673 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5674 $as_echo "no
" >&6; }
5677 if test "x
$ac_ct_DLLTOOL" = x; then
5680 case $cross_compiling:$ac_tool_warned in
5682 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5683 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5684 ac_tool_warned=yes ;;
5686 DLLTOOL=$ac_ct_DLLTOOL
5689 DLLTOOL="$ac_cv_prog_DLLTOOL"
5692 test -z "$DLLTOOL" && DLLTOOL=dlltool
5703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries
" >&5
5704 $as_echo_n "checking how to associate runtime and link libraries...
" >&6; }
5705 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5706 $as_echo_n "(cached
) " >&6
5708 lt_cv_sharedlib_from_linklib_cmd='unknown'
5711 cygwin* | mingw* | pw32* | cegcc*)
5712 # two different shell functions defined in ltmain.sh
5713 # decide which to use based on capabilities of $DLLTOOL
5714 case `$DLLTOOL --help 2>&1` in
5715 *--identify-strict*)
5716 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5719 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5724 # fallback: assume linklib IS sharedlib
5725 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5730 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sharedlib_from_linklib_cmd" >&5
5731 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5732 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5733 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5742 if test -n "$ac_tool_prefix"; then
5745 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5746 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5748 $as_echo_n "checking
for $ac_word...
" >&6; }
5749 if ${ac_cv_prog_AR+:} false; then :
5750 $as_echo_n "(cached
) " >&6
5752 if test -n "$AR"; then
5753 ac_cv_prog_AR="$AR" # Let the user override the test.
5755 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5759 test -z "$as_dir" && as_dir=.
5760 for ac_exec_ext in '' $ac_executable_extensions; do
5761 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5762 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5763 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5773 if test -n "$AR"; then
5774 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
5775 $as_echo "$AR" >&6; }
5777 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5778 $as_echo "no
" >&6; }
5782 test -n "$AR" && break
5785 if test -z "$AR"; then
5789 # Extract the first word of "$ac_prog", so it can be a program name with args.
5790 set dummy $ac_prog; ac_word=$2
5791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5792 $as_echo_n "checking
for $ac_word...
" >&6; }
5793 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5794 $as_echo_n "(cached
) " >&6
5796 if test -n "$ac_ct_AR"; then
5797 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5803 test -z "$as_dir" && as_dir=.
5804 for ac_exec_ext in '' $ac_executable_extensions; do
5805 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5806 ac_cv_prog_ac_ct_AR="$ac_prog"
5807 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5816 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5817 if test -n "$ac_ct_AR"; then
5818 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
5819 $as_echo "$ac_ct_AR" >&6; }
5821 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5822 $as_echo "no
" >&6; }
5826 test -n "$ac_ct_AR" && break
5829 if test "x
$ac_ct_AR" = x; then
5832 case $cross_compiling:$ac_tool_warned in
5834 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5835 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5836 ac_tool_warned=yes ;;
5855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for archiver @FILE support
" >&5
5856 $as_echo_n "checking
for archiver @FILE support...
" >&6; }
5857 if ${lt_cv_ar_at_file+:} false; then :
5858 $as_echo_n "(cached
) " >&6
5861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5862 /* end confdefs.h. */
5872 if ac_fn_c_try_compile "$LINENO"; then :
5873 echo conftest.$ac_objext > conftest.lst
5874 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5875 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5876 (eval $lt_ar_try) 2>&5
5878 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5879 test $ac_status = 0; }
5880 if test "$ac_status" -eq 0; then
5881 # Ensure the archiver fails upon bogus file names.
5882 rm -f conftest.$ac_objext libconftest.a
5883 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5884 (eval $lt_ar_try) 2>&5
5886 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5887 test $ac_status = 0; }
5888 if test "$ac_status" -ne 0; then
5892 rm -f conftest.* libconftest.a
5895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5898 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ar_at_file" >&5
5899 $as_echo "$lt_cv_ar_at_file" >&6; }
5901 if test "x
$lt_cv_ar_at_file" = xno; then
5904 archiver_list_spec=$lt_cv_ar_at_file
5913 if test -n "$ac_tool_prefix"; then
5914 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
5915 set dummy ${ac_tool_prefix}strip; ac_word=$2
5916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5917 $as_echo_n "checking
for $ac_word...
" >&6; }
5918 if ${ac_cv_prog_STRIP+:} false; then :
5919 $as_echo_n "(cached
) " >&6
5921 if test -n "$STRIP"; then
5922 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5924 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5928 test -z "$as_dir" && as_dir=.
5929 for ac_exec_ext in '' $ac_executable_extensions; do
5930 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5931 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
5932 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5941 STRIP=$ac_cv_prog_STRIP
5942 if test -n "$STRIP"; then
5943 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
5944 $as_echo "$STRIP" >&6; }
5946 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5947 $as_echo "no
" >&6; }
5952 if test -z "$ac_cv_prog_STRIP"; then
5954 # Extract the first word of "strip
", so it can be a program name with args.
5955 set dummy strip; ac_word=$2
5956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5957 $as_echo_n "checking
for $ac_word...
" >&6; }
5958 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5959 $as_echo_n "(cached
) " >&6
5961 if test -n "$ac_ct_STRIP"; then
5962 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5964 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5968 test -z "$as_dir" && as_dir=.
5969 for ac_exec_ext in '' $ac_executable_extensions; do
5970 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5971 ac_cv_prog_ac_ct_STRIP="strip
"
5972 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5981 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5982 if test -n "$ac_ct_STRIP"; then
5983 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
5984 $as_echo "$ac_ct_STRIP" >&6; }
5986 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5987 $as_echo "no
" >&6; }
5990 if test "x
$ac_ct_STRIP" = x; then
5993 case $cross_compiling:$ac_tool_warned in
5995 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5996 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5997 ac_tool_warned=yes ;;
6002 STRIP="$ac_cv_prog_STRIP"
6005 test -z "$STRIP" && STRIP=:
6012 if test -n "$ac_tool_prefix"; then
6013 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6014 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6016 $as_echo_n "checking
for $ac_word...
" >&6; }
6017 if ${ac_cv_prog_RANLIB+:} false; then :
6018 $as_echo_n "(cached
) " >&6
6020 if test -n "$RANLIB"; then
6021 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6027 test -z "$as_dir" && as_dir=.
6028 for ac_exec_ext in '' $ac_executable_extensions; do
6029 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6030 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
6031 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6040 RANLIB=$ac_cv_prog_RANLIB
6041 if test -n "$RANLIB"; then
6042 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
6043 $as_echo "$RANLIB" >&6; }
6045 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6046 $as_echo "no
" >&6; }
6051 if test -z "$ac_cv_prog_RANLIB"; then
6052 ac_ct_RANLIB=$RANLIB
6053 # Extract the first word of "ranlib
", so it can be a program name with args.
6054 set dummy ranlib; ac_word=$2
6055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6056 $as_echo_n "checking
for $ac_word...
" >&6; }
6057 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6058 $as_echo_n "(cached
) " >&6
6060 if test -n "$ac_ct_RANLIB"; then
6061 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6067 test -z "$as_dir" && as_dir=.
6068 for ac_exec_ext in '' $ac_executable_extensions; do
6069 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6070 ac_cv_prog_ac_ct_RANLIB="ranlib
"
6071 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6080 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6081 if test -n "$ac_ct_RANLIB"; then
6082 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
6083 $as_echo "$ac_ct_RANLIB" >&6; }
6085 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6086 $as_echo "no
" >&6; }
6089 if test "x
$ac_ct_RANLIB" = x; then
6092 case $cross_compiling:$ac_tool_warned in
6094 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6095 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6096 ac_tool_warned=yes ;;
6098 RANLIB=$ac_ct_RANLIB
6101 RANLIB="$ac_cv_prog_RANLIB"
6104 test -z "$RANLIB" && RANLIB=:
6111 # Determine commands to create old-style static archives.
6112 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6113 old_postinstall_cmds='chmod 644 $oldlib'
6114 old_postuninstall_cmds=
6116 if test -n "$RANLIB"; then
6119 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$tool_oldlib"
6122 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$tool_oldlib"
6125 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$tool_oldlib"
6130 lock_old_archive_extraction=yes ;;
6132 lock_old_archive_extraction=no ;;
6173 # If no C compiler was specified, use CC.
6176 # If no C compiler flags were specified, use CFLAGS.
6177 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6179 # Allow CC to be a program name with arguments.
6183 # Check for command to grab the raw symbol name followed by C symbol from nm.
6184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
6185 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
6186 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6187 $as_echo_n "(cached
) " >&6
6190 # These are sane defaults that work on at least a few old systems.
6191 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6193 # Character class describing NM global symbol codes.
6194 symcode='[BCDEGRST]'
6196 # Regexp to match symbols that can be accessed directly from C.
6197 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6199 # Define system-specific variables.
6204 cygwin* | mingw* | pw32* | cegcc*)
6205 symcode='[ABCDGISTW]'
6208 if test "$host_cpu" = ia64; then
6209 symcode='[ABCDEGRST]'
6213 symcode='[BCDEGRST]'
6216 symcode='[BCDEGQRST]'
6227 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6235 # If we're using GNU nm, then use its standard symbol codes.
6236 case `$NM -V 2>&1` in
6237 *GNU* | *'with BFD'*)
6238 symcode='[ABCDGIRSTW]' ;;
6241 # Transform an extracted symbol line into a proper C declaration.
6242 # Some systems (esp. on ia64) link data and code symbols differently,
6243 # so use this general approach.
6244 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6246 # Transform an extracted symbol line into symbol name and symbol address
6247 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6248 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'"
6250 # Handle CRLF in mingw tool chain
6254 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6258 # Try without a prefix underscore, then with it.
6259 for ac_symprfx in "" "_
"; do
6261 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6262 symxfrm="\\1 $ac_symprfx\\2 \\2"
6264 # Write the raw and C identifiers.
6265 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6266 # Fake it for dumpbin and say T for any non-static function
6267 # and D for any global variable.
6268 # Also find C++ and __fastcall symbols from MSVC++,
6269 # which start with @ or ?.
6270 lt_cv_sys_global_symbol_pipe="$AWK '"\
6271 " {last_section=section; section=\$ 3};"\
6272 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6273 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6274 " \$ 0!~/External *\|/{next};"\
6275 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6276 " {if(hide[section]) next};"\
6277 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6278 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6279 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6280 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6281 " ' prfx
=^
$ac_symprfx"
6283 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6285 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe |
sed '/ __gnu_lto/d'"
6287 # Check to see that the pipe works correctly.
6291 cat > conftest.$ac_ext <<_LT_EOF
6296 void nm_test_func(void);
6297 void nm_test_func(void){}
6301 int main(){nm_test_var='a';nm_test_func();return(0);}
6304 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6305 (eval $ac_compile) 2>&5
6307 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6308 test $ac_status = 0; }; then
6309 # Now try to grab the symbols.
6311 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
6312 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6314 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6315 test $ac_status = 0; } && test -s "$nlist"; then
6316 # Try sorting and uniquifying the output.
6317 if sort "$nlist" | uniq > "$nlist"T; then
6318 mv -f "$nlist"T "$nlist"
6323 # Make sure that we snagged all the symbols we need.
6324 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6325 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6326 cat <<_LT_EOF > conftest.$ac_ext
6327 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6328 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6329 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6330 relocations are performed -- see ld's documentation on pseudo-relocs. */
6331 # define LT_DLSYM_CONST
6332 #elif defined(__osf__)
6333 /* This system does not cope well with relocations in const data. */
6334 # define LT_DLSYM_CONST
6336 # define LT_DLSYM_CONST const
6344 # Now generate the symbol file.
6345 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6347 cat <<_LT_EOF >> conftest.$ac_ext
6349 /* The mapping between symbol names and symbols. */
6350 LT_DLSYM_CONST struct {
6354 lt__PROGRAM__LTX_preloaded_symbols[] =
6356 { "@PROGRAM@
", (void *) 0 },
6358 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6359 cat <<\_LT_EOF >> conftest.$ac_ext
6363 /* This works around a problem in FreeBSD linker */
6364 #ifdef FREEBSD_WORKAROUND
6365 static const void *lt_preloaded_setup() {
6366 return lt__PROGRAM__LTX_preloaded_symbols;
6374 # Now try linking the two files.
6375 mv conftest.$ac_objext conftstm.$ac_objext
6376 lt_globsym_save_LIBS=$LIBS
6377 lt_globsym_save_CFLAGS=$CFLAGS
6378 LIBS="conftstm.
$ac_objext"
6379 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6380 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6381 (eval $ac_link) 2>&5
6383 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6384 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6387 LIBS=$lt_globsym_save_LIBS
6388 CFLAGS=$lt_globsym_save_CFLAGS
6390 echo "cannot
find nm_test_func
in $nlist" >&5
6393 echo "cannot
find nm_test_var
in $nlist" >&5
6396 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
6399 echo "$progname: failed program was
:" >&5
6400 cat conftest.$ac_ext >&5
6402 rm -rf conftest* conftst*
6404 # Do not use the global_symbol_pipe unless it works.
6405 if test "$pipe_works" = yes; then
6408 lt_cv_sys_global_symbol_pipe=
6414 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6415 lt_cv_sys_global_symbol_to_cdecl=
6417 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6418 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
6419 $as_echo "failed
" >&6; }
6421 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
6422 $as_echo "ok
" >&6; }
6425 # Response file support.
6426 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6427 nm_file_list_spec='@'
6428 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6429 nm_file_list_spec='@'
6458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for sysroot
" >&5
6459 $as_echo_n "checking
for sysroot...
" >&6; }
6461 # Check whether --with-sysroot was given.
6462 if test "${with_sysroot+set}" = set; then :
6463 withval=$with_sysroot;
6470 case ${with_sysroot} in #(
6472 if test "$GCC" = yes; then
6473 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6477 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6482 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${with_sysroot}" >&5
6483 $as_echo "${with_sysroot}" >&6; }
6484 as_fn_error $? "The sysroot must be an absolute path.
" "$LINENO" 5
6488 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${lt_sysroot:-no}" >&5
6489 $as_echo "${lt_sysroot:-no}" >&6; }
6495 # Check whether --enable-libtool-lock was given.
6496 if test "${enable_libtool_lock+set}" = set; then :
6497 enableval=$enable_libtool_lock;
6500 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
6502 # Some flags need to be propagated to the compiler or linker for good
6506 # Find out which ABI we are using.
6507 echo 'int i;' > conftest.$ac_ext
6508 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6509 (eval $ac_compile) 2>&5
6511 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6512 test $ac_status = 0; }; then
6513 case `/usr/bin/file conftest.$ac_objext` in
6525 # Find out which ABI we are using.
6526 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
6527 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6528 (eval $ac_compile) 2>&5
6530 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6531 test $ac_status = 0; }; then
6532 if test "$lt_cv_prog_gnu_ld" = yes; then
6533 case `/usr/bin/file conftest.$ac_objext` in
6535 LD="${LD-ld} -melf32bsmip"
6538 LD="${LD-ld} -melf32bmipn32"
6541 LD="${LD-ld} -melf64bmip"
6545 case `/usr/bin/file conftest.$ac_objext` in
6561 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6562 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6563 # Find out which ABI we are using.
6564 echo 'int i;' > conftest.$ac_ext
6565 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6566 (eval $ac_compile) 2>&5
6568 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6569 test $ac_status = 0; }; then
6570 case `/usr/bin/file conftest.o` in
6573 x86_64-*kfreebsd*-gnu)
6574 LD="${LD-ld} -m elf_i386_fbsd
"
6577 LD="${LD-ld} -m elf_i386
"
6579 ppc64-*linux*|powerpc64-*linux*)
6580 LD="${LD-ld} -m elf32ppclinux
"
6583 LD="${LD-ld} -m elf_s390
"
6586 LD="${LD-ld} -m elf32_sparc
"
6592 x86_64-*kfreebsd*-gnu)
6593 LD="${LD-ld} -m elf_x86_64_fbsd
"
6596 LD="${LD-ld} -m elf_x86_64
"
6598 ppc*-*linux*|powerpc*-*linux*)
6599 LD="${LD-ld} -m elf64ppc
"
6601 s390*-*linux*|s390*-*tpf*)
6602 LD="${LD-ld} -m elf64_s390
"
6605 LD="${LD-ld} -m elf64_sparc
"
6615 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6616 SAVE_CFLAGS="$CFLAGS"
6617 CFLAGS="$CFLAGS -belf"
6618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
6619 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
6620 if ${lt_cv_cc_needs_belf+:} false; then :
6621 $as_echo_n "(cached
) " >&6
6624 ac_cpp='$CPP $CPPFLAGS'
6625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6630 /* end confdefs.h. */
6640 if ac_fn_c_try_link "$LINENO"; then :
6641 lt_cv_cc_needs_belf=yes
6643 lt_cv_cc_needs_belf=no
6645 rm -f core conftest.err conftest.$ac_objext \
6646 conftest$ac_exeext conftest.$ac_ext
6648 ac_cpp='$CPP $CPPFLAGS'
6649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6654 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
6655 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6656 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6657 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6658 CFLAGS="$SAVE_CFLAGS"
6662 # Find out which ABI we are using.
6663 echo 'int i;' > conftest.$ac_ext
6664 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6665 (eval $ac_compile) 2>&5
6667 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6668 test $ac_status = 0; }; then
6669 case `/usr/bin/file conftest.o` in
6671 case $lt_cv_prog_gnu_ld in
6675 LD="${LD-ld} -m elf_x86_64
"
6678 LD="${LD-ld} -m elf64_sparc
"
6681 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6682 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6687 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6699 need_locks="$enable_libtool_lock"
6701 if test -n "$ac_tool_prefix"; then
6702 # Extract the first word of "${ac_tool_prefix}mt
", so it can be a program name with args.
6703 set dummy ${ac_tool_prefix}mt; ac_word=$2
6704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6705 $as_echo_n "checking
for $ac_word...
" >&6; }
6706 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6707 $as_echo_n "(cached
) " >&6
6709 if test -n "$MANIFEST_TOOL"; then
6710 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6712 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6716 test -z "$as_dir" && as_dir=.
6717 for ac_exec_ext in '' $ac_executable_extensions; do
6718 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6719 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt
"
6720 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6729 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6730 if test -n "$MANIFEST_TOOL"; then
6731 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MANIFEST_TOOL" >&5
6732 $as_echo "$MANIFEST_TOOL" >&6; }
6734 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6735 $as_echo "no
" >&6; }
6740 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6741 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6742 # Extract the first word of "mt
", so it can be a program name with args.
6743 set dummy mt; ac_word=$2
6744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6745 $as_echo_n "checking
for $ac_word...
" >&6; }
6746 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6747 $as_echo_n "(cached
) " >&6
6749 if test -n "$ac_ct_MANIFEST_TOOL"; then
6750 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6752 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6756 test -z "$as_dir" && as_dir=.
6757 for ac_exec_ext in '' $ac_executable_extensions; do
6758 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6759 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt
"
6760 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6769 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6770 if test -n "$ac_ct_MANIFEST_TOOL"; then
6771 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_MANIFEST_TOOL" >&5
6772 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6774 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6775 $as_echo "no
" >&6; }
6778 if test "x
$ac_ct_MANIFEST_TOOL" = x; then
6781 case $cross_compiling:$ac_tool_warned in
6783 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6784 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6785 ac_tool_warned=yes ;;
6787 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6790 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6793 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $MANIFEST_TOOL is a manifest tool
" >&5
6795 $as_echo_n "checking
if $MANIFEST_TOOL is a manifest tool...
" >&6; }
6796 if ${lt_cv_path_mainfest_tool+:} false; then :
6797 $as_echo_n "(cached
) " >&6
6799 lt_cv_path_mainfest_tool=no
6800 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6801 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6802 cat conftest.err >&5
6803 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6804 lt_cv_path_mainfest_tool=yes
6808 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_mainfest_tool" >&5
6809 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6810 if test "x
$lt_cv_path_mainfest_tool" != xyes; then
6820 rhapsody* | darwin*)
6821 if test -n "$ac_tool_prefix"; then
6822 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
6823 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6825 $as_echo_n "checking
for $ac_word...
" >&6; }
6826 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6827 $as_echo_n "(cached
) " >&6
6829 if test -n "$DSYMUTIL"; then
6830 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6832 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6836 test -z "$as_dir" && as_dir=.
6837 for ac_exec_ext in '' $ac_executable_extensions; do
6838 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6839 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
6840 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6849 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6850 if test -n "$DSYMUTIL"; then
6851 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
6852 $as_echo "$DSYMUTIL" >&6; }
6854 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6855 $as_echo "no
" >&6; }
6860 if test -z "$ac_cv_prog_DSYMUTIL"; then
6861 ac_ct_DSYMUTIL=$DSYMUTIL
6862 # Extract the first word of "dsymutil
", so it can be a program name with args.
6863 set dummy dsymutil; ac_word=$2
6864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6865 $as_echo_n "checking
for $ac_word...
" >&6; }
6866 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6867 $as_echo_n "(cached
) " >&6
6869 if test -n "$ac_ct_DSYMUTIL"; then
6870 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6876 test -z "$as_dir" && as_dir=.
6877 for ac_exec_ext in '' $ac_executable_extensions; do
6878 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6879 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
6880 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6889 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6890 if test -n "$ac_ct_DSYMUTIL"; then
6891 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
6892 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6894 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6895 $as_echo "no
" >&6; }
6898 if test "x
$ac_ct_DSYMUTIL" = x; then
6901 case $cross_compiling:$ac_tool_warned in
6903 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6904 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6905 ac_tool_warned=yes ;;
6907 DSYMUTIL=$ac_ct_DSYMUTIL
6910 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6913 if test -n "$ac_tool_prefix"; then
6914 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
6915 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6917 $as_echo_n "checking
for $ac_word...
" >&6; }
6918 if ${ac_cv_prog_NMEDIT+:} false; then :
6919 $as_echo_n "(cached
) " >&6
6921 if test -n "$NMEDIT"; then
6922 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6924 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6928 test -z "$as_dir" && as_dir=.
6929 for ac_exec_ext in '' $ac_executable_extensions; do
6930 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6931 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
6932 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6941 NMEDIT=$ac_cv_prog_NMEDIT
6942 if test -n "$NMEDIT"; then
6943 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
6944 $as_echo "$NMEDIT" >&6; }
6946 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6947 $as_echo "no
" >&6; }
6952 if test -z "$ac_cv_prog_NMEDIT"; then
6953 ac_ct_NMEDIT=$NMEDIT
6954 # Extract the first word of "nmedit
", so it can be a program name with args.
6955 set dummy nmedit; ac_word=$2
6956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6957 $as_echo_n "checking
for $ac_word...
" >&6; }
6958 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6959 $as_echo_n "(cached
) " >&6
6961 if test -n "$ac_ct_NMEDIT"; then
6962 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6964 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6968 test -z "$as_dir" && as_dir=.
6969 for ac_exec_ext in '' $ac_executable_extensions; do
6970 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6971 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
6972 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6981 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6982 if test -n "$ac_ct_NMEDIT"; then
6983 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
6984 $as_echo "$ac_ct_NMEDIT" >&6; }
6986 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6987 $as_echo "no
" >&6; }
6990 if test "x
$ac_ct_NMEDIT" = x; then
6993 case $cross_compiling:$ac_tool_warned in
6995 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6996 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6997 ac_tool_warned=yes ;;
6999 NMEDIT=$ac_ct_NMEDIT
7002 NMEDIT="$ac_cv_prog_NMEDIT"
7005 if test -n "$ac_tool_prefix"; then
7006 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
7007 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7009 $as_echo_n "checking
for $ac_word...
" >&6; }
7010 if ${ac_cv_prog_LIPO+:} false; then :
7011 $as_echo_n "(cached
) " >&6
7013 if test -n "$LIPO"; then
7014 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7016 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7020 test -z "$as_dir" && as_dir=.
7021 for ac_exec_ext in '' $ac_executable_extensions; do
7022 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7023 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
7024 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7033 LIPO=$ac_cv_prog_LIPO
7034 if test -n "$LIPO"; then
7035 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
7036 $as_echo "$LIPO" >&6; }
7038 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7039 $as_echo "no
" >&6; }
7044 if test -z "$ac_cv_prog_LIPO"; then
7046 # Extract the first word of "lipo
", so it can be a program name with args.
7047 set dummy lipo; ac_word=$2
7048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7049 $as_echo_n "checking
for $ac_word...
" >&6; }
7050 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7051 $as_echo_n "(cached
) " >&6
7053 if test -n "$ac_ct_LIPO"; then
7054 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7060 test -z "$as_dir" && as_dir=.
7061 for ac_exec_ext in '' $ac_executable_extensions; do
7062 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7063 ac_cv_prog_ac_ct_LIPO="lipo
"
7064 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7073 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7074 if test -n "$ac_ct_LIPO"; then
7075 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
7076 $as_echo "$ac_ct_LIPO" >&6; }
7078 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7079 $as_echo "no
" >&6; }
7082 if test "x
$ac_ct_LIPO" = x; then
7085 case $cross_compiling:$ac_tool_warned in
7087 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7088 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7089 ac_tool_warned=yes ;;
7094 LIPO="$ac_cv_prog_LIPO"
7097 if test -n "$ac_tool_prefix"; then
7098 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
7099 set dummy ${ac_tool_prefix}otool; ac_word=$2
7100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7101 $as_echo_n "checking
for $ac_word...
" >&6; }
7102 if ${ac_cv_prog_OTOOL+:} false; then :
7103 $as_echo_n "(cached
) " >&6
7105 if test -n "$OTOOL"; then
7106 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7112 test -z "$as_dir" && as_dir=.
7113 for ac_exec_ext in '' $ac_executable_extensions; do
7114 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7115 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
7116 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7125 OTOOL=$ac_cv_prog_OTOOL
7126 if test -n "$OTOOL"; then
7127 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
7128 $as_echo "$OTOOL" >&6; }
7130 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7131 $as_echo "no
" >&6; }
7136 if test -z "$ac_cv_prog_OTOOL"; then
7138 # Extract the first word of "otool
", so it can be a program name with args.
7139 set dummy otool; ac_word=$2
7140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7141 $as_echo_n "checking
for $ac_word...
" >&6; }
7142 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7143 $as_echo_n "(cached
) " >&6
7145 if test -n "$ac_ct_OTOOL"; then
7146 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7148 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7152 test -z "$as_dir" && as_dir=.
7153 for ac_exec_ext in '' $ac_executable_extensions; do
7154 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7155 ac_cv_prog_ac_ct_OTOOL="otool
"
7156 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7165 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7166 if test -n "$ac_ct_OTOOL"; then
7167 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
7168 $as_echo "$ac_ct_OTOOL" >&6; }
7170 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7171 $as_echo "no
" >&6; }
7174 if test "x
$ac_ct_OTOOL" = x; then
7177 case $cross_compiling:$ac_tool_warned in
7179 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7180 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7181 ac_tool_warned=yes ;;
7186 OTOOL="$ac_cv_prog_OTOOL"
7189 if test -n "$ac_tool_prefix"; then
7190 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
7191 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7193 $as_echo_n "checking
for $ac_word...
" >&6; }
7194 if ${ac_cv_prog_OTOOL64+:} false; then :
7195 $as_echo_n "(cached
) " >&6
7197 if test -n "$OTOOL64"; then
7198 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7200 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7204 test -z "$as_dir" && as_dir=.
7205 for ac_exec_ext in '' $ac_executable_extensions; do
7206 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7207 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
7208 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7217 OTOOL64=$ac_cv_prog_OTOOL64
7218 if test -n "$OTOOL64"; then
7219 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
7220 $as_echo "$OTOOL64" >&6; }
7222 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7223 $as_echo "no
" >&6; }
7228 if test -z "$ac_cv_prog_OTOOL64"; then
7229 ac_ct_OTOOL64=$OTOOL64
7230 # Extract the first word of "otool64
", so it can be a program name with args.
7231 set dummy otool64; ac_word=$2
7232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7233 $as_echo_n "checking
for $ac_word...
" >&6; }
7234 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7235 $as_echo_n "(cached
) " >&6
7237 if test -n "$ac_ct_OTOOL64"; then
7238 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7244 test -z "$as_dir" && as_dir=.
7245 for ac_exec_ext in '' $ac_executable_extensions; do
7246 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7247 ac_cv_prog_ac_ct_OTOOL64="otool64
"
7248 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7257 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7258 if test -n "$ac_ct_OTOOL64"; then
7259 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
7260 $as_echo "$ac_ct_OTOOL64" >&6; }
7262 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7263 $as_echo "no
" >&6; }
7266 if test "x
$ac_ct_OTOOL64" = x; then
7269 case $cross_compiling:$ac_tool_warned in
7271 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7272 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7273 ac_tool_warned=yes ;;
7275 OTOOL64=$ac_ct_OTOOL64
7278 OTOOL64="$ac_cv_prog_OTOOL64"
7307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
7308 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
7309 if ${lt_cv_apple_cc_single_mod+:} false; then :
7310 $as_echo_n "(cached
) " >&6
7312 lt_cv_apple_cc_single_mod=no
7313 if test -z "${LT_MULTI_MODULE}"; then
7314 # By default we will add the -single_module flag. You can override
7315 # by either setting the environment variable LT_MULTI_MODULE
7316 # non-empty at configure time, or by adding -multi_module to the
7318 rm -rf libconftest.dylib*
7319 echo "int foo
(void
){return 1;}" > conftest.c
7320 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7321 -dynamiclib -Wl,-single_module conftest.c
" >&5
7322 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7323 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7325 # If there is a non-empty error log, and "single_module
"
7326 # appears in it, assume the flag caused a linker warning
7327 if test -s conftest.err && $GREP single_module conftest.err; then
7328 cat conftest.err >&5
7329 # Otherwise, if the output was created with a 0 exit code from
7330 # the compiler, it worked.
7331 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7332 lt_cv_apple_cc_single_mod=yes
7334 cat conftest.err >&5
7336 rm -rf libconftest.dylib*
7340 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
7341 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
7344 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
7345 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7346 $as_echo_n "(cached
) " >&6
7348 lt_cv_ld_exported_symbols_list=no
7349 save_LDFLAGS=$LDFLAGS
7350 echo "_main
" > conftest.sym
7351 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
7352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7353 /* end confdefs.h. */
7363 if ac_fn_c_try_link "$LINENO"; then :
7364 lt_cv_ld_exported_symbols_list=yes
7366 lt_cv_ld_exported_symbols_list=no
7368 rm -f core conftest.err conftest.$ac_objext \
7369 conftest$ac_exeext conftest.$ac_ext
7370 LDFLAGS="$save_LDFLAGS"
7373 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
7374 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
7377 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
7378 if ${lt_cv_ld_force_load+:} false; then :
7379 $as_echo_n "(cached
) " >&6
7381 lt_cv_ld_force_load=no
7382 cat > conftest.c << _LT_EOF
7383 int forced_loaded() { return 2;}
7385 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
7386 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7387 echo "$AR cru libconftest.a conftest.o
" >&5
7388 $AR cru libconftest.a conftest.o 2>&5
7389 echo "$RANLIB libconftest.a
" >&5
7390 $RANLIB libconftest.a 2>&5
7391 cat > conftest.c << _LT_EOF
7392 int main() { return 0;}
7394 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
7395 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7397 if test -s conftest.err && $GREP force_load conftest.err; then
7398 cat conftest.err >&5
7399 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7400 lt_cv_ld_force_load=yes
7402 cat conftest.err >&5
7404 rm -f conftest.err libconftest.a conftest conftest.c
7405 rm -rf conftest.dSYM
7408 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
7409 $as_echo "$lt_cv_ld_force_load" >&6; }
7411 rhapsody* | darwin1.[012])
7412 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7414 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7415 darwin*) # darwin 5.x on
7416 # if running on 10.5 or later, the deployment target defaults
7417 # to the OS version, if on x86, and 10.4, the deployment
7418 # target defaults to 10.4. Don't you love it?
7419 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7420 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7421 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7423 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7425 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7429 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7430 _lt_dar_single_mod='$single_module'
7432 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7433 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7435 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7437 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
7438 _lt_dsymutil='~$DSYMUTIL $lib || :'
7446 ac_cpp='$CPP $CPPFLAGS'
7447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor
" >&5
7451 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
7452 # On Suns, sometimes $CPP names a directory.
7453 if test -n "$CPP" && test -d "$CPP"; then
7456 if test -z "$CPP"; then
7457 if ${ac_cv_prog_CPP+:} false; then :
7458 $as_echo_n "(cached
) " >&6
7460 # Double quotes because CPP needs to be expanded
7461 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
7464 for ac_c_preproc_warn_flag in '' yes
7466 # Use a header file that comes with gcc, so configuring glibc
7467 # with a fresh cross-compiler works.
7468 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7469 # <limits.h> exists even on freestanding compilers.
7470 # On the NeXT, cc -E runs the code through the compiler's parser,
7471 # not just through cpp. "Syntax error
" is here to catch this case.
7472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7473 /* end confdefs.h. */
7475 # include <limits.h>
7477 # include <assert.h>
7481 if ac_fn_c_try_cpp "$LINENO"; then :
7484 # Broken: fails on valid input.
7487 rm -f conftest.err conftest.i conftest.$ac_ext
7489 # OK, works on sane cases. Now check whether nonexistent headers
7490 # can be detected and how.
7491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7492 /* end confdefs.h. */
7493 #include <ac_nonexistent.h>
7495 if ac_fn_c_try_cpp "$LINENO"; then :
7496 # Broken: success on invalid input.
7499 # Passes both tests.
7503 rm -f conftest.err conftest.i conftest.$ac_ext
7506 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7507 rm -f conftest.i conftest.err conftest.$ac_ext
7508 if $ac_preproc_ok; then :
7520 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CPP" >&5
7521 $as_echo "$CPP" >&6; }
7523 for ac_c_preproc_warn_flag in '' yes
7525 # Use a header file that comes with gcc, so configuring glibc
7526 # with a fresh cross-compiler works.
7527 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7528 # <limits.h> exists even on freestanding compilers.
7529 # On the NeXT, cc -E runs the code through the compiler's parser,
7530 # not just through cpp. "Syntax error
" is here to catch this case.
7531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7532 /* end confdefs.h. */
7534 # include <limits.h>
7536 # include <assert.h>
7540 if ac_fn_c_try_cpp "$LINENO"; then :
7543 # Broken: fails on valid input.
7546 rm -f conftest.err conftest.i conftest.$ac_ext
7548 # OK, works on sane cases. Now check whether nonexistent headers
7549 # can be detected and how.
7550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7551 /* end confdefs.h. */
7552 #include <ac_nonexistent.h>
7554 if ac_fn_c_try_cpp "$LINENO"; then :
7555 # Broken: success on invalid input.
7558 # Passes both tests.
7562 rm -f conftest.err conftest.i conftest.$ac_ext
7565 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7566 rm -f conftest.i conftest.err conftest.$ac_ext
7567 if $ac_preproc_ok; then :
7570 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
7571 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7572 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7573 See \`config.log' for more details
" "$LINENO" 5; }
7577 ac_cpp='$CPP $CPPFLAGS'
7578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ANSI C header files
" >&5
7584 $as_echo_n "checking
for ANSI C header files...
" >&6; }
7585 if ${ac_cv_header_stdc+:} false; then :
7586 $as_echo_n "(cached
) " >&6
7588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7589 /* end confdefs.h. */
7603 if ac_fn_c_try_compile "$LINENO"; then :
7604 ac_cv_header_stdc=yes
7606 ac_cv_header_stdc=no
7608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7610 if test $ac_cv_header_stdc = yes; then
7611 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7613 /* end confdefs.h. */
7617 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
7618 $EGREP "memchr
" >/dev/null 2>&1; then :
7621 ac_cv_header_stdc=no
7627 if test $ac_cv_header_stdc = yes; then
7628 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7630 /* end confdefs.h. */
7634 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
7635 $EGREP "free
" >/dev/null 2>&1; then :
7638 ac_cv_header_stdc=no
7644 if test $ac_cv_header_stdc = yes; then
7645 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7646 if test "$cross_compiling" = yes; then :
7649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7650 /* end confdefs.h. */
7653 #if ((' ' & 0x0FF) == 0x020)
7654 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7655 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7657 # define ISLOWER(c) \
7658 (('a' <= (c) && (c) <= 'i') \
7659 || ('j' <= (c) && (c) <= 'r') \
7660 || ('s' <= (c) && (c) <= 'z'))
7661 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7664 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7669 for (i = 0; i < 256; i++)
7670 if (XOR (islower (i), ISLOWER (i))
7671 || toupper (i) != TOUPPER (i))
7676 if ac_fn_c_try_run "$LINENO"; then :
7679 ac_cv_header_stdc=no
7681 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7682 conftest.$ac_objext conftest.beam conftest.$ac_ext
7687 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_header_stdc" >&5
7688 $as_echo "$ac_cv_header_stdc" >&6; }
7689 if test $ac_cv_header_stdc = yes; then
7691 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7695 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7696 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
7697 inttypes.h stdint.h unistd.h
7699 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7700 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7702 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7703 cat >>confdefs.h
<<_ACEOF
7704 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7712 for ac_header
in dlfcn.h
7714 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7716 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
7717 cat >>confdefs.h
<<_ACEOF
7718 #define HAVE_DLFCN_H 1
7739 # Check whether --enable-shared was given.
7740 if test "${enable_shared+set}" = set; then :
7741 enableval
=$enable_shared; p
=${PACKAGE-default}
7743 yes) enable_shared
=yes ;;
7744 no
) enable_shared
=no
;;
7747 # Look at the argument we got. We use all the common list separators.
7748 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7749 for pkg
in $enableval; do
7751 if test "X$pkg" = "X$p"; then
7770 # Check whether --enable-static was given.
7771 if test "${enable_static+set}" = set; then :
7772 enableval
=$enable_static; p
=${PACKAGE-default}
7774 yes) enable_static
=yes ;;
7775 no
) enable_static
=no
;;
7778 # Look at the argument we got. We use all the common list separators.
7779 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7780 for pkg
in $enableval; do
7782 if test "X$pkg" = "X$p"; then
7802 # Check whether --with-pic was given.
7803 if test "${with_pic+set}" = set; then :
7804 withval
=$with_pic; lt_p
=${PACKAGE-default}
7806 yes|no
) pic_mode
=$withval ;;
7809 # Look at the argument we got. We use all the common list separators.
7810 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7811 for lt_pkg
in $withval; do
7813 if test "X$lt_pkg" = "X$lt_p"; then
7825 test -z "$pic_mode" && pic_mode
=default
7833 # Check whether --enable-fast-install was given.
7834 if test "${enable_fast_install+set}" = set; then :
7835 enableval
=$enable_fast_install; p
=${PACKAGE-default}
7837 yes) enable_fast_install
=yes ;;
7838 no
) enable_fast_install
=no
;;
7840 enable_fast_install
=no
7841 # Look at the argument we got. We use all the common list separators.
7842 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7843 for pkg
in $enableval; do
7845 if test "X$pkg" = "X$p"; then
7846 enable_fast_install
=yes
7853 enable_fast_install
=yes
7866 # This can be used to rebuild libtool when needed
7867 LIBTOOL_DEPS
="$ltmain"
7869 # Always use our own libtool.
7870 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
7901 test -z "$LN_S" && LN_S
="ln -s"
7916 if test -n "${ZSH_VERSION+set}" ; then
7917 setopt NO_GLOB_SUBST
7920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7921 $as_echo_n "checking for objdir... " >&6; }
7922 if ${lt_cv_objdir+:} false
; then :
7923 $as_echo_n "(cached) " >&6
7925 rm -f .libs
2>/dev
/null
7926 mkdir .libs
2>/dev
/null
7927 if test -d .libs
; then
7930 # MS-DOS does not allow filenames that begin with a dot.
7933 rmdir .libs
2>/dev
/null
7935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7936 $as_echo "$lt_cv_objdir" >&6; }
7937 objdir
=$lt_cv_objdir
7943 cat >>confdefs.h
<<_ACEOF
7944 #define LT_OBJDIR "$lt_cv_objdir/"
7952 # AIX sometimes has problems with the GCC collect2 program. For some
7953 # reason, if we set the COLLECT_NAMES environment variable, the problems
7954 # vanish in a puff of smoke.
7955 if test "X${COLLECT_NAMES+set}" != Xset
; then
7957 export COLLECT_NAMES
7964 can_build_shared
=yes
7966 # All known linkers require a `.a' archive for static linking (except MSVC,
7967 # which needs '.lib').
7970 with_gnu_ld
="$lt_cv_prog_gnu_ld"
7973 old_CFLAGS
="$CFLAGS"
7975 # Set sane defaults for various variables
7976 test -z "$CC" && CC
=cc
7977 test -z "$LTCC" && LTCC
=$CC
7978 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7979 test -z "$LD" && LD
=ld
7980 test -z "$ac_objext" && ac_objext
=o
7982 for cc_temp
in $compiler""; do
7984 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7985 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7990 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7993 # Only perform the check for file, if the check method requires it
7994 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7995 case $deplibs_check_method in
7997 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7999 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8000 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
8001 $as_echo_n "(cached) " >&6
8005 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8008 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8009 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8010 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8011 for ac_dir
in $ac_dummy; do
8013 test -z "$ac_dir" && ac_dir
=.
8014 if test -f $ac_dir/${ac_tool_prefix}file; then
8015 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
8016 if test -n "$file_magic_test_file"; then
8017 case $deplibs_check_method in
8019 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8020 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8021 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8022 $EGREP "$file_magic_regex" > /dev
/null
; then
8027 *** Warning: the command libtool uses to detect shared libraries,
8028 *** $file_magic_cmd, produces output that libtool cannot recognize.
8029 *** The result is that libtool may fail to recognize shared libraries
8030 *** as such. This will affect the creation of libtool libraries that
8031 *** depend on shared libraries, but programs linked with such libtool
8032 *** libraries will work regardless of this problem. Nevertheless, you
8033 *** may want to report the problem to your system manager and/or to
8034 *** bug-libtool@gnu.org
8044 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8049 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8050 if test -n "$MAGIC_CMD"; then
8051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8052 $as_echo "$MAGIC_CMD" >&6; }
8054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8055 $as_echo "no" >&6; }
8062 if test -z "$lt_cv_path_MAGIC_CMD"; then
8063 if test -n "$ac_tool_prefix"; then
8064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8065 $as_echo_n "checking for file... " >&6; }
8066 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
8067 $as_echo_n "(cached) " >&6
8071 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8074 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8075 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8076 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8077 for ac_dir
in $ac_dummy; do
8079 test -z "$ac_dir" && ac_dir
=.
8080 if test -f $ac_dir/file; then
8081 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
8082 if test -n "$file_magic_test_file"; then
8083 case $deplibs_check_method in
8085 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8086 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8087 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8088 $EGREP "$file_magic_regex" > /dev
/null
; then
8093 *** Warning: the command libtool uses to detect shared libraries,
8094 *** $file_magic_cmd, produces output that libtool cannot recognize.
8095 *** The result is that libtool may fail to recognize shared libraries
8096 *** as such. This will affect the creation of libtool libraries that
8097 *** depend on shared libraries, but programs linked with such libtool
8098 *** libraries will work regardless of this problem. Nevertheless, you
8099 *** may want to report the problem to your system manager and/or to
8100 *** bug-libtool@gnu.org
8110 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8115 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8116 if test -n "$MAGIC_CMD"; then
8117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8118 $as_echo "$MAGIC_CMD" >&6; }
8120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8121 $as_echo "no" >&6; }
8134 # Use C for the default configuration in the libtool script
8138 ac_cpp
='$CPP $CPPFLAGS'
8139 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8140 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8141 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8144 # Source file extension for C test sources.
8147 # Object file extension for compiled C test sources.
8151 # Code to be used in simple compile tests
8152 lt_simple_compile_test_code
="int some_variable = 0;"
8154 # Code to be used in simple link tests
8155 lt_simple_link_test_code
='int main(){return(0);}'
8163 # If no C compiler was specified, use CC.
8166 # If no C compiler flags were specified, use CFLAGS.
8167 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8169 # Allow CC to be a program name with arguments.
8172 # Save the default compiler, since it gets overwritten when the other
8173 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8174 compiler_DEFAULT
=$CC
8176 # save warnings/boilerplate of simple test code
8177 ac_outfile
=conftest.
$ac_objext
8178 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
8179 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8180 _lt_compiler_boilerplate
=`cat conftest.err`
8183 ac_outfile
=conftest.
$ac_objext
8184 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
8185 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8186 _lt_linker_boilerplate
=`cat conftest.err`
8191 ## There is no encapsulation within the following macros, do not change
8192 ## the running order or otherwise move them around unless you know exactly
8193 ## what you are doing...
8194 if test -n "$compiler"; then
8196 lt_prog_compiler_no_builtin_flag
=
8198 if test "$GCC" = yes; then
8199 case $cc_basename in
8201 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
8203 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
8206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8207 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8208 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
8209 $as_echo_n "(cached) " >&6
8211 lt_cv_prog_compiler_rtti_exceptions
=no
8212 ac_outfile
=conftest.
$ac_objext
8213 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8214 lt_compiler_flag
="-fno-rtti -fno-exceptions"
8215 # Insert the option either (1) after the last *FLAGS variable, or
8216 # (2) before a word containing "conftest.", or (3) at the end.
8217 # Note that $ac_compile itself does not contain backslashes and begins
8218 # with a dollar sign (not a hyphen), so the echo should work correctly.
8219 # The option is referenced via a variable to avoid confusing sed.
8220 lt_compile
=`echo "$ac_compile" | $SED \
8221 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8222 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8223 -e 's:$: $lt_compiler_flag:'`
8224 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8225 (eval "$lt_compile" 2>conftest.err
)
8227 cat conftest.err
>&5
8228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8229 if (exit $ac_status) && test -s "$ac_outfile"; then
8230 # The compiler can only warn and ignore the option if not recognized
8231 # So say no if there are warnings other than the usual output.
8232 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8233 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8234 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8235 lt_cv_prog_compiler_rtti_exceptions
=yes
8241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8242 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8244 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
8245 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8257 lt_prog_compiler_wl
=
8258 lt_prog_compiler_pic
=
8259 lt_prog_compiler_static
=
8262 if test "$GCC" = yes; then
8263 lt_prog_compiler_wl
='-Wl,'
8264 lt_prog_compiler_static
='-static'
8268 # All AIX code is PIC.
8269 if test "$host_cpu" = ia64
; then
8270 # AIX 5 now supports IA64 processor
8271 lt_prog_compiler_static
='-Bstatic'
8278 # see comment about AmigaOS4 .so support
8279 lt_prog_compiler_pic
='-fPIC'
8282 # FIXME: we need at least 68020 code to build shared libraries, but
8283 # adding the `-m68020' flag to GCC prevents building anything better,
8285 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
8290 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
8291 # PIC is the default for these OSes.
8294 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8295 # This hack is so that the source file can tell whether it is being
8296 # built for inclusion in a dll (and should export symbols for example).
8297 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8298 # (--disable-auto-import) libraries
8299 lt_prog_compiler_pic
='-DDLL_EXPORT'
8302 darwin
* | rhapsody
*)
8303 # PIC is the default on this platform
8304 # Common symbols not allowed in MH_DYLIB files
8305 lt_prog_compiler_pic
='-fno-common'
8309 # PIC is the default for Haiku.
8310 # The "-static" flag exists, but is broken.
8311 lt_prog_compiler_static
=
8315 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8316 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8317 # sets the default TLS model and affects inlining.
8323 lt_prog_compiler_pic
='-fPIC'
8329 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8330 # Instead, we relocate shared libraries at runtime.
8334 # Just because we use GCC doesn't mean we suddenly get shared libraries
8335 # on systems that don't support them.
8336 lt_prog_compiler_can_build_shared
=no
8341 # QNX uses GNU C++, but need to define -shared option too, otherwise
8343 lt_prog_compiler_pic
='-fPIC -shared'
8347 if test -d /usr
/nec
; then
8348 lt_prog_compiler_pic
=-Kconform_pic
8353 lt_prog_compiler_pic
='-fPIC'
8357 case $cc_basename in
8358 nvcc
*) # Cuda Compiler Driver 2.2
8359 lt_prog_compiler_wl
='-Xlinker '
8360 if test -n "$lt_prog_compiler_pic"; then
8361 lt_prog_compiler_pic
="-Xcompiler $lt_prog_compiler_pic"
8366 # PORTME Check for flag to pass linker flags through the system compiler.
8369 lt_prog_compiler_wl
='-Wl,'
8370 if test "$host_cpu" = ia64
; then
8371 # AIX 5 now supports IA64 processor
8372 lt_prog_compiler_static
='-Bstatic'
8374 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
8378 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8379 # This hack is so that the source file can tell whether it is being
8380 # built for inclusion in a dll (and should export symbols for example).
8381 lt_prog_compiler_pic
='-DDLL_EXPORT'
8384 hpux9
* | hpux10
* | hpux11
*)
8385 lt_prog_compiler_wl
='-Wl,'
8386 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8393 lt_prog_compiler_pic
='+Z'
8396 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8397 lt_prog_compiler_static
='${wl}-a ${wl}archive'
8400 irix5
* | irix6
* | nonstopux
*)
8401 lt_prog_compiler_wl
='-Wl,'
8402 # PIC (with -KPIC) is the default.
8403 lt_prog_compiler_static
='-non_shared'
8406 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8407 case $cc_basename in
8408 # old Intel for x86_64 which still supported -KPIC.
8410 lt_prog_compiler_wl
='-Wl,'
8411 lt_prog_compiler_pic
='-KPIC'
8412 lt_prog_compiler_static
='-static'
8414 # icc used to be incompatible with GCC.
8415 # ICC 10 doesn't accept -KPIC any more.
8417 lt_prog_compiler_wl
='-Wl,'
8418 lt_prog_compiler_pic
='-fPIC'
8419 lt_prog_compiler_static
='-static'
8421 # Lahey Fortran 8.1.
8423 lt_prog_compiler_wl
='-Wl,'
8424 lt_prog_compiler_pic
='--shared'
8425 lt_prog_compiler_static
='--static'
8428 # NAG Fortran compiler
8429 lt_prog_compiler_wl
='-Wl,-Wl,,'
8430 lt_prog_compiler_pic
='-PIC'
8431 lt_prog_compiler_static
='-Bstatic'
8433 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8434 # Portland Group compilers (*not* the Pentium gcc compiler,
8435 # which looks to be a dead project)
8436 lt_prog_compiler_wl
='-Wl,'
8437 lt_prog_compiler_pic
='-fpic'
8438 lt_prog_compiler_static
='-Bstatic'
8441 lt_prog_compiler_wl
='-Wl,'
8442 # All Alpha code is PIC.
8443 lt_prog_compiler_static
='-non_shared'
8445 xl
* | bgxl
* | bgf
* | mpixl
*)
8446 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8447 lt_prog_compiler_wl
='-Wl,'
8448 lt_prog_compiler_pic
='-qpic'
8449 lt_prog_compiler_static
='-qstaticlink'
8452 case `$CC -V 2>&1 | sed 5q` in
8453 *Sun\ Ceres\ Fortran
* |
*Sun
*Fortran
*\
[1-7].
* |
*Sun
*Fortran
*\
8.
[0-3]*)
8454 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8455 lt_prog_compiler_pic
='-KPIC'
8456 lt_prog_compiler_static
='-Bstatic'
8457 lt_prog_compiler_wl
=''
8459 *Sun\ F
* |
*Sun
*Fortran
*)
8460 lt_prog_compiler_pic
='-KPIC'
8461 lt_prog_compiler_static
='-Bstatic'
8462 lt_prog_compiler_wl
='-Qoption ld '
8466 lt_prog_compiler_pic
='-KPIC'
8467 lt_prog_compiler_static
='-Bstatic'
8468 lt_prog_compiler_wl
='-Wl,'
8470 *Intel
*\
[CF
]*Compiler
*)
8471 lt_prog_compiler_wl
='-Wl,'
8472 lt_prog_compiler_pic
='-fPIC'
8473 lt_prog_compiler_static
='-static'
8476 lt_prog_compiler_wl
='-Wl,'
8477 lt_prog_compiler_pic
='-fpic'
8478 lt_prog_compiler_static
='-Bstatic'
8486 lt_prog_compiler_pic
='-KPIC'
8487 lt_prog_compiler_static
='-Bstatic'
8491 # QNX uses GNU C++, but need to define -shared option too, otherwise
8493 lt_prog_compiler_pic
='-fPIC -shared'
8496 osf3
* | osf4
* | osf5
*)
8497 lt_prog_compiler_wl
='-Wl,'
8498 # All OSF/1 code is PIC.
8499 lt_prog_compiler_static
='-non_shared'
8503 lt_prog_compiler_static
='-non_shared'
8507 lt_prog_compiler_pic
='-KPIC'
8508 lt_prog_compiler_static
='-Bstatic'
8509 case $cc_basename in
8510 f77
* | f90
* | f95
* | sunf77
* | sunf90
* | sunf95
*)
8511 lt_prog_compiler_wl
='-Qoption ld ';;
8513 lt_prog_compiler_wl
='-Wl,';;
8518 lt_prog_compiler_wl
='-Qoption ld '
8519 lt_prog_compiler_pic
='-PIC'
8520 lt_prog_compiler_static
='-Bstatic'
8523 sysv4 | sysv4.2uw2
* | sysv4.3
*)
8524 lt_prog_compiler_wl
='-Wl,'
8525 lt_prog_compiler_pic
='-KPIC'
8526 lt_prog_compiler_static
='-Bstatic'
8530 if test -d /usr
/nec
;then
8531 lt_prog_compiler_pic
='-Kconform_pic'
8532 lt_prog_compiler_static
='-Bstatic'
8536 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8537 lt_prog_compiler_wl
='-Wl,'
8538 lt_prog_compiler_pic
='-KPIC'
8539 lt_prog_compiler_static
='-Bstatic'
8543 lt_prog_compiler_wl
='-Wl,'
8544 lt_prog_compiler_can_build_shared
=no
8548 lt_prog_compiler_pic
='-pic'
8549 lt_prog_compiler_static
='-Bstatic'
8553 lt_prog_compiler_can_build_shared
=no
8559 # For platforms which do not support PIC, -DPIC is meaningless:
8561 lt_prog_compiler_pic
=
8564 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8569 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8570 if ${lt_cv_prog_compiler_pic+:} false
; then :
8571 $as_echo_n "(cached) " >&6
8573 lt_cv_prog_compiler_pic
=$lt_prog_compiler_pic
8575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8576 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8577 lt_prog_compiler_pic
=$lt_cv_prog_compiler_pic
8580 # Check to make sure the PIC flag actually works.
8582 if test -n "$lt_prog_compiler_pic"; then
8583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8584 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8585 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
8586 $as_echo_n "(cached) " >&6
8588 lt_cv_prog_compiler_pic_works
=no
8589 ac_outfile
=conftest.
$ac_objext
8590 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8591 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
8592 # Insert the option either (1) after the last *FLAGS variable, or
8593 # (2) before a word containing "conftest.", or (3) at the end.
8594 # Note that $ac_compile itself does not contain backslashes and begins
8595 # with a dollar sign (not a hyphen), so the echo should work correctly.
8596 # The option is referenced via a variable to avoid confusing sed.
8597 lt_compile
=`echo "$ac_compile" | $SED \
8598 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8599 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8600 -e 's:$: $lt_compiler_flag:'`
8601 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8602 (eval "$lt_compile" 2>conftest.err
)
8604 cat conftest.err
>&5
8605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8606 if (exit $ac_status) && test -s "$ac_outfile"; then
8607 # The compiler can only warn and ignore the option if not recognized
8608 # So say no if there are warnings other than the usual output.
8609 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8610 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8611 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8612 lt_cv_prog_compiler_pic_works
=yes
8618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8619 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8621 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
8622 case $lt_prog_compiler_pic in
8624 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
8627 lt_prog_compiler_pic
=
8628 lt_prog_compiler_can_build_shared
=no
8644 # Check to make sure the static flag actually works.
8646 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
8647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8648 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8649 if ${lt_cv_prog_compiler_static_works+:} false
; then :
8650 $as_echo_n "(cached) " >&6
8652 lt_cv_prog_compiler_static_works
=no
8653 save_LDFLAGS
="$LDFLAGS"
8654 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
8655 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8656 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8657 # The linker can only warn and ignore the option if not recognized
8658 # So say no if there are warnings
8659 if test -s conftest.err
; then
8660 # Append any errors to the config.log.
8661 cat conftest.err
1>&5
8662 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
8663 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8664 if diff conftest.exp conftest.er2
>/dev
/null
; then
8665 lt_cv_prog_compiler_static_works
=yes
8668 lt_cv_prog_compiler_static_works
=yes
8672 LDFLAGS
="$save_LDFLAGS"
8675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8676 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8678 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
8681 lt_prog_compiler_static
=
8690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8691 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8692 if ${lt_cv_prog_compiler_c_o+:} false
; then :
8693 $as_echo_n "(cached) " >&6
8695 lt_cv_prog_compiler_c_o
=no
8696 $RM -r conftest
2>/dev
/null
8700 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8702 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8703 # Insert the option either (1) after the last *FLAGS variable, or
8704 # (2) before a word containing "conftest.", or (3) at the end.
8705 # Note that $ac_compile itself does not contain backslashes and begins
8706 # with a dollar sign (not a hyphen), so the echo should work correctly.
8707 lt_compile
=`echo "$ac_compile" | $SED \
8708 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8709 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8710 -e 's:$: $lt_compiler_flag:'`
8711 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8712 (eval "$lt_compile" 2>out
/conftest.err
)
8714 cat out
/conftest.err
>&5
8715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8716 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8718 # The compiler can only warn and ignore the option if not recognized
8719 # So say no if there are warnings
8720 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8721 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8722 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8723 lt_cv_prog_compiler_c_o
=yes
8728 # SGI C++ compiler will create directory out/ii_files/ for
8729 # template instantiation
8730 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8731 $RM out
/* && rmdir out
8737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8738 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8746 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8747 if ${lt_cv_prog_compiler_c_o+:} false
; then :
8748 $as_echo_n "(cached) " >&6
8750 lt_cv_prog_compiler_c_o
=no
8751 $RM -r conftest
2>/dev
/null
8755 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8757 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8758 # Insert the option either (1) after the last *FLAGS variable, or
8759 # (2) before a word containing "conftest.", or (3) at the end.
8760 # Note that $ac_compile itself does not contain backslashes and begins
8761 # with a dollar sign (not a hyphen), so the echo should work correctly.
8762 lt_compile
=`echo "$ac_compile" | $SED \
8763 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8764 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8765 -e 's:$: $lt_compiler_flag:'`
8766 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8767 (eval "$lt_compile" 2>out
/conftest.err
)
8769 cat out
/conftest.err
>&5
8770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8771 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8773 # The compiler can only warn and ignore the option if not recognized
8774 # So say no if there are warnings
8775 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8776 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8777 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8778 lt_cv_prog_compiler_c_o
=yes
8783 # SGI C++ compiler will create directory out/ii_files/ for
8784 # template instantiation
8785 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8786 $RM out
/* && rmdir out
8792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8793 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8798 hard_links
="nottested"
8799 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
8800 # do not overwrite the value of need_locks provided by the user
8801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8802 $as_echo_n "checking if we can lock with hard links... " >&6; }
8805 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8807 ln conftest.a conftest.b
2>&5 || hard_links
=no
8808 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8810 $as_echo "$hard_links" >&6; }
8811 if test "$hard_links" = no
; then
8812 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8813 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8826 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8829 allow_undefined_flag
=
8830 always_export_symbols
=no
8832 archive_expsym_cmds
=
8833 compiler_needs_object
=no
8834 enable_shared_with_static_runtimes
=no
8835 export_dynamic_flag_spec
=
8836 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8837 hardcode_automatic
=no
8839 hardcode_direct_absolute
=no
8840 hardcode_libdir_flag_spec
=
8841 hardcode_libdir_separator
=
8843 hardcode_shlibpath_var
=unsupported
8845 link_all_deplibs
=unknown
8848 old_archive_from_new_cmds
=
8849 old_archive_from_expsyms_cmds
=
8850 thread_safe_flag_spec
=
8851 whole_archive_flag_spec
=
8852 # include_expsyms should be a list of space-separated symbols to be *always*
8853 # included in the symbol list
8855 # exclude_expsyms can be an extended regexp of symbols to exclude
8856 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8857 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8858 # as well as any symbol that contains `d'.
8859 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8860 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8861 # platforms (ab)use it in PIC code, but their linkers get confused if
8862 # the symbol is explicitly referenced. Since portable code cannot
8863 # rely on this symbol name, it's probably fine to never include it in
8864 # preloaded symbol tables.
8865 # Exclude shared library initialization/finalization symbols.
8866 extract_expsyms_cmds
=
8869 cygwin
* | mingw
* | pw32
* | cegcc
*)
8870 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8871 # When not using gcc, we currently assume that we are using
8872 # Microsoft Visual C++.
8873 if test "$GCC" != yes; then
8878 # we just hope/assume this is gcc and not c89 (= MSVC++)
8884 linux
* | k
*bsd
*-gnu | gnu
*)
8891 # On some targets, GNU ld is compatible enough with the native linker
8892 # that we're better off using the native interface for both.
8893 lt_use_gnu_ld_interface
=no
8894 if test "$with_gnu_ld" = yes; then
8897 # The AIX port of GNU ld has always aspired to compatibility
8898 # with the native linker. However, as the warning in the GNU ld
8899 # block says, versions before 2.19.5* couldn't really create working
8900 # shared libraries, regardless of the interface used.
8901 case `$LD -v 2>&1` in
8902 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
8903 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
8904 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
8906 lt_use_gnu_ld_interface
=yes
8911 lt_use_gnu_ld_interface
=yes
8916 if test "$lt_use_gnu_ld_interface" = yes; then
8917 # If archive_cmds runs LD, not CC, wlarc should be empty
8920 # Set some defaults for GNU ld with shared library support. These
8921 # are reset later if shared libraries are not supported. Putting them
8922 # here allows them to be overridden if necessary.
8923 runpath_var
=LD_RUN_PATH
8924 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8925 export_dynamic_flag_spec
='${wl}--export-dynamic'
8926 # ancient GNU ld didn't support --whole-archive et. al.
8927 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
8928 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8930 whole_archive_flag_spec
=
8932 supports_anon_versioning
=no
8933 case `$LD -v 2>&1` in
8934 *GNU\ gold
*) supports_anon_versioning
=yes ;;
8935 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
8936 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8937 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8938 *\
2.11.
*) ;; # other 2.11 versions
8939 *) supports_anon_versioning
=yes ;;
8942 # See if GNU ld supports shared libraries.
8945 # On AIX/PPC, the GNU linker is very broken
8946 if test "$host_cpu" != ia64
; then
8950 *** Warning: the GNU linker, at least up to release 2.19, is reported
8951 *** to be unable to reliably create shared libraries on AIX.
8952 *** Therefore, libtool is disabling shared libraries support. If you
8953 *** really care for shared libraries, you may want to install binutils
8954 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8955 *** You will then need to restart the configuration process.
8964 # see comment about AmigaOS4 .so support
8965 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8966 archive_expsym_cmds
=''
8969 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)'
8970 hardcode_libdir_flag_spec
='-L$libdir'
8971 hardcode_minus_L
=yes
8977 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8978 allow_undefined_flag
=unsupported
8979 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8980 # support --undefined. This deserves some investigation. FIXME
8981 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8987 cygwin
* | mingw
* | pw32
* | cegcc
*)
8988 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8989 # as there is no search path for DLLs.
8990 hardcode_libdir_flag_spec
='-L$libdir'
8991 export_dynamic_flag_spec
='${wl}--export-all-symbols'
8992 allow_undefined_flag
=unsupported
8993 always_export_symbols
=no
8994 enable_shared_with_static_runtimes
=yes
8995 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
8996 exclude_expsyms
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8998 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8999 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9000 # If the export-symbols file already is a .def file (1st line
9001 # is EXPORTS), use it as is; otherwise, prepend...
9002 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9003 cp $export_symbols $output_objdir/$soname.def;
9005 echo EXPORTS > $output_objdir/$soname.def;
9006 cat $export_symbols >> $output_objdir/$soname.def;
9008 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9015 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9016 link_all_deplibs
=yes
9021 hardcode_shlibpath_var
=no
9022 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9023 export_dynamic_flag_spec
='${wl}-E'
9024 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9025 # Instead, shared libraries are loaded at an image base (0x10000000 by
9026 # default) and relocated if they conflict, which is a slow very memory
9027 # consuming and fragmenting process. To avoid this, we pick a random,
9028 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9029 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9030 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9031 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'
9034 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9036 if test "$host_os" = linux-dietlibc
; then
9037 case $cc_basename in
9038 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9041 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
9042 && test "$tmp_diet" = no
9044 tmp_addflag
=' $pic_flag'
9045 tmp_sharedflag
='-shared'
9046 case $cc_basename,$host_cpu in
9047 pgcc
*) # Portland Group C compiler
9048 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'
9049 tmp_addflag
=' $pic_flag'
9051 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9052 # Portland Group f77 and f90 compilers
9053 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'
9054 tmp_addflag
=' $pic_flag -Mnomain' ;;
9055 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9056 tmp_addflag
=' -i_dynamic' ;;
9057 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9058 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9059 ifc
* | ifort
*) # Intel Fortran compiler
9060 tmp_addflag
=' -nofor_main' ;;
9061 lf95
*) # Lahey Fortran 8.1
9062 whole_archive_flag_spec
=
9063 tmp_sharedflag
='--shared' ;;
9064 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9065 tmp_sharedflag
='-qmkshrobj'
9067 nvcc
*) # Cuda Compiler Driver 2.2
9068 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'
9069 compiler_needs_object
=yes
9072 case `$CC -V 2>&1 | sed 5q` in
9073 *Sun\ C
*) # Sun C 5.9
9074 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'
9075 compiler_needs_object
=yes
9076 tmp_sharedflag
='-G' ;;
9077 *Sun\ F
*) # Sun Fortran 8.3
9078 tmp_sharedflag
='-G' ;;
9080 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9082 if test "x$supports_anon_versioning" = xyes
; then
9083 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9084 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9085 echo "local: *; };" >> $output_objdir/$libname.ver~
9086 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9089 case $cc_basename in
9090 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
9091 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9092 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9093 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9094 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9095 if test "x$supports_anon_versioning" = xyes
; then
9096 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9097 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9098 echo "local: *; };" >> $output_objdir/$libname.ver~
9099 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9108 netbsd
* | netbsdelf
*-gnu)
9109 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9110 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9113 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9114 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9119 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
9123 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9124 *** create shared libraries on Solaris systems. Therefore, libtool
9125 *** is disabling shared libraries support. We urge you to upgrade GNU
9126 *** binutils to release 2.9.1 or newer. Another option is to modify
9127 *** your PATH or compiler configuration so that the native linker is
9128 *** used, and then restart.
9131 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9132 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9133 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9139 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9140 case `$LD -v 2>&1` in
9141 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9145 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9146 *** reliably create shared libraries on SCO systems. Therefore, libtool
9147 *** is disabling shared libraries support. We urge you to upgrade GNU
9148 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9149 *** your PATH or compiler configuration so that the native linker is
9150 *** used, and then restart.
9155 # For security reasons, it is highly recommended that you always
9156 # use absolute paths for naming shared libraries, and exclude the
9157 # DT_RUNPATH tag from executables and libraries. But doing so
9158 # requires that you compile everything twice, which is a pain.
9159 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9160 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9161 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9162 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9171 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9174 hardcode_shlibpath_var
=no
9178 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9179 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9180 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9187 if test "$ld_shlibs" = no
; then
9189 hardcode_libdir_flag_spec
=
9190 export_dynamic_flag_spec
=
9191 whole_archive_flag_spec
=
9194 # PORTME fill in a description of your system's linker (not GNU ld)
9197 allow_undefined_flag
=unsupported
9198 always_export_symbols
=yes
9199 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'
9200 # Note: this linker hardcodes the directories in LIBPATH if there
9201 # are no directories specified by -L.
9202 hardcode_minus_L
=yes
9203 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9204 # Neither direct hardcoding nor static linking is supported with a
9206 hardcode_direct
=unsupported
9211 if test "$host_cpu" = ia64
; then
9212 # On IA64, the linker does run time linking by default, so we don't
9213 # have to do anything special.
9214 aix_use_runtimelinking
=no
9215 exp_sym_flag
='-Bexport'
9218 # If we're using GNU nm, then we don't want the "-C" option.
9219 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9220 # Also, AIX nm treats weak defined symbols like other global
9221 # defined symbols, whereas GNU nm marks them as "W".
9222 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9223 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'
9225 export_symbols_cmds
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9227 aix_use_runtimelinking
=no
9229 # Test if we are trying to use run time linking or normal
9230 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9231 # need to do runtime linking.
9232 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9233 for ld_flag
in $LDFLAGS; do
9234 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9235 aix_use_runtimelinking
=yes
9242 exp_sym_flag
='-bexport'
9243 no_entry_flag
='-bnoentry'
9246 # When large executables or shared objects are built, AIX ld can
9247 # have problems creating the table of contents. If linking a library
9248 # or program results in "error TOC overflow" add -mminimal-toc to
9249 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9250 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9254 hardcode_direct_absolute
=yes
9255 hardcode_libdir_separator
=':'
9256 link_all_deplibs
=yes
9257 file_list_spec
='${wl}-f,'
9259 if test "$GCC" = yes; then
9260 case $host_os in aix4.
[012]|aix4.
[012].
*)
9261 # We only want to do this on AIX 4.2 and lower, the check
9262 # below for broken collect2 doesn't work under 4.3+
9263 collect2name
=`${CC} -print-prog-name=collect2`
9264 if test -f "$collect2name" &&
9265 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9267 # We have reworked collect2
9270 # We have old collect2
9271 hardcode_direct
=unsupported
9272 # It fails to find uninstalled libraries when the uninstalled
9273 # path is not listed in the libpath. Setting hardcode_minus_L
9274 # to unsupported forces relinking
9275 hardcode_minus_L
=yes
9276 hardcode_libdir_flag_spec
='-L$libdir'
9277 hardcode_libdir_separator
=
9281 shared_flag
='-shared'
9282 if test "$aix_use_runtimelinking" = yes; then
9283 shared_flag
="$shared_flag "'${wl}-G'
9288 if test "$host_cpu" = ia64
; then
9289 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9290 # chokes on -Wl,-G. The following line is correct:
9293 if test "$aix_use_runtimelinking" = yes; then
9294 shared_flag
='${wl}-G'
9296 shared_flag
='${wl}-bM:SRE'
9301 export_dynamic_flag_spec
='${wl}-bexpall'
9302 # It seems that -bexpall does not export symbols beginning with
9303 # underscore (_), so it is better to generate a list of symbols to export.
9304 always_export_symbols
=yes
9305 if test "$aix_use_runtimelinking" = yes; then
9306 # Warning - without using the other runtime loading flags (-brtl),
9307 # -berok will link without error, but may produce a broken library.
9308 allow_undefined_flag
='-berok'
9309 # Determine the default libpath from the value encoded in an
9311 if test "${lt_cv_aix_libpath+set}" = set; then
9312 aix_libpath
=$lt_cv_aix_libpath
9314 if ${lt_cv_aix_libpath_+:} false
; then :
9315 $as_echo_n "(cached) " >&6
9317 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9318 /* end confdefs.h. */
9328 if ac_fn_c_try_link
"$LINENO"; then :
9330 lt_aix_libpath_sed
='
9331 /Import File Strings/,/^$/ {
9333 s/^0 *\([^ ]*\) *$/\1/
9337 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9338 # Check for a 64-bit object if we didn't find anything.
9339 if test -z "$lt_cv_aix_libpath_"; then
9340 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9343 rm -f core conftest.err conftest.
$ac_objext \
9344 conftest
$ac_exeext conftest.
$ac_ext
9345 if test -z "$lt_cv_aix_libpath_"; then
9346 lt_cv_aix_libpath_
="/usr/lib:/lib"
9351 aix_libpath
=$lt_cv_aix_libpath_
9354 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9355 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"
9357 if test "$host_cpu" = ia64
; then
9358 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9359 allow_undefined_flag
="-z nodefs"
9360 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"
9362 # Determine the default libpath from the value encoded in an
9364 if test "${lt_cv_aix_libpath+set}" = set; then
9365 aix_libpath
=$lt_cv_aix_libpath
9367 if ${lt_cv_aix_libpath_+:} false
; then :
9368 $as_echo_n "(cached) " >&6
9370 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9371 /* end confdefs.h. */
9381 if ac_fn_c_try_link
"$LINENO"; then :
9383 lt_aix_libpath_sed
='
9384 /Import File Strings/,/^$/ {
9386 s/^0 *\([^ ]*\) *$/\1/
9390 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9391 # Check for a 64-bit object if we didn't find anything.
9392 if test -z "$lt_cv_aix_libpath_"; then
9393 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9396 rm -f core conftest.err conftest.
$ac_objext \
9397 conftest
$ac_exeext conftest.
$ac_ext
9398 if test -z "$lt_cv_aix_libpath_"; then
9399 lt_cv_aix_libpath_
="/usr/lib:/lib"
9404 aix_libpath
=$lt_cv_aix_libpath_
9407 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9408 # Warning - without using the other run time loading flags,
9409 # -berok will link without error, but may produce a broken library.
9410 no_undefined_flag
=' ${wl}-bernotok'
9411 allow_undefined_flag
=' ${wl}-berok'
9412 if test "$with_gnu_ld" = yes; then
9413 # We only use this code for GNU lds that support --whole-archive.
9414 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9416 # Exported symbols can be pulled into shared objects from archives
9417 whole_archive_flag_spec
='$convenience'
9419 archive_cmds_need_lc
=yes
9420 # This is similar to how AIX traditionally builds its shared libraries.
9421 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'
9429 # see comment about AmigaOS4 .so support
9430 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9431 archive_expsym_cmds
=''
9434 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)'
9435 hardcode_libdir_flag_spec
='-L$libdir'
9436 hardcode_minus_L
=yes
9442 export_dynamic_flag_spec
=-rdynamic
9445 cygwin
* | mingw
* | pw32
* | cegcc
*)
9446 # When not using gcc, we currently assume that we are using
9447 # Microsoft Visual C++.
9448 # hardcode_libdir_flag_spec is actually meaningless, as there is
9449 # no search path for DLLs.
9450 case $cc_basename in
9453 hardcode_libdir_flag_spec
=' '
9454 allow_undefined_flag
=unsupported
9455 always_export_symbols
=yes
9457 # Tell ltmain to make .lib files, not .a files.
9459 # Tell ltmain to make .dll files, not .so files.
9461 # FIXME: Setting linknames here is a bad hack.
9462 archive_cmds
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9463 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9464 sed -n -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' -e '1\\\
!p
' < $export_symbols > $output_objdir/$soname.exp;
9466 sed -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' < $export_symbols > $output_objdir/$soname.exp;
9468 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9470 # The linker will not automatically build a static lib if we build a DLL.
9471 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9472 enable_shared_with_static_runtimes
=yes
9473 exclude_expsyms
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9474 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9476 old_postinstall_cmds
='chmod 644 $oldlib'
9477 postlink_cmds
='lt_outputfile="@OUTPUT@"~
9478 lt_tool_outputfile="@TOOL_OUTPUT@"~
9479 case $lt_outputfile in
9482 lt_outputfile="$lt_outputfile.exe"
9483 lt_tool_outputfile="$lt_tool_outputfile.exe"
9486 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9487 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9488 $RM "$lt_outputfile.manifest";
9492 # Assume MSVC wrapper
9493 hardcode_libdir_flag_spec
=' '
9494 allow_undefined_flag
=unsupported
9495 # Tell ltmain to make .lib files, not .a files.
9497 # Tell ltmain to make .dll files, not .so files.
9499 # FIXME: Setting linknames here is a bad hack.
9500 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9501 # The linker will automatically build a .lib file if we build a DLL.
9502 old_archive_from_new_cmds
='true'
9503 # FIXME: Should let the user specify the lib program.
9504 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9505 enable_shared_with_static_runtimes
=yes
9510 darwin
* | rhapsody
*)
9513 archive_cmds_need_lc
=no
9515 hardcode_automatic
=yes
9516 hardcode_shlibpath_var
=unsupported
9517 if test "$lt_cv_ld_force_load" = "yes"; then
9518 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\"`'
9521 whole_archive_flag_spec
=''
9523 link_all_deplibs
=yes
9524 allow_undefined_flag
="$_lt_dar_allow_undefined"
9525 case $cc_basename in
9526 ifort
*) _lt_dar_can_shared
=yes ;;
9527 *) _lt_dar_can_shared
=$GCC ;;
9529 if test "$_lt_dar_can_shared" = "yes"; then
9530 output_verbose_link_cmd
=func_echo_all
9531 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9532 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9533 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}"
9534 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}"
9543 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9544 hardcode_libdir_flag_spec
='-L$libdir'
9545 hardcode_shlibpath_var
=no
9548 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9549 # support. Future versions do this automatically, but an explicit c++rt0.o
9550 # does not break anything, and helps significantly (at the cost of a little
9553 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9554 hardcode_libdir_flag_spec
='-R$libdir'
9556 hardcode_shlibpath_var
=no
9559 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9561 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9563 hardcode_minus_L
=yes
9564 hardcode_shlibpath_var
=no
9567 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9568 freebsd
* | dragonfly
*)
9569 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9570 hardcode_libdir_flag_spec
='-R$libdir'
9572 hardcode_shlibpath_var
=no
9576 if test "$GCC" = yes; then
9577 archive_cmds
='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9579 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'
9581 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9582 hardcode_libdir_separator
=:
9585 # hardcode_minus_L: Not really in the search PATH,
9586 # but as the default location of the library.
9587 hardcode_minus_L
=yes
9588 export_dynamic_flag_spec
='${wl}-E'
9592 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9593 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9595 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9597 if test "$with_gnu_ld" = no
; then
9598 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9599 hardcode_libdir_separator
=:
9601 hardcode_direct_absolute
=yes
9602 export_dynamic_flag_spec
='${wl}-E'
9603 # hardcode_minus_L: Not really in the search PATH,
9604 # but as the default location of the library.
9605 hardcode_minus_L
=yes
9610 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9613 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9616 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9619 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9625 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9628 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9632 # Older versions of the 11.00 compiler do not understand -b yet
9633 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9635 $as_echo_n "checking if $CC understands -b... " >&6; }
9636 if ${lt_cv_prog_compiler__b+:} false
; then :
9637 $as_echo_n "(cached) " >&6
9639 lt_cv_prog_compiler__b
=no
9640 save_LDFLAGS
="$LDFLAGS"
9641 LDFLAGS
="$LDFLAGS -b"
9642 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9643 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9644 # The linker can only warn and ignore the option if not recognized
9645 # So say no if there are warnings
9646 if test -s conftest.err
; then
9647 # Append any errors to the config.log.
9648 cat conftest.err
1>&5
9649 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9650 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9651 if diff conftest.exp conftest.er2
>/dev
/null
; then
9652 lt_cv_prog_compiler__b
=yes
9655 lt_cv_prog_compiler__b
=yes
9659 LDFLAGS
="$save_LDFLAGS"
9662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9663 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9665 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
9666 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9668 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9674 if test "$with_gnu_ld" = no
; then
9675 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9676 hardcode_libdir_separator
=:
9681 hardcode_shlibpath_var
=no
9685 hardcode_direct_absolute
=yes
9686 export_dynamic_flag_spec
='${wl}-E'
9688 # hardcode_minus_L: Not really in the search PATH,
9689 # but as the default location of the library.
9690 hardcode_minus_L
=yes
9696 irix5
* | irix6
* | nonstopux
*)
9697 if test "$GCC" = yes; then
9698 archive_cmds
='$CC -shared $pic_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'
9699 # Try to use the -exported_symbol ld option, if it does not
9700 # work, assume that -exports_file does not work either and
9701 # implicitly export all symbols.
9702 # This should be the same for all languages, so no per-tag cache variable.
9703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9704 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9705 if ${lt_cv_irix_exported_symbol+:} false
; then :
9706 $as_echo_n "(cached) " >&6
9708 save_LDFLAGS
="$LDFLAGS"
9709 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9710 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9711 /* end confdefs.h. */
9712 int foo (void) { return 0; }
9714 if ac_fn_c_try_link
"$LINENO"; then :
9715 lt_cv_irix_exported_symbol
=yes
9717 lt_cv_irix_exported_symbol
=no
9719 rm -f core conftest.err conftest.
$ac_objext \
9720 conftest
$ac_exeext conftest.
$ac_ext
9721 LDFLAGS
="$save_LDFLAGS"
9723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9724 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9725 if test "$lt_cv_irix_exported_symbol" = yes; then
9726 archive_expsym_cmds
='$CC -shared $pic_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 ${wl}-exports_file ${wl}$export_symbols -o $lib'
9729 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'
9730 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'
9732 archive_cmds_need_lc
='no'
9733 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9734 hardcode_libdir_separator
=:
9736 link_all_deplibs
=yes
9739 netbsd
* | netbsdelf
*-gnu)
9740 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9741 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9743 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9745 hardcode_libdir_flag_spec
='-R$libdir'
9747 hardcode_shlibpath_var
=no
9751 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9753 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9754 hardcode_libdir_separator
=:
9755 hardcode_shlibpath_var
=no
9762 if test -f /usr
/libexec
/ld.so
; then
9764 hardcode_shlibpath_var
=no
9765 hardcode_direct_absolute
=yes
9766 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9767 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9768 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9769 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9770 export_dynamic_flag_spec
='${wl}-E'
9773 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9774 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9775 hardcode_libdir_flag_spec
='-R$libdir'
9778 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9779 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9789 hardcode_libdir_flag_spec
='-L$libdir'
9790 hardcode_minus_L
=yes
9791 allow_undefined_flag
=unsupported
9792 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'
9793 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9797 if test "$GCC" = yes; then
9798 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9799 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'
9801 allow_undefined_flag
=' -expect_unresolved \*'
9802 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'
9804 archive_cmds_need_lc
='no'
9805 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9806 hardcode_libdir_separator
=:
9809 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9810 if test "$GCC" = yes; then
9811 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9812 archive_cmds
='$CC -shared${allow_undefined_flag} $pic_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'
9813 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9815 allow_undefined_flag
=' -expect_unresolved \*'
9816 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'
9817 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~
9818 $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'
9820 # Both c and cxx compiler support -rpath directly
9821 hardcode_libdir_flag_spec
='-rpath $libdir'
9823 archive_cmds_need_lc
='no'
9824 hardcode_libdir_separator
=:
9828 no_undefined_flag
=' -z defs'
9829 if test "$GCC" = yes; then
9831 archive_cmds
='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9832 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9833 $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9835 case `$CC -V 2>&1` in
9838 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9839 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9840 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9844 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9845 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9846 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9850 hardcode_libdir_flag_spec
='-R$libdir'
9851 hardcode_shlibpath_var
=no
9853 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9855 # The compiler driver will combine and reorder linker options,
9856 # but understands `-z linker_flag'. GCC discards it without `$wl',
9857 # but is careful enough not to reorder.
9858 # Supported since Solaris 2.6 (maybe 2.5.1?)
9859 if test "$GCC" = yes; then
9860 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9862 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9866 link_all_deplibs
=yes
9870 if test "x$host_vendor" = xsequent
; then
9871 # Use $CC to link under sequent, because it throws in some extra .o
9872 # files that make .init and .fini sections work.
9873 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9875 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9877 hardcode_libdir_flag_spec
='-L$libdir'
9879 hardcode_minus_L
=yes
9880 hardcode_shlibpath_var
=no
9884 case $host_vendor in
9886 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9887 hardcode_direct
=yes # is this really true???
9890 ## LD is ld it makes a PLAMLIB
9891 ## CC just makes a GrossModule.
9892 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9893 reload_cmds
='$CC -r -o $output$reload_objs'
9897 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9898 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9901 runpath_var
='LD_RUN_PATH'
9902 hardcode_shlibpath_var
=no
9906 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9907 hardcode_shlibpath_var
=no
9908 export_dynamic_flag_spec
='-Bexport'
9912 if test -d /usr
/nec
; then
9913 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9914 hardcode_shlibpath_var
=no
9915 runpath_var
=LD_RUN_PATH
9916 hardcode_runpath_var
=yes
9921 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9922 no_undefined_flag
='${wl}-z,text'
9923 archive_cmds_need_lc
=no
9924 hardcode_shlibpath_var
=no
9925 runpath_var
='LD_RUN_PATH'
9927 if test "$GCC" = yes; then
9928 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9929 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9931 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9932 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9936 sysv5
* | sco3.2v5
* | sco5v6
*)
9937 # Note: We can NOT use -z defs as we might desire, because we do not
9938 # link with -lc, and that would cause any symbols used from libc to
9939 # always be unresolved, which means just about no library would
9940 # ever link correctly. If we're not using GNU ld we use -z text
9941 # though, which does catch some bad symbols but isn't as heavy-handed
9943 no_undefined_flag
='${wl}-z,text'
9944 allow_undefined_flag
='${wl}-z,nodefs'
9945 archive_cmds_need_lc
=no
9946 hardcode_shlibpath_var
=no
9947 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9948 hardcode_libdir_separator
=':'
9949 link_all_deplibs
=yes
9950 export_dynamic_flag_spec
='${wl}-Bexport'
9951 runpath_var
='LD_RUN_PATH'
9953 if test "$GCC" = yes; then
9954 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9955 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9957 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9958 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9963 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9964 hardcode_libdir_flag_spec
='-L$libdir'
9965 hardcode_shlibpath_var
=no
9973 if test x
$host_vendor = xsni
; then
9975 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9976 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9983 $as_echo "$ld_shlibs" >&6; }
9984 test "$ld_shlibs" = no
&& can_build_shared
=no
9986 with_gnu_ld
=$with_gnu_ld
10003 # Do we need to explicitly link libc?
10005 case "x$archive_cmds_need_lc" in
10007 # Assume -lc should be added
10008 archive_cmds_need_lc
=yes
10010 if test "$enable_shared" = yes && test "$GCC" = yes; then
10011 case $archive_cmds in
10013 # FIXME: we may have to deal with multi-command sequences.
10016 # Test whether the compiler implicitly links with -lc since on some
10017 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10018 # to ld, don't add -lc before -lgcc.
10019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10020 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10021 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
10022 $as_echo_n "(cached) " >&6
10025 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10027 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10028 (eval $ac_compile) 2>&5
10030 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10031 test $ac_status = 0; } 2>conftest.err
; then
10034 libobjs
=conftest.
$ac_objext
10036 wl
=$lt_prog_compiler_wl
10037 pic_flag
=$lt_prog_compiler_pic
10043 lt_save_allow_undefined_flag
=$allow_undefined_flag
10044 allow_undefined_flag
=
10045 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10046 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10048 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10049 test $ac_status = 0; }
10051 lt_cv_archive_cmds_need_lc
=no
10053 lt_cv_archive_cmds_need_lc
=yes
10055 allow_undefined_flag
=$lt_save_allow_undefined_flag
10057 cat conftest.err
1>&5
10062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10063 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10064 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
10222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10223 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10225 if test "$GCC" = yes; then
10227 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10228 *) lt_awk_arg
="/^libraries:/" ;;
10231 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
10232 *) lt_sed_strip_eq
="s,=/,/,g" ;;
10234 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10235 case $lt_search_path_spec in
10237 # if the path contains ";" then we assume it to be the separator
10238 # otherwise default to the standard path separator (i.e. ":") - it is
10239 # assumed that no part of a normal pathname contains ";" but that should
10240 # okay in the real world where ";" in dirpaths is itself problematic.
10241 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10244 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10247 # Ok, now we have the path, separated by spaces, we can step through it
10248 # and add multilib dir if necessary.
10249 lt_tmp_lt_search_path_spec
=
10250 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10251 for lt_sys_path
in $lt_search_path_spec; do
10252 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10253 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10255 test -d "$lt_sys_path" && \
10256 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10259 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10260 BEGIN {RS=" "; FS="/|\n";} {
10263 for (lt_i = NF; lt_i > 0; lt_i--) {
10264 if ($lt_i != "" && $lt_i != ".") {
10265 if ($lt_i == "..") {
10268 if (lt_count == 0) {
10269 lt_foo="/" $lt_i lt_foo;
10276 if (lt_foo != "") { lt_freq[lt_foo]++; }
10277 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10279 # AWK program above erroneously prepends '/' to C:/dos/paths
10282 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
10283 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10285 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10287 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10289 library_names_spec
=
10290 libname_spec
='lib$name'
10294 postuninstall_cmds
=
10298 shlibpath_overrides_runpath
=unknown
10300 dynamic_linker
="$host_os ld.so"
10301 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10302 need_lib_prefix
=unknown
10303 hardcode_into_libs
=no
10305 # when you set need_version to no, make sure it does not cause -set_version
10306 # flags to be left without arguments
10307 need_version
=unknown
10311 version_type
=linux
# correct to gnu/linux during the next big refactor
10312 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10313 shlibpath_var
=LIBPATH
10315 # AIX 3 has no versioning support, so we append a major version to the name.
10316 soname_spec
='${libname}${release}${shared_ext}$major'
10320 version_type
=linux
# correct to gnu/linux during the next big refactor
10323 hardcode_into_libs
=yes
10324 if test "$host_cpu" = ia64
; then
10325 # AIX 5 supports IA64
10326 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10327 shlibpath_var
=LD_LIBRARY_PATH
10329 # With GCC up to 2.95.x, collect2 would create an import file
10330 # for dependence libraries. The import file would start with
10331 # the line `#! .'. This would cause the generated library to
10332 # depend on `.', always an invalid library. This was fixed in
10333 # development snapshots of GCC prior to 3.0.
10335 aix4 | aix4.
[01] | aix4.
[01].
*)
10336 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10338 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10341 can_build_shared
=no
10345 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10346 # soname into executable. Probably we can add versioning support to
10347 # collect2, so additional links can be useful in future.
10348 if test "$aix_use_runtimelinking" = yes; then
10349 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10350 # instead of lib<name>.a to let people know that these are not
10351 # typical AIX shared libraries.
10352 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10354 # We preserve .a as extension for shared libraries through AIX4.2
10355 # and later when we are not doing run time linking.
10356 library_names_spec
='${libname}${release}.a $libname.a'
10357 soname_spec
='${libname}${release}${shared_ext}$major'
10359 shlibpath_var
=LIBPATH
10366 # Since July 2007 AmigaOS4 officially supports .so libraries.
10367 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10368 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10371 library_names_spec
='$libname.ixlibrary $libname.a'
10372 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10373 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'
10379 library_names_spec
='${libname}${shared_ext}'
10380 dynamic_linker
="$host_os ld.so"
10381 shlibpath_var
=LIBRARY_PATH
10385 version_type
=linux
# correct to gnu/linux during the next big refactor
10387 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10388 soname_spec
='${libname}${release}${shared_ext}$major'
10389 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10390 shlibpath_var
=LD_LIBRARY_PATH
10391 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10392 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10393 # the default ld.so.conf also contains /usr/contrib/lib and
10394 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10395 # libtool to hard-code these into programs
10398 cygwin
* | mingw
* | pw32
* | cegcc
*)
10399 version_type
=windows
10404 case $GCC,$cc_basename in
10407 library_names_spec
='$libname.dll.a'
10408 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10409 postinstall_cmds
='base_file=`basename \${file}`~
10410 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10411 dldir=$destdir/`dirname \$dlpath`~
10412 test -d \$dldir || mkdir -p \$dldir~
10413 $install_prog $dir/$dlname \$dldir/$dlname~
10414 chmod a+x \$dldir/$dlname~
10415 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10416 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10418 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10419 dlpath=$dir/\$dldll~
10421 shlibpath_overrides_runpath
=yes
10425 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10426 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10428 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
10431 # MinGW DLLs use traditional 'lib' prefix
10432 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10435 # pw32 DLLs use 'pw' prefix rather than 'lib'
10436 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10439 dynamic_linker
='Win32 ld.exe'
10444 libname_spec
='$name'
10445 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10446 library_names_spec
='${libname}.dll.lib'
10450 sys_lib_search_path_spec
=
10453 for lt_path
in $LIB
10456 # Let DOS variable expansion print the short 8.3 style file name.
10457 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10458 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
10461 # Convert to MSYS style.
10462 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10465 # Convert to unix form, then to dos form, then back to unix form
10466 # but this time dos style (no spaces!) so that the unix form looks
10467 # like /cygdrive/c/PROGRA~1:/cygdr...
10468 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
10469 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10470 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10473 sys_lib_search_path_spec
="$LIB"
10474 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
10475 # It is most probably a Windows format PATH.
10476 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10478 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10480 # FIXME: find the short name or the path components, as spaces are
10481 # common. (e.g. "Program Files" -> "PROGRA~1")
10485 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10486 postinstall_cmds
='base_file=`basename \${file}`~
10487 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10488 dldir=$destdir/`dirname \$dlpath`~
10489 test -d \$dldir || mkdir -p \$dldir~
10490 $install_prog $dir/$dlname \$dldir/$dlname'
10491 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10492 dlpath=$dir/\$dldll~
10494 shlibpath_overrides_runpath
=yes
10495 dynamic_linker
='Win32 link.exe'
10499 # Assume MSVC wrapper
10500 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10501 dynamic_linker
='Win32 ld.exe'
10504 # FIXME: first we should search . and the directory the executable is in
10508 darwin
* | rhapsody
*)
10509 dynamic_linker
="$host_os dyld"
10510 version_type
=darwin
10513 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10514 soname_spec
='${libname}${release}${major}$shared_ext'
10515 shlibpath_overrides_runpath
=yes
10516 shlibpath_var
=DYLD_LIBRARY_PATH
10517 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10519 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10520 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10524 version_type
=linux
# correct to gnu/linux during the next big refactor
10527 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10528 soname_spec
='${libname}${release}${shared_ext}$major'
10529 shlibpath_var
=LD_LIBRARY_PATH
10532 freebsd
* | dragonfly
*)
10533 # DragonFly does not have aout. When/if they implement a new
10534 # versioning mechanism, adjust this.
10535 if test -x /usr
/bin
/objformat
; then
10536 objformat
=`/usr/bin/objformat`
10539 freebsd
[23].
*) objformat
=aout
;;
10540 *) objformat
=elf
;;
10543 version_type
=freebsd-
$objformat
10544 case $version_type in
10546 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10551 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10555 shlibpath_var
=LD_LIBRARY_PATH
10558 shlibpath_overrides_runpath
=yes
10560 freebsd3.
[01]* | freebsdelf3.
[01]*)
10561 shlibpath_overrides_runpath
=yes
10562 hardcode_into_libs
=yes
10564 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10565 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10566 shlibpath_overrides_runpath
=no
10567 hardcode_into_libs
=yes
10569 *) # from 4.6 on, and DragonFly
10570 shlibpath_overrides_runpath
=yes
10571 hardcode_into_libs
=yes
10577 version_type
=linux
# correct to gnu/linux during the next big refactor
10580 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10581 soname_spec
='${libname}${release}${shared_ext}$major'
10582 shlibpath_var
=LD_LIBRARY_PATH
10583 shlibpath_overrides_runpath
=no
10584 hardcode_into_libs
=yes
10588 version_type
=linux
# correct to gnu/linux during the next big refactor
10591 dynamic_linker
="$host_os runtime_loader"
10592 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10593 soname_spec
='${libname}${release}${shared_ext}$major'
10594 shlibpath_var
=LIBRARY_PATH
10595 shlibpath_overrides_runpath
=yes
10596 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10597 hardcode_into_libs
=yes
10600 hpux9
* | hpux10
* | hpux11
*)
10601 # Give a soname corresponding to the major version so that dld.sl refuses to
10602 # link against other versions.
10609 hardcode_into_libs
=yes
10610 dynamic_linker
="$host_os dld.so"
10611 shlibpath_var
=LD_LIBRARY_PATH
10612 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10613 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10614 soname_spec
='${libname}${release}${shared_ext}$major'
10615 if test "X$HPUX_IA64_MODE" = X32
; then
10616 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10618 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10620 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10624 hardcode_into_libs
=yes
10625 dynamic_linker
="$host_os dld.sl"
10626 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10627 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10628 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10629 soname_spec
='${libname}${release}${shared_ext}$major'
10630 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10631 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10635 dynamic_linker
="$host_os dld.sl"
10636 shlibpath_var
=SHLIB_PATH
10637 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10638 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10639 soname_spec
='${libname}${release}${shared_ext}$major'
10642 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10643 postinstall_cmds
='chmod 555 $lib'
10644 # or fails outright, so override atomically:
10645 install_override_mode
=555
10649 version_type
=linux
# correct to gnu/linux during the next big refactor
10652 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10653 soname_spec
='${libname}${release}${shared_ext}$major'
10654 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10655 shlibpath_var
=LD_LIBRARY_PATH
10656 shlibpath_overrides_runpath
=no
10657 hardcode_into_libs
=yes
10660 irix5
* | irix6
* | nonstopux
*)
10662 nonstopux
*) version_type
=nonstopux
;;
10664 if test "$lt_cv_prog_gnu_ld" = yes; then
10665 version_type
=linux
# correct to gnu/linux during the next big refactor
10672 soname_spec
='${libname}${release}${shared_ext}$major'
10673 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10675 irix5
* | nonstopux
*)
10676 libsuff
= shlibsuff
=
10679 case $LD in # libtool.m4 will add one of these switches to LD
10680 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10681 libsuff
= shlibsuff
= libmagic
=32-bit;;
10682 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10683 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10684 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10685 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10686 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10690 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10691 shlibpath_overrides_runpath
=no
10692 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10693 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10694 hardcode_into_libs
=yes
10697 # No shared lib support for Linux oldld, aout, or coff.
10698 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10702 # This must be glibc/ELF.
10703 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10704 version_type
=linux
# correct to gnu/linux during the next big refactor
10707 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10708 soname_spec
='${libname}${release}${shared_ext}$major'
10709 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10710 shlibpath_var
=LD_LIBRARY_PATH
10711 shlibpath_overrides_runpath
=no
10713 # Some binutils ld are patched to set DT_RUNPATH
10714 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
10715 $as_echo_n "(cached) " >&6
10717 lt_cv_shlibpath_overrides_runpath
=no
10718 save_LDFLAGS
=$LDFLAGS
10719 save_libdir
=$libdir
10720 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10721 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10722 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10723 /* end confdefs.h. */
10733 if ac_fn_c_try_link
"$LINENO"; then :
10734 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
10735 lt_cv_shlibpath_overrides_runpath
=yes
10738 rm -f core conftest.err conftest.
$ac_objext \
10739 conftest
$ac_exeext conftest.
$ac_ext
10740 LDFLAGS
=$save_LDFLAGS
10741 libdir
=$save_libdir
10745 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
10747 # This implies no fast_install, which is unacceptable.
10748 # Some rework will be needed to allow for fast_install
10749 # before this can be enabled.
10750 hardcode_into_libs
=yes
10752 # Append ld.so.conf contents to the search path
10753 if test -f /etc
/ld.so.conf
; then
10754 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' ' '`
10755 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10758 # We used to test for /lib/ld.so.1 and disable shared libraries on
10759 # powerpc, because MkLinux only supported shared libraries with the
10760 # GNU dynamic linker. Since this was broken with cross compilers,
10761 # most powerpc-linux boxes support dynamic linking these days and
10762 # people can always --disable-shared, the test was removed, and we
10763 # assume the GNU/Linux dynamic linker is in use.
10764 dynamic_linker
='GNU/Linux ld.so'
10771 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10772 soname_spec
='${libname}${release}${shared_ext}$major'
10773 shlibpath_var
=LD_LIBRARY_PATH
10774 shlibpath_overrides_runpath
=no
10775 hardcode_into_libs
=yes
10776 dynamic_linker
='NetBSD ld.elf_so'
10783 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10784 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10785 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10786 dynamic_linker
='NetBSD (a.out) ld.so'
10788 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10789 soname_spec
='${libname}${release}${shared_ext}$major'
10790 dynamic_linker
='NetBSD ld.elf_so'
10792 shlibpath_var
=LD_LIBRARY_PATH
10793 shlibpath_overrides_runpath
=yes
10794 hardcode_into_libs
=yes
10798 version_type
=linux
# correct to gnu/linux during the next big refactor
10799 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10800 shlibpath_var
=LD_LIBRARY_PATH
10801 shlibpath_overrides_runpath
=yes
10808 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10809 soname_spec
='${libname}${release}${shared_ext}$major'
10810 shlibpath_var
=LD_LIBRARY_PATH
10811 shlibpath_overrides_runpath
=no
10812 hardcode_into_libs
=yes
10813 dynamic_linker
='ldqnx.so'
10818 sys_lib_dlsearch_path_spec
="/usr/lib"
10820 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10822 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
10823 *) need_version
=no
;;
10825 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10826 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10827 shlibpath_var
=LD_LIBRARY_PATH
10828 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10830 openbsd2.
[89] | openbsd2.
[89].
*)
10831 shlibpath_overrides_runpath
=no
10834 shlibpath_overrides_runpath
=yes
10838 shlibpath_overrides_runpath
=yes
10843 libname_spec
='$name'
10846 library_names_spec
='$libname${shared_ext} $libname.a'
10847 dynamic_linker
='OS/2 ld.exe'
10848 shlibpath_var
=LIBPATH
10851 osf3
* | osf4
* | osf5
*)
10855 soname_spec
='${libname}${release}${shared_ext}$major'
10856 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10857 shlibpath_var
=LD_LIBRARY_PATH
10858 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10859 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10867 version_type
=linux
# correct to gnu/linux during the next big refactor
10870 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10871 soname_spec
='${libname}${release}${shared_ext}$major'
10872 shlibpath_var
=LD_LIBRARY_PATH
10873 shlibpath_overrides_runpath
=yes
10874 hardcode_into_libs
=yes
10875 # ldd complains unless libraries are executable
10876 postinstall_cmds
='chmod +x $lib'
10881 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10882 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10883 shlibpath_var
=LD_LIBRARY_PATH
10884 shlibpath_overrides_runpath
=yes
10885 if test "$with_gnu_ld" = yes; then
10892 version_type
=linux
# correct to gnu/linux during the next big refactor
10893 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10894 soname_spec
='${libname}${release}${shared_ext}$major'
10895 shlibpath_var
=LD_LIBRARY_PATH
10896 case $host_vendor in
10898 shlibpath_overrides_runpath
=no
10900 runpath_var
=LD_RUN_PATH
10908 shlibpath_overrides_runpath
=no
10909 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10915 if test -d /usr
/nec
;then
10916 version_type
=linux
# correct to gnu/linux during the next big refactor
10917 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10918 soname_spec
='$libname${shared_ext}.$major'
10919 shlibpath_var
=LD_LIBRARY_PATH
10923 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10924 version_type
=freebsd-elf
10927 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10928 soname_spec
='${libname}${release}${shared_ext}$major'
10929 shlibpath_var
=LD_LIBRARY_PATH
10930 shlibpath_overrides_runpath
=yes
10931 hardcode_into_libs
=yes
10932 if test "$with_gnu_ld" = yes; then
10933 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10935 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10938 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10942 sys_lib_dlsearch_path_spec
='/usr/lib'
10946 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10947 version_type
=linux
# correct to gnu/linux during the next big refactor
10950 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10951 shlibpath_var
=LD_LIBRARY_PATH
10952 shlibpath_overrides_runpath
=no
10953 hardcode_into_libs
=yes
10957 version_type
=linux
# correct to gnu/linux during the next big refactor
10958 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10959 soname_spec
='${libname}${release}${shared_ext}$major'
10960 shlibpath_var
=LD_LIBRARY_PATH
10967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10968 $as_echo "$dynamic_linker" >&6; }
10969 test "$dynamic_linker" = no
&& can_build_shared
=no
10971 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10972 if test "$GCC" = yes; then
10973 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10976 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10977 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
10979 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10980 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
11074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11075 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11077 if test -n "$hardcode_libdir_flag_spec" ||
11078 test -n "$runpath_var" ||
11079 test "X$hardcode_automatic" = "Xyes" ; then
11081 # We can hardcode non-existent directories.
11082 if test "$hardcode_direct" != no
&&
11083 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11084 # have to relink, otherwise we might link with an installed library
11085 # when we should be linking with a yet-to-be-installed one
11086 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11087 test "$hardcode_minus_L" != no
; then
11088 # Linking always hardcodes the temporary library directory.
11089 hardcode_action
=relink
11091 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11092 hardcode_action
=immediate
11095 # We cannot hardcode anything, or else we can only hardcode existing
11097 hardcode_action
=unsupported
11099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11100 $as_echo "$hardcode_action" >&6; }
11102 if test "$hardcode_action" = relink ||
11103 test "$inherit_rpath" = yes; then
11104 # Fast installation is not supported
11105 enable_fast_install
=no
11106 elif test "$shlibpath_overrides_runpath" = yes ||
11107 test "$enable_shared" = no
; then
11108 # Fast installation is not necessary
11109 enable_fast_install
=needless
11117 if test "x$enable_dlopen" != xyes
; then
11118 enable_dlopen
=unknown
11119 enable_dlopen_self
=unknown
11120 enable_dlopen_self_static
=unknown
11127 lt_cv_dlopen
="load_add_on"
11129 lt_cv_dlopen_self
=yes
11132 mingw
* | pw32
* | cegcc
*)
11133 lt_cv_dlopen
="LoadLibrary"
11138 lt_cv_dlopen
="dlopen"
11143 # if libdl is installed we need to link against it
11144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11145 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11146 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11147 $as_echo_n "(cached) " >&6
11149 ac_check_lib_save_LIBS
=$LIBS
11151 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11152 /* end confdefs.h. */
11154 /* Override any GCC internal prototype to avoid an error.
11155 Use char because int might match the return type of a GCC
11156 builtin and then its argument prototype would still apply. */
11169 if ac_fn_c_try_link
"$LINENO"; then :
11170 ac_cv_lib_dl_dlopen
=yes
11172 ac_cv_lib_dl_dlopen
=no
11174 rm -f core conftest.err conftest.
$ac_objext \
11175 conftest
$ac_exeext conftest.
$ac_ext
11176 LIBS
=$ac_check_lib_save_LIBS
11178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11179 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11180 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11181 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11184 lt_cv_dlopen
="dyld"
11186 lt_cv_dlopen_self
=yes
11193 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
11194 if test "x$ac_cv_func_shl_load" = xyes
; then :
11195 lt_cv_dlopen
="shl_load"
11197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11198 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11199 if ${ac_cv_lib_dld_shl_load+:} false
; then :
11200 $as_echo_n "(cached) " >&6
11202 ac_check_lib_save_LIBS
=$LIBS
11204 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11205 /* end confdefs.h. */
11207 /* Override any GCC internal prototype to avoid an error.
11208 Use char because int might match the return type of a GCC
11209 builtin and then its argument prototype would still apply. */
11217 return shl_load ();
11222 if ac_fn_c_try_link
"$LINENO"; then :
11223 ac_cv_lib_dld_shl_load
=yes
11225 ac_cv_lib_dld_shl_load
=no
11227 rm -f core conftest.err conftest.
$ac_objext \
11228 conftest
$ac_exeext conftest.
$ac_ext
11229 LIBS
=$ac_check_lib_save_LIBS
11231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11232 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11233 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
11234 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
11236 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
11237 if test "x$ac_cv_func_dlopen" = xyes
; then :
11238 lt_cv_dlopen
="dlopen"
11240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11241 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11242 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11243 $as_echo_n "(cached) " >&6
11245 ac_check_lib_save_LIBS
=$LIBS
11247 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11248 /* end confdefs.h. */
11250 /* Override any GCC internal prototype to avoid an error.
11251 Use char because int might match the return type of a GCC
11252 builtin and then its argument prototype would still apply. */
11265 if ac_fn_c_try_link
"$LINENO"; then :
11266 ac_cv_lib_dl_dlopen
=yes
11268 ac_cv_lib_dl_dlopen
=no
11270 rm -f core conftest.err conftest.
$ac_objext \
11271 conftest
$ac_exeext conftest.
$ac_ext
11272 LIBS
=$ac_check_lib_save_LIBS
11274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11275 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11276 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11277 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11280 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11281 if ${ac_cv_lib_svld_dlopen+:} false
; then :
11282 $as_echo_n "(cached) " >&6
11284 ac_check_lib_save_LIBS
=$LIBS
11285 LIBS
="-lsvld $LIBS"
11286 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11287 /* end confdefs.h. */
11289 /* Override any GCC internal prototype to avoid an error.
11290 Use char because int might match the return type of a GCC
11291 builtin and then its argument prototype would still apply. */
11304 if ac_fn_c_try_link
"$LINENO"; then :
11305 ac_cv_lib_svld_dlopen
=yes
11307 ac_cv_lib_svld_dlopen
=no
11309 rm -f core conftest.err conftest.
$ac_objext \
11310 conftest
$ac_exeext conftest.
$ac_ext
11311 LIBS
=$ac_check_lib_save_LIBS
11313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11314 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11315 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
11316 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11319 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11320 if ${ac_cv_lib_dld_dld_link+:} false
; then :
11321 $as_echo_n "(cached) " >&6
11323 ac_check_lib_save_LIBS
=$LIBS
11325 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11326 /* end confdefs.h. */
11328 /* Override any GCC internal prototype to avoid an error.
11329 Use char because int might match the return type of a GCC
11330 builtin and then its argument prototype would still apply. */
11338 return dld_link ();
11343 if ac_fn_c_try_link
"$LINENO"; then :
11344 ac_cv_lib_dld_dld_link
=yes
11346 ac_cv_lib_dld_dld_link
=no
11348 rm -f core conftest.err conftest.
$ac_objext \
11349 conftest
$ac_exeext conftest.
$ac_ext
11350 LIBS
=$ac_check_lib_save_LIBS
11352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11353 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11354 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
11355 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11376 if test "x$lt_cv_dlopen" != xno
; then
11382 case $lt_cv_dlopen in
11384 save_CPPFLAGS
="$CPPFLAGS"
11385 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11387 save_LDFLAGS
="$LDFLAGS"
11388 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11391 LIBS
="$lt_cv_dlopen_libs $LIBS"
11393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11394 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11395 if ${lt_cv_dlopen_self+:} false
; then :
11396 $as_echo_n "(cached) " >&6
11398 if test "$cross_compiling" = yes; then :
11399 lt_cv_dlopen_self
=cross
11401 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11402 lt_status
=$lt_dlunknown
11403 cat > conftest.
$ac_ext <<_LT_EOF
11404 #line $LINENO "configure"
11405 #include "confdefs.h"
11414 # define LT_DLGLOBAL RTLD_GLOBAL
11417 # define LT_DLGLOBAL DL_GLOBAL
11419 # define LT_DLGLOBAL 0
11423 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11424 find out it does not work in some platform. */
11425 #ifndef LT_DLLAZY_OR_NOW
11427 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11430 # define LT_DLLAZY_OR_NOW DL_LAZY
11433 # define LT_DLLAZY_OR_NOW RTLD_NOW
11436 # define LT_DLLAZY_OR_NOW DL_NOW
11438 # define LT_DLLAZY_OR_NOW 0
11445 /* When -fvisbility=hidden is used, assume the code has been annotated
11446 correspondingly for the symbols needed. */
11447 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11448 int fnord () __attribute__((visibility("default")));
11451 int fnord () { return 42; }
11454 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11455 int status = $lt_dlunknown;
11459 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11462 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11463 else puts (dlerror ());
11465 /* dlclose (self); */
11473 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11474 (eval $ac_link) 2>&5
11476 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11477 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11478 (.
/conftest
; exit; ) >&5 2>/dev
/null
11480 case x
$lt_status in
11481 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11482 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11483 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11486 # compilation failed
11487 lt_cv_dlopen_self
=no
11494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11495 $as_echo "$lt_cv_dlopen_self" >&6; }
11497 if test "x$lt_cv_dlopen_self" = xyes
; then
11498 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11500 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11501 if ${lt_cv_dlopen_self_static+:} false
; then :
11502 $as_echo_n "(cached) " >&6
11504 if test "$cross_compiling" = yes; then :
11505 lt_cv_dlopen_self_static
=cross
11507 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11508 lt_status
=$lt_dlunknown
11509 cat > conftest.
$ac_ext <<_LT_EOF
11510 #line $LINENO "configure"
11511 #include "confdefs.h"
11520 # define LT_DLGLOBAL RTLD_GLOBAL
11523 # define LT_DLGLOBAL DL_GLOBAL
11525 # define LT_DLGLOBAL 0
11529 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11530 find out it does not work in some platform. */
11531 #ifndef LT_DLLAZY_OR_NOW
11533 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11536 # define LT_DLLAZY_OR_NOW DL_LAZY
11539 # define LT_DLLAZY_OR_NOW RTLD_NOW
11542 # define LT_DLLAZY_OR_NOW DL_NOW
11544 # define LT_DLLAZY_OR_NOW 0
11551 /* When -fvisbility=hidden is used, assume the code has been annotated
11552 correspondingly for the symbols needed. */
11553 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11554 int fnord () __attribute__((visibility("default")));
11557 int fnord () { return 42; }
11560 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11561 int status = $lt_dlunknown;
11565 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11568 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11569 else puts (dlerror ());
11571 /* dlclose (self); */
11579 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11580 (eval $ac_link) 2>&5
11582 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11583 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11584 (.
/conftest
; exit; ) >&5 2>/dev
/null
11586 case x
$lt_status in
11587 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11588 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11589 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11592 # compilation failed
11593 lt_cv_dlopen_self_static
=no
11600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11601 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11604 CPPFLAGS
="$save_CPPFLAGS"
11605 LDFLAGS
="$save_LDFLAGS"
11610 case $lt_cv_dlopen_self in
11611 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11612 *) enable_dlopen_self
=unknown
;;
11615 case $lt_cv_dlopen_self_static in
11616 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11617 *) enable_dlopen_self_static
=unknown
;;
11639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11640 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11641 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11642 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11643 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11645 $as_echo "yes" >&6; }
11647 # FIXME - insert some real tests, host_os isn't really good enough
11650 if test -n "$STRIP" ; then
11651 striplib
="$STRIP -x"
11652 old_striplib
="$STRIP -S"
11653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11654 $as_echo "yes" >&6; }
11656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11657 $as_echo "no" >&6; }
11661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11662 $as_echo "no" >&6; }
11678 # Report which library types will actually be built
11679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11680 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11682 $as_echo "$can_build_shared" >&6; }
11684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11685 $as_echo_n "checking whether to build shared libraries... " >&6; }
11686 test "$can_build_shared" = "no" && enable_shared
=no
11688 # On AIX, shared libraries and static libraries use the same namespace, and
11689 # are all built from PIC.
11692 test "$enable_shared" = yes && enable_static
=no
11693 if test -n "$RANLIB"; then
11694 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11695 postinstall_cmds
='$RANLIB $lib'
11700 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11701 test "$enable_shared" = yes && enable_static
=no
11705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11706 $as_echo "$enable_shared" >&6; }
11708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11709 $as_echo_n "checking whether to build static libraries... " >&6; }
11710 # Make sure either enable_shared or enable_static is yes.
11711 test "$enable_shared" = yes || enable_static
=yes
11712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11713 $as_echo "$enable_static" >&6; }
11720 ac_cpp
='$CPP $CPPFLAGS'
11721 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11722 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11723 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11741 ac_config_commands
="$ac_config_commands libtool"
11746 # Only expand once:
11750 if test 0 = "0"; then
11751 supported_build
=yes
11752 CPPFLAGS
="$CPPFLAGS -DNDEBUG"
11755 if test "x$GCC" = "xyes" ; then
11756 CFLAGS
="$CFLAGS -g -O0"
11757 CXXFLAGS
="$CXXFLAGS -g -O0"
11760 if test "x$supported_build" = "xno"; then
11762 TR_UNSTABLE_FALSE
='#'
11764 TR_UNSTABLE_TRUE
='#'
11771 ## MANDATORY for everything
11774 CURL_MINIMUM
=7.15.4
11776 LIBEVENT_MINIMUM
=2.0.10
11778 OPENSSL_MINIMUM
=0.9.4
11783 ## MANDATORY for the GTK+ client
11787 GTK2_MINIMUM
=2.22.0
11791 GLIB_MINIMUM
=2.28.0
11798 ## OPTIONAL for the GTK+ client
11802 # create the tray icon with AppIndicator
11803 LIBAPPINDICATOR_MINIMUM
=0.0.11
11808 ac_cpp
='$CPP $CPPFLAGS'
11809 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11810 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11811 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11812 if test -n "$ac_tool_prefix"; then
11813 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11814 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
11815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11816 $as_echo_n "checking for $ac_word... " >&6; }
11817 if ${ac_cv_prog_CC+:} false
; then :
11818 $as_echo_n "(cached) " >&6
11820 if test -n "$CC"; then
11821 ac_cv_prog_CC
="$CC" # Let the user override the test.
11823 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11824 for as_dir
in $PATH
11827 test -z "$as_dir" && as_dir
=.
11828 for ac_exec_ext
in '' $ac_executable_extensions; do
11829 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11830 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
11831 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11841 if test -n "$CC"; then
11842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11843 $as_echo "$CC" >&6; }
11845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11846 $as_echo "no" >&6; }
11851 if test -z "$ac_cv_prog_CC"; then
11853 # Extract the first word of "gcc", so it can be a program name with args.
11854 set dummy gcc
; ac_word
=$2
11855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11856 $as_echo_n "checking for $ac_word... " >&6; }
11857 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
11858 $as_echo_n "(cached) " >&6
11860 if test -n "$ac_ct_CC"; then
11861 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
11863 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11864 for as_dir
in $PATH
11867 test -z "$as_dir" && as_dir
=.
11868 for ac_exec_ext
in '' $ac_executable_extensions; do
11869 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11870 ac_cv_prog_ac_ct_CC
="gcc"
11871 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11880 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
11881 if test -n "$ac_ct_CC"; then
11882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11883 $as_echo "$ac_ct_CC" >&6; }
11885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11886 $as_echo "no" >&6; }
11889 if test "x$ac_ct_CC" = x
; then
11892 case $cross_compiling:$ac_tool_warned in
11894 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11895 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11896 ac_tool_warned
=yes ;;
11901 CC
="$ac_cv_prog_CC"
11904 if test -z "$CC"; then
11905 if test -n "$ac_tool_prefix"; then
11906 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11907 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
11908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11909 $as_echo_n "checking for $ac_word... " >&6; }
11910 if ${ac_cv_prog_CC+:} false
; then :
11911 $as_echo_n "(cached) " >&6
11913 if test -n "$CC"; then
11914 ac_cv_prog_CC
="$CC" # Let the user override the test.
11916 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11917 for as_dir
in $PATH
11920 test -z "$as_dir" && as_dir
=.
11921 for ac_exec_ext
in '' $ac_executable_extensions; do
11922 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11923 ac_cv_prog_CC
="${ac_tool_prefix}cc"
11924 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11934 if test -n "$CC"; then
11935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11936 $as_echo "$CC" >&6; }
11938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11939 $as_echo "no" >&6; }
11945 if test -z "$CC"; then
11946 # Extract the first word of "cc", so it can be a program name with args.
11947 set dummy cc
; ac_word
=$2
11948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11949 $as_echo_n "checking for $ac_word... " >&6; }
11950 if ${ac_cv_prog_CC+:} false
; then :
11951 $as_echo_n "(cached) " >&6
11953 if test -n "$CC"; then
11954 ac_cv_prog_CC
="$CC" # Let the user override the test.
11956 ac_prog_rejected
=no
11957 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11958 for as_dir
in $PATH
11961 test -z "$as_dir" && as_dir
=.
11962 for ac_exec_ext
in '' $ac_executable_extensions; do
11963 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11964 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
11965 ac_prog_rejected
=yes
11969 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11976 if test $ac_prog_rejected = yes; then
11977 # We found a bogon in the path, so make sure we never use it.
11978 set dummy
$ac_cv_prog_CC
11980 if test $# != 0; then
11981 # We chose a different compiler from the bogus one.
11982 # However, it has the same basename, so the bogon will be chosen
11983 # first if we set CC to just the basename; use the full file name.
11985 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
11991 if test -n "$CC"; then
11992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11993 $as_echo "$CC" >&6; }
11995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11996 $as_echo "no" >&6; }
12001 if test -z "$CC"; then
12002 if test -n "$ac_tool_prefix"; then
12003 for ac_prog
in cl.exe
12005 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12006 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
12007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12008 $as_echo_n "checking for $ac_word... " >&6; }
12009 if ${ac_cv_prog_CC+:} false
; then :
12010 $as_echo_n "(cached) " >&6
12012 if test -n "$CC"; then
12013 ac_cv_prog_CC
="$CC" # Let the user override the test.
12015 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12016 for as_dir
in $PATH
12019 test -z "$as_dir" && as_dir
=.
12020 for ac_exec_ext
in '' $ac_executable_extensions; do
12021 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12022 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
12023 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12033 if test -n "$CC"; then
12034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12035 $as_echo "$CC" >&6; }
12037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12038 $as_echo "no" >&6; }
12042 test -n "$CC" && break
12045 if test -z "$CC"; then
12047 for ac_prog
in cl.exe
12049 # Extract the first word of "$ac_prog", so it can be a program name with args.
12050 set dummy
$ac_prog; ac_word
=$2
12051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12052 $as_echo_n "checking for $ac_word... " >&6; }
12053 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
12054 $as_echo_n "(cached) " >&6
12056 if test -n "$ac_ct_CC"; then
12057 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
12059 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12060 for as_dir
in $PATH
12063 test -z "$as_dir" && as_dir
=.
12064 for ac_exec_ext
in '' $ac_executable_extensions; do
12065 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12066 ac_cv_prog_ac_ct_CC
="$ac_prog"
12067 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12076 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
12077 if test -n "$ac_ct_CC"; then
12078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12079 $as_echo "$ac_ct_CC" >&6; }
12081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12082 $as_echo "no" >&6; }
12086 test -n "$ac_ct_CC" && break
12089 if test "x$ac_ct_CC" = x
; then
12092 case $cross_compiling:$ac_tool_warned in
12094 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12095 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12096 ac_tool_warned
=yes ;;
12105 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12106 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12107 as_fn_error $?
"no acceptable C compiler found in \$PATH
12108 See \`config.log' for more details" "$LINENO" 5; }
12110 # Provide some information about the compiler.
12111 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
12114 for ac_option
in --version -v -V -qversion; do
12115 { { ac_try
="$ac_compiler $ac_option >&5"
12116 case "(($ac_try" in
12117 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12118 *) ac_try_echo=$ac_try;;
12120 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12121 $as_echo "$ac_try_echo"; } >&5
12122 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12124 if test -s conftest.err; then
12126 ... rest of stderr output deleted ...
12127 10q' conftest.err >conftest.er1
12128 cat conftest.er1 >&5
12130 rm -f conftest.er1 conftest.err
12131 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12132 test $ac_status = 0; }
12135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
12136 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
12137 if ${ac_cv_c_compiler_gnu+:} false; then :
12138 $as_echo_n "(cached) " >&6
12140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12141 /* end confdefs.h. */
12154 if ac_fn_c_try_compile "$LINENO"; then :
12155 ac_compiler_gnu=yes
12159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12160 ac_cv_c_compiler_gnu=$ac_compiler_gnu
12163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
12164 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
12165 if test $ac_compiler_gnu = yes; then
12170 ac_test_CFLAGS=${CFLAGS+set}
12171 ac_save_CFLAGS=$CFLAGS
12172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
12173 $as_echo_n "checking whether $CC accepts -g... " >&6; }
12174 if ${ac_cv_prog_cc_g+:} false; then :
12175 $as_echo_n "(cached) " >&6
12177 ac_save_c_werror_flag=$ac_c_werror_flag
12178 ac_c_werror_flag=yes
12181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12182 /* end confdefs.h. */
12192 if ac_fn_c_try_compile "$LINENO"; then :
12193 ac_cv_prog_cc_g=yes
12196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12197 /* end confdefs.h. */
12207 if ac_fn_c_try_compile "$LINENO"; then :
12210 ac_c_werror_flag=$ac_save_c_werror_flag
12212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12213 /* end confdefs.h. */
12223 if ac_fn_c_try_compile "$LINENO"; then :
12224 ac_cv_prog_cc_g=yes
12226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12231 ac_c_werror_flag=$ac_save_c_werror_flag
12233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
12234 $as_echo "$ac_cv_prog_cc_g" >&6; }
12235 if test "$ac_test_CFLAGS" = set; then
12236 CFLAGS=$ac_save_CFLAGS
12237 elif test $ac_cv_prog_cc_g = yes; then
12238 if test "$GCC" = yes; then
12244 if test "$GCC" = yes; then
12250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
12251 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
12252 if ${ac_cv_prog_cc_c89+:} false; then :
12253 $as_echo_n "(cached) " >&6
12255 ac_cv_prog_cc_c89=no
12257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12258 /* end confdefs.h. */
12259 #include <stdarg.h>
12261 #include <sys/types.h>
12262 #include <sys/stat.h>
12263 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12264 struct buf { int x; };
12265 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12266 static char *e (p, i)
12272 static char *f (char * (*g) (char **, int), char **p, ...)
12277 s = g (p, va_arg (v,int));
12282 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12283 function prototypes and stuff, but not '\xHH' hex character constants.
12284 These don't provoke an error unfortunately, instead are silently treated
12285 as 'x'. The following induces an error, until -std is added to get
12286 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12287 array size at least. It's necessary to write '\x00'==0 to get something
12288 that's true only with -std. */
12289 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12291 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
12292 inside strings and character constants. */
12294 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
12296 int test (int i, double x);
12297 struct s1 {int (*f) (int a);};
12298 struct s2 {int (*f) (double a);};
12299 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12305 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12310 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
12311 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12313 CC="$ac_save_CC $ac_arg"
12314 if ac_fn_c_try_compile "$LINENO"; then :
12315 ac_cv_prog_cc_c89=$ac_arg
12317 rm -f core conftest.err conftest.$ac_objext
12318 test "x$ac_cv_prog_cc_c89" != "xno" && break
12320 rm -f conftest.$ac_ext
12325 case "x$ac_cv_prog_cc_c89" in
12327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
12328 $as_echo "none needed" >&6; } ;;
12330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
12331 $as_echo "unsupported" >&6; } ;;
12333 CC="$CC $ac_cv_prog_cc_c89"
12334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
12335 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
12337 if test "x$ac_cv_prog_cc_c89" != xno; then :
12342 ac_cpp='$CPP $CPPFLAGS'
12343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12347 depcc="$CC" am_compiler_list=
12349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
12350 $as_echo_n "checking dependency style of $depcc... " >&6; }
12351 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
12352 $as_echo_n "(cached) " >&6
12354 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12355 # We make a subdir and do the tests there. Otherwise we can end up
12356 # making bogus files that we don't know about and never remove. For
12357 # instance it was reported that on HP-UX the gcc test will end up
12358 # making a dummy file named `D
' -- because `-MD' means
`put the output
12360 rm -rf conftest.dir
12362 # Copy depcomp to subdir because otherwise we won't find it if we're
12363 # using a relative directory.
12364 cp "$am_depcomp" conftest.dir
12366 # We will build objects and dependencies in a subdirectory because
12367 # it helps to detect inapplicable dependency modes. For instance
12368 # both Tru64's cc and ICC support -MD to output dependencies as a
12369 # side effect of compilation, but ICC will put the dependencies in
12370 # the current directory while Tru64 will put them in the object
12374 am_cv_CC_dependencies_compiler_type=none
12375 if test "$am_compiler_list" = ""; then
12376 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
12378 am__universal=false
12379 case " $depcc " in #(
12380 *\ -arch\ *\ -arch\ *) am__universal=true ;;
12383 for depmode in $am_compiler_list; do
12384 # Setup a source with many dependencies, because some compilers
12385 # like to wrap large dependency lists on column 80 (with \), and
12386 # we should not choose a depcomp mode which is confused by this.
12388 # We need to recreate these files for each test, as the compiler may
12389 # overwrite some of them when testing with obscure command lines.
12390 # This happens at least with the AIX C compiler.
12392 for i in 1 2 3 4 5 6; do
12393 echo '#include "conftst'$i'.h"' >> sub/conftest.c
12394 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
12395 # Solaris 8's
{/usr
,}/bin
/sh.
12396 touch sub
/conftst
$i.h
12398 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12400 # We check with `-c' and `-o' for the sake of the "dashmstdout"
12401 # mode. It turns out that the SunPro C++ compiler does not properly
12402 # handle `-M -o', and we need to detect this. Also, some Intel
12403 # versions had trouble with output in subdirs
12404 am__obj
=sub
/conftest.
${OBJEXT-o}
12405 am__minus_obj
="-o $am__obj"
12408 # This depmode causes a compiler race in universal mode.
12409 test "$am__universal" = false ||
continue
12412 # after this tag, mechanisms are not by side-effect, so they'll
12413 # only be used when explicitly requested
12414 if test "x$enable_dependency_tracking" = xyes
; then
12420 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
12421 # This compiler won't grok `-c -o', but also, the minuso test has
12422 # not run yet. These depmodes are late enough in the game, and
12423 # so weak that their functioning should not be impacted.
12424 am__obj
=conftest.
${OBJEXT-o}
12429 if depmode
=$depmode \
12430 source=sub
/conftest.c object
=$am__obj \
12431 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
12432 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
12433 >/dev
/null
2>conftest.err
&&
12434 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
12435 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
12436 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
12437 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
12438 # icc doesn't choke on unknown options, it will just issue warnings
12439 # or remarks (even with -Werror). So we grep stderr for any message
12440 # that says an option was ignored or not supported.
12441 # When given -MP, icc 7.0 and 7.1 complain thusly:
12442 # icc: Command line warning: ignoring option '-M'; no argument required
12443 # The diagnosis changed in icc 8.0:
12444 # icc: Command line remark: option '-MP' not supported
12445 if (grep 'ignoring option' conftest.err ||
12446 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
12447 am_cv_CC_dependencies_compiler_type
=$depmode
12454 rm -rf conftest.dir
12456 am_cv_CC_dependencies_compiler_type
=none
12460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
12461 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
12462 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
12465 test "x$enable_dependency_tracking" != xno \
12466 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
12467 am__fastdepCC_TRUE
=
12468 am__fastdepCC_FALSE
='#'
12470 am__fastdepCC_TRUE
='#'
12471 am__fastdepCC_FALSE
=
12476 ac_cpp
='$CXXCPP $CPPFLAGS'
12477 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12478 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12479 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12480 if test -z "$CXX"; then
12481 if test -n "$CCC"; then
12484 if test -n "$ac_tool_prefix"; then
12485 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
12487 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12488 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
12489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12490 $as_echo_n "checking for $ac_word... " >&6; }
12491 if ${ac_cv_prog_CXX+:} false
; then :
12492 $as_echo_n "(cached) " >&6
12494 if test -n "$CXX"; then
12495 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
12497 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12498 for as_dir
in $PATH
12501 test -z "$as_dir" && as_dir
=.
12502 for ac_exec_ext
in '' $ac_executable_extensions; do
12503 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12504 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
12505 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12514 CXX
=$ac_cv_prog_CXX
12515 if test -n "$CXX"; then
12516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
12517 $as_echo "$CXX" >&6; }
12519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12520 $as_echo "no" >&6; }
12524 test -n "$CXX" && break
12527 if test -z "$CXX"; then
12529 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
12531 # Extract the first word of "$ac_prog", so it can be a program name with args.
12532 set dummy
$ac_prog; ac_word
=$2
12533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12534 $as_echo_n "checking for $ac_word... " >&6; }
12535 if ${ac_cv_prog_ac_ct_CXX+:} false
; then :
12536 $as_echo_n "(cached) " >&6
12538 if test -n "$ac_ct_CXX"; then
12539 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
12541 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12542 for as_dir
in $PATH
12545 test -z "$as_dir" && as_dir
=.
12546 for ac_exec_ext
in '' $ac_executable_extensions; do
12547 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12548 ac_cv_prog_ac_ct_CXX
="$ac_prog"
12549 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12558 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
12559 if test -n "$ac_ct_CXX"; then
12560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
12561 $as_echo "$ac_ct_CXX" >&6; }
12563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12564 $as_echo "no" >&6; }
12568 test -n "$ac_ct_CXX" && break
12571 if test "x$ac_ct_CXX" = x
; then
12574 case $cross_compiling:$ac_tool_warned in
12576 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12577 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12578 ac_tool_warned
=yes ;;
12586 # Provide some information about the compiler.
12587 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
12590 for ac_option
in --version -v -V -qversion; do
12591 { { ac_try
="$ac_compiler $ac_option >&5"
12592 case "(($ac_try" in
12593 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12594 *) ac_try_echo=$ac_try;;
12596 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12597 $as_echo "$ac_try_echo"; } >&5
12598 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12600 if test -s conftest.err; then
12602 ... rest of stderr output deleted ...
12603 10q' conftest.err >conftest.er1
12604 cat conftest.er1 >&5
12606 rm -f conftest.er1 conftest.err
12607 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12608 test $ac_status = 0; }
12611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
12612 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
12613 if ${ac_cv_cxx_compiler_gnu+:} false; then :
12614 $as_echo_n "(cached) " >&6
12616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12617 /* end confdefs.h. */
12630 if ac_fn_cxx_try_compile "$LINENO"; then :
12631 ac_compiler_gnu=yes
12635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12636 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
12639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
12640 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
12641 if test $ac_compiler_gnu = yes; then
12646 ac_test_CXXFLAGS=${CXXFLAGS+set}
12647 ac_save_CXXFLAGS=$CXXFLAGS
12648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
12649 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
12650 if ${ac_cv_prog_cxx_g+:} false; then :
12651 $as_echo_n "(cached) " >&6
12653 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
12654 ac_cxx_werror_flag=yes
12655 ac_cv_prog_cxx_g=no
12657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12658 /* end confdefs.h. */
12668 if ac_fn_cxx_try_compile "$LINENO"; then :
12669 ac_cv_prog_cxx_g=yes
12672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12673 /* end confdefs.h. */
12683 if ac_fn_cxx_try_compile "$LINENO"; then :
12686 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
12688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12689 /* end confdefs.h. */
12699 if ac_fn_cxx_try_compile "$LINENO"; then :
12700 ac_cv_prog_cxx_g=yes
12702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12707 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
12709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
12710 $as_echo "$ac_cv_prog_cxx_g" >&6; }
12711 if test "$ac_test_CXXFLAGS" = set; then
12712 CXXFLAGS=$ac_save_CXXFLAGS
12713 elif test $ac_cv_prog_cxx_g = yes; then
12714 if test "$GXX" = yes; then
12720 if test "$GXX" = yes; then
12727 ac_cpp='$CPP $CPPFLAGS'
12728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12732 depcc="$CXX" am_compiler_list=
12734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
12735 $as_echo_n "checking dependency style of $depcc... " >&6; }
12736 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
12737 $as_echo_n "(cached) " >&6
12739 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12740 # We make a subdir and do the tests there. Otherwise we can end up
12741 # making bogus files that we don't know about and never remove. For
12742 # instance it was reported that on HP-UX the gcc test will end up
12743 # making a dummy file named `D
' -- because `-MD' means
`put the output
12745 rm -rf conftest.dir
12747 # Copy depcomp to subdir because otherwise we won't find it if we're
12748 # using a relative directory.
12749 cp "$am_depcomp" conftest.dir
12751 # We will build objects and dependencies in a subdirectory because
12752 # it helps to detect inapplicable dependency modes. For instance
12753 # both Tru64's cc and ICC support -MD to output dependencies as a
12754 # side effect of compilation, but ICC will put the dependencies in
12755 # the current directory while Tru64 will put them in the object
12759 am_cv_CXX_dependencies_compiler_type=none
12760 if test "$am_compiler_list" = ""; then
12761 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
12763 am__universal=false
12764 case " $depcc " in #(
12765 *\ -arch\ *\ -arch\ *) am__universal=true ;;
12768 for depmode in $am_compiler_list; do
12769 # Setup a source with many dependencies, because some compilers
12770 # like to wrap large dependency lists on column 80 (with \), and
12771 # we should not choose a depcomp mode which is confused by this.
12773 # We need to recreate these files for each test, as the compiler may
12774 # overwrite some of them when testing with obscure command lines.
12775 # This happens at least with the AIX C compiler.
12777 for i in 1 2 3 4 5 6; do
12778 echo '#include "conftst'$i'.h"' >> sub/conftest.c
12779 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
12780 # Solaris 8's
{/usr
,}/bin
/sh.
12781 touch sub
/conftst
$i.h
12783 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12785 # We check with `-c' and `-o' for the sake of the "dashmstdout"
12786 # mode. It turns out that the SunPro C++ compiler does not properly
12787 # handle `-M -o', and we need to detect this. Also, some Intel
12788 # versions had trouble with output in subdirs
12789 am__obj
=sub
/conftest.
${OBJEXT-o}
12790 am__minus_obj
="-o $am__obj"
12793 # This depmode causes a compiler race in universal mode.
12794 test "$am__universal" = false ||
continue
12797 # after this tag, mechanisms are not by side-effect, so they'll
12798 # only be used when explicitly requested
12799 if test "x$enable_dependency_tracking" = xyes
; then
12805 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
12806 # This compiler won't grok `-c -o', but also, the minuso test has
12807 # not run yet. These depmodes are late enough in the game, and
12808 # so weak that their functioning should not be impacted.
12809 am__obj
=conftest.
${OBJEXT-o}
12814 if depmode
=$depmode \
12815 source=sub
/conftest.c object
=$am__obj \
12816 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
12817 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
12818 >/dev
/null
2>conftest.err
&&
12819 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
12820 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
12821 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
12822 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
12823 # icc doesn't choke on unknown options, it will just issue warnings
12824 # or remarks (even with -Werror). So we grep stderr for any message
12825 # that says an option was ignored or not supported.
12826 # When given -MP, icc 7.0 and 7.1 complain thusly:
12827 # icc: Command line warning: ignoring option '-M'; no argument required
12828 # The diagnosis changed in icc 8.0:
12829 # icc: Command line remark: option '-MP' not supported
12830 if (grep 'ignoring option' conftest.err ||
12831 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
12832 am_cv_CXX_dependencies_compiler_type
=$depmode
12839 rm -rf conftest.dir
12841 am_cv_CXX_dependencies_compiler_type
=none
12845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
12846 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
12847 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
12850 test "x$enable_dependency_tracking" != xno \
12851 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
12852 am__fastdepCXX_TRUE
=
12853 am__fastdepCXX_FALSE
='#'
12855 am__fastdepCXX_TRUE
='#'
12856 am__fastdepCXX_FALSE
=
12862 func_stripname_cnf
()
12865 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
12866 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
12868 } # func_stripname_cnf
12870 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12871 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12872 (test "X$CXX" != "Xg++"))) ; then
12874 ac_cpp
='$CXXCPP $CPPFLAGS'
12875 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12876 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12877 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12879 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12880 if test -z "$CXXCPP"; then
12881 if ${ac_cv_prog_CXXCPP+:} false
; then :
12882 $as_echo_n "(cached) " >&6
12884 # Double quotes because CXXCPP needs to be expanded
12885 for CXXCPP
in "$CXX -E" "/lib/cpp"
12887 ac_preproc_ok
=false
12888 for ac_cxx_preproc_warn_flag
in '' yes
12890 # Use a header file that comes with gcc, so configuring glibc
12891 # with a fresh cross-compiler works.
12892 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12893 # <limits.h> exists even on freestanding compilers.
12894 # On the NeXT, cc -E runs the code through the compiler's parser,
12895 # not just through cpp. "Syntax error" is here to catch this case.
12896 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12897 /* end confdefs.h. */
12899 # include <limits.h>
12901 # include <assert.h>
12905 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12908 # Broken: fails on valid input.
12911 rm -f conftest.err conftest.i conftest.
$ac_ext
12913 # OK, works on sane cases. Now check whether nonexistent headers
12914 # can be detected and how.
12915 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12916 /* end confdefs.h. */
12917 #include <ac_nonexistent.h>
12919 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12920 # Broken: success on invalid input.
12923 # Passes both tests.
12927 rm -f conftest.err conftest.i conftest.
$ac_ext
12930 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12931 rm -f conftest.i conftest.err conftest.
$ac_ext
12932 if $ac_preproc_ok; then :
12937 ac_cv_prog_CXXCPP
=$CXXCPP
12940 CXXCPP
=$ac_cv_prog_CXXCPP
12942 ac_cv_prog_CXXCPP
=$CXXCPP
12944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12945 $as_echo "$CXXCPP" >&6; }
12946 ac_preproc_ok
=false
12947 for ac_cxx_preproc_warn_flag
in '' yes
12949 # Use a header file that comes with gcc, so configuring glibc
12950 # with a fresh cross-compiler works.
12951 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12952 # <limits.h> exists even on freestanding compilers.
12953 # On the NeXT, cc -E runs the code through the compiler's parser,
12954 # not just through cpp. "Syntax error" is here to catch this case.
12955 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12956 /* end confdefs.h. */
12958 # include <limits.h>
12960 # include <assert.h>
12964 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12967 # Broken: fails on valid input.
12970 rm -f conftest.err conftest.i conftest.
$ac_ext
12972 # OK, works on sane cases. Now check whether nonexistent headers
12973 # can be detected and how.
12974 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12975 /* end confdefs.h. */
12976 #include <ac_nonexistent.h>
12978 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12979 # Broken: success on invalid input.
12982 # Passes both tests.
12986 rm -f conftest.err conftest.i conftest.
$ac_ext
12989 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12990 rm -f conftest.i conftest.err conftest.
$ac_ext
12991 if $ac_preproc_ok; then :
12994 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12995 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12996 as_fn_error $?
"C++ preprocessor \"$CXXCPP\" fails sanity check
12997 See \`config.log' for more details" "$LINENO" 5; }
13001 ac_cpp
='$CPP $CPPFLAGS'
13002 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13003 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13004 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13007 _lt_caught_CXX_error
=yes
13011 ac_cpp
='$CXXCPP $CPPFLAGS'
13012 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13013 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13014 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13016 archive_cmds_need_lc_CXX
=no
13017 allow_undefined_flag_CXX
=
13018 always_export_symbols_CXX
=no
13019 archive_expsym_cmds_CXX
=
13020 compiler_needs_object_CXX
=no
13021 export_dynamic_flag_spec_CXX
=
13022 hardcode_direct_CXX
=no
13023 hardcode_direct_absolute_CXX
=no
13024 hardcode_libdir_flag_spec_CXX
=
13025 hardcode_libdir_separator_CXX
=
13026 hardcode_minus_L_CXX
=no
13027 hardcode_shlibpath_var_CXX
=unsupported
13028 hardcode_automatic_CXX
=no
13029 inherit_rpath_CXX
=no
13031 module_expsym_cmds_CXX
=
13032 link_all_deplibs_CXX
=unknown
13033 old_archive_cmds_CXX
=$old_archive_cmds
13034 reload_flag_CXX
=$reload_flag
13035 reload_cmds_CXX
=$reload_cmds
13036 no_undefined_flag_CXX
=
13037 whole_archive_flag_spec_CXX
=
13038 enable_shared_with_static_runtimes_CXX
=no
13040 # Source file extension for C++ test sources.
13043 # Object file extension for compiled C++ test sources.
13047 # No sense in running all these tests if we already determined that
13048 # the CXX compiler isn't working. Some variables (like enable_shared)
13049 # are currently assumed to apply to all compilers on this platform,
13050 # and will be corrupted by setting them based on a non-working compiler.
13051 if test "$_lt_caught_CXX_error" != yes; then
13052 # Code to be used in simple compile tests
13053 lt_simple_compile_test_code
="int some_variable = 0;"
13055 # Code to be used in simple link tests
13056 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
13058 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13065 # If no C compiler was specified, use CC.
13068 # If no C compiler flags were specified, use CFLAGS.
13069 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
13071 # Allow CC to be a program name with arguments.
13075 # save warnings/boilerplate of simple test code
13076 ac_outfile
=conftest.
$ac_objext
13077 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
13078 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13079 _lt_compiler_boilerplate
=`cat conftest.err`
13082 ac_outfile
=conftest.
$ac_objext
13083 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
13084 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13085 _lt_linker_boilerplate
=`cat conftest.err`
13089 # Allow CC to be a program name with arguments.
13091 lt_save_CFLAGS
=$CFLAGS
13095 lt_save_with_gnu_ld
=$with_gnu_ld
13096 lt_save_path_LD
=$lt_cv_path_LD
13097 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
13098 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
13100 $as_unset lt_cv_prog_gnu_ld
13102 if test -n "${lt_cv_path_LDCXX+set}"; then
13103 lt_cv_path_LD
=$lt_cv_path_LDCXX
13105 $as_unset lt_cv_path_LD
13107 test -z "${LDCXX+set}" || LD
=$LDCXX
13112 for cc_temp
in $compiler""; do
13114 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
13115 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
13120 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
13123 if test -n "$compiler"; then
13124 # We don't want -fno-exception when compiling C++ code, so set the
13125 # no_builtin_flag separately
13126 if test "$GXX" = yes; then
13127 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
13129 lt_prog_compiler_no_builtin_flag_CXX
=
13132 if test "$GXX" = yes; then
13133 # Set up default GNU C++ configuration
13137 # Check whether --with-gnu-ld was given.
13138 if test "${with_gnu_ld+set}" = set; then :
13139 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
13145 if test "$GCC" = yes; then
13146 # Check if gcc -print-prog-name=ld gives a path.
13147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
13148 $as_echo_n "checking for ld used by $CC... " >&6; }
13151 # gcc leaves a trailing carriage return which upsets mingw
13152 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13154 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
13157 # Accept absolute paths.
13159 re_direlt
='/[^/][^/]*/\.\./'
13160 # Canonicalize the pathname of ld
13161 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
13162 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
13163 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
13165 test -z "$LD" && LD
="$ac_prog"
13168 # If it fails, then pretend we aren't using GCC.
13172 # If it is relative, then search for the first ld in PATH.
13173 with_gnu_ld
=unknown
13176 elif test "$with_gnu_ld" = yes; then
13177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
13178 $as_echo_n "checking for GNU ld... " >&6; }
13180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
13181 $as_echo_n "checking for non-GNU ld... " >&6; }
13183 if ${lt_cv_path_LD+:} false
; then :
13184 $as_echo_n "(cached) " >&6
13186 if test -z "$LD"; then
13187 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
13188 for ac_dir
in $PATH; do
13190 test -z "$ac_dir" && ac_dir
=.
13191 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
13192 lt_cv_path_LD
="$ac_dir/$ac_prog"
13193 # Check to see if the program is GNU ld. I'd rather use --version,
13194 # but apparently some variants of GNU ld only accept -v.
13195 # Break only if it was the GNU/non-GNU ld that we prefer.
13196 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
13197 *GNU
* |
*'with BFD'*)
13198 test "$with_gnu_ld" != no
&& break
13201 test "$with_gnu_ld" != yes && break
13208 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
13212 LD
="$lt_cv_path_LD"
13213 if test -n "$LD"; then
13214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
13215 $as_echo "$LD" >&6; }
13217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13218 $as_echo "no" >&6; }
13220 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
13221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
13222 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13223 if ${lt_cv_prog_gnu_ld+:} false
; then :
13224 $as_echo_n "(cached) " >&6
13226 # I'd rather use --version here, but apparently some GNU lds only accept -v.
13227 case `$LD -v 2>&1 </dev/null` in
13228 *GNU
* |
*'with BFD'*)
13229 lt_cv_prog_gnu_ld
=yes
13232 lt_cv_prog_gnu_ld
=no
13236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
13237 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
13238 with_gnu_ld
=$lt_cv_prog_gnu_ld
13246 # Check if GNU C++ uses GNU ld as the underlying linker, since the
13247 # archiving commands below assume that GNU ld is being used.
13248 if test "$with_gnu_ld" = yes; then
13249 archive_cmds_CXX
='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13250 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'
13252 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13253 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13255 # If archive_cmds runs LD, not CC, wlarc should be empty
13256 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
13257 # investigate it a little bit more. (MM)
13260 # ancient GNU ld didn't support --whole-archive et. al.
13261 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
13262 $GREP 'no-whole-archive' > /dev
/null
; then
13263 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13265 whole_archive_flag_spec_CXX
=
13271 # A generic and very simple default shared library creation
13272 # command for GNU C++ for the case where it uses the native
13273 # linker, instead of GNU ld. If possible, this setting should
13274 # overridden to take advantage of the native linker features on
13275 # the platform it is being used on.
13276 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13279 # Commands to make compiler produce verbose output that lists
13280 # what "hidden" libraries, object files and flags are used when
13281 # linking a shared library.
13282 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13290 # PORTME: fill in a description of your system's C++ link characteristics
13291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13292 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13296 # FIXME: insert proper C++ library support
13300 if test "$host_cpu" = ia64
; then
13301 # On IA64, the linker does run time linking by default, so we don't
13302 # have to do anything special.
13303 aix_use_runtimelinking
=no
13304 exp_sym_flag
='-Bexport'
13307 aix_use_runtimelinking
=no
13309 # Test if we are trying to use run time linking or normal
13310 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13311 # need to do runtime linking.
13312 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
13313 for ld_flag
in $LDFLAGS; do
13316 aix_use_runtimelinking
=yes
13324 exp_sym_flag
='-bexport'
13325 no_entry_flag
='-bnoentry'
13328 # When large executables or shared objects are built, AIX ld can
13329 # have problems creating the table of contents. If linking a library
13330 # or program results in "error TOC overflow" add -mminimal-toc to
13331 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13332 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13334 archive_cmds_CXX
=''
13335 hardcode_direct_CXX
=yes
13336 hardcode_direct_absolute_CXX
=yes
13337 hardcode_libdir_separator_CXX
=':'
13338 link_all_deplibs_CXX
=yes
13339 file_list_spec_CXX
='${wl}-f,'
13341 if test "$GXX" = yes; then
13342 case $host_os in aix4.
[012]|aix4.
[012].
*)
13343 # We only want to do this on AIX 4.2 and lower, the check
13344 # below for broken collect2 doesn't work under 4.3+
13345 collect2name
=`${CC} -print-prog-name=collect2`
13346 if test -f "$collect2name" &&
13347 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
13349 # We have reworked collect2
13352 # We have old collect2
13353 hardcode_direct_CXX
=unsupported
13354 # It fails to find uninstalled libraries when the uninstalled
13355 # path is not listed in the libpath. Setting hardcode_minus_L
13356 # to unsupported forces relinking
13357 hardcode_minus_L_CXX
=yes
13358 hardcode_libdir_flag_spec_CXX
='-L$libdir'
13359 hardcode_libdir_separator_CXX
=
13362 shared_flag
='-shared'
13363 if test "$aix_use_runtimelinking" = yes; then
13364 shared_flag
="$shared_flag "'${wl}-G'
13368 if test "$host_cpu" = ia64
; then
13369 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13370 # chokes on -Wl,-G. The following line is correct:
13373 if test "$aix_use_runtimelinking" = yes; then
13374 shared_flag
='${wl}-G'
13376 shared_flag
='${wl}-bM:SRE'
13381 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
13382 # It seems that -bexpall does not export symbols beginning with
13383 # underscore (_), so it is better to generate a list of symbols to
13385 always_export_symbols_CXX
=yes
13386 if test "$aix_use_runtimelinking" = yes; then
13387 # Warning - without using the other runtime loading flags (-brtl),
13388 # -berok will link without error, but may produce a broken library.
13389 allow_undefined_flag_CXX
='-berok'
13390 # Determine the default libpath from the value encoded in an empty
13392 if test "${lt_cv_aix_libpath+set}" = set; then
13393 aix_libpath
=$lt_cv_aix_libpath
13395 if ${lt_cv_aix_libpath__CXX+:} false
; then :
13396 $as_echo_n "(cached) " >&6
13398 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13399 /* end confdefs.h. */
13409 if ac_fn_cxx_try_link
"$LINENO"; then :
13411 lt_aix_libpath_sed
='
13412 /Import File Strings/,/^$/ {
13414 s/^0 *\([^ ]*\) *$/\1/
13418 lt_cv_aix_libpath__CXX
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13419 # Check for a 64-bit object if we didn't find anything.
13420 if test -z "$lt_cv_aix_libpath__CXX"; then
13421 lt_cv_aix_libpath__CXX
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13424 rm -f core conftest.err conftest.
$ac_objext \
13425 conftest
$ac_exeext conftest.
$ac_ext
13426 if test -z "$lt_cv_aix_libpath__CXX"; then
13427 lt_cv_aix_libpath__CXX
="/usr/lib:/lib"
13432 aix_libpath
=$lt_cv_aix_libpath__CXX
13435 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
13437 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"
13439 if test "$host_cpu" = ia64
; then
13440 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
13441 allow_undefined_flag_CXX
="-z nodefs"
13442 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"
13444 # Determine the default libpath from the value encoded in an
13445 # empty executable.
13446 if test "${lt_cv_aix_libpath+set}" = set; then
13447 aix_libpath
=$lt_cv_aix_libpath
13449 if ${lt_cv_aix_libpath__CXX+:} false
; then :
13450 $as_echo_n "(cached) " >&6
13452 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13453 /* end confdefs.h. */
13463 if ac_fn_cxx_try_link
"$LINENO"; then :
13465 lt_aix_libpath_sed
='
13466 /Import File Strings/,/^$/ {
13468 s/^0 *\([^ ]*\) *$/\1/
13472 lt_cv_aix_libpath__CXX
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13473 # Check for a 64-bit object if we didn't find anything.
13474 if test -z "$lt_cv_aix_libpath__CXX"; then
13475 lt_cv_aix_libpath__CXX
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13478 rm -f core conftest.err conftest.
$ac_objext \
13479 conftest
$ac_exeext conftest.
$ac_ext
13480 if test -z "$lt_cv_aix_libpath__CXX"; then
13481 lt_cv_aix_libpath__CXX
="/usr/lib:/lib"
13486 aix_libpath
=$lt_cv_aix_libpath__CXX
13489 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
13490 # Warning - without using the other run time loading flags,
13491 # -berok will link without error, but may produce a broken library.
13492 no_undefined_flag_CXX
=' ${wl}-bernotok'
13493 allow_undefined_flag_CXX
=' ${wl}-berok'
13494 if test "$with_gnu_ld" = yes; then
13495 # We only use this code for GNU lds that support --whole-archive.
13496 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13498 # Exported symbols can be pulled into shared objects from archives
13499 whole_archive_flag_spec_CXX
='$convenience'
13501 archive_cmds_need_lc_CXX
=yes
13502 # This is similar to how AIX traditionally builds its shared
13504 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'
13510 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
13511 allow_undefined_flag_CXX
=unsupported
13512 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13513 # support --undefined. This deserves some investigation. FIXME
13514 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13521 case $cc_basename in
13523 # FIXME: insert proper C++ library support
13529 cygwin
* | mingw
* | pw32
* | cegcc
*)
13530 case $GXX,$cc_basename in
13533 # hardcode_libdir_flag_spec is actually meaningless, as there is
13534 # no search path for DLLs.
13535 hardcode_libdir_flag_spec_CXX
=' '
13536 allow_undefined_flag_CXX
=unsupported
13537 always_export_symbols_CXX
=yes
13538 file_list_spec_CXX
='@'
13539 # Tell ltmain to make .lib files, not .a files.
13541 # Tell ltmain to make .dll files, not .so files.
13543 # FIXME: Setting linknames here is a bad hack.
13544 archive_cmds_CXX
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
13545 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13546 $SED -n -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' -e '1\\\
!p
' < $export_symbols > $output_objdir/$soname.exp;
13548 $SED -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' < $export_symbols > $output_objdir/$soname.exp;
13550 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
13552 # The linker will not automatically build a static lib if we build a DLL.
13553 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
13554 enable_shared_with_static_runtimes_CXX
=yes
13556 old_postinstall_cmds_CXX
='chmod 644 $oldlib'
13557 postlink_cmds_CXX
='lt_outputfile="@OUTPUT@"~
13558 lt_tool_outputfile="@TOOL_OUTPUT@"~
13559 case $lt_outputfile in
13562 lt_outputfile="$lt_outputfile.exe"
13563 lt_tool_outputfile="$lt_tool_outputfile.exe"
13566 func_to_tool_file "$lt_outputfile"~
13567 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
13568 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
13569 $RM "$lt_outputfile.manifest";
13574 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13575 # as there is no search path for DLLs.
13576 hardcode_libdir_flag_spec_CXX
='-L$libdir'
13577 export_dynamic_flag_spec_CXX
='${wl}--export-all-symbols'
13578 allow_undefined_flag_CXX
=unsupported
13579 always_export_symbols_CXX
=no
13580 enable_shared_with_static_runtimes_CXX
=yes
13582 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
13583 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'
13584 # If the export-symbols file already is a .def file (1st line
13585 # is EXPORTS), use it as is; otherwise, prepend...
13586 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13587 cp $export_symbols $output_objdir/$soname.def;
13589 echo EXPORTS > $output_objdir/$soname.def;
13590 cat $export_symbols >> $output_objdir/$soname.def;
13592 $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'
13599 darwin
* | rhapsody
*)
13602 archive_cmds_need_lc_CXX
=no
13603 hardcode_direct_CXX
=no
13604 hardcode_automatic_CXX
=yes
13605 hardcode_shlibpath_var_CXX
=unsupported
13606 if test "$lt_cv_ld_force_load" = "yes"; then
13607 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\"`'
13610 whole_archive_flag_spec_CXX
=''
13612 link_all_deplibs_CXX
=yes
13613 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
13614 case $cc_basename in
13615 ifort
*) _lt_dar_can_shared
=yes ;;
13616 *) _lt_dar_can_shared
=$GCC ;;
13618 if test "$_lt_dar_can_shared" = "yes"; then
13619 output_verbose_link_cmd
=func_echo_all
13620 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}"
13621 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13622 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}"
13623 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}"
13624 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
13625 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}"
13626 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}"
13636 case $cc_basename in
13638 # FIXME: insert proper C++ library support
13642 # Green Hills C++ Compiler
13643 # FIXME: insert proper C++ library support
13647 # FIXME: insert proper C++ library support
13654 # C++ shared libraries reported to be fairly broken before
13660 archive_cmds_need_lc_CXX
=no
13663 freebsd
* | dragonfly
*)
13664 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13673 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13674 link_all_deplibs_CXX
=yes
13678 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13679 hardcode_libdir_separator_CXX
=:
13680 export_dynamic_flag_spec_CXX
='${wl}-E'
13681 hardcode_direct_CXX
=yes
13682 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13683 # but as the default
13684 # location of the library.
13686 case $cc_basename in
13688 # FIXME: insert proper C++ library support
13692 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'
13693 # Commands to make compiler produce verbose output that lists
13694 # what "hidden" libraries, object files and flags are used when
13695 # linking a shared library.
13697 # There doesn't appear to be a way to prevent this compiler from
13698 # explicitly linking system object files so we need to strip them
13699 # from the output so that they don't get included in the library
13701 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"'
13704 if test "$GXX" = yes; then
13705 archive_cmds_CXX
='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag ${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'
13707 # FIXME: insert proper C++ library support
13715 if test $with_gnu_ld = no
; then
13716 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13717 hardcode_libdir_separator_CXX
=:
13723 export_dynamic_flag_spec_CXX
='${wl}-E'
13729 hardcode_direct_CXX
=no
13730 hardcode_shlibpath_var_CXX
=no
13733 hardcode_direct_CXX
=yes
13734 hardcode_direct_absolute_CXX
=yes
13735 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13736 # but as the default
13737 # location of the library.
13741 case $cc_basename in
13743 # FIXME: insert proper C++ library support
13749 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13752 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13755 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13758 # Commands to make compiler produce verbose output that lists
13759 # what "hidden" libraries, object files and flags are used when
13760 # linking a shared library.
13762 # There doesn't appear to be a way to prevent this compiler from
13763 # explicitly linking system object files so we need to strip them
13764 # from the output so that they don't get included in the library
13766 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"'
13769 if test "$GXX" = yes; then
13770 if test $with_gnu_ld = no
; then
13773 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13776 archive_cmds_CXX
='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13779 archive_cmds_CXX
='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13784 # FIXME: insert proper C++ library support
13792 hardcode_direct_CXX
=no
13793 hardcode_shlibpath_var_CXX
=no
13794 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13795 export_dynamic_flag_spec_CXX
='${wl}-E'
13796 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13797 # Instead, shared libraries are loaded at an image base (0x10000000 by
13798 # default) and relocated if they conflict, which is a slow very memory
13799 # consuming and fragmenting process. To avoid this, we pick a random,
13800 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13801 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13802 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'
13803 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'
13806 case $cc_basename in
13809 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'
13811 # Archives containing C++ object files must be created using
13812 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
13813 # necessary to make sure instantiated templates are included
13815 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
13818 if test "$GXX" = yes; then
13819 if test "$with_gnu_ld" = no
; then
13820 archive_cmds_CXX
='$CC -shared $pic_flag -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'
13822 archive_cmds_CXX
='$CC -shared $pic_flag -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'
13825 link_all_deplibs_CXX
=yes
13828 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13829 hardcode_libdir_separator_CXX
=:
13830 inherit_rpath_CXX
=yes
13833 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13834 case $cc_basename in
13836 # Kuck and Associates, Inc. (KAI) C++ Compiler
13838 # KCC will only create a shared library if the output file
13839 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13840 # to its proper name (with version) after linking.
13841 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'
13842 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'
13843 # Commands to make compiler produce verbose output that lists
13844 # what "hidden" libraries, object files and flags are used when
13845 # linking a shared library.
13847 # There doesn't appear to be a way to prevent this compiler from
13848 # explicitly linking system object files so we need to strip them
13849 # from the output so that they don't get included in the library
13851 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"'
13853 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13854 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13856 # Archives containing C++ object files must be created using
13857 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13858 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
13863 # version 8.0 and above of icpc choke on multiply defined symbols
13864 # if we add $predep_objects and $postdep_objects, however 7.1 and
13865 # earlier do not add the objects themselves.
13866 case `$CC -V 2>&1` in
13868 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13869 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'
13871 *) # Version 8.0 or newer
13874 ia64
*) tmp_idyn
=' -i_dynamic';;
13876 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13877 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'
13880 archive_cmds_need_lc_CXX
=no
13881 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13882 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13883 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13886 # Portland Group C++ compiler
13888 *pgCC\
[1-5].
* |
*pgcpp\
[1-5].
*)
13889 prelink_cmds_CXX
='tpldir=Template.dir~
13891 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13892 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
13893 old_archive_cmds_CXX
='tpldir=Template.dir~
13895 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13896 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
13898 archive_cmds_CXX
='tpldir=Template.dir~
13900 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13901 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13902 archive_expsym_cmds_CXX
='tpldir=Template.dir~
13904 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13905 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
13907 *) # Version 6 and above use weak symbols
13908 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13909 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'
13913 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
13914 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13915 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'
13919 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13920 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'
13922 runpath_var
=LD_RUN_PATH
13923 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13924 hardcode_libdir_separator_CXX
=:
13926 # Commands to make compiler produce verbose output that lists
13927 # what "hidden" libraries, object files and flags are used when
13928 # linking a shared library.
13930 # There doesn't appear to be a way to prevent this compiler from
13931 # explicitly linking system object files so we need to strip them
13932 # from the output so that they don't get included in the library
13934 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'
13936 xl
* | mpixl
* | bgxl
*)
13937 # IBM XL 8.0 on PPC, with GNU ld
13938 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13939 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13940 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13941 if test "x$supports_anon_versioning" = xyes
; then
13942 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
13943 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13944 echo "local: *; };" >> $output_objdir/$libname.ver~
13945 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13949 case `$CC -V 2>&1 | sed 5q` in
13952 no_undefined_flag_CXX
=' -zdefs'
13953 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13954 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'
13955 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13956 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'
13957 compiler_needs_object_CXX
=yes
13959 # Not sure whether something based on
13960 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13962 output_verbose_link_cmd
='func_echo_all'
13964 # Archives containing C++ object files must be created using
13965 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13966 # necessary to make sure instantiated templates are included
13968 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13976 # FIXME: insert proper C++ library support
13981 # FIXME: insert proper C++ library support
13986 case $cc_basename in
13988 # FIXME: insert proper C++ library support
13992 # FIXME: insert proper C++ library support
13999 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
14000 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
14002 hardcode_libdir_flag_spec_CXX
='-R$libdir'
14003 hardcode_direct_CXX
=yes
14004 hardcode_shlibpath_var_CXX
=no
14006 # Workaround some broken pre-1.5 toolchains
14007 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
14015 # C++ shared libraries are fairly broken
14020 if test -f /usr
/libexec
/ld.so
; then
14021 hardcode_direct_CXX
=yes
14022 hardcode_shlibpath_var_CXX
=no
14023 hardcode_direct_absolute_CXX
=yes
14024 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14025 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
14026 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14027 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
14028 export_dynamic_flag_spec_CXX
='${wl}-E'
14029 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14031 output_verbose_link_cmd
=func_echo_all
14037 osf3
* | osf4
* | osf5
*)
14038 case $cc_basename in
14040 # Kuck and Associates, Inc. (KAI) C++ Compiler
14042 # KCC will only create a shared library if the output file
14043 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14044 # to its proper name (with version) after linking.
14045 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'
14047 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
14048 hardcode_libdir_separator_CXX
=:
14050 # Archives containing C++ object files must be created using
14051 # the KAI C++ compiler.
14053 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
14054 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
14058 # Rational C++ 2.4.1
14059 # FIXME: insert proper C++ library support
14065 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
14066 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'
14067 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
14070 allow_undefined_flag_CXX
=' -expect_unresolved \*'
14071 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'
14072 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
14073 echo "-hidden">> $lib.exp~
14074 $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~
14076 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
14080 hardcode_libdir_separator_CXX
=:
14082 # Commands to make compiler produce verbose output that lists
14083 # what "hidden" libraries, object files and flags are used when
14084 # linking a shared library.
14086 # There doesn't appear to be a way to prevent this compiler from
14087 # explicitly linking system object files so we need to strip them
14088 # from the output so that they don't get included in the library
14090 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"'
14093 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
14094 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
14097 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'
14100 archive_cmds_CXX
='$CC -shared $pic_flag -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'
14104 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
14105 hardcode_libdir_separator_CXX
=:
14107 # Commands to make compiler produce verbose output that lists
14108 # what "hidden" libraries, object files and flags are used when
14109 # linking a shared library.
14110 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14113 # FIXME: insert proper C++ library support
14121 # FIXME: insert proper C++ library support
14126 case $cc_basename in
14129 # FIXME: insert proper C++ library support
14134 # FIXME: insert proper C++ library support
14138 # FIXME: insert proper C++ library support
14145 case $cc_basename in
14147 # Sun C++ 4.2, 5.x and Centerline C++
14148 archive_cmds_need_lc_CXX
=yes
14149 no_undefined_flag_CXX
=' -zdefs'
14150 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14151 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14152 $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'
14154 hardcode_libdir_flag_spec_CXX
='-R$libdir'
14155 hardcode_shlibpath_var_CXX
=no
14157 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14159 # The compiler driver will combine and reorder linker options,
14160 # but understands `-z linker_flag'.
14161 # Supported since Solaris 2.6 (maybe 2.5.1?)
14162 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
14165 link_all_deplibs_CXX
=yes
14167 output_verbose_link_cmd
='func_echo_all'
14169 # Archives containing C++ object files must be created using
14170 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14171 # necessary to make sure instantiated templates are included
14173 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
14176 # Green Hills C++ Compiler
14177 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14179 # The C++ compiler must be used to create the archive.
14180 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
14183 # GNU C++ compiler with Solaris linker
14184 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
14185 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
14186 if $CC --version |
$GREP -v '^2\.7' > /dev
/null
; then
14187 archive_cmds_CXX
='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14188 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14189 $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14191 # Commands to make compiler produce verbose output that lists
14192 # what "hidden" libraries, object files and flags are used when
14193 # linking a shared library.
14194 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14196 # g++ 2.7 appears to require `-G' NOT `-shared' on this
14198 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14199 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14200 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14202 # Commands to make compiler produce verbose output that lists
14203 # what "hidden" libraries, object files and flags are used when
14204 # linking a shared library.
14205 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14208 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
14210 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14212 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
14220 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
14221 no_undefined_flag_CXX
='${wl}-z,text'
14222 archive_cmds_need_lc_CXX
=no
14223 hardcode_shlibpath_var_CXX
=no
14224 runpath_var
='LD_RUN_PATH'
14226 case $cc_basename in
14228 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14229 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14232 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14233 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14238 sysv5
* | sco3.2v5
* | sco5v6
*)
14239 # Note: We can NOT use -z defs as we might desire, because we do not
14240 # link with -lc, and that would cause any symbols used from libc to
14241 # always be unresolved, which means just about no library would
14242 # ever link correctly. If we're not using GNU ld we use -z text
14243 # though, which does catch some bad symbols but isn't as heavy-handed
14245 no_undefined_flag_CXX
='${wl}-z,text'
14246 allow_undefined_flag_CXX
='${wl}-z,nodefs'
14247 archive_cmds_need_lc_CXX
=no
14248 hardcode_shlibpath_var_CXX
=no
14249 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
14250 hardcode_libdir_separator_CXX
=':'
14251 link_all_deplibs_CXX
=yes
14252 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
14253 runpath_var
='LD_RUN_PATH'
14255 case $cc_basename in
14257 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14258 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14259 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
14260 '"$old_archive_cmds_CXX"
14261 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
14262 '"$reload_cmds_CXX"
14265 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14266 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14272 case $cc_basename in
14274 # NonStop-UX NCC 3.20
14275 # FIXME: insert proper C++ library support
14279 # FIXME: insert proper C++ library support
14286 # FIXME: insert proper C++ library support
14291 # FIXME: insert proper C++ library support
14296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14297 $as_echo "$ld_shlibs_CXX" >&6; }
14298 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
14304 ## There is no encapsulation within the following macros, do not change
14305 ## the running order or otherwise move them around unless you know exactly
14306 ## what you are doing...
14307 # Dependencies to place before and after the object being linked:
14308 predep_objects_CXX
=
14309 postdep_objects_CXX
=
14312 compiler_lib_search_path_CXX
=
14314 cat > conftest.
$ac_ext <<_LT_EOF
14318 Foo (void) { a = 0; }
14325 _lt_libdeps_save_CFLAGS
=$CFLAGS
14326 case "$CC $CFLAGS " in #(
14327 *\
-flto*\
*) CFLAGS
="$CFLAGS -fno-lto" ;;
14328 *\
-fwhopr*\
*) CFLAGS
="$CFLAGS -fno-whopr" ;;
14329 *\
-fuse-linker-plugin*\
*) CFLAGS
="$CFLAGS -fno-use-linker-plugin" ;;
14332 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14333 (eval $ac_compile) 2>&5
14335 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14336 test $ac_status = 0; }; then
14337 # Parse the compiler output and extract the necessary
14338 # objects, libraries and library flags.
14340 # Sentinel used to keep track of whether or not we are before
14341 # the conftest object file.
14342 pre_test_object_deps_done
=no
14344 for p
in `eval "$output_verbose_link_cmd"`; do
14345 case ${prev}${p} in
14348 # Some compilers place space between "-{L,R}" and the path.
14349 # Remove the space.
14350 if test $p = "-L" ||
14351 test $p = "-R"; then
14356 # Expand the sysroot to ease extracting the directories later.
14357 if test -z "$prev"; then
14359 -L*) func_stripname_cnf
'-L' '' "$p"; prev
=-L; p
=$func_stripname_result ;;
14360 -R*) func_stripname_cnf
'-R' '' "$p"; prev
=-R; p
=$func_stripname_result ;;
14361 -l*) func_stripname_cnf
'-l' '' "$p"; prev
=-l; p
=$func_stripname_result ;;
14365 =*) func_stripname_cnf
'=' '' "$p"; p
=$lt_sysroot$func_stripname_result ;;
14367 if test "$pre_test_object_deps_done" = no
; then
14370 # Internal compiler library paths should come after those
14371 # provided the user. The postdeps already come after the
14372 # user supplied libs so there is no need to process them.
14373 if test -z "$compiler_lib_search_path_CXX"; then
14374 compiler_lib_search_path_CXX
="${prev}${p}"
14376 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
14379 # The "-l" case would never come before the object being
14380 # linked, so don't bother handling this case.
14383 if test -z "$postdeps_CXX"; then
14384 postdeps_CXX
="${prev}${p}"
14386 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
14392 *.lto.
$objext) ;; # Ignore GCC LTO objects
14394 # This assumes that the test object file only shows up
14395 # once in the compiler output.
14396 if test "$p" = "conftest.$objext"; then
14397 pre_test_object_deps_done
=yes
14401 if test "$pre_test_object_deps_done" = no
; then
14402 if test -z "$predep_objects_CXX"; then
14403 predep_objects_CXX
="$p"
14405 predep_objects_CXX
="$predep_objects_CXX $p"
14408 if test -z "$postdep_objects_CXX"; then
14409 postdep_objects_CXX
="$p"
14411 postdep_objects_CXX
="$postdep_objects_CXX $p"
14416 *) ;; # Ignore the rest.
14424 echo "libtool.m4: error: problem compiling CXX test program"
14427 $RM -f confest.
$objext
14428 CFLAGS
=$_lt_libdeps_save_CFLAGS
14430 # PORTME: override above test on systems where it is broken
14433 # Interix 3.5 installs completely hosed .la files for C++, so rather than
14434 # hack all around it, let's just trust "g++" to DTRT.
14435 predep_objects_CXX
=
14436 postdep_objects_CXX
=
14441 case `$CC -V 2>&1 | sed 5q` in
14445 # The more standards-conforming stlport4 library is
14446 # incompatible with the Cstd library. Avoid specifying
14447 # it if it's in CXXFLAGS. Ignore libCrun as
14448 # -library=stlport4 depends on it.
14449 case " $CXX $CXXFLAGS " in
14450 *" -library=stlport4 "*)
14451 solaris_use_stlport4
=yes
14455 if test "$solaris_use_stlport4" != yes; then
14456 postdeps_CXX
='-library=Cstd -library=Crun'
14463 case $cc_basename in
14465 # The more standards-conforming stlport4 library is
14466 # incompatible with the Cstd library. Avoid specifying
14467 # it if it's in CXXFLAGS. Ignore libCrun as
14468 # -library=stlport4 depends on it.
14469 case " $CXX $CXXFLAGS " in
14470 *" -library=stlport4 "*)
14471 solaris_use_stlport4
=yes
14475 # Adding this requires a known-good setup of shared libraries for
14476 # Sun compiler versions before 5.6, else PIC objects from an old
14477 # archive will be linked into the output, leading to subtle bugs.
14478 if test "$solaris_use_stlport4" != yes; then
14479 postdeps_CXX
='-library=Cstd -library=Crun'
14487 case " $postdeps_CXX " in
14488 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
14490 compiler_lib_search_dirs_CXX
=
14491 if test -n "${compiler_lib_search_path_CXX}"; then
14492 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
14525 lt_prog_compiler_wl_CXX
=
14526 lt_prog_compiler_pic_CXX
=
14527 lt_prog_compiler_static_CXX
=
14530 # C++ specific cases for pic, static, wl, etc.
14531 if test "$GXX" = yes; then
14532 lt_prog_compiler_wl_CXX
='-Wl,'
14533 lt_prog_compiler_static_CXX
='-static'
14537 # All AIX code is PIC.
14538 if test "$host_cpu" = ia64
; then
14539 # AIX 5 now supports IA64 processor
14540 lt_prog_compiler_static_CXX
='-Bstatic'
14547 # see comment about AmigaOS4 .so support
14548 lt_prog_compiler_pic_CXX
='-fPIC'
14551 # FIXME: we need at least 68020 code to build shared libraries, but
14552 # adding the `-m68020' flag to GCC prevents building anything better,
14554 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
14559 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
14560 # PIC is the default for these OSes.
14562 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
14563 # This hack is so that the source file can tell whether it is being
14564 # built for inclusion in a dll (and should export symbols for example).
14565 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14566 # (--disable-auto-import) libraries
14567 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
14569 darwin
* | rhapsody
*)
14570 # PIC is the default on this platform
14571 # Common symbols not allowed in MH_DYLIB files
14572 lt_prog_compiler_pic_CXX
='-fno-common'
14575 # DJGPP does not support shared libraries at all
14576 lt_prog_compiler_pic_CXX
=
14579 # PIC is the default for Haiku.
14580 # The "-static" flag exists, but is broken.
14581 lt_prog_compiler_static_CXX
=
14584 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14585 # Instead, we relocate shared libraries at runtime.
14588 if test -d /usr
/nec
; then
14589 lt_prog_compiler_pic_CXX
=-Kconform_pic
14593 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
14594 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
14595 # sets the default TLS model and affects inlining.
14600 lt_prog_compiler_pic_CXX
='-fPIC'
14605 # QNX uses GNU C++, but need to define -shared option too, otherwise
14606 # it will coredump.
14607 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14610 lt_prog_compiler_pic_CXX
='-fPIC'
14616 # All AIX code is PIC.
14617 if test "$host_cpu" = ia64
; then
14618 # AIX 5 now supports IA64 processor
14619 lt_prog_compiler_static_CXX
='-Bstatic'
14621 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
14625 case $cc_basename in
14627 # Green Hills C++ Compiler
14628 # _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"
14632 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
14633 # This hack is so that the source file can tell whether it is being
14634 # built for inclusion in a dll (and should export symbols for example).
14635 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
14638 case $cc_basename in
14640 lt_prog_compiler_pic_CXX
='-KPIC'
14643 # Green Hills C++ Compiler
14644 lt_prog_compiler_pic_CXX
='-pic'
14650 freebsd
* | dragonfly
*)
14651 # FreeBSD uses GNU C++
14653 hpux9
* | hpux10
* | hpux11
*)
14654 case $cc_basename in
14656 lt_prog_compiler_wl_CXX
='-Wl,'
14657 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14658 if test "$host_cpu" != ia64
; then
14659 lt_prog_compiler_pic_CXX
='+Z'
14663 lt_prog_compiler_wl_CXX
='-Wl,'
14664 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14670 lt_prog_compiler_pic_CXX
='+Z'
14679 # This is c89, which is MS Visual C++ (no shared libs)
14680 # Anyone wants to do a port?
14682 irix5
* | irix6
* | nonstopux
*)
14683 case $cc_basename in
14685 lt_prog_compiler_wl_CXX
='-Wl,'
14686 lt_prog_compiler_static_CXX
='-non_shared'
14687 # CC pic flag -KPIC is the default.
14693 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
14694 case $cc_basename in
14697 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14698 lt_prog_compiler_pic_CXX
='-fPIC'
14701 # old Intel C++ for x86_64 which still supported -KPIC.
14702 lt_prog_compiler_wl_CXX
='-Wl,'
14703 lt_prog_compiler_pic_CXX
='-KPIC'
14704 lt_prog_compiler_static_CXX
='-static'
14707 # Intel C++, used to be incompatible with GCC.
14708 # ICC 10 doesn't accept -KPIC any more.
14709 lt_prog_compiler_wl_CXX
='-Wl,'
14710 lt_prog_compiler_pic_CXX
='-fPIC'
14711 lt_prog_compiler_static_CXX
='-static'
14714 # Portland Group C++ compiler
14715 lt_prog_compiler_wl_CXX
='-Wl,'
14716 lt_prog_compiler_pic_CXX
='-fpic'
14717 lt_prog_compiler_static_CXX
='-Bstatic'
14721 # Make sure the PIC flag is empty. It appears that all Alpha
14722 # Linux and Compaq Tru64 Unix objects are PIC.
14723 lt_prog_compiler_pic_CXX
=
14724 lt_prog_compiler_static_CXX
='-non_shared'
14726 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
14727 # IBM XL 8.0, 9.0 on PPC and BlueGene
14728 lt_prog_compiler_wl_CXX
='-Wl,'
14729 lt_prog_compiler_pic_CXX
='-qpic'
14730 lt_prog_compiler_static_CXX
='-qstaticlink'
14733 case `$CC -V 2>&1 | sed 5q` in
14736 lt_prog_compiler_pic_CXX
='-KPIC'
14737 lt_prog_compiler_static_CXX
='-Bstatic'
14738 lt_prog_compiler_wl_CXX
='-Qoption ld '
14749 case $cc_basename in
14751 lt_prog_compiler_pic_CXX
='-W c,exportall'
14757 netbsd
* | netbsdelf
*-gnu)
14760 # QNX uses GNU C++, but need to define -shared option too, otherwise
14761 # it will coredump.
14762 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14764 osf3
* | osf4
* | osf5
*)
14765 case $cc_basename in
14767 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14770 # Rational C++ 2.4.1
14771 lt_prog_compiler_pic_CXX
='-pic'
14774 # Digital/Compaq C++
14775 lt_prog_compiler_wl_CXX
='-Wl,'
14776 # Make sure the PIC flag is empty. It appears that all Alpha
14777 # Linux and Compaq Tru64 Unix objects are PIC.
14778 lt_prog_compiler_pic_CXX
=
14779 lt_prog_compiler_static_CXX
='-non_shared'
14788 case $cc_basename in
14790 # Sun C++ 4.2, 5.x and Centerline C++
14791 lt_prog_compiler_pic_CXX
='-KPIC'
14792 lt_prog_compiler_static_CXX
='-Bstatic'
14793 lt_prog_compiler_wl_CXX
='-Qoption ld '
14796 # Green Hills C++ Compiler
14797 lt_prog_compiler_pic_CXX
='-PIC'
14804 case $cc_basename in
14807 lt_prog_compiler_pic_CXX
='-pic'
14808 lt_prog_compiler_static_CXX
='-Bstatic'
14812 lt_prog_compiler_pic_CXX
='-pic'
14818 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
14819 case $cc_basename in
14821 lt_prog_compiler_wl_CXX
='-Wl,'
14822 lt_prog_compiler_pic_CXX
='-KPIC'
14823 lt_prog_compiler_static_CXX
='-Bstatic'
14828 case $cc_basename in
14830 # NonStop-UX NCC 3.20
14831 lt_prog_compiler_pic_CXX
='-KPIC'
14840 lt_prog_compiler_can_build_shared_CXX
=no
14846 # For platforms which do not support PIC, -DPIC is meaningless:
14848 lt_prog_compiler_pic_CXX
=
14851 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
14855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
14856 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
14857 if ${lt_cv_prog_compiler_pic_CXX+:} false
; then :
14858 $as_echo_n "(cached) " >&6
14860 lt_cv_prog_compiler_pic_CXX
=$lt_prog_compiler_pic_CXX
14862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
14863 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
14864 lt_prog_compiler_pic_CXX
=$lt_cv_prog_compiler_pic_CXX
14867 # Check to make sure the PIC flag actually works.
14869 if test -n "$lt_prog_compiler_pic_CXX"; then
14870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14871 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14872 if ${lt_cv_prog_compiler_pic_works_CXX+:} false
; then :
14873 $as_echo_n "(cached) " >&6
14875 lt_cv_prog_compiler_pic_works_CXX
=no
14876 ac_outfile
=conftest.
$ac_objext
14877 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14878 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
14879 # Insert the option either (1) after the last *FLAGS variable, or
14880 # (2) before a word containing "conftest.", or (3) at the end.
14881 # Note that $ac_compile itself does not contain backslashes and begins
14882 # with a dollar sign (not a hyphen), so the echo should work correctly.
14883 # The option is referenced via a variable to avoid confusing sed.
14884 lt_compile
=`echo "$ac_compile" | $SED \
14885 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14886 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14887 -e 's:$: $lt_compiler_flag:'`
14888 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14889 (eval "$lt_compile" 2>conftest.err
)
14891 cat conftest.err
>&5
14892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14893 if (exit $ac_status) && test -s "$ac_outfile"; then
14894 # The compiler can only warn and ignore the option if not recognized
14895 # So say no if there are warnings other than the usual output.
14896 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
14897 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14898 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
14899 lt_cv_prog_compiler_pic_works_CXX
=yes
14905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14906 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14908 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
14909 case $lt_prog_compiler_pic_CXX in
14911 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
14914 lt_prog_compiler_pic_CXX
=
14915 lt_prog_compiler_can_build_shared_CXX
=no
14925 # Check to make sure the static flag actually works.
14927 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
14928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14929 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14930 if ${lt_cv_prog_compiler_static_works_CXX+:} false
; then :
14931 $as_echo_n "(cached) " >&6
14933 lt_cv_prog_compiler_static_works_CXX
=no
14934 save_LDFLAGS
="$LDFLAGS"
14935 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
14936 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
14937 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
14938 # The linker can only warn and ignore the option if not recognized
14939 # So say no if there are warnings
14940 if test -s conftest.err
; then
14941 # Append any errors to the config.log.
14942 cat conftest.err
1>&5
14943 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
14944 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14945 if diff conftest.exp conftest.er2
>/dev
/null
; then
14946 lt_cv_prog_compiler_static_works_CXX
=yes
14949 lt_cv_prog_compiler_static_works_CXX
=yes
14953 LDFLAGS
="$save_LDFLAGS"
14956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14957 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14959 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
14962 lt_prog_compiler_static_CXX
=
14968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14969 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14970 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
14971 $as_echo_n "(cached) " >&6
14973 lt_cv_prog_compiler_c_o_CXX
=no
14974 $RM -r conftest
2>/dev
/null
14978 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14980 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14981 # Insert the option either (1) after the last *FLAGS variable, or
14982 # (2) before a word containing "conftest.", or (3) at the end.
14983 # Note that $ac_compile itself does not contain backslashes and begins
14984 # with a dollar sign (not a hyphen), so the echo should work correctly.
14985 lt_compile
=`echo "$ac_compile" | $SED \
14986 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14987 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14988 -e 's:$: $lt_compiler_flag:'`
14989 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14990 (eval "$lt_compile" 2>out
/conftest.err
)
14992 cat out
/conftest.err
>&5
14993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14994 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14996 # The compiler can only warn and ignore the option if not recognized
14997 # So say no if there are warnings
14998 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
14999 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
15000 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
15001 lt_cv_prog_compiler_c_o_CXX
=yes
15006 # SGI C++ compiler will create directory out/ii_files/ for
15007 # template instantiation
15008 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
15009 $RM out
/* && rmdir out
15015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15016 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15021 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15022 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
15023 $as_echo_n "(cached) " >&6
15025 lt_cv_prog_compiler_c_o_CXX
=no
15026 $RM -r conftest
2>/dev
/null
15030 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15032 lt_compiler_flag
="-o out/conftest2.$ac_objext"
15033 # Insert the option either (1) after the last *FLAGS variable, or
15034 # (2) before a word containing "conftest.", or (3) at the end.
15035 # Note that $ac_compile itself does not contain backslashes and begins
15036 # with a dollar sign (not a hyphen), so the echo should work correctly.
15037 lt_compile
=`echo "$ac_compile" | $SED \
15038 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15039 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15040 -e 's:$: $lt_compiler_flag:'`
15041 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15042 (eval "$lt_compile" 2>out
/conftest.err
)
15044 cat out
/conftest.err
>&5
15045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15046 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
15048 # The compiler can only warn and ignore the option if not recognized
15049 # So say no if there are warnings
15050 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
15051 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
15052 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
15053 lt_cv_prog_compiler_c_o_CXX
=yes
15058 # SGI C++ compiler will create directory out/ii_files/ for
15059 # template instantiation
15060 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
15061 $RM out
/* && rmdir out
15067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15068 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15073 hard_links
="nottested"
15074 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
15075 # do not overwrite the value of need_locks provided by the user
15076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
15077 $as_echo_n "checking if we can lock with hard links... " >&6; }
15080 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
15082 ln conftest.a conftest.b
2>&5 || hard_links
=no
15083 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
15084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
15085 $as_echo "$hard_links" >&6; }
15086 if test "$hard_links" = no
; then
15087 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15088 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15098 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
15100 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15101 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
15104 # If we're using GNU nm, then we don't want the "-C" option.
15105 # -C means demangle to AIX nm, but means don't demangle with GNU nm
15106 # Also, AIX nm treats weak defined symbols like other global defined
15107 # symbols, whereas GNU nm marks them as "W".
15108 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
15109 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'
15111 export_symbols_cmds_CXX
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
15115 export_symbols_cmds_CXX
="$ltdll_cmds"
15117 cygwin
* | mingw
* | cegcc
*)
15118 case $cc_basename in
15120 exclude_expsyms_CXX
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
15123 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
15124 exclude_expsyms_CXX
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
15128 linux
* | k
*bsd
*-gnu | gnu
*)
15129 link_all_deplibs_CXX
=no
15132 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15137 $as_echo "$ld_shlibs_CXX" >&6; }
15138 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
15140 with_gnu_ld_CXX
=$with_gnu_ld
15148 # Do we need to explicitly link libc?
15150 case "x$archive_cmds_need_lc_CXX" in
15152 # Assume -lc should be added
15153 archive_cmds_need_lc_CXX
=yes
15155 if test "$enable_shared" = yes && test "$GCC" = yes; then
15156 case $archive_cmds_CXX in
15158 # FIXME: we may have to deal with multi-command sequences.
15161 # Test whether the compiler implicitly links with -lc since on some
15162 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15163 # to ld, don't add -lc before -lgcc.
15164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
15165 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
15166 if ${lt_cv_archive_cmds_need_lc_CXX+:} false
; then :
15167 $as_echo_n "(cached) " >&6
15170 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15172 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15173 (eval $ac_compile) 2>&5
15175 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15176 test $ac_status = 0; } 2>conftest.err
; then
15179 libobjs
=conftest.
$ac_objext
15181 wl
=$lt_prog_compiler_wl_CXX
15182 pic_flag
=$lt_prog_compiler_pic_CXX
15188 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
15189 allow_undefined_flag_CXX
=
15190 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
15191 (eval $archive_cmds_CXX 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
15193 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15194 test $ac_status = 0; }
15196 lt_cv_archive_cmds_need_lc_CXX
=no
15198 lt_cv_archive_cmds_need_lc_CXX
=yes
15200 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
15202 cat conftest.err
1>&5
15207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
15208 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
15209 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
15277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15278 $as_echo_n "checking dynamic linker characteristics... " >&6; }
15280 library_names_spec
=
15281 libname_spec
='lib$name'
15285 postuninstall_cmds
=
15289 shlibpath_overrides_runpath
=unknown
15291 dynamic_linker
="$host_os ld.so"
15292 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
15293 need_lib_prefix
=unknown
15294 hardcode_into_libs
=no
15296 # when you set need_version to no, make sure it does not cause -set_version
15297 # flags to be left without arguments
15298 need_version
=unknown
15302 version_type
=linux
# correct to gnu/linux during the next big refactor
15303 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
15304 shlibpath_var
=LIBPATH
15306 # AIX 3 has no versioning support, so we append a major version to the name.
15307 soname_spec
='${libname}${release}${shared_ext}$major'
15311 version_type
=linux
# correct to gnu/linux during the next big refactor
15314 hardcode_into_libs
=yes
15315 if test "$host_cpu" = ia64
; then
15316 # AIX 5 supports IA64
15317 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15318 shlibpath_var
=LD_LIBRARY_PATH
15320 # With GCC up to 2.95.x, collect2 would create an import file
15321 # for dependence libraries. The import file would start with
15322 # the line `#! .'. This would cause the generated library to
15323 # depend on `.', always an invalid library. This was fixed in
15324 # development snapshots of GCC prior to 3.0.
15326 aix4 | aix4.
[01] | aix4.
[01].
*)
15327 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15329 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
15332 can_build_shared
=no
15336 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15337 # soname into executable. Probably we can add versioning support to
15338 # collect2, so additional links can be useful in future.
15339 if test "$aix_use_runtimelinking" = yes; then
15340 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15341 # instead of lib<name>.a to let people know that these are not
15342 # typical AIX shared libraries.
15343 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15345 # We preserve .a as extension for shared libraries through AIX4.2
15346 # and later when we are not doing run time linking.
15347 library_names_spec
='${libname}${release}.a $libname.a'
15348 soname_spec
='${libname}${release}${shared_ext}$major'
15350 shlibpath_var
=LIBPATH
15357 # Since July 2007 AmigaOS4 officially supports .so libraries.
15358 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15359 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15362 library_names_spec
='$libname.ixlibrary $libname.a'
15363 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15364 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'
15370 library_names_spec
='${libname}${shared_ext}'
15371 dynamic_linker
="$host_os ld.so"
15372 shlibpath_var
=LIBRARY_PATH
15376 version_type
=linux
# correct to gnu/linux during the next big refactor
15378 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15379 soname_spec
='${libname}${release}${shared_ext}$major'
15380 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15381 shlibpath_var
=LD_LIBRARY_PATH
15382 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15383 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15384 # the default ld.so.conf also contains /usr/contrib/lib and
15385 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15386 # libtool to hard-code these into programs
15389 cygwin
* | mingw
* | pw32
* | cegcc
*)
15390 version_type
=windows
15395 case $GCC,$cc_basename in
15398 library_names_spec
='$libname.dll.a'
15399 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15400 postinstall_cmds
='base_file=`basename \${file}`~
15401 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15402 dldir=$destdir/`dirname \$dlpath`~
15403 test -d \$dldir || mkdir -p \$dldir~
15404 $install_prog $dir/$dlname \$dldir/$dlname~
15405 chmod a+x \$dldir/$dlname~
15406 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15407 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15409 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15410 dlpath=$dir/\$dldll~
15412 shlibpath_overrides_runpath
=yes
15416 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15417 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15421 # MinGW DLLs use traditional 'lib' prefix
15422 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15425 # pw32 DLLs use 'pw' prefix rather than 'lib'
15426 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15429 dynamic_linker
='Win32 ld.exe'
15434 libname_spec
='$name'
15435 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15436 library_names_spec
='${libname}.dll.lib'
15440 sys_lib_search_path_spec
=
15443 for lt_path
in $LIB
15446 # Let DOS variable expansion print the short 8.3 style file name.
15447 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
15448 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
15451 # Convert to MSYS style.
15452 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
15455 # Convert to unix form, then to dos form, then back to unix form
15456 # but this time dos style (no spaces!) so that the unix form looks
15457 # like /cygdrive/c/PROGRA~1:/cygdr...
15458 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
15459 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
15460 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15463 sys_lib_search_path_spec
="$LIB"
15464 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
15465 # It is most probably a Windows format PATH.
15466 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15468 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15470 # FIXME: find the short name or the path components, as spaces are
15471 # common. (e.g. "Program Files" -> "PROGRA~1")
15475 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15476 postinstall_cmds
='base_file=`basename \${file}`~
15477 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15478 dldir=$destdir/`dirname \$dlpath`~
15479 test -d \$dldir || mkdir -p \$dldir~
15480 $install_prog $dir/$dlname \$dldir/$dlname'
15481 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15482 dlpath=$dir/\$dldll~
15484 shlibpath_overrides_runpath
=yes
15485 dynamic_linker
='Win32 link.exe'
15489 # Assume MSVC wrapper
15490 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15491 dynamic_linker
='Win32 ld.exe'
15494 # FIXME: first we should search . and the directory the executable is in
15498 darwin
* | rhapsody
*)
15499 dynamic_linker
="$host_os dyld"
15500 version_type
=darwin
15503 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15504 soname_spec
='${libname}${release}${major}$shared_ext'
15505 shlibpath_overrides_runpath
=yes
15506 shlibpath_var
=DYLD_LIBRARY_PATH
15507 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15509 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15513 version_type
=linux
# correct to gnu/linux during the next big refactor
15516 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15517 soname_spec
='${libname}${release}${shared_ext}$major'
15518 shlibpath_var
=LD_LIBRARY_PATH
15521 freebsd
* | dragonfly
*)
15522 # DragonFly does not have aout. When/if they implement a new
15523 # versioning mechanism, adjust this.
15524 if test -x /usr
/bin
/objformat
; then
15525 objformat
=`/usr/bin/objformat`
15528 freebsd
[23].
*) objformat
=aout
;;
15529 *) objformat
=elf
;;
15532 version_type
=freebsd-
$objformat
15533 case $version_type in
15535 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15540 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15544 shlibpath_var
=LD_LIBRARY_PATH
15547 shlibpath_overrides_runpath
=yes
15549 freebsd3.
[01]* | freebsdelf3.
[01]*)
15550 shlibpath_overrides_runpath
=yes
15551 hardcode_into_libs
=yes
15553 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15554 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15555 shlibpath_overrides_runpath
=no
15556 hardcode_into_libs
=yes
15558 *) # from 4.6 on, and DragonFly
15559 shlibpath_overrides_runpath
=yes
15560 hardcode_into_libs
=yes
15566 version_type
=linux
# correct to gnu/linux during the next big refactor
15569 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15570 soname_spec
='${libname}${release}${shared_ext}$major'
15571 shlibpath_var
=LD_LIBRARY_PATH
15572 shlibpath_overrides_runpath
=no
15573 hardcode_into_libs
=yes
15577 version_type
=linux
# correct to gnu/linux during the next big refactor
15580 dynamic_linker
="$host_os runtime_loader"
15581 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15582 soname_spec
='${libname}${release}${shared_ext}$major'
15583 shlibpath_var
=LIBRARY_PATH
15584 shlibpath_overrides_runpath
=yes
15585 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
15586 hardcode_into_libs
=yes
15589 hpux9
* | hpux10
* | hpux11
*)
15590 # Give a soname corresponding to the major version so that dld.sl refuses to
15591 # link against other versions.
15598 hardcode_into_libs
=yes
15599 dynamic_linker
="$host_os dld.so"
15600 shlibpath_var
=LD_LIBRARY_PATH
15601 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15602 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15603 soname_spec
='${libname}${release}${shared_ext}$major'
15604 if test "X$HPUX_IA64_MODE" = X32
; then
15605 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15607 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15609 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15613 hardcode_into_libs
=yes
15614 dynamic_linker
="$host_os dld.sl"
15615 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15616 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15617 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15618 soname_spec
='${libname}${release}${shared_ext}$major'
15619 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15620 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15624 dynamic_linker
="$host_os dld.sl"
15625 shlibpath_var
=SHLIB_PATH
15626 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15627 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15628 soname_spec
='${libname}${release}${shared_ext}$major'
15631 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15632 postinstall_cmds
='chmod 555 $lib'
15633 # or fails outright, so override atomically:
15634 install_override_mode
=555
15638 version_type
=linux
# correct to gnu/linux during the next big refactor
15641 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15642 soname_spec
='${libname}${release}${shared_ext}$major'
15643 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
15644 shlibpath_var
=LD_LIBRARY_PATH
15645 shlibpath_overrides_runpath
=no
15646 hardcode_into_libs
=yes
15649 irix5
* | irix6
* | nonstopux
*)
15651 nonstopux
*) version_type
=nonstopux
;;
15653 if test "$lt_cv_prog_gnu_ld" = yes; then
15654 version_type
=linux
# correct to gnu/linux during the next big refactor
15661 soname_spec
='${libname}${release}${shared_ext}$major'
15662 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15664 irix5
* | nonstopux
*)
15665 libsuff
= shlibsuff
=
15668 case $LD in # libtool.m4 will add one of these switches to LD
15669 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
15670 libsuff
= shlibsuff
= libmagic
=32-bit;;
15671 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
15672 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15673 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
15674 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15675 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
15679 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15680 shlibpath_overrides_runpath
=no
15681 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15682 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15683 hardcode_into_libs
=yes
15686 # No shared lib support for Linux oldld, aout, or coff.
15687 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15691 # This must be glibc/ELF.
15692 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
15693 version_type
=linux
# correct to gnu/linux during the next big refactor
15696 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15697 soname_spec
='${libname}${release}${shared_ext}$major'
15698 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15699 shlibpath_var
=LD_LIBRARY_PATH
15700 shlibpath_overrides_runpath
=no
15702 # Some binutils ld are patched to set DT_RUNPATH
15703 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
15704 $as_echo_n "(cached) " >&6
15706 lt_cv_shlibpath_overrides_runpath
=no
15707 save_LDFLAGS
=$LDFLAGS
15708 save_libdir
=$libdir
15709 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15710 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15711 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15712 /* end confdefs.h. */
15722 if ac_fn_cxx_try_link
"$LINENO"; then :
15723 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
15724 lt_cv_shlibpath_overrides_runpath
=yes
15727 rm -f core conftest.err conftest.
$ac_objext \
15728 conftest
$ac_exeext conftest.
$ac_ext
15729 LDFLAGS
=$save_LDFLAGS
15730 libdir
=$save_libdir
15734 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
15736 # This implies no fast_install, which is unacceptable.
15737 # Some rework will be needed to allow for fast_install
15738 # before this can be enabled.
15739 hardcode_into_libs
=yes
15741 # Append ld.so.conf contents to the search path
15742 if test -f /etc
/ld.so.conf
; then
15743 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' ' '`
15744 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
15747 # We used to test for /lib/ld.so.1 and disable shared libraries on
15748 # powerpc, because MkLinux only supported shared libraries with the
15749 # GNU dynamic linker. Since this was broken with cross compilers,
15750 # most powerpc-linux boxes support dynamic linking these days and
15751 # people can always --disable-shared, the test was removed, and we
15752 # assume the GNU/Linux dynamic linker is in use.
15753 dynamic_linker
='GNU/Linux ld.so'
15760 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15761 soname_spec
='${libname}${release}${shared_ext}$major'
15762 shlibpath_var
=LD_LIBRARY_PATH
15763 shlibpath_overrides_runpath
=no
15764 hardcode_into_libs
=yes
15765 dynamic_linker
='NetBSD ld.elf_so'
15772 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
15773 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15774 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15775 dynamic_linker
='NetBSD (a.out) ld.so'
15777 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15778 soname_spec
='${libname}${release}${shared_ext}$major'
15779 dynamic_linker
='NetBSD ld.elf_so'
15781 shlibpath_var
=LD_LIBRARY_PATH
15782 shlibpath_overrides_runpath
=yes
15783 hardcode_into_libs
=yes
15787 version_type
=linux
# correct to gnu/linux during the next big refactor
15788 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15789 shlibpath_var
=LD_LIBRARY_PATH
15790 shlibpath_overrides_runpath
=yes
15797 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15798 soname_spec
='${libname}${release}${shared_ext}$major'
15799 shlibpath_var
=LD_LIBRARY_PATH
15800 shlibpath_overrides_runpath
=no
15801 hardcode_into_libs
=yes
15802 dynamic_linker
='ldqnx.so'
15807 sys_lib_dlsearch_path_spec
="/usr/lib"
15809 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15811 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
15812 *) need_version
=no
;;
15814 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15815 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15816 shlibpath_var
=LD_LIBRARY_PATH
15817 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15819 openbsd2.
[89] | openbsd2.
[89].
*)
15820 shlibpath_overrides_runpath
=no
15823 shlibpath_overrides_runpath
=yes
15827 shlibpath_overrides_runpath
=yes
15832 libname_spec
='$name'
15835 library_names_spec
='$libname${shared_ext} $libname.a'
15836 dynamic_linker
='OS/2 ld.exe'
15837 shlibpath_var
=LIBPATH
15840 osf3
* | osf4
* | osf5
*)
15844 soname_spec
='${libname}${release}${shared_ext}$major'
15845 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15846 shlibpath_var
=LD_LIBRARY_PATH
15847 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15848 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15856 version_type
=linux
# correct to gnu/linux during the next big refactor
15859 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15860 soname_spec
='${libname}${release}${shared_ext}$major'
15861 shlibpath_var
=LD_LIBRARY_PATH
15862 shlibpath_overrides_runpath
=yes
15863 hardcode_into_libs
=yes
15864 # ldd complains unless libraries are executable
15865 postinstall_cmds
='chmod +x $lib'
15870 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15871 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15872 shlibpath_var
=LD_LIBRARY_PATH
15873 shlibpath_overrides_runpath
=yes
15874 if test "$with_gnu_ld" = yes; then
15881 version_type
=linux
# correct to gnu/linux during the next big refactor
15882 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15883 soname_spec
='${libname}${release}${shared_ext}$major'
15884 shlibpath_var
=LD_LIBRARY_PATH
15885 case $host_vendor in
15887 shlibpath_overrides_runpath
=no
15889 runpath_var
=LD_RUN_PATH
15897 shlibpath_overrides_runpath
=no
15898 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15904 if test -d /usr
/nec
;then
15905 version_type
=linux
# correct to gnu/linux during the next big refactor
15906 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15907 soname_spec
='$libname${shared_ext}.$major'
15908 shlibpath_var
=LD_LIBRARY_PATH
15912 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
15913 version_type
=freebsd-elf
15916 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15917 soname_spec
='${libname}${release}${shared_ext}$major'
15918 shlibpath_var
=LD_LIBRARY_PATH
15919 shlibpath_overrides_runpath
=yes
15920 hardcode_into_libs
=yes
15921 if test "$with_gnu_ld" = yes; then
15922 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15924 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
15927 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
15931 sys_lib_dlsearch_path_spec
='/usr/lib'
15935 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15936 version_type
=linux
# correct to gnu/linux during the next big refactor
15939 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15940 shlibpath_var
=LD_LIBRARY_PATH
15941 shlibpath_overrides_runpath
=no
15942 hardcode_into_libs
=yes
15946 version_type
=linux
# correct to gnu/linux during the next big refactor
15947 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15948 soname_spec
='${libname}${release}${shared_ext}$major'
15949 shlibpath_var
=LD_LIBRARY_PATH
15956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15957 $as_echo "$dynamic_linker" >&6; }
15958 test "$dynamic_linker" = no
&& can_build_shared
=no
15960 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15961 if test "$GCC" = yes; then
15962 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15965 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15966 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
15968 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15969 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
16009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
16010 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
16011 hardcode_action_CXX
=
16012 if test -n "$hardcode_libdir_flag_spec_CXX" ||
16013 test -n "$runpath_var_CXX" ||
16014 test "X$hardcode_automatic_CXX" = "Xyes" ; then
16016 # We can hardcode non-existent directories.
16017 if test "$hardcode_direct_CXX" != no
&&
16018 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16019 # have to relink, otherwise we might link with an installed library
16020 # when we should be linking with a yet-to-be-installed one
16021 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
16022 test "$hardcode_minus_L_CXX" != no
; then
16023 # Linking always hardcodes the temporary library directory.
16024 hardcode_action_CXX
=relink
16026 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16027 hardcode_action_CXX
=immediate
16030 # We cannot hardcode anything, or else we can only hardcode existing
16032 hardcode_action_CXX
=unsupported
16034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
16035 $as_echo "$hardcode_action_CXX" >&6; }
16037 if test "$hardcode_action_CXX" = relink ||
16038 test "$inherit_rpath_CXX" = yes; then
16039 # Fast installation is not supported
16040 enable_fast_install
=no
16041 elif test "$shlibpath_overrides_runpath" = yes ||
16042 test "$enable_shared" = no
; then
16043 # Fast installation is not necessary
16044 enable_fast_install
=needless
16053 fi # test -n "$compiler"
16056 CFLAGS
=$lt_save_CFLAGS
16060 with_gnu_ld
=$lt_save_with_gnu_ld
16061 lt_cv_path_LDCXX
=$lt_cv_path_LD
16062 lt_cv_path_LD
=$lt_save_path_LD
16063 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
16064 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
16065 fi # test "$_lt_caught_CXX_error" != yes
16068 ac_cpp
='$CPP $CPPFLAGS'
16069 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16070 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16071 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16074 if test "x$CXX" != "x"; then # CXX is set...
16075 if test -f "$CXX"; then # maybe it's an absolute path passed in env variables...
16076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CXX" >&5
16077 $as_echo_n "checking for $CXX... " >&6; }
16079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_CXX" >&5
16080 $as_echo "$HAVE_CXX" >&6; }
16082 # Extract the first word of "$CXX", so it can be a program name with args.
16083 set dummy
$CXX; ac_word
=$2
16084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16085 $as_echo_n "checking for $ac_word... " >&6; }
16086 if ${ac_cv_prog_HAVE_CXX+:} false
; then :
16087 $as_echo_n "(cached) " >&6
16089 if test -n "$HAVE_CXX"; then
16090 ac_cv_prog_HAVE_CXX
="$HAVE_CXX" # Let the user override the test.
16092 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16093 for as_dir
in $PATH
16096 test -z "$as_dir" && as_dir
=.
16097 for ac_exec_ext
in '' $ac_executable_extensions; do
16098 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16099 ac_cv_prog_HAVE_CXX
="yes"
16100 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16107 test -z "$ac_cv_prog_HAVE_CXX" && ac_cv_prog_HAVE_CXX
="no"
16110 HAVE_CXX
=$ac_cv_prog_HAVE_CXX
16111 if test -n "$HAVE_CXX"; then
16112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_CXX" >&5
16113 $as_echo "$HAVE_CXX" >&6; }
16115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16116 $as_echo "no" >&6; }
16122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
16123 $as_echo_n "checking for inline... " >&6; }
16124 if ${ac_cv_c_inline+:} false
; then :
16125 $as_echo_n "(cached) " >&6
16128 for ac_kw
in inline __inline__ __inline
; do
16129 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16130 /* end confdefs.h. */
16131 #ifndef __cplusplus
16133 static $ac_kw foo_t static_foo () {return 0; }
16134 $ac_kw foo_t foo () {return 0; }
16138 if ac_fn_c_try_compile
"$LINENO"; then :
16139 ac_cv_c_inline
=$ac_kw
16141 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16142 test "$ac_cv_c_inline" != no
&& break
16146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
16147 $as_echo "$ac_cv_c_inline" >&6; }
16149 case $ac_cv_c_inline in
16152 case $ac_cv_c_inline in
16154 *) ac_val
=$ac_cv_c_inline;;
16156 cat >>confdefs.h
<<_ACEOF
16157 #ifndef __cplusplus
16158 #define inline $ac_val
16164 if test "x$GCC" = "xyes" ; then
16166 CFLAGS
="$CFLAGS -std=gnu99 -ggdb3 -Wall -W -Wpointer-arith -Wformat-security -Wcast-align -Wundef -Wcast-align -Wstrict-prototypes -Wmissing-declarations -Wmissing-format-attribute -Wredundant-decls -Wnested-externs -Wunused-parameter -Wwrite-strings -Winline -Wfloat-equal"
16168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking gcc version" >&5
16169 $as_echo_n "checking gcc version... " >&6; }
16170 GCC_VERSION
=`$CC -dumpversion`
16171 GCC_MAJOR
=`echo $GCC_VERSION | cut -d . -f1`
16172 GCC_MINOR
=`echo $GCC_VERSION | cut -d . -f2`
16173 GCC_VERSION_NUM
=`(expr $GCC_MAJOR "*" 100 + $GCC_MINOR) 2>/dev/null`
16175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCC_VERSION" >&5
16176 $as_echo "$GCC_VERSION" >&6; }
16177 if test $GCC_VERSION_NUM -ge 304; then
16178 CFLAGS
="$CFLAGS -Wextra -Wdeclaration-after-statement -Winit-self"
16180 if test $GCC_VERSION_NUM -ge 403; then
16181 CFLAGS
="$CFLAGS -Wvariadic-macros"
16185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
16186 $as_echo_n "checking for ANSI C header files... " >&6; }
16187 if ${ac_cv_header_stdc+:} false
; then :
16188 $as_echo_n "(cached) " >&6
16190 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16191 /* end confdefs.h. */
16192 #include <stdlib.h>
16193 #include <stdarg.h>
16194 #include <string.h>
16205 if ac_fn_c_try_compile
"$LINENO"; then :
16206 ac_cv_header_stdc
=yes
16208 ac_cv_header_stdc
=no
16210 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16212 if test $ac_cv_header_stdc = yes; then
16213 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
16214 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16215 /* end confdefs.h. */
16216 #include <string.h>
16219 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16220 $EGREP "memchr" >/dev
/null
2>&1; then :
16223 ac_cv_header_stdc
=no
16229 if test $ac_cv_header_stdc = yes; then
16230 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
16231 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16232 /* end confdefs.h. */
16233 #include <stdlib.h>
16236 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16237 $EGREP "free" >/dev
/null
2>&1; then :
16240 ac_cv_header_stdc
=no
16246 if test $ac_cv_header_stdc = yes; then
16247 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
16248 if test "$cross_compiling" = yes; then :
16251 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16252 /* end confdefs.h. */
16254 #include <stdlib.h>
16255 #if ((' ' & 0x0FF) == 0x020)
16256 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
16257 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
16259 # define ISLOWER(c) \
16260 (('a' <= (c) && (c) <= 'i') \
16261 || ('j' <= (c) && (c) <= 'r') \
16262 || ('s' <= (c) && (c) <= 'z'))
16263 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
16266 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
16271 for (i = 0; i < 256; i++)
16272 if (XOR (islower (i), ISLOWER (i))
16273 || toupper (i) != TOUPPER (i))
16278 if ac_fn_c_try_run
"$LINENO"; then :
16281 ac_cv_header_stdc
=no
16283 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
16284 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
16289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
16290 $as_echo "$ac_cv_header_stdc" >&6; }
16291 if test $ac_cv_header_stdc = yes; then
16293 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
16297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
16298 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
16299 if ${ac_cv_header_time+:} false
; then :
16300 $as_echo_n "(cached) " >&6
16302 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16303 /* end confdefs.h. */
16304 #include <sys/types.h>
16305 #include <sys/time.h>
16311 if ((struct tm *) 0)
16317 if ac_fn_c_try_compile
"$LINENO"; then :
16318 ac_cv_header_time
=yes
16320 ac_cv_header_time
=no
16322 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
16325 $as_echo "$ac_cv_header_time" >&6; }
16326 if test $ac_cv_header_time = yes; then
16328 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
16333 for ac_header
in stdbool.h
16335 ac_fn_c_check_header_mongrel
"$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
16336 if test "x$ac_cv_header_stdbool_h" = xyes
; then :
16337 cat >>confdefs.h
<<_ACEOF
16338 #define HAVE_STDBOOL_H 1
16345 for ac_func
in iconv_open pread pwrite lrintf strlcpy daemon
dirname basename strcasecmp localtime_r fallocate64 posix_fallocate memmem strsep strtold syslog valloc getpagesize posix_memalign statvfs htonll ntohll mkdtemp
16347 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16348 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
16349 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
16350 cat >>confdefs.h
<<_ACEOF
16351 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
16359 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
16361 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
16362 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
16363 $as_echo_n "(cached) " >&6
16365 cat >conftest.
make <<\_ACEOF
16368 @
echo '@@@%%%=$(MAKE)=@@@%%%'
16370 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
16371 case `${MAKE-make} -f conftest.make 2>/dev/null` in
16372 *@@@
%%%=?
*=@@@
%%%*)
16373 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
16375 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
16377 rm -f conftest.
make
16379 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
16380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16381 $as_echo "yes" >&6; }
16384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16385 $as_echo "no" >&6; }
16386 SET_MAKE
="MAKE=${MAKE-make}"
16393 ac_cpp
='$CPP $CPPFLAGS'
16394 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16395 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16396 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16400 # We used to check for pthread.h first, but this fails if pthread.h
16401 # requires special compiler flags (e.g. on True64 or Sequent).
16402 # It gets checked for in the link test anyway.
16404 # First of all, check if the user has set any of the PTHREAD_LIBS,
16405 # etcetera environment variables, and if threads linking works using
16407 if test x
"$PTHREAD_LIBS$PTHREAD_CFLAGS" != x
; then
16408 save_CFLAGS
="$CFLAGS"
16409 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS"
16411 LIBS
="$PTHREAD_LIBS $LIBS"
16412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS" >&5
16413 $as_echo_n "checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS... " >&6; }
16414 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16415 /* end confdefs.h. */
16417 /* Override any GCC internal prototype to avoid an error.
16418 Use char because int might match the return type of a GCC
16419 builtin and then its argument prototype would still apply. */
16423 char pthread_join ();
16427 return pthread_join ();
16432 if ac_fn_c_try_link
"$LINENO"; then :
16435 rm -f core conftest.err conftest.
$ac_objext \
16436 conftest
$ac_exeext conftest.
$ac_ext
16437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_ok" >&5
16438 $as_echo "$acx_pthread_ok" >&6; }
16439 if test x
"$acx_pthread_ok" = xno
; then
16444 CFLAGS
="$save_CFLAGS"
16447 # We must check for the threads library under a number of different
16448 # names; the ordering is very important because some systems
16449 # (e.g. DEC) have both -lpthread and -lpthreads, where one of the
16450 # libraries is broken (non-POSIX).
16452 # Create a list of thread flags to try. Items starting with a "-" are
16453 # C compiler flags, and other items are library names, except for "none"
16454 # which indicates that we try without any flags at all, and "pthread-config"
16455 # which is a program returning the flags for the Pth emulation library.
16457 acx_pthread_flags
="pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config"
16459 # The ordering *is* (sometimes) important. Some notes on the
16460 # individual items follow:
16462 # pthreads: AIX (must check this before -lpthread)
16463 # none: in case threads are in libc; should be tried before -Kthread and
16464 # other compiler flags to prevent continual compiler warnings
16465 # -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
16466 # -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
16467 # lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
16468 # -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads)
16469 # -pthreads: Solaris/gcc
16470 # -mthreads: Mingw32/gcc, Lynx/gcc
16471 # -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
16472 # doesn't hurt to check since this sometimes defines pthreads too;
16473 # also defines -D_REENTRANT)
16474 # ... -mt is also the pthreads flag for HP/aCC
16475 # pthread: Linux, etcetera
16476 # --thread-safe: KAI C++
16477 # pthread-config: use pthread-config program (for GNU Pth library)
16479 case "${host_cpu}-${host_os}" in
16482 # On Solaris (at least, for some versions), libc contains stubbed
16483 # (non-functional) versions of the pthreads routines, so link-based
16484 # tests will erroneously succeed. (We need to link with -pthreads/-mt/
16485 # -lpthread.) (The stubs are missing pthread_cleanup_push, or rather
16486 # a function called by this macro, so we could check for that, but
16487 # who knows whether they'll stub that too in a future libc.) So,
16488 # we'll just look for -pthreads and -lpthread first:
16490 acx_pthread_flags
="-pthreads pthread -mt -pthread $acx_pthread_flags"
16494 if test x
"$acx_pthread_ok" = xno
; then
16495 for flag
in $acx_pthread_flags; do
16499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
16500 $as_echo_n "checking whether pthreads work without any flags... " >&6; }
16504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $flag" >&5
16505 $as_echo_n "checking whether pthreads work with $flag... " >&6; }
16506 PTHREAD_CFLAGS
="$flag"
16510 # Extract the first word of "pthread-config", so it can be a program name with args.
16511 set dummy pthread-config
; ac_word
=$2
16512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16513 $as_echo_n "checking for $ac_word... " >&6; }
16514 if ${ac_cv_prog_acx_pthread_config+:} false
; then :
16515 $as_echo_n "(cached) " >&6
16517 if test -n "$acx_pthread_config"; then
16518 ac_cv_prog_acx_pthread_config
="$acx_pthread_config" # Let the user override the test.
16520 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16521 for as_dir
in $PATH
16524 test -z "$as_dir" && as_dir
=.
16525 for ac_exec_ext
in '' $ac_executable_extensions; do
16526 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16527 ac_cv_prog_acx_pthread_config
="yes"
16528 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16535 test -z "$ac_cv_prog_acx_pthread_config" && ac_cv_prog_acx_pthread_config
="no"
16538 acx_pthread_config
=$ac_cv_prog_acx_pthread_config
16539 if test -n "$acx_pthread_config"; then
16540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_config" >&5
16541 $as_echo "$acx_pthread_config" >&6; }
16543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16544 $as_echo "no" >&6; }
16548 if test x
"$acx_pthread_config" = xno
; then continue; fi
16549 PTHREAD_CFLAGS
="`pthread-config --cflags`"
16550 PTHREAD_LIBS
="`pthread-config --ldflags` `pthread-config --libs`"
16554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$flag" >&5
16555 $as_echo_n "checking for the pthreads library -l$flag... " >&6; }
16556 PTHREAD_LIBS
="-l$flag"
16561 save_CFLAGS
="$CFLAGS"
16562 LIBS
="$PTHREAD_LIBS $LIBS"
16563 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS"
16565 # Check for various functions. We must include pthread.h,
16566 # since some functions may be macros. (On the Sequent, we
16567 # need a special flag -Kthread to make this header compile.)
16568 # We check for pthread_join because it is in -lpthread on IRIX
16569 # while pthread_create is in libc. We check for pthread_attr_init
16570 # due to DEC craziness with -lpthreads. We check for
16571 # pthread_cleanup_push because it is one of the few pthread
16572 # functions on Solaris that doesn't have a non-functional libc stub.
16573 # We try pthread_create on general principles.
16574 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16575 /* end confdefs.h. */
16576 #include <pthread.h>
16580 pthread_t th; pthread_join(th, 0);
16581 pthread_attr_init(0); pthread_cleanup_push(0, 0);
16582 pthread_create(0,0,0,0); pthread_cleanup_pop(0);
16587 if ac_fn_c_try_link
"$LINENO"; then :
16590 rm -f core conftest.err conftest.
$ac_objext \
16591 conftest
$ac_exeext conftest.
$ac_ext
16594 CFLAGS
="$save_CFLAGS"
16596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_ok" >&5
16597 $as_echo "$acx_pthread_ok" >&6; }
16598 if test "x$acx_pthread_ok" = xyes
; then
16607 # Various other checks:
16608 if test "x$acx_pthread_ok" = xyes
; then
16610 LIBS
="$PTHREAD_LIBS $LIBS"
16611 save_CFLAGS
="$CFLAGS"
16612 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS"
16614 # Detect AIX lossage: JOINABLE attribute is called UNDETACHED.
16615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for joinable pthread attribute" >&5
16616 $as_echo_n "checking for joinable pthread attribute... " >&6; }
16618 for attr
in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED
; do
16619 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16620 /* end confdefs.h. */
16621 #include <pthread.h>
16625 int attr=$attr; return attr;
16630 if ac_fn_c_try_link
"$LINENO"; then :
16631 attr_name
=$attr; break
16633 rm -f core conftest.err conftest.
$ac_objext \
16634 conftest
$ac_exeext conftest.
$ac_ext
16636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $attr_name" >&5
16637 $as_echo "$attr_name" >&6; }
16638 if test "$attr_name" != PTHREAD_CREATE_JOINABLE
; then
16640 cat >>confdefs.h
<<_ACEOF
16641 #define PTHREAD_CREATE_JOINABLE $attr_name
16646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if more special flags are required for pthreads" >&5
16647 $as_echo_n "checking if more special flags are required for pthreads... " >&6; }
16649 case "${host_cpu}-${host_os}" in
16650 *-aix* |
*-freebsd* |
*-darwin*) flag
="-D_THREAD_SAFE";;
16651 *solaris
* |
*-osf* |
*-hpux*) flag
="-D_REENTRANT";;
16653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${flag}" >&5
16654 $as_echo "${flag}" >&6; }
16655 if test "x$flag" != xno
; then
16656 PTHREAD_CFLAGS
="$flag $PTHREAD_CFLAGS"
16660 CFLAGS
="$save_CFLAGS"
16662 # More AIX lossage: must compile with xlc_r or cc_r
16663 if test x
"$GCC" != xyes
; then
16664 for ac_prog
in xlc_r cc_r
16666 # Extract the first word of "$ac_prog", so it can be a program name with args.
16667 set dummy
$ac_prog; ac_word
=$2
16668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16669 $as_echo_n "checking for $ac_word... " >&6; }
16670 if ${ac_cv_prog_PTHREAD_CC+:} false
; then :
16671 $as_echo_n "(cached) " >&6
16673 if test -n "$PTHREAD_CC"; then
16674 ac_cv_prog_PTHREAD_CC
="$PTHREAD_CC" # Let the user override the test.
16676 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16677 for as_dir
in $PATH
16680 test -z "$as_dir" && as_dir
=.
16681 for ac_exec_ext
in '' $ac_executable_extensions; do
16682 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16683 ac_cv_prog_PTHREAD_CC
="$ac_prog"
16684 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16693 PTHREAD_CC
=$ac_cv_prog_PTHREAD_CC
16694 if test -n "$PTHREAD_CC"; then
16695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PTHREAD_CC" >&5
16696 $as_echo "$PTHREAD_CC" >&6; }
16698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16699 $as_echo "no" >&6; }
16703 test -n "$PTHREAD_CC" && break
16705 test -n "$PTHREAD_CC" || PTHREAD_CC
="${CC}"
16718 # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
16719 if test x
"$acx_pthread_ok" = xyes
; then
16721 $as_echo "#define HAVE_PTHREAD 1" >>confdefs.h
16729 ac_cpp
='$CPP $CPPFLAGS'
16730 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16731 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16732 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16736 if test "x$ac_cv_func_strtold" != "xyes" ; then
16737 CPPFLAGS
="$CPPFLAGS -Dstrtold=strtod"
16740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing cos" >&5
16741 $as_echo_n "checking for library containing cos... " >&6; }
16742 if ${ac_cv_search_cos+:} false
; then :
16743 $as_echo_n "(cached) " >&6
16745 ac_func_search_save_LIBS
=$LIBS
16746 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16747 /* end confdefs.h. */
16749 /* Override any GCC internal prototype to avoid an error.
16750 Use char because int might match the return type of a GCC
16751 builtin and then its argument prototype would still apply. */
16764 for ac_lib
in '' m
; do
16765 if test -z "$ac_lib"; then
16766 ac_res
="none required"
16769 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
16771 if ac_fn_c_try_link
"$LINENO"; then :
16772 ac_cv_search_cos
=$ac_res
16774 rm -f core conftest.err conftest.
$ac_objext \
16776 if ${ac_cv_search_cos+:} false
; then :
16780 if ${ac_cv_search_cos+:} false
; then :
16783 ac_cv_search_cos
=no
16785 rm conftest.
$ac_ext
16786 LIBS
=$ac_func_search_save_LIBS
16788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_cos" >&5
16789 $as_echo "$ac_cv_search_cos" >&6; }
16790 ac_res
=$ac_cv_search_cos
16791 if test "$ac_res" != no
; then :
16792 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
16796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
16797 $as_echo_n "checking for library containing socket... " >&6; }
16798 if ${ac_cv_search_socket+:} false
; then :
16799 $as_echo_n "(cached) " >&6
16801 ac_func_search_save_LIBS
=$LIBS
16802 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16803 /* end confdefs.h. */
16805 /* Override any GCC internal prototype to avoid an error.
16806 Use char because int might match the return type of a GCC
16807 builtin and then its argument prototype would still apply. */
16820 for ac_lib
in '' socket net
; do
16821 if test -z "$ac_lib"; then
16822 ac_res
="none required"
16825 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
16827 if ac_fn_c_try_link
"$LINENO"; then :
16828 ac_cv_search_socket
=$ac_res
16830 rm -f core conftest.err conftest.
$ac_objext \
16832 if ${ac_cv_search_socket+:} false
; then :
16836 if ${ac_cv_search_socket+:} false
; then :
16839 ac_cv_search_socket
=no
16841 rm conftest.
$ac_ext
16842 LIBS
=$ac_func_search_save_LIBS
16844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
16845 $as_echo "$ac_cv_search_socket" >&6; }
16846 ac_res
=$ac_cv_search_socket
16847 if test "$ac_res" != no
; then :
16848 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
16852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
16853 $as_echo_n "checking for library containing gethostbyname... " >&6; }
16854 if ${ac_cv_search_gethostbyname+:} false
; then :
16855 $as_echo_n "(cached) " >&6
16857 ac_func_search_save_LIBS
=$LIBS
16858 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16859 /* end confdefs.h. */
16861 /* Override any GCC internal prototype to avoid an error.
16862 Use char because int might match the return type of a GCC
16863 builtin and then its argument prototype would still apply. */
16867 char gethostbyname ();
16871 return gethostbyname ();
16876 for ac_lib
in '' nsl
bind; do
16877 if test -z "$ac_lib"; then
16878 ac_res
="none required"
16881 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
16883 if ac_fn_c_try_link
"$LINENO"; then :
16884 ac_cv_search_gethostbyname
=$ac_res
16886 rm -f core conftest.err conftest.
$ac_objext \
16888 if ${ac_cv_search_gethostbyname+:} false
; then :
16892 if ${ac_cv_search_gethostbyname+:} false
; then :
16895 ac_cv_search_gethostbyname
=no
16897 rm conftest.
$ac_ext
16898 LIBS
=$ac_func_search_save_LIBS
16900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
16901 $as_echo "$ac_cv_search_gethostbyname" >&6; }
16902 ac_res
=$ac_cv_search_gethostbyname
16903 if test "$ac_res" != no
; then :
16904 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
16910 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
16911 if test -n "$ac_tool_prefix"; then
16912 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
16913 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
16914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16915 $as_echo_n "checking for $ac_word... " >&6; }
16916 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
16917 $as_echo_n "(cached) " >&6
16919 case $PKG_CONFIG in
16921 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
16924 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16925 for as_dir
in $PATH
16928 test -z "$as_dir" && as_dir
=.
16929 for ac_exec_ext
in '' $ac_executable_extensions; do
16930 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16931 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
16932 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16942 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
16943 if test -n "$PKG_CONFIG"; then
16944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
16945 $as_echo "$PKG_CONFIG" >&6; }
16947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16948 $as_echo "no" >&6; }
16953 if test -z "$ac_cv_path_PKG_CONFIG"; then
16954 ac_pt_PKG_CONFIG
=$PKG_CONFIG
16955 # Extract the first word of "pkg-config", so it can be a program name with args.
16956 set dummy pkg-config
; ac_word
=$2
16957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16958 $as_echo_n "checking for $ac_word... " >&6; }
16959 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
16960 $as_echo_n "(cached) " >&6
16962 case $ac_pt_PKG_CONFIG in
16964 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
16967 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16968 for as_dir
in $PATH
16971 test -z "$as_dir" && as_dir
=.
16972 for ac_exec_ext
in '' $ac_executable_extensions; do
16973 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16974 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
16975 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16985 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
16986 if test -n "$ac_pt_PKG_CONFIG"; then
16987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
16988 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
16990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16991 $as_echo "no" >&6; }
16994 if test "x$ac_pt_PKG_CONFIG" = x
; then
16997 case $cross_compiling:$ac_tool_warned in
16999 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
17000 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
17001 ac_tool_warned
=yes ;;
17003 PKG_CONFIG
=$ac_pt_PKG_CONFIG
17006 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
17010 if test -n "$PKG_CONFIG"; then
17011 _pkg_min_version
=0.9.0
17012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
17013 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
17014 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
17015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17016 $as_echo "yes" >&6; }
17018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17019 $as_echo "no" >&6; }
17026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OPENSSL" >&5
17027 $as_echo_n "checking for OPENSSL... " >&6; }
17029 if test -n "$PKG_CONFIG"; then
17030 if test -n "$OPENSSL_CFLAGS"; then
17031 pkg_cv_OPENSSL_CFLAGS
="$OPENSSL_CFLAGS"
17033 if test -n "$PKG_CONFIG" && \
17034 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openssl >= \$OPENSSL_MINIMUM\""; } >&5
17035 ($PKG_CONFIG --exists --print-errors "openssl >= $OPENSSL_MINIMUM") 2>&5
17037 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17038 test $ac_status = 0; }; then
17039 pkg_cv_OPENSSL_CFLAGS
=`$PKG_CONFIG --cflags "openssl >= $OPENSSL_MINIMUM" 2>/dev/null`
17047 if test -n "$PKG_CONFIG"; then
17048 if test -n "$OPENSSL_LIBS"; then
17049 pkg_cv_OPENSSL_LIBS
="$OPENSSL_LIBS"
17051 if test -n "$PKG_CONFIG" && \
17052 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openssl >= \$OPENSSL_MINIMUM\""; } >&5
17053 ($PKG_CONFIG --exists --print-errors "openssl >= $OPENSSL_MINIMUM") 2>&5
17055 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17056 test $ac_status = 0; }; then
17057 pkg_cv_OPENSSL_LIBS
=`$PKG_CONFIG --libs "openssl >= $OPENSSL_MINIMUM" 2>/dev/null`
17068 if test $pkg_failed = yes; then
17070 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17071 _pkg_short_errors_supported
=yes
17073 _pkg_short_errors_supported
=no
17075 if test $_pkg_short_errors_supported = yes; then
17076 OPENSSL_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "openssl >= $OPENSSL_MINIMUM"`
17078 OPENSSL_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "openssl >= $OPENSSL_MINIMUM"`
17080 # Put the nasty error message in config.log where it belongs
17081 echo "$OPENSSL_PKG_ERRORS" >&5
17083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17084 $as_echo "no" >&6; }
17086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL" >&5
17087 $as_echo_n "checking for OpenSSL... " >&6; }
17089 for dir
in $with_ssl /usr
/local
/ssl
/usr
/lib
/ssl
/usr
/ssl
/usr
/pkg
/usr
/local /usr
; do
17091 if test -f "$dir/include/openssl/ssl.h"; then
17093 OPENSSL_CFLAGS
="-I$ssldir/include";
17096 if test -f "$dir/include/ssl.h"; then
17098 OPENSSL_CFLAGS
="-I$ssldir/include";
17102 if test x_
$found_ssl != x_yes
; then
17103 as_fn_error $?
"Cannot locate ssl" "$LINENO" 5
17105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ssldir" >&5
17106 $as_echo "$ssldir" >&6; }
17107 OPENSSL_LIBS
="-L$ssldir/lib -lssl -lcrypto";
17110 elif test $pkg_failed = untried
; then
17112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL" >&5
17113 $as_echo_n "checking for OpenSSL... " >&6; }
17115 for dir
in $with_ssl /usr
/local
/ssl
/usr
/lib
/ssl
/usr
/ssl
/usr
/pkg
/usr
/local /usr
; do
17117 if test -f "$dir/include/openssl/ssl.h"; then
17119 OPENSSL_CFLAGS
="-I$ssldir/include";
17122 if test -f "$dir/include/ssl.h"; then
17124 OPENSSL_CFLAGS
="-I$ssldir/include";
17128 if test x_
$found_ssl != x_yes
; then
17129 as_fn_error $?
"Cannot locate ssl" "$LINENO" 5
17131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ssldir" >&5
17132 $as_echo "$ssldir" >&6; }
17133 OPENSSL_LIBS
="-L$ssldir/lib -lssl -lcrypto";
17137 OPENSSL_CFLAGS
=$pkg_cv_OPENSSL_CFLAGS
17138 OPENSSL_LIBS
=$pkg_cv_OPENSSL_LIBS
17139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17140 $as_echo "yes" >&6; }
17145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBCURL" >&5
17146 $as_echo_n "checking for LIBCURL... " >&6; }
17148 if test -n "$PKG_CONFIG"; then
17149 if test -n "$LIBCURL_CFLAGS"; then
17150 pkg_cv_LIBCURL_CFLAGS
="$LIBCURL_CFLAGS"
17152 if test -n "$PKG_CONFIG" && \
17153 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl >= \$CURL_MINIMUM\""; } >&5
17154 ($PKG_CONFIG --exists --print-errors "libcurl >= $CURL_MINIMUM") 2>&5
17156 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17157 test $ac_status = 0; }; then
17158 pkg_cv_LIBCURL_CFLAGS
=`$PKG_CONFIG --cflags "libcurl >= $CURL_MINIMUM" 2>/dev/null`
17166 if test -n "$PKG_CONFIG"; then
17167 if test -n "$LIBCURL_LIBS"; then
17168 pkg_cv_LIBCURL_LIBS
="$LIBCURL_LIBS"
17170 if test -n "$PKG_CONFIG" && \
17171 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl >= \$CURL_MINIMUM\""; } >&5
17172 ($PKG_CONFIG --exists --print-errors "libcurl >= $CURL_MINIMUM") 2>&5
17174 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17175 test $ac_status = 0; }; then
17176 pkg_cv_LIBCURL_LIBS
=`$PKG_CONFIG --libs "libcurl >= $CURL_MINIMUM" 2>/dev/null`
17187 if test $pkg_failed = yes; then
17189 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17190 _pkg_short_errors_supported
=yes
17192 _pkg_short_errors_supported
=no
17194 if test $_pkg_short_errors_supported = yes; then
17195 LIBCURL_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libcurl >= $CURL_MINIMUM"`
17197 LIBCURL_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libcurl >= $CURL_MINIMUM"`
17199 # Put the nasty error message in config.log where it belongs
17200 echo "$LIBCURL_PKG_ERRORS" >&5
17202 as_fn_error $?
"Package requirements (libcurl >= $CURL_MINIMUM) were not met:
17204 $LIBCURL_PKG_ERRORS
17206 Consider adjusting the PKG_CONFIG_PATH environment variable if you
17207 installed software in a non-standard prefix.
17209 Alternatively, you may set the environment variables LIBCURL_CFLAGS
17210 and LIBCURL_LIBS to avoid the need to call pkg-config.
17211 See the pkg-config man page for more details.
17213 elif test $pkg_failed = untried
; then
17214 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17215 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17216 as_fn_error $?
"The pkg-config script could not be found or is too old. Make sure it
17217 is in your PATH or set the PKG_CONFIG environment variable to the full
17218 path to pkg-config.
17220 Alternatively, you may set the environment variables LIBCURL_CFLAGS
17221 and LIBCURL_LIBS to avoid the need to call pkg-config.
17222 See the pkg-config man page for more details.
17224 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
17225 See \`config.log' for more details" "$LINENO" 5; }
17227 LIBCURL_CFLAGS
=$pkg_cv_LIBCURL_CFLAGS
17228 LIBCURL_LIBS
=$pkg_cv_LIBCURL_LIBS
17229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17230 $as_echo "yes" >&6; }
17235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBEVENT" >&5
17236 $as_echo_n "checking for LIBEVENT... " >&6; }
17238 if test -n "$PKG_CONFIG"; then
17239 if test -n "$LIBEVENT_CFLAGS"; then
17240 pkg_cv_LIBEVENT_CFLAGS
="$LIBEVENT_CFLAGS"
17242 if test -n "$PKG_CONFIG" && \
17243 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libevent >= \$LIBEVENT_MINIMUM\""; } >&5
17244 ($PKG_CONFIG --exists --print-errors "libevent >= $LIBEVENT_MINIMUM") 2>&5
17246 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17247 test $ac_status = 0; }; then
17248 pkg_cv_LIBEVENT_CFLAGS
=`$PKG_CONFIG --cflags "libevent >= $LIBEVENT_MINIMUM" 2>/dev/null`
17256 if test -n "$PKG_CONFIG"; then
17257 if test -n "$LIBEVENT_LIBS"; then
17258 pkg_cv_LIBEVENT_LIBS
="$LIBEVENT_LIBS"
17260 if test -n "$PKG_CONFIG" && \
17261 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libevent >= \$LIBEVENT_MINIMUM\""; } >&5
17262 ($PKG_CONFIG --exists --print-errors "libevent >= $LIBEVENT_MINIMUM") 2>&5
17264 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17265 test $ac_status = 0; }; then
17266 pkg_cv_LIBEVENT_LIBS
=`$PKG_CONFIG --libs "libevent >= $LIBEVENT_MINIMUM" 2>/dev/null`
17277 if test $pkg_failed = yes; then
17279 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17280 _pkg_short_errors_supported
=yes
17282 _pkg_short_errors_supported
=no
17284 if test $_pkg_short_errors_supported = yes; then
17285 LIBEVENT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libevent >= $LIBEVENT_MINIMUM"`
17287 LIBEVENT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libevent >= $LIBEVENT_MINIMUM"`
17289 # Put the nasty error message in config.log where it belongs
17290 echo "$LIBEVENT_PKG_ERRORS" >&5
17292 as_fn_error $?
"Package requirements (libevent >= $LIBEVENT_MINIMUM) were not met:
17294 $LIBEVENT_PKG_ERRORS
17296 Consider adjusting the PKG_CONFIG_PATH environment variable if you
17297 installed software in a non-standard prefix.
17299 Alternatively, you may set the environment variables LIBEVENT_CFLAGS
17300 and LIBEVENT_LIBS to avoid the need to call pkg-config.
17301 See the pkg-config man page for more details.
17303 elif test $pkg_failed = untried
; then
17304 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17305 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17306 as_fn_error $?
"The pkg-config script could not be found or is too old. Make sure it
17307 is in your PATH or set the PKG_CONFIG environment variable to the full
17308 path to pkg-config.
17310 Alternatively, you may set the environment variables LIBEVENT_CFLAGS
17311 and LIBEVENT_LIBS to avoid the need to call pkg-config.
17312 See the pkg-config man page for more details.
17314 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
17315 See \`config.log' for more details" "$LINENO" 5; }
17317 LIBEVENT_CFLAGS
=$pkg_cv_LIBEVENT_CFLAGS
17318 LIBEVENT_LIBS
=$pkg_cv_LIBEVENT_LIBS
17319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17320 $as_echo "yes" >&6; }
17325 # Check whether --with-zlib was given.
17326 if test "${with_zlib+set}" = set; then :
17327 withval
=$with_zlib; for dir
in `echo "$withval" | tr : ' '`; do
17328 if test -d $dir/include
; then
17329 ZLIB_CFLAGS
="$ZLIB_CFLAGS -I$dir/include"
17331 if test -d $dir/lib
; then
17332 ZLIB_LDFLAGS
="$ZLIB_LDFLAGS -L$dir/lib"
17339 # Check whether --with-zlib-includes was given.
17340 if test "${with_zlib_includes+set}" = set; then :
17341 withval
=$with_zlib_includes; for dir
in `echo "$withval" | tr : ' '`; do
17342 if test -d $dir; then
17343 ZLIB_CFLAGS
="$ZLIB_CFLAGS -I$dir"
17349 ac_zlib_saved_CFLAGS
="$CFLAGS"
17350 ac_zlib_saved_LDFLAGS
="$LDFLAGS"
17351 ac_zlib_saved_LIBS
="$LIBS"
17352 CFLAGS
="$CFLAGS $ZLIB_CFLAGS"
17353 LDFLAGS
="$LDFLAGS $ZLIB_LDFLAGS"
17356 touch /tmp
/dummy1_zlib.h
17357 for ac_header
in /tmp
/dummy1_zlib.h
17359 ac_fn_c_check_header_compile
"$LINENO" "/tmp/dummy1_zlib.h" "ac_cv_header__tmp_dummy1_zlib_h" "#include \"zlib.h\"
17361 if test "x$ac_cv_header__tmp_dummy1_zlib_h" = xyes
; then :
17362 cat >>confdefs.h
<<_ACEOF
17363 #define HAVE__TMP_DUMMY1_ZLIB_H 1
17372 rm /tmp
/dummy1_zlib.h
17373 if test $ac_have_zlibh = yes; then
17374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gzopen" >&5
17375 $as_echo_n "checking for library containing gzopen... " >&6; }
17376 if ${ac_cv_search_gzopen+:} false
; then :
17377 $as_echo_n "(cached) " >&6
17379 ac_func_search_save_LIBS
=$LIBS
17380 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17381 /* end confdefs.h. */
17383 /* Override any GCC internal prototype to avoid an error.
17384 Use char because int might match the return type of a GCC
17385 builtin and then its argument prototype would still apply. */
17398 for ac_lib
in '' z
; do
17399 if test -z "$ac_lib"; then
17400 ac_res
="none required"
17403 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
17405 if ac_fn_c_try_link
"$LINENO"; then :
17406 ac_cv_search_gzopen
=$ac_res
17408 rm -f core conftest.err conftest.
$ac_objext \
17410 if ${ac_cv_search_gzopen+:} false
; then :
17414 if ${ac_cv_search_gzopen+:} false
; then :
17417 ac_cv_search_gzopen
=no
17419 rm conftest.
$ac_ext
17420 LIBS
=$ac_func_search_save_LIBS
17422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gzopen" >&5
17423 $as_echo "$ac_cv_search_gzopen" >&6; }
17424 ac_res
=$ac_cv_search_gzopen
17425 if test "$ac_res" != no
; then :
17426 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
17433 # List of places to try
17434 testdirs
="$HOME/opt/zlib $OBITINSTALL/other"
17435 for dir
in $testdirs; do
17436 if test $ac_have_zlib = no
; then
17437 if test -f $dir/include
/zlib.h
; then
17438 ZLIB_CFLAGS
="-I$dir/include"
17439 CPPFLAGS
="$ac_zlib_saved_CPPFLAGS $ZLIB_CFLAGS"
17440 ZLIB_LDFLAGS
="-L$dir/lib"
17441 LDFLAGS
="$ac_zlib_saved_LDFLAGS $ZLIB_LDFLAGS"
17442 touch /tmp
/dummy3_zlib.h
17443 for ac_header
in /tmp
/dummy3_zlib.h
17445 ac_fn_c_check_header_compile
"$LINENO" "/tmp/dummy3_zlib.h" "ac_cv_header__tmp_dummy3_zlib_h" "#include \"zlib.h\"
17447 if test "x$ac_cv_header__tmp_dummy3_zlib_h" = xyes
; then :
17448 cat >>confdefs.h
<<_ACEOF
17449 #define HAVE__TMP_DUMMY3_ZLIB_H 1
17458 rm /tmp
/dummy3_zlib.h
17459 if test $ac_have_zlibh = yes; then
17461 ac_cv_search_gzopen
=" "
17462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gzopen" >&5
17463 $as_echo_n "checking for library containing gzopen... " >&6; }
17464 if ${ac_cv_search_gzopen+:} false
; then :
17465 $as_echo_n "(cached) " >&6
17467 ac_func_search_save_LIBS
=$LIBS
17468 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17469 /* end confdefs.h. */
17471 /* Override any GCC internal prototype to avoid an error.
17472 Use char because int might match the return type of a GCC
17473 builtin and then its argument prototype would still apply. */
17486 for ac_lib
in '' z
; do
17487 if test -z "$ac_lib"; then
17488 ac_res
="none required"
17491 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
17493 if ac_fn_c_try_link
"$LINENO"; then :
17494 ac_cv_search_gzopen
=$ac_res
17496 rm -f core conftest.err conftest.
$ac_objext \
17498 if ${ac_cv_search_gzopen+:} false
; then :
17502 if ${ac_cv_search_gzopen+:} false
; then :
17505 ac_cv_search_gzopen
=no
17507 rm conftest.
$ac_ext
17508 LIBS
=$ac_func_search_save_LIBS
17510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gzopen" >&5
17511 $as_echo "$ac_cv_search_gzopen" >&6; }
17512 ac_res
=$ac_cv_search_gzopen
17513 if test "$ac_res" != no
; then :
17514 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
17521 if test $ac_have_zlib = yes ; then
17522 if test $ac_have_zlibh = yes ; then
17529 if test $ac_have_zlib = no
; then
17530 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot find ZLIB library" >&5
17531 $as_echo "$as_me: WARNING: cannot find ZLIB library" >&2;}
17533 if test $ac_have_zlibh = no
; then
17534 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot find ZLIB headers" >&5
17535 $as_echo "$as_me: WARNING: cannot find ZLIB headers" >&2;}
17538 if test $ac_have_zlib = yes; then
17540 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
17544 CFLAGS
="$ac_zlib_saved_CFLAGS"
17545 LDFLAGS
="$ac_zlib_saved_LDFLAGS"
17546 LIBS
="$ac_zlib_saved_LIBS"
17552 # Check whether --enable-largefile was given.
17553 if test "${enable_largefile+set}" = set; then :
17554 enableval
=$enable_largefile;
17557 if test "$enable_largefile" != no
; then
17559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
17560 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
17561 if ${ac_cv_sys_largefile_CC+:} false
; then :
17562 $as_echo_n "(cached) " >&6
17564 ac_cv_sys_largefile_CC
=no
17565 if test "$GCC" != yes; then
17568 # IRIX 6.2 and later do not support large files by default,
17569 # so use the C compiler's -n32 option if that helps.
17570 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17571 /* end confdefs.h. */
17572 #include <sys/types.h>
17573 /* Check that off_t can represent 2**63 - 1 correctly.
17574 We can't simply define LARGE_OFF_T to be 9223372036854775807,
17575 since some C++ compilers masquerading as C compilers
17576 incorrectly reject 9223372036854775807. */
17577 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
17578 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
17579 && LARGE_OFF_T % 2147483647 == 1)
17589 if ac_fn_c_try_compile
"$LINENO"; then :
17592 rm -f core conftest.err conftest.
$ac_objext
17594 if ac_fn_c_try_compile
"$LINENO"; then :
17595 ac_cv_sys_largefile_CC
=' -n32'; break
17597 rm -f core conftest.err conftest.
$ac_objext
17601 rm -f conftest.
$ac_ext
17604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
17605 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
17606 if test "$ac_cv_sys_largefile_CC" != no
; then
17607 CC
=$CC$ac_cv_sys_largefile_CC
17610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
17611 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
17612 if ${ac_cv_sys_file_offset_bits+:} false
; then :
17613 $as_echo_n "(cached) " >&6
17616 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17617 /* end confdefs.h. */
17618 #include <sys/types.h>
17619 /* Check that off_t can represent 2**63 - 1 correctly.
17620 We can't simply define LARGE_OFF_T to be 9223372036854775807,
17621 since some C++ compilers masquerading as C compilers
17622 incorrectly reject 9223372036854775807. */
17623 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
17624 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
17625 && LARGE_OFF_T % 2147483647 == 1)
17635 if ac_fn_c_try_compile
"$LINENO"; then :
17636 ac_cv_sys_file_offset_bits
=no
; break
17638 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17639 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17640 /* end confdefs.h. */
17641 #define _FILE_OFFSET_BITS 64
17642 #include <sys/types.h>
17643 /* Check that off_t can represent 2**63 - 1 correctly.
17644 We can't simply define LARGE_OFF_T to be 9223372036854775807,
17645 since some C++ compilers masquerading as C compilers
17646 incorrectly reject 9223372036854775807. */
17647 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
17648 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
17649 && LARGE_OFF_T % 2147483647 == 1)
17659 if ac_fn_c_try_compile
"$LINENO"; then :
17660 ac_cv_sys_file_offset_bits
=64; break
17662 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17663 ac_cv_sys_file_offset_bits
=unknown
17667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
17668 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
17669 case $ac_cv_sys_file_offset_bits in #(
17672 cat >>confdefs.h
<<_ACEOF
17673 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
17678 if test $ac_cv_sys_file_offset_bits = unknown
; then
17679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
17680 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
17681 if ${ac_cv_sys_large_files+:} false
; then :
17682 $as_echo_n "(cached) " >&6
17685 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17686 /* end confdefs.h. */
17687 #include <sys/types.h>
17688 /* Check that off_t can represent 2**63 - 1 correctly.
17689 We can't simply define LARGE_OFF_T to be 9223372036854775807,
17690 since some C++ compilers masquerading as C compilers
17691 incorrectly reject 9223372036854775807. */
17692 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
17693 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
17694 && LARGE_OFF_T % 2147483647 == 1)
17704 if ac_fn_c_try_compile
"$LINENO"; then :
17705 ac_cv_sys_large_files
=no
; break
17707 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17708 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17709 /* end confdefs.h. */
17710 #define _LARGE_FILES 1
17711 #include <sys/types.h>
17712 /* Check that off_t can represent 2**63 - 1 correctly.
17713 We can't simply define LARGE_OFF_T to be 9223372036854775807,
17714 since some C++ compilers masquerading as C compilers
17715 incorrectly reject 9223372036854775807. */
17716 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
17717 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
17718 && LARGE_OFF_T % 2147483647 == 1)
17728 if ac_fn_c_try_compile
"$LINENO"; then :
17729 ac_cv_sys_large_files
=1; break
17731 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17732 ac_cv_sys_large_files
=unknown
17736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
17737 $as_echo "$ac_cv_sys_large_files" >&6; }
17738 case $ac_cv_sys_large_files in #(
17741 cat >>confdefs.h
<<_ACEOF
17742 #define _LARGE_FILES $ac_cv_sys_large_files
17750 for ac_func
in lseek64
17752 ac_fn_c_check_func
"$LINENO" "lseek64" "ac_cv_func_lseek64"
17753 if test "x$ac_cv_func_lseek64" = xyes
; then :
17754 cat >>confdefs.h
<<_ACEOF
17755 #define HAVE_LSEEK64 1
17764 ac_fn_c_check_decl
"$LINENO" "posix_fadvise" "ac_cv_have_decl_posix_fadvise" "
17765 #define _XOPEN_SOURCE 600
17768 if test "x$ac_cv_have_decl_posix_fadvise" = xyes
; then :
17774 cat >>confdefs.h
<<_ACEOF
17775 #define HAVE_DECL_POSIX_FADVISE $ac_have_decl
17778 for ac_func
in posix_fadvise
17780 ac_fn_c_check_func
"$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise"
17781 if test "x$ac_cv_func_posix_fadvise" = xyes
; then :
17782 cat >>confdefs.h
<<_ACEOF
17783 #define HAVE_POSIX_FADVISE 1
17792 ac_fn_c_check_header_mongrel
"$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
17793 if test "x$ac_cv_header_sys_inotify_h" = xyes
; then :
17794 ac_fn_c_check_func
"$LINENO" "inotify_init" "ac_cv_func_inotify_init"
17795 if test "x$ac_cv_func_inotify_init" = xyes
; then :
17807 # Check whether --with-inotify was given.
17808 if test "${with_inotify+set}" = set; then :
17809 withval
=$with_inotify; want_inotify
=${withval}
17811 want_inotify
=${have_inotify}
17814 if test "x$want_inotify" = "xyes" ; then
17815 if test "x$have_inotify" = "xyes"; then
17816 $as_echo "#define WITH_INOTIFY 1" >>confdefs.h
17819 as_fn_error $?
"\"inotify not found!\"" "$LINENO" 5
17823 ac_fn_c_check_header_mongrel
"$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default"
17824 if test "x$ac_cv_header_sys_event_h" = xyes
; then :
17825 ac_fn_c_check_func
"$LINENO" "kqueue" "ac_cv_func_kqueue"
17826 if test "x$ac_cv_func_kqueue" = xyes
; then :
17838 # Check whether --with-kqueue was given.
17839 if test "${with_kqueue+set}" = set; then :
17840 withval
=$with_kqueue; want_kqueue
=${withval}
17842 want_kqueue
=${have_kqueue}
17845 if test "x$want_kqueue" = "xyes" ; then
17846 if test "x$have_kqueue" = "xyes"; then
17847 $as_echo "#define WITH_KQUEUE 1" >>confdefs.h
17850 as_fn_error $?
"\"kqueue not found!\"" "$LINENO" 5
17854 for ac_header
in sys
/statvfs.h \
17857 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
17858 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
17859 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
17860 cat >>confdefs.h
<<_ACEOF
17861 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to copy va_list" >&5
17872 $as_echo_n "checking how to copy va_list... " >&6; }
17873 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17874 /* end confdefs.h. */
17875 #include <stdarg.h>
17879 va_list ap1, ap2; va_copy(ap1, ap2);
17884 if ac_fn_c_try_link
"$LINENO"; then :
17885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: va_copy" >&5
17886 $as_echo "va_copy" >&6; }
17889 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17890 /* end confdefs.h. */
17891 #include <stdarg.h>
17895 va_list ap1, ap2; __va_copy(ap1, ap2);
17900 if ac_fn_c_try_link
"$LINENO"; then :
17901 $as_echo "#define va_copy __va_copy" >>confdefs.h
17903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: __va_copy" >&5
17904 $as_echo "__va_copy" >&6; }
17906 $as_echo "#define va_copy(dest,src) memcpy(&dest,&src,sizeof(va_list))" >>confdefs.h
17908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: memcpy" >&5
17909 $as_echo "memcpy" >&6; }
17912 rm -f core conftest.err conftest.
$ac_objext \
17913 conftest
$ac_exeext conftest.
$ac_ext
17916 rm -f core conftest.err conftest.
$ac_objext \
17917 conftest
$ac_exeext conftest.
$ac_ext
17921 DHT_CFLAGS
="-I\$(top_srcdir)/third-party/dht"
17922 DHT_LIBS
="\$(top_builddir)/third-party/dht/libdht.a"
17928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
17929 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
17930 if ${ac_cv_lib_rt_clock_gettime+:} false
; then :
17931 $as_echo_n "(cached) " >&6
17933 ac_check_lib_save_LIBS
=$LIBS
17935 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17936 /* end confdefs.h. */
17938 /* Override any GCC internal prototype to avoid an error.
17939 Use char because int might match the return type of a GCC
17940 builtin and then its argument prototype would still apply. */
17944 char clock_gettime ();
17948 return clock_gettime ();
17953 if ac_fn_c_try_link
"$LINENO"; then :
17954 ac_cv_lib_rt_clock_gettime
=yes
17956 ac_cv_lib_rt_clock_gettime
=no
17958 rm -f core conftest.err conftest.
$ac_objext \
17959 conftest
$ac_exeext conftest.
$ac_ext
17960 LIBS
=$ac_check_lib_save_LIBS
17962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
17963 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
17964 if test "x$ac_cv_lib_rt_clock_gettime" = xyes
; then :
17965 libutp_extra_libs
="-lrt"
17967 libutp_extra_libs
=""
17971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking µTP" >&5
17972 $as_echo_n "checking µTP... " >&6; }
17974 if test "x$HAVE_CXX" = "xyes" ; then
17979 # Check whether --enable-utp was given.
17980 if test "${enable_utp+set}" = set; then :
17981 enableval
=$enable_utp; want_utp
=${enableval}
17983 want_utp
=${have_utp}
17986 if test "x$want_utp" = "xyes" ; then
17987 if test "x$have_utp" = "xyes"; then
17988 LIBUTP_CFLAGS
="-I\$(top_srcdir)/third-party/"
17989 LIBUTP_LIBS
="\$(top_builddir)/third-party/libutp/libutp.a"
17990 LIBUTP_LIBS_QT
="\$\${TRANSMISSION_TOP}/third-party/libutp/libutp.a"
17991 if test "x$libutp_extra_libs" != "x" ; then
17992 LIBUTP_LIBS
="$LIBUTP_LIBS $libutp_extra_libs"
17993 LIBUTP_LIBS_QT
="$LIBUTP_LIBS_QT $libutp_extra_libs"
17995 $as_echo "#define WITH_UTP 1" >>confdefs.h
17999 as_fn_error $?
"\"Unable to build uTP support -- C++ compiler not found\"" "$LINENO" 5
18005 if test "x$build_utp" = "xyes"; then
18007 BUILD_UTP_FALSE
='#'
18013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_utp" >&5
18014 $as_echo "$build_utp" >&6; }
18018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking supported miniupnp library" >&5
18019 $as_echo_n "checking supported miniupnp library... " >&6; }
18020 upnp_version
="none"
18021 ac_save_LIBS
="$LIBS"
18023 # See if the OS has its miniupnp 1.5 installed
18024 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18025 /* end confdefs.h. */
18027 #include <stdlib.h>
18028 #include <miniupnpc/miniupnpc.h>
18029 #include <miniupnpc/upnpcommands.h>
18035 struct UPNPDev * devlist;
18036 struct UPNPUrls urls;
18037 struct IGDdatas data;
18041 char intClient[16];
18042 upnpDiscover( 2000, NULL, NULL, 0 );
18043 UPNP_GetValidIGD( devlist, &urls, &data, lanaddr, sizeof( lanaddr ) );
18044 UPNP_GetSpecificPortMappingEntry( urls.controlURL, data.first.servicetype,
18045 portStr, "TCP", intClient, intPort );
18051 if ac_fn_c_try_link
"$LINENO"; then :
18054 $as_echo "#define HAVE_MINIUPNP_15 1" >>confdefs.h
18058 rm -f core conftest.err conftest.
$ac_objext \
18059 conftest
$ac_exeext conftest.
$ac_ext
18061 # See if the OS has its miniupnp 1.6 installed
18062 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18063 /* end confdefs.h. */
18065 #include <stdlib.h>
18067 #include <miniupnpc/miniupnpc.h>
18068 #include <miniupnpc/upnpcommands.h>
18074 struct UPNPDev * devlist;
18075 struct UPNPUrls urls;
18076 struct IGDdatas data;
18080 char intClient[16];
18081 upnpDiscover( 2000, NULL, NULL, 0, 0, &errno );
18082 UPNP_GetValidIGD( devlist, &urls, &data, lanaddr, sizeof( lanaddr ) );
18083 UPNP_GetSpecificPortMappingEntry( urls.controlURL, data.first.servicetype,
18084 portStr, "TCP", intClient, intPort, NULL, NULL, NULL );
18090 if ac_fn_c_try_link
"$LINENO"; then :
18093 $as_echo "#define HAVE_MINIUPNP_16 1" >>confdefs.h
18097 rm -f core conftest.err conftest.
$ac_objext \
18098 conftest
$ac_exeext conftest.
$ac_ext
18100 # ... and the results of our tests
18101 LIBS
="$ac_save_LIBS"
18102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $upnp_version" >&5
18103 $as_echo "$upnp_version" >&6; }
18104 if test "x$upnp_version" = "xnone"; then
18105 BUILD_MINIUPNP_TRUE
=
18106 BUILD_MINIUPNP_FALSE
='#'
18108 BUILD_MINIUPNP_TRUE
='#'
18109 BUILD_MINIUPNP_FALSE
=
18112 if test "x$upnp_version" = "xnone" ; then
18113 LIBUPNP_CFLAGS
="-I\$(top_srcdir)/third-party/"
18114 LIBUPNP_LIBS
="\$(top_builddir)/third-party/miniupnp/libminiupnp.a"
18115 LIBUPNP_LIBS_QT
="\$\${TRANSMISSION_TOP}/third-party/miniupnp/libminiupnp.a"
18117 $as_echo "#define HAVE_MINIUPNP_16 1" >>confdefs.h
18120 $as_echo "#define SYSTEM_MINIUPNP 1" >>confdefs.h
18123 LIBUPNP_LIBS
="-lminiupnpc"
18124 LIBUPNP_LIBS_QT
="-lminiupnpc"
18134 LIBNATPMP_CFLAGS
="-I\$(top_srcdir)/third-party/libnatpmp/"
18135 LIBNATPMP_LIBS
="\$(top_builddir)/third-party/libnatpmp/libnatpmp.a"
18136 LIBNATPMP_LIBS_QT
="\$\${TRANSMISSION_TOP}/third-party/libnatpmp/libnatpmp.a"
18137 build_bundled_natpmp
="yes"
18138 # Check whether --enable-external-natpmp was given.
18139 if test "${enable_external_natpmp+set}" = set; then :
18140 enableval
=$enable_external_natpmp; want_external_natpmp
=${enableval}
18142 want_external_natpmp
=no
18145 if test "x$want_external_natpmp" != "xno" ; then
18146 LIBNATPMP_CFLAGS
=""
18147 LIBNATPMP_LIBS
="-lnatpmp"
18148 LIBNATPMP_LIBS_QT
="-lnatpmp"
18149 build_bundled_natpmp
="no"
18151 if test "x$build_bundled_natpmp" = "xyes"; then
18153 BUILD_NATPMP_FALSE
='#'
18155 BUILD_NATPMP_TRUE
='#'
18156 BUILD_NATPMP_FALSE
=
18167 with_gtk_default
="no"
18168 if test -n "$PKG_CONFIG" && \
18169 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= \$GTK2_MINIMUM\""; } >&5
18170 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= $GTK2_MINIMUM") 2>&5
18172 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18173 test $ac_status = 0; }; then
18174 gtk_version
="2" with_gtk_default
="yes"
18176 if test -n "$PKG_CONFIG" && \
18177 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 >= \$GTK3_MINIMUM\""; } >&5
18178 ($PKG_CONFIG --exists --print-errors "gtk+-3.0 >= $GTK3_MINIMUM") 2>&5
18180 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18181 test $ac_status = 0; }; then
18182 gtk_version
="3" with_gtk_default
="yes"
18185 # Check whether --with-gtk was given.
18186 if test "${with_gtk+set}" = set; then :
18187 withval
=$with_gtk; with_gtk
=$withval
18189 with_gtk
=$with_gtk_default
18192 if test "x$with_gtk" = "x2" ; then
18193 if test -n "$PKG_CONFIG" && \
18194 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= \$GTK2_MINIMUM\""; } >&5
18195 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= $GTK2_MINIMUM") 2>&5
18197 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18198 test $ac_status = 0; }; then
18199 gtk_version
="2" with_gtk
="yes"
18201 gtk_version
="none" with_gtk
="no"
18204 if test "x$with_gtk" = "x3" ; then
18205 if test -n "$PKG_CONFIG" && \
18206 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 >= \$GTK3_MINIMUM\""; } >&5
18207 ($PKG_CONFIG --exists --print-errors "gtk+-3.0 >= $GTK3_MINIMUM") 2>&5
18209 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18210 test $ac_status = 0; }; then
18211 gtk_version
="3" with_gtk
="yes"
18213 gtk_version
="none" with_gtk
="no"
18216 # Check whether --enable-nls was given.
18217 if test "${enable_nls+set}" = set; then :
18218 enableval
=$enable_nls;
18223 if test "x$with_gtk" = "xyes"; then
18225 BUILD_GTK_FALSE
='#'
18231 use_libappindicator
=no
18232 if test "x$with_gtk" = "xyes" ; then
18234 if test "x$gtk_version" = "xnone" ; then
18235 as_fn_error $?
"\"GTK+ not found!\"" "$LINENO" 5
18237 if test "x$enable_nls" = "xno" ; then
18238 as_fn_error $?
"\"The gtk client cannot be built without nls support. Try adding either --enable-nls or --without-gtk\" " "$LINENO" 5
18241 if test "x$gtk_version" = "x3"; then
18245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
18246 $as_echo_n "checking for GTK... " >&6; }
18248 if test -n "$PKG_CONFIG"; then
18249 if test -n "$GTK_CFLAGS"; then
18250 pkg_cv_GTK_CFLAGS
="$GTK_CFLAGS"
18252 if test -n "$PKG_CONFIG" && \
18253 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 >= \$GTK3_MINIMUM
18254 glib-2.0 >= \$GLIB_MINIMUM
18255 gio-2.0 >= \$GIO_MINIMUM,
18256 gmodule-2.0 >= \$GLIB_MINIMUM
18257 gthread-2.0 >= \$GLIB_MINIMUM\""; } >&5
18258 ($PKG_CONFIG --exists --print-errors "gtk+-3.0 >= $GTK3_MINIMUM
18259 glib-2.0 >= $GLIB_MINIMUM
18260 gio-2.0 >= $GIO_MINIMUM,
18261 gmodule-2.0 >= $GLIB_MINIMUM
18262 gthread-2.0 >= $GLIB_MINIMUM") 2>&5
18264 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18265 test $ac_status = 0; }; then
18266 pkg_cv_GTK_CFLAGS
=`$PKG_CONFIG --cflags "gtk+-3.0 >= $GTK3_MINIMUM
18267 glib-2.0 >= $GLIB_MINIMUM
18268 gio-2.0 >= $GIO_MINIMUM,
18269 gmodule-2.0 >= $GLIB_MINIMUM
18270 gthread-2.0 >= $GLIB_MINIMUM" 2>/dev/null`
18278 if test -n "$PKG_CONFIG"; then
18279 if test -n "$GTK_LIBS"; then
18280 pkg_cv_GTK_LIBS
="$GTK_LIBS"
18282 if test -n "$PKG_CONFIG" && \
18283 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 >= \$GTK3_MINIMUM
18284 glib-2.0 >= \$GLIB_MINIMUM
18285 gio-2.0 >= \$GIO_MINIMUM,
18286 gmodule-2.0 >= \$GLIB_MINIMUM
18287 gthread-2.0 >= \$GLIB_MINIMUM\""; } >&5
18288 ($PKG_CONFIG --exists --print-errors "gtk+-3.0 >= $GTK3_MINIMUM
18289 glib-2.0 >= $GLIB_MINIMUM
18290 gio-2.0 >= $GIO_MINIMUM,
18291 gmodule-2.0 >= $GLIB_MINIMUM
18292 gthread-2.0 >= $GLIB_MINIMUM") 2>&5
18294 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18295 test $ac_status = 0; }; then
18296 pkg_cv_GTK_LIBS
=`$PKG_CONFIG --libs "gtk+-3.0 >= $GTK3_MINIMUM
18297 glib-2.0 >= $GLIB_MINIMUM
18298 gio-2.0 >= $GIO_MINIMUM,
18299 gmodule-2.0 >= $GLIB_MINIMUM
18300 gthread-2.0 >= $GLIB_MINIMUM" 2>/dev/null`
18311 if test $pkg_failed = yes; then
18313 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18314 _pkg_short_errors_supported
=yes
18316 _pkg_short_errors_supported
=no
18318 if test $_pkg_short_errors_supported = yes; then
18319 GTK_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-3.0 >= $GTK3_MINIMUM
18320 glib-2.0 >= $GLIB_MINIMUM
18321 gio-2.0 >= $GIO_MINIMUM,
18322 gmodule-2.0 >= $GLIB_MINIMUM
18323 gthread-2.0 >= $GLIB_MINIMUM"`
18325 GTK_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-3.0 >= $GTK3_MINIMUM
18326 glib-2.0 >= $GLIB_MINIMUM
18327 gio-2.0 >= $GIO_MINIMUM,
18328 gmodule-2.0 >= $GLIB_MINIMUM
18329 gthread-2.0 >= $GLIB_MINIMUM"`
18331 # Put the nasty error message in config.log where it belongs
18332 echo "$GTK_PKG_ERRORS" >&5
18334 as_fn_error $?
"Package requirements (gtk+-3.0 >= $GTK3_MINIMUM
18335 glib-2.0 >= $GLIB_MINIMUM
18336 gio-2.0 >= $GIO_MINIMUM,
18337 gmodule-2.0 >= $GLIB_MINIMUM
18338 gthread-2.0 >= $GLIB_MINIMUM) were not met:
18342 Consider adjusting the PKG_CONFIG_PATH environment variable if you
18343 installed software in a non-standard prefix.
18345 Alternatively, you may set the environment variables GTK_CFLAGS
18346 and GTK_LIBS to avoid the need to call pkg-config.
18347 See the pkg-config man page for more details.
18349 elif test $pkg_failed = untried
; then
18350 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18351 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18352 as_fn_error $?
"The pkg-config script could not be found or is too old. Make sure it
18353 is in your PATH or set the PKG_CONFIG environment variable to the full
18354 path to pkg-config.
18356 Alternatively, you may set the environment variables GTK_CFLAGS
18357 and GTK_LIBS to avoid the need to call pkg-config.
18358 See the pkg-config man page for more details.
18360 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
18361 See \`config.log' for more details" "$LINENO" 5; }
18363 GTK_CFLAGS
=$pkg_cv_GTK_CFLAGS
18364 GTK_LIBS
=$pkg_cv_GTK_LIBS
18365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18366 $as_echo "yes" >&6; }
18371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBAPPINDICATOR" >&5
18372 $as_echo_n "checking for LIBAPPINDICATOR... " >&6; }
18374 if test -n "$PKG_CONFIG"; then
18375 if test -n "$LIBAPPINDICATOR_CFLAGS"; then
18376 pkg_cv_LIBAPPINDICATOR_CFLAGS
="$LIBAPPINDICATOR_CFLAGS"
18378 if test -n "$PKG_CONFIG" && \
18379 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"appindicator3-0.1 >= \$LIBAPPINDICATOR_MINIMUM\""; } >&5
18380 ($PKG_CONFIG --exists --print-errors "appindicator3-0.1 >= $LIBAPPINDICATOR_MINIMUM") 2>&5
18382 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18383 test $ac_status = 0; }; then
18384 pkg_cv_LIBAPPINDICATOR_CFLAGS
=`$PKG_CONFIG --cflags "appindicator3-0.1 >= $LIBAPPINDICATOR_MINIMUM" 2>/dev/null`
18392 if test -n "$PKG_CONFIG"; then
18393 if test -n "$LIBAPPINDICATOR_LIBS"; then
18394 pkg_cv_LIBAPPINDICATOR_LIBS
="$LIBAPPINDICATOR_LIBS"
18396 if test -n "$PKG_CONFIG" && \
18397 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"appindicator3-0.1 >= \$LIBAPPINDICATOR_MINIMUM\""; } >&5
18398 ($PKG_CONFIG --exists --print-errors "appindicator3-0.1 >= $LIBAPPINDICATOR_MINIMUM") 2>&5
18400 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18401 test $ac_status = 0; }; then
18402 pkg_cv_LIBAPPINDICATOR_LIBS
=`$PKG_CONFIG --libs "appindicator3-0.1 >= $LIBAPPINDICATOR_MINIMUM" 2>/dev/null`
18413 if test $pkg_failed = yes; then
18415 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18416 _pkg_short_errors_supported
=yes
18418 _pkg_short_errors_supported
=no
18420 if test $_pkg_short_errors_supported = yes; then
18421 LIBAPPINDICATOR_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "appindicator3-0.1 >= $LIBAPPINDICATOR_MINIMUM"`
18423 LIBAPPINDICATOR_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "appindicator3-0.1 >= $LIBAPPINDICATOR_MINIMUM"`
18425 # Put the nasty error message in config.log where it belongs
18426 echo "$LIBAPPINDICATOR_PKG_ERRORS" >&5
18428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18429 $as_echo "no" >&6; }
18430 have_libappindicator
=no
18431 elif test $pkg_failed = untried
; then
18432 have_libappindicator
=no
18434 LIBAPPINDICATOR_CFLAGS
=$pkg_cv_LIBAPPINDICATOR_CFLAGS
18435 LIBAPPINDICATOR_LIBS
=$pkg_cv_LIBAPPINDICATOR_LIBS
18436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18437 $as_echo "yes" >&6; }
18438 have_libappindicator
=yes
18440 { $as_echo "$as_me:${as_lineno-$LINENO}: using GTK+ 3" >&5
18441 $as_echo "$as_me: using GTK+ 3" >&6;}
18446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
18447 $as_echo_n "checking for GTK... " >&6; }
18449 if test -n "$PKG_CONFIG"; then
18450 if test -n "$GTK_CFLAGS"; then
18451 pkg_cv_GTK_CFLAGS
="$GTK_CFLAGS"
18453 if test -n "$PKG_CONFIG" && \
18454 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= \$GTK2_MINIMUM
18455 glib-2.0 >= \$GLIB_MINIMUM
18456 gio-2.0 >= \$GIO_MINIMUM,
18457 gmodule-2.0 >= \$GLIB_MINIMUM
18458 gthread-2.0 >= \$GLIB_MINIMUM\""; } >&5
18459 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= $GTK2_MINIMUM
18460 glib-2.0 >= $GLIB_MINIMUM
18461 gio-2.0 >= $GIO_MINIMUM,
18462 gmodule-2.0 >= $GLIB_MINIMUM
18463 gthread-2.0 >= $GLIB_MINIMUM") 2>&5
18465 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18466 test $ac_status = 0; }; then
18467 pkg_cv_GTK_CFLAGS
=`$PKG_CONFIG --cflags "gtk+-2.0 >= $GTK2_MINIMUM
18468 glib-2.0 >= $GLIB_MINIMUM
18469 gio-2.0 >= $GIO_MINIMUM,
18470 gmodule-2.0 >= $GLIB_MINIMUM
18471 gthread-2.0 >= $GLIB_MINIMUM" 2>/dev/null`
18479 if test -n "$PKG_CONFIG"; then
18480 if test -n "$GTK_LIBS"; then
18481 pkg_cv_GTK_LIBS
="$GTK_LIBS"
18483 if test -n "$PKG_CONFIG" && \
18484 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= \$GTK2_MINIMUM
18485 glib-2.0 >= \$GLIB_MINIMUM
18486 gio-2.0 >= \$GIO_MINIMUM,
18487 gmodule-2.0 >= \$GLIB_MINIMUM
18488 gthread-2.0 >= \$GLIB_MINIMUM\""; } >&5
18489 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= $GTK2_MINIMUM
18490 glib-2.0 >= $GLIB_MINIMUM
18491 gio-2.0 >= $GIO_MINIMUM,
18492 gmodule-2.0 >= $GLIB_MINIMUM
18493 gthread-2.0 >= $GLIB_MINIMUM") 2>&5
18495 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18496 test $ac_status = 0; }; then
18497 pkg_cv_GTK_LIBS
=`$PKG_CONFIG --libs "gtk+-2.0 >= $GTK2_MINIMUM
18498 glib-2.0 >= $GLIB_MINIMUM
18499 gio-2.0 >= $GIO_MINIMUM,
18500 gmodule-2.0 >= $GLIB_MINIMUM
18501 gthread-2.0 >= $GLIB_MINIMUM" 2>/dev/null`
18512 if test $pkg_failed = yes; then
18514 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18515 _pkg_short_errors_supported
=yes
18517 _pkg_short_errors_supported
=no
18519 if test $_pkg_short_errors_supported = yes; then
18520 GTK_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-2.0 >= $GTK2_MINIMUM
18521 glib-2.0 >= $GLIB_MINIMUM
18522 gio-2.0 >= $GIO_MINIMUM,
18523 gmodule-2.0 >= $GLIB_MINIMUM
18524 gthread-2.0 >= $GLIB_MINIMUM"`
18526 GTK_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= $GTK2_MINIMUM
18527 glib-2.0 >= $GLIB_MINIMUM
18528 gio-2.0 >= $GIO_MINIMUM,
18529 gmodule-2.0 >= $GLIB_MINIMUM
18530 gthread-2.0 >= $GLIB_MINIMUM"`
18532 # Put the nasty error message in config.log where it belongs
18533 echo "$GTK_PKG_ERRORS" >&5
18535 as_fn_error $?
"Package requirements (gtk+-2.0 >= $GTK2_MINIMUM
18536 glib-2.0 >= $GLIB_MINIMUM
18537 gio-2.0 >= $GIO_MINIMUM,
18538 gmodule-2.0 >= $GLIB_MINIMUM
18539 gthread-2.0 >= $GLIB_MINIMUM) were not met:
18543 Consider adjusting the PKG_CONFIG_PATH environment variable if you
18544 installed software in a non-standard prefix.
18546 Alternatively, you may set the environment variables GTK_CFLAGS
18547 and GTK_LIBS to avoid the need to call pkg-config.
18548 See the pkg-config man page for more details.
18550 elif test $pkg_failed = untried
; then
18551 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18552 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18553 as_fn_error $?
"The pkg-config script could not be found or is too old. Make sure it
18554 is in your PATH or set the PKG_CONFIG environment variable to the full
18555 path to pkg-config.
18557 Alternatively, you may set the environment variables GTK_CFLAGS
18558 and GTK_LIBS to avoid the need to call pkg-config.
18559 See the pkg-config man page for more details.
18561 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
18562 See \`config.log' for more details" "$LINENO" 5; }
18564 GTK_CFLAGS
=$pkg_cv_GTK_CFLAGS
18565 GTK_LIBS
=$pkg_cv_GTK_LIBS
18566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18567 $as_echo "yes" >&6; }
18572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBAPPINDICATOR" >&5
18573 $as_echo_n "checking for LIBAPPINDICATOR... " >&6; }
18575 if test -n "$PKG_CONFIG"; then
18576 if test -n "$LIBAPPINDICATOR_CFLAGS"; then
18577 pkg_cv_LIBAPPINDICATOR_CFLAGS
="$LIBAPPINDICATOR_CFLAGS"
18579 if test -n "$PKG_CONFIG" && \
18580 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"appindicator-0.1 >= \$LIBAPPINDICATOR_MINIMUM\""; } >&5
18581 ($PKG_CONFIG --exists --print-errors "appindicator-0.1 >= $LIBAPPINDICATOR_MINIMUM") 2>&5
18583 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18584 test $ac_status = 0; }; then
18585 pkg_cv_LIBAPPINDICATOR_CFLAGS
=`$PKG_CONFIG --cflags "appindicator-0.1 >= $LIBAPPINDICATOR_MINIMUM" 2>/dev/null`
18593 if test -n "$PKG_CONFIG"; then
18594 if test -n "$LIBAPPINDICATOR_LIBS"; then
18595 pkg_cv_LIBAPPINDICATOR_LIBS
="$LIBAPPINDICATOR_LIBS"
18597 if test -n "$PKG_CONFIG" && \
18598 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"appindicator-0.1 >= \$LIBAPPINDICATOR_MINIMUM\""; } >&5
18599 ($PKG_CONFIG --exists --print-errors "appindicator-0.1 >= $LIBAPPINDICATOR_MINIMUM") 2>&5
18601 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18602 test $ac_status = 0; }; then
18603 pkg_cv_LIBAPPINDICATOR_LIBS
=`$PKG_CONFIG --libs "appindicator-0.1 >= $LIBAPPINDICATOR_MINIMUM" 2>/dev/null`
18614 if test $pkg_failed = yes; then
18616 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18617 _pkg_short_errors_supported
=yes
18619 _pkg_short_errors_supported
=no
18621 if test $_pkg_short_errors_supported = yes; then
18622 LIBAPPINDICATOR_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "appindicator-0.1 >= $LIBAPPINDICATOR_MINIMUM"`
18624 LIBAPPINDICATOR_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "appindicator-0.1 >= $LIBAPPINDICATOR_MINIMUM"`
18626 # Put the nasty error message in config.log where it belongs
18627 echo "$LIBAPPINDICATOR_PKG_ERRORS" >&5
18629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18630 $as_echo "no" >&6; }
18631 have_libappindicator
=no
18632 elif test $pkg_failed = untried
; then
18633 have_libappindicator
=no
18635 LIBAPPINDICATOR_CFLAGS
=$pkg_cv_LIBAPPINDICATOR_CFLAGS
18636 LIBAPPINDICATOR_LIBS
=$pkg_cv_LIBAPPINDICATOR_LIBS
18637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18638 $as_echo "yes" >&6; }
18639 have_libappindicator
=yes
18641 { $as_echo "$as_me:${as_lineno-$LINENO}: using GTK+ 2" >&5
18642 $as_echo "$as_me: using GTK+ 2" >&6;}
18646 if test "x$have_libappindicator" = "xyes"; then
18647 use_libappindicator
=yes
18648 $as_echo "#define HAVE_LIBAPPINDICATOR 1" >>confdefs.h
18651 LIBAPPINDICATOR_CFLAGS
=
18652 LIBAPPINDICATOR_LIBS
=
18658 if test "x$enable_nls" = "xyes" ; then
18661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
18662 $as_echo_n "checking whether NLS is requested... " >&6; }
18663 # Check whether --enable-nls was given.
18664 if test "${enable_nls+set}" = set; then :
18665 enableval
=$enable_nls; USE_NLS
=$enableval
18670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
18671 $as_echo "$USE_NLS" >&6; }
18676 case "$am__api_version" in
18678 as_fn_error $?
"Automake 1.5 or newer is required to use intltool" "$LINENO" 5
18684 INTLTOOL_REQUIRED_VERSION_AS_INT
=`echo 0.35.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
18685 INTLTOOL_APPLIED_VERSION
=`intltool-update --version | head -1 | cut -d" " -f3`
18686 INTLTOOL_APPLIED_VERSION_AS_INT
=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
18687 if test -n "0.35.0"; then
18688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.35.0" >&5
18689 $as_echo_n "checking for intltool >= 0.35.0... " >&6; }
18690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
18691 $as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
18692 test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
18693 as_fn_error $?
"Your intltool is too old. You need intltool 0.35.0 or later." "$LINENO" 5
18696 # Extract the first word of "intltool-update", so it can be a program name with args.
18697 set dummy intltool-update
; ac_word
=$2
18698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18699 $as_echo_n "checking for $ac_word... " >&6; }
18700 if ${ac_cv_path_INTLTOOL_UPDATE+:} false
; then :
18701 $as_echo_n "(cached) " >&6
18703 case $INTLTOOL_UPDATE in
18705 ac_cv_path_INTLTOOL_UPDATE
="$INTLTOOL_UPDATE" # Let the user override the test with a path.
18708 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18709 for as_dir
in $PATH
18712 test -z "$as_dir" && as_dir
=.
18713 for ac_exec_ext
in '' $ac_executable_extensions; do
18714 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18715 ac_cv_path_INTLTOOL_UPDATE
="$as_dir/$ac_word$ac_exec_ext"
18716 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18726 INTLTOOL_UPDATE
=$ac_cv_path_INTLTOOL_UPDATE
18727 if test -n "$INTLTOOL_UPDATE"; then
18728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
18729 $as_echo "$INTLTOOL_UPDATE" >&6; }
18731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18732 $as_echo "no" >&6; }
18736 # Extract the first word of "intltool-merge", so it can be a program name with args.
18737 set dummy intltool-merge
; ac_word
=$2
18738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18739 $as_echo_n "checking for $ac_word... " >&6; }
18740 if ${ac_cv_path_INTLTOOL_MERGE+:} false
; then :
18741 $as_echo_n "(cached) " >&6
18743 case $INTLTOOL_MERGE in
18745 ac_cv_path_INTLTOOL_MERGE
="$INTLTOOL_MERGE" # Let the user override the test with a path.
18748 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18749 for as_dir
in $PATH
18752 test -z "$as_dir" && as_dir
=.
18753 for ac_exec_ext
in '' $ac_executable_extensions; do
18754 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18755 ac_cv_path_INTLTOOL_MERGE
="$as_dir/$ac_word$ac_exec_ext"
18756 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18766 INTLTOOL_MERGE
=$ac_cv_path_INTLTOOL_MERGE
18767 if test -n "$INTLTOOL_MERGE"; then
18768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
18769 $as_echo "$INTLTOOL_MERGE" >&6; }
18771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18772 $as_echo "no" >&6; }
18776 # Extract the first word of "intltool-extract", so it can be a program name with args.
18777 set dummy intltool-extract
; ac_word
=$2
18778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18779 $as_echo_n "checking for $ac_word... " >&6; }
18780 if ${ac_cv_path_INTLTOOL_EXTRACT+:} false
; then :
18781 $as_echo_n "(cached) " >&6
18783 case $INTLTOOL_EXTRACT in
18785 ac_cv_path_INTLTOOL_EXTRACT
="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
18788 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18789 for as_dir
in $PATH
18792 test -z "$as_dir" && as_dir
=.
18793 for ac_exec_ext
in '' $ac_executable_extensions; do
18794 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18795 ac_cv_path_INTLTOOL_EXTRACT
="$as_dir/$ac_word$ac_exec_ext"
18796 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18806 INTLTOOL_EXTRACT
=$ac_cv_path_INTLTOOL_EXTRACT
18807 if test -n "$INTLTOOL_EXTRACT"; then
18808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
18809 $as_echo "$INTLTOOL_EXTRACT" >&6; }
18811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18812 $as_echo "no" >&6; }
18816 if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
18817 as_fn_error $?
"The intltool scripts were not found. Please install intltool." "$LINENO" 5
18820 if test -z "$AM_DEFAULT_VERBOSITY"; then
18821 AM_DEFAULT_VERBOSITY
=1
18825 INTLTOOL_V_MERGE
='$(INTLTOOL__v_MERGE_$(V))'
18826 INTLTOOL__v_MERGE_
='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))'
18827 INTLTOOL__v_MERGE_0
='@echo " ITMRG " $@;'
18832 INTLTOOL_V_MERGE_OPTIONS
='$(intltool__v_merge_options_$(V))'
18833 intltool__v_merge_options_
='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))'
18834 intltool__v_merge_options_0
='-q'
18839 INTLTOOL_DESKTOP_RULE
='%.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
18840 INTLTOOL_DIRECTORY_RULE
='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
18841 INTLTOOL_KEYS_RULE
='%.keys: %.keys.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
18842 INTLTOOL_PROP_RULE
='%.prop: %.prop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
18843 INTLTOOL_OAF_RULE
='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -p $(top_srcdir)/po $< $@'
18844 INTLTOOL_PONG_RULE
='%.pong: %.pong.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
18845 INTLTOOL_SERVER_RULE
='%.server: %.server.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
18846 INTLTOOL_SHEET_RULE
='%.sheet: %.sheet.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
18847 INTLTOOL_SOUNDLIST_RULE
='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
18848 INTLTOOL_UI_RULE
='%.ui: %.ui.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
18849 INTLTOOL_XML_RULE
='%.xml: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
18850 if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge 5000; then
18851 INTLTOOL_XML_NOMERGE_RULE
='%.xml: %.xml.in $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u --no-translations $< $@'
18853 INTLTOOL_XML_NOMERGE_RULE
='%.xml: %.xml.in $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)_it_tmp_dir=tmp.intltool.$$RANDOM && mkdir $$_it_tmp_dir && LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u $$_it_tmp_dir $< $@ && rmdir $$_it_tmp_dir'
18855 INTLTOOL_XAM_RULE
='%.xam: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
18856 INTLTOOL_KBD_RULE
='%.kbd: %.kbd.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
18857 INTLTOOL_CAVES_RULE
='%.caves: %.caves.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
18858 INTLTOOL_SCHEMAS_RULE
='%.schemas: %.schemas.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
18859 INTLTOOL_THEME_RULE
='%.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
18860 INTLTOOL_SERVICE_RULE
='%.service: %.service.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
18861 INTLTOOL_POLICY_RULE
='%.policy: %.policy.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
18959 # Check the gettext tools to make sure they are GNU
18960 # Extract the first word of "xgettext", so it can be a program name with args.
18961 set dummy xgettext
; ac_word
=$2
18962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18963 $as_echo_n "checking for $ac_word... " >&6; }
18964 if ${ac_cv_path_XGETTEXT+:} false
; then :
18965 $as_echo_n "(cached) " >&6
18969 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
18972 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18973 for as_dir
in $PATH
18976 test -z "$as_dir" && as_dir
=.
18977 for ac_exec_ext
in '' $ac_executable_extensions; do
18978 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18979 ac_cv_path_XGETTEXT
="$as_dir/$ac_word$ac_exec_ext"
18980 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18990 XGETTEXT
=$ac_cv_path_XGETTEXT
18991 if test -n "$XGETTEXT"; then
18992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
18993 $as_echo "$XGETTEXT" >&6; }
18995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18996 $as_echo "no" >&6; }
19000 # Extract the first word of "msgmerge", so it can be a program name with args.
19001 set dummy msgmerge
; ac_word
=$2
19002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19003 $as_echo_n "checking for $ac_word... " >&6; }
19004 if ${ac_cv_path_MSGMERGE+:} false
; then :
19005 $as_echo_n "(cached) " >&6
19009 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
19012 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19013 for as_dir
in $PATH
19016 test -z "$as_dir" && as_dir
=.
19017 for ac_exec_ext
in '' $ac_executable_extensions; do
19018 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19019 ac_cv_path_MSGMERGE
="$as_dir/$ac_word$ac_exec_ext"
19020 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19030 MSGMERGE
=$ac_cv_path_MSGMERGE
19031 if test -n "$MSGMERGE"; then
19032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
19033 $as_echo "$MSGMERGE" >&6; }
19035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19036 $as_echo "no" >&6; }
19040 # Extract the first word of "msgfmt", so it can be a program name with args.
19041 set dummy msgfmt
; ac_word
=$2
19042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19043 $as_echo_n "checking for $ac_word... " >&6; }
19044 if ${ac_cv_path_MSGFMT+:} false
; then :
19045 $as_echo_n "(cached) " >&6
19049 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
19052 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19053 for as_dir
in $PATH
19056 test -z "$as_dir" && as_dir
=.
19057 for ac_exec_ext
in '' $ac_executable_extensions; do
19058 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19059 ac_cv_path_MSGFMT
="$as_dir/$ac_word$ac_exec_ext"
19060 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19070 MSGFMT
=$ac_cv_path_MSGFMT
19071 if test -n "$MSGFMT"; then
19072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
19073 $as_echo "$MSGFMT" >&6; }
19075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19076 $as_echo "no" >&6; }
19080 # Extract the first word of "gmsgfmt", so it can be a program name with args.
19081 set dummy gmsgfmt
; ac_word
=$2
19082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19083 $as_echo_n "checking for $ac_word... " >&6; }
19084 if ${ac_cv_path_GMSGFMT+:} false
; then :
19085 $as_echo_n "(cached) " >&6
19089 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
19092 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19093 for as_dir
in $PATH
19096 test -z "$as_dir" && as_dir
=.
19097 for ac_exec_ext
in '' $ac_executable_extensions; do
19098 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19099 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
19100 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19107 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
19111 GMSGFMT
=$ac_cv_path_GMSGFMT
19112 if test -n "$GMSGFMT"; then
19113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
19114 $as_echo "$GMSGFMT" >&6; }
19116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19117 $as_echo "no" >&6; }
19121 if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
19122 as_fn_error $?
"GNU gettext tools not found; required for intltool" "$LINENO" 5
19124 xgversion
="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
19125 mmversion
="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
19126 mfversion
="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
19127 if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
19128 as_fn_error $?
"GNU gettext tools not found; required for intltool" "$LINENO" 5
19131 # Extract the first word of "perl", so it can be a program name with args.
19132 set dummy perl
; ac_word
=$2
19133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19134 $as_echo_n "checking for $ac_word... " >&6; }
19135 if ${ac_cv_path_INTLTOOL_PERL+:} false
; then :
19136 $as_echo_n "(cached) " >&6
19138 case $INTLTOOL_PERL in
19140 ac_cv_path_INTLTOOL_PERL
="$INTLTOOL_PERL" # Let the user override the test with a path.
19143 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19144 for as_dir
in $PATH
19147 test -z "$as_dir" && as_dir
=.
19148 for ac_exec_ext
in '' $ac_executable_extensions; do
19149 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19150 ac_cv_path_INTLTOOL_PERL
="$as_dir/$ac_word$ac_exec_ext"
19151 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19161 INTLTOOL_PERL
=$ac_cv_path_INTLTOOL_PERL
19162 if test -n "$INTLTOOL_PERL"; then
19163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
19164 $as_echo "$INTLTOOL_PERL" >&6; }
19166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19167 $as_echo "no" >&6; }
19171 if test -z "$INTLTOOL_PERL"; then
19172 as_fn_error $?
"perl not found" "$LINENO" 5
19174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
19175 $as_echo_n "checking for perl >= 5.8.1... " >&6; }
19176 $INTLTOOL_PERL -e "use 5.8.1;" > /dev
/null
2>&1
19177 if test $?
-ne 0; then
19178 as_fn_error $?
"perl 5.8.1 is required for intltool" "$LINENO" 5
19180 IT_PERL_VERSION
=`$INTLTOOL_PERL -e "printf '%vd', $^V"`
19181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
19182 $as_echo "$IT_PERL_VERSION" >&6; }
19184 if test "xno-xml" != "xno-xml"; then
19185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
19186 $as_echo_n "checking for XML::Parser... " >&6; }
19187 if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
19188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
19189 $as_echo "ok" >&6; }
19191 as_fn_error $?
"XML::Parser perl module is required for intltool" "$LINENO" 5
19195 # Substitute ALL_LINGUAS so we can use it in po/Makefile
19198 # Set DATADIRNAME correctly if it is not set yet
19199 # (copied from glib-gettext.m4)
19200 if test -z "$DATADIRNAME"; then
19201 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19202 /* end confdefs.h. */
19207 extern int _nl_msg_cat_cntr;
19208 return _nl_msg_cat_cntr
19213 if ac_fn_c_try_link
"$LINENO"; then :
19218 ac_fn_c_check_func
"$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
19219 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes
; then :
19231 rm -f core conftest.err conftest.
$ac_objext \
19232 conftest
$ac_exeext conftest.
$ac_ext
19239 for ac_header
in libintl.h
19241 ac_fn_c_check_header_mongrel
"$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
19242 if test "x$ac_cv_header_libintl_h" = xyes
; then :
19243 cat >>confdefs.h
<<_ACEOF
19244 #define HAVE_LIBINTL_H 1
19251 GETTEXT_PACKAGE
=transmission-gtk
19254 cat >>confdefs.h
<<_ACEOF
19255 #define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
19259 for ac_header
in locale.h
19261 ac_fn_c_check_header_mongrel
"$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
19262 if test "x$ac_cv_header_locale_h" = xyes
; then :
19263 cat >>confdefs.h
<<_ACEOF
19264 #define HAVE_LOCALE_H 1
19271 if test $ac_cv_header_locale_h = yes; then
19272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
19273 $as_echo_n "checking for LC_MESSAGES... " >&6; }
19274 if ${am_cv_val_LC_MESSAGES+:} false
; then :
19275 $as_echo_n "(cached) " >&6
19277 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19278 /* end confdefs.h. */
19279 #include <locale.h>
19288 if ac_fn_c_try_link
"$LINENO"; then :
19289 am_cv_val_LC_MESSAGES
=yes
19291 am_cv_val_LC_MESSAGES
=no
19293 rm -f core conftest.err conftest.
$ac_objext \
19294 conftest
$ac_exeext conftest.
$ac_ext
19296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
19297 $as_echo "$am_cv_val_LC_MESSAGES" >&6; }
19298 if test $am_cv_val_LC_MESSAGES = yes; then
19300 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
19307 gt_cv_have_gettext
=no
19313 ac_fn_c_check_header_mongrel
"$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
19314 if test "x$ac_cv_header_libintl_h" = xyes
; then :
19315 gt_cv_func_dgettext_libintl
="no"
19316 libintl_extra_libs
=""
19319 # First check in libc
19321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
19322 $as_echo_n "checking for ngettext in libc... " >&6; }
19323 if ${gt_cv_func_ngettext_libc+:} false
; then :
19324 $as_echo_n "(cached) " >&6
19326 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19327 /* end confdefs.h. */
19329 #include <libintl.h>
19334 return !ngettext ("","", 1)
19339 if ac_fn_c_try_link
"$LINENO"; then :
19340 gt_cv_func_ngettext_libc
=yes
19342 gt_cv_func_ngettext_libc
=no
19344 rm -f core conftest.err conftest.
$ac_objext \
19345 conftest
$ac_exeext conftest.
$ac_ext
19348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5
19349 $as_echo "$gt_cv_func_ngettext_libc" >&6; }
19351 if test "$gt_cv_func_ngettext_libc" = "yes" ; then
19352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
19353 $as_echo_n "checking for dgettext in libc... " >&6; }
19354 if ${gt_cv_func_dgettext_libc+:} false
; then :
19355 $as_echo_n "(cached) " >&6
19357 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19358 /* end confdefs.h. */
19360 #include <libintl.h>
19365 return !dgettext ("","")
19370 if ac_fn_c_try_link
"$LINENO"; then :
19371 gt_cv_func_dgettext_libc
=yes
19373 gt_cv_func_dgettext_libc
=no
19375 rm -f core conftest.err conftest.
$ac_objext \
19376 conftest
$ac_exeext conftest.
$ac_ext
19379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
19380 $as_echo "$gt_cv_func_dgettext_libc" >&6; }
19383 if test "$gt_cv_func_ngettext_libc" = "yes" ; then
19384 for ac_func
in bind_textdomain_codeset
19386 ac_fn_c_check_func
"$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
19387 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes
; then :
19388 cat >>confdefs.h
<<_ACEOF
19389 #define HAVE_BIND_TEXTDOMAIN_CODESET 1
19398 # If we don't have everything we want, check in libintl
19400 if test "$gt_cv_func_dgettext_libc" != "yes" \
19401 ||
test "$gt_cv_func_ngettext_libc" != "yes" \
19402 ||
test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
19404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
19405 $as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
19406 if ${ac_cv_lib_intl_bindtextdomain+:} false
; then :
19407 $as_echo_n "(cached) " >&6
19409 ac_check_lib_save_LIBS
=$LIBS
19410 LIBS
="-lintl $LIBS"
19411 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19412 /* end confdefs.h. */
19414 /* Override any GCC internal prototype to avoid an error.
19415 Use char because int might match the return type of a GCC
19416 builtin and then its argument prototype would still apply. */
19420 char bindtextdomain ();
19424 return bindtextdomain ();
19429 if ac_fn_c_try_link
"$LINENO"; then :
19430 ac_cv_lib_intl_bindtextdomain
=yes
19432 ac_cv_lib_intl_bindtextdomain
=no
19434 rm -f core conftest.err conftest.
$ac_objext \
19435 conftest
$ac_exeext conftest.
$ac_ext
19436 LIBS
=$ac_check_lib_save_LIBS
19438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
19439 $as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
19440 if test "x$ac_cv_lib_intl_bindtextdomain" = xyes
; then :
19441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
19442 $as_echo_n "checking for ngettext in -lintl... " >&6; }
19443 if ${ac_cv_lib_intl_ngettext+:} false
; then :
19444 $as_echo_n "(cached) " >&6
19446 ac_check_lib_save_LIBS
=$LIBS
19447 LIBS
="-lintl $LIBS"
19448 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19449 /* end confdefs.h. */
19451 /* Override any GCC internal prototype to avoid an error.
19452 Use char because int might match the return type of a GCC
19453 builtin and then its argument prototype would still apply. */
19461 return ngettext ();
19466 if ac_fn_c_try_link
"$LINENO"; then :
19467 ac_cv_lib_intl_ngettext
=yes
19469 ac_cv_lib_intl_ngettext
=no
19471 rm -f core conftest.err conftest.
$ac_objext \
19472 conftest
$ac_exeext conftest.
$ac_ext
19473 LIBS
=$ac_check_lib_save_LIBS
19475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
19476 $as_echo "$ac_cv_lib_intl_ngettext" >&6; }
19477 if test "x$ac_cv_lib_intl_ngettext" = xyes
; then :
19478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
19479 $as_echo_n "checking for dgettext in -lintl... " >&6; }
19480 if ${ac_cv_lib_intl_dgettext+:} false
; then :
19481 $as_echo_n "(cached) " >&6
19483 ac_check_lib_save_LIBS
=$LIBS
19484 LIBS
="-lintl $LIBS"
19485 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19486 /* end confdefs.h. */
19488 /* Override any GCC internal prototype to avoid an error.
19489 Use char because int might match the return type of a GCC
19490 builtin and then its argument prototype would still apply. */
19498 return dgettext ();
19503 if ac_fn_c_try_link
"$LINENO"; then :
19504 ac_cv_lib_intl_dgettext
=yes
19506 ac_cv_lib_intl_dgettext
=no
19508 rm -f core conftest.err conftest.
$ac_objext \
19509 conftest
$ac_exeext conftest.
$ac_ext
19510 LIBS
=$ac_check_lib_save_LIBS
19512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
19513 $as_echo "$ac_cv_lib_intl_dgettext" >&6; }
19514 if test "x$ac_cv_lib_intl_dgettext" = xyes
; then :
19515 gt_cv_func_dgettext_libintl
=yes
19523 if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
19524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5
19525 $as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
19526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
19528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
19529 $as_echo_n "checking for ngettext in -lintl... " >&6; }
19530 if ${ac_cv_lib_intl_ngettext+:} false
; then :
19531 $as_echo_n "(cached) " >&6
19533 ac_check_lib_save_LIBS
=$LIBS
19534 LIBS
="-lintl -liconv $LIBS"
19535 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19536 /* end confdefs.h. */
19538 /* Override any GCC internal prototype to avoid an error.
19539 Use char because int might match the return type of a GCC
19540 builtin and then its argument prototype would still apply. */
19548 return ngettext ();
19553 if ac_fn_c_try_link
"$LINENO"; then :
19554 ac_cv_lib_intl_ngettext
=yes
19556 ac_cv_lib_intl_ngettext
=no
19558 rm -f core conftest.err conftest.
$ac_objext \
19559 conftest
$ac_exeext conftest.
$ac_ext
19560 LIBS
=$ac_check_lib_save_LIBS
19562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
19563 $as_echo "$ac_cv_lib_intl_ngettext" >&6; }
19564 if test "x$ac_cv_lib_intl_ngettext" = xyes
; then :
19565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
19566 $as_echo_n "checking for dcgettext in -lintl... " >&6; }
19567 if ${ac_cv_lib_intl_dcgettext+:} false
; then :
19568 $as_echo_n "(cached) " >&6
19570 ac_check_lib_save_LIBS
=$LIBS
19571 LIBS
="-lintl -liconv $LIBS"
19572 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19573 /* end confdefs.h. */
19575 /* Override any GCC internal prototype to avoid an error.
19576 Use char because int might match the return type of a GCC
19577 builtin and then its argument prototype would still apply. */
19585 return dcgettext ();
19590 if ac_fn_c_try_link
"$LINENO"; then :
19591 ac_cv_lib_intl_dcgettext
=yes
19593 ac_cv_lib_intl_dcgettext
=no
19595 rm -f core conftest.err conftest.
$ac_objext \
19596 conftest
$ac_exeext conftest.
$ac_ext
19597 LIBS
=$ac_check_lib_save_LIBS
19599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
19600 $as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
19601 if test "x$ac_cv_lib_intl_dcgettext" = xyes
; then :
19602 gt_cv_func_dgettext_libintl
=yes
19603 libintl_extra_libs
=-liconv
19615 # If we found libintl, then check in it for bind_textdomain_codeset();
19616 # we'll prefer libc if neither have bind_textdomain_codeset(),
19617 # and both have dgettext and ngettext
19619 if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
19620 glib_save_LIBS
="$LIBS"
19621 LIBS
="$LIBS -lintl $libintl_extra_libs"
19622 unset ac_cv_func_bind_textdomain_codeset
19623 for ac_func
in bind_textdomain_codeset
19625 ac_fn_c_check_func
"$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
19626 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes
; then :
19627 cat >>confdefs.h
<<_ACEOF
19628 #define HAVE_BIND_TEXTDOMAIN_CODESET 1
19634 LIBS
="$glib_save_LIBS"
19636 if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
19637 gt_cv_func_dgettext_libc
=no
19639 if test "$gt_cv_func_dgettext_libc" = "yes" \
19640 && test "$gt_cv_func_ngettext_libc" = "yes"; then
19641 gt_cv_func_dgettext_libintl
=no
19647 if test "$gt_cv_func_dgettext_libc" = "yes" \
19648 ||
test "$gt_cv_func_dgettext_libintl" = "yes"; then
19649 gt_cv_have_gettext
=yes
19652 if test "$gt_cv_func_dgettext_libintl" = "yes"; then
19653 INTLLIBS
="-lintl $libintl_extra_libs"
19656 if test "$gt_cv_have_gettext" = "yes"; then
19658 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
19660 # Extract the first word of "msgfmt", so it can be a program name with args.
19661 set dummy msgfmt
; ac_word
=$2
19662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19663 $as_echo_n "checking for $ac_word... " >&6; }
19664 if ${ac_cv_path_MSGFMT+:} false
; then :
19665 $as_echo_n "(cached) " >&6
19669 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
19672 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
19673 for ac_dir
in $PATH; do
19674 test -z "$ac_dir" && ac_dir
=.
19675 if test -f $ac_dir/$ac_word; then
19676 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
19677 ac_cv_path_MSGFMT
="$ac_dir/$ac_word"
19683 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
="no"
19687 MSGFMT
="$ac_cv_path_MSGFMT"
19688 if test "$MSGFMT" != "no"; then
19689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
19690 $as_echo "$MSGFMT" >&6; }
19692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19693 $as_echo "no" >&6; }
19695 if test "$MSGFMT" != "no"; then
19696 glib_save_LIBS
="$LIBS"
19697 LIBS
="$LIBS $INTLLIBS"
19698 for ac_func
in dcgettext
19700 ac_fn_c_check_func
"$LINENO" "dcgettext" "ac_cv_func_dcgettext"
19701 if test "x$ac_cv_func_dcgettext" = xyes
; then :
19702 cat >>confdefs.h
<<_ACEOF
19703 #define HAVE_DCGETTEXT 1
19709 # Extract the first word of "gmsgfmt", so it can be a program name with args.
19710 set dummy gmsgfmt
; ac_word
=$2
19711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19712 $as_echo_n "checking for $ac_word... " >&6; }
19713 if ${ac_cv_path_GMSGFMT+:} false
; then :
19714 $as_echo_n "(cached) " >&6
19718 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
19721 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19722 for as_dir
in $PATH
19725 test -z "$as_dir" && as_dir
=.
19726 for ac_exec_ext
in '' $ac_executable_extensions; do
19727 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19728 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
19729 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19736 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
19740 GMSGFMT
=$ac_cv_path_GMSGFMT
19741 if test -n "$GMSGFMT"; then
19742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
19743 $as_echo "$GMSGFMT" >&6; }
19745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19746 $as_echo "no" >&6; }
19750 # Extract the first word of "xgettext", so it can be a program name with args.
19751 set dummy xgettext
; ac_word
=$2
19752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19753 $as_echo_n "checking for $ac_word... " >&6; }
19754 if ${ac_cv_path_XGETTEXT+:} false
; then :
19755 $as_echo_n "(cached) " >&6
19757 case "$XGETTEXT" in
19759 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
19762 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
19763 for ac_dir
in $PATH; do
19764 test -z "$ac_dir" && ac_dir
=.
19765 if test -f $ac_dir/$ac_word; then
19766 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
19767 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word"
19773 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
19777 XGETTEXT
="$ac_cv_path_XGETTEXT"
19778 if test "$XGETTEXT" != ":"; then
19779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
19780 $as_echo "$XGETTEXT" >&6; }
19782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19783 $as_echo "no" >&6; }
19786 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19787 /* end confdefs.h. */
19792 extern int _nl_msg_cat_cntr;
19793 return _nl_msg_cat_cntr
19798 if ac_fn_c_try_link
"$LINENO"; then :
19804 ac_fn_c_check_func
"$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
19805 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes
; then :
19820 rm -f core conftest.err conftest.
$ac_objext \
19821 conftest
$ac_exeext conftest.
$ac_ext
19822 LIBS
="$glib_save_LIBS"
19825 gt_cv_have_gettext
=no
19833 if test "$gt_cv_have_gettext" = "yes" ; then
19835 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
19839 if test "$XGETTEXT" != ":"; then
19840 if $XGETTEXT --omit-header /dev
/null
2> /dev
/null
; then
19843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
19844 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
19849 # We need to process the po/ directory.
19852 ac_config_commands
="$ac_config_commands default-1"
19855 for lang
in $ALL_LINGUAS; do
19856 GMOFILES
="$GMOFILES $lang.gmo"
19857 POFILES
="$POFILES $lang.po"
19872 if test "$gt_cv_have_gettext" = "yes"; then
19873 if test "x$ALL_LINGUAS" = "x"; then
19876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
19877 $as_echo_n "checking for catalogs to be installed... " >&6; }
19879 for presentlang
in $ALL_LINGUAS; do
19881 if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
19882 desiredlanguages
="$LINGUAS"
19884 desiredlanguages
="$ALL_LINGUAS"
19886 for desiredlang
in $desiredlanguages; do
19887 # Use the presentlang catalog if desiredlang is
19888 # a. equal to presentlang, or
19889 # b. a variant of presentlang (because in this case,
19890 # presentlang can be used as a fallback for messages
19891 # which are not translated in the desiredlang catalog).
19892 case "$desiredlang" in
19893 "$presentlang"*) useit
=yes;;
19896 if test $useit = yes; then
19897 NEW_LINGUAS
="$NEW_LINGUAS $presentlang"
19900 LINGUAS
=$NEW_LINGUAS
19901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
19902 $as_echo "$LINGUAS" >&6; }
19905 if test -n "$LINGUAS"; then
19906 for lang
in $LINGUAS; do CATALOGS
="$CATALOGS $lang$CATOBJEXT"; done
19911 if test -n "$ac_aux_dir"; then
19912 MKINSTALLDIRS
="$ac_aux_dir/mkinstalldirs"
19914 if test -z "$MKINSTALLDIRS"; then
19915 MKINSTALLDIRS
="\$(top_srcdir)/mkinstalldirs"
19919 test -d po || mkdir po
19920 if test "x$srcdir" != "x."; then
19921 if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
19922 posrcprefix
="$srcdir/"
19924 posrcprefix
="../$srcdir/"
19930 sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
19931 < $srcdir/po
/POTFILES.
in > po
/POTFILES
19933 transmissionlocaledir
='${prefix}/${DATADIRNAME}/locale'
19947 CXXFLAGS
="$CXXFLAGS -mms-bitfields -mwin32 -mwindows"
19948 CPPFLAGS
="$CPPFLAGS -DWIN32 -D_WIN32 -DWIN32_LEAN_AND_MEAN"
19949 LIBS
="$LIBS -liphlpapi -lshell32 -lws2_32"
19950 transmissionlocaledir
="locale"
19951 if test -z "$host_alias"; then
19954 hostaliaswindres
="$host_alias-windres";
19956 if test -n "$ac_tool_prefix"; then
19957 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
19958 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
19959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19960 $as_echo_n "checking for $ac_word... " >&6; }
19961 if ${ac_cv_prog_WINDRES+:} false
; then :
19962 $as_echo_n "(cached) " >&6
19964 if test -n "$WINDRES"; then
19965 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
19967 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19968 for as_dir
in $PATH
19971 test -z "$as_dir" && as_dir
=.
19972 for ac_exec_ext
in '' $ac_executable_extensions; do
19973 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19974 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
19975 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19984 WINDRES
=$ac_cv_prog_WINDRES
19985 if test -n "$WINDRES"; then
19986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5
19987 $as_echo "$WINDRES" >&6; }
19989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19990 $as_echo "no" >&6; }
19995 if test -z "$ac_cv_prog_WINDRES"; then
19996 ac_ct_WINDRES
=$WINDRES
19997 # Extract the first word of "windres", so it can be a program name with args.
19998 set dummy windres
; ac_word
=$2
19999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20000 $as_echo_n "checking for $ac_word... " >&6; }
20001 if ${ac_cv_prog_ac_ct_WINDRES+:} false
; then :
20002 $as_echo_n "(cached) " >&6
20004 if test -n "$ac_ct_WINDRES"; then
20005 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
20007 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20008 for as_dir
in $PATH
20011 test -z "$as_dir" && as_dir
=.
20012 for ac_exec_ext
in '' $ac_executable_extensions; do
20013 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20014 ac_cv_prog_ac_ct_WINDRES
="windres"
20015 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20024 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
20025 if test -n "$ac_ct_WINDRES"; then
20026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_WINDRES" >&5
20027 $as_echo "$ac_ct_WINDRES" >&6; }
20029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20030 $as_echo "no" >&6; }
20033 if test "x$ac_ct_WINDRES" = x
; then
20036 case $cross_compiling:$ac_tool_warned in
20038 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
20039 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
20040 ac_tool_warned
=yes ;;
20042 WINDRES
=$ac_ct_WINDRES
20045 WINDRES
="$ac_cv_prog_WINDRES"
20052 CFLAGS
="-DMACOSX $CFLAGS"
20057 # Check whether --enable-lightweight was given.
20058 if test "${enable_lightweight+set}" = set; then :
20059 enableval
=$enable_lightweight; enable_lightweight
=${enableval}
20061 enable_lightweight
="no"
20064 if test "x$enable_lightweight" = "xyes" ; then
20066 $as_echo "#define TR_LIGHTWEIGHT 1" >>confdefs.h
20070 # Check whether --enable-cli was given.
20071 if test "${enable_cli+set}" = set; then :
20072 enableval
=$enable_cli; build_cli
=${enableval}
20077 if test "x$build_cli" = "xyes"; then
20079 BUILD_CLI_FALSE
='#'
20086 # Check whether --enable-mac was given.
20087 if test "${enable_mac+set}" = set; then :
20088 enableval
=$enable_mac; build_mac
=${enableval}
20090 build_mac
=${have_darwin}
20093 if test "x$build_mac" = "xyes"; then
20095 BUILD_MAC_FALSE
='#'
20102 # Check whether --enable-daemon was given.
20103 if test "${enable_daemon+set}" = set; then :
20104 enableval
=$enable_daemon; build_daemon
=${enableval}
20109 if test "x$build_daemon" = "xyes"; then
20111 BUILD_DAEMON_FALSE
='#'
20113 BUILD_DAEMON_TRUE
='#'
20114 BUILD_DAEMON_FALSE
=
20119 if test "x$build_mac" = "xyes" ; then
20120 # Make sure the proper Mac SDK is installed
20121 if test ! -d /Developer
/SDKs
/MacOSX10.5.sdk
; then
20123 You need to install the Mac OS X 10.5 SDK in order to build Transmission
20125 Get your Xcode CD or package
20126 Restart the install
20127 When it gets to "Installation Type", select "Customize"
20128 Select "Mac OS X 10.5 SDK" under "Cross Development"
20129 Finish the install.
20134 if test "x$have_darwin" = "xyes"; then
20135 $as_echo "#define HAVE_DARWIN 1" >>confdefs.h
20138 if test "x$have_msw" = "xyes"; then
20139 $as_echo "#define HAVE_MSW 1" >>confdefs.h
20142 if test "x$have_msw" = "xyes"; then
20152 ac_config_files
="$ac_config_files Makefile transmission-gtk.spec cli/Makefile daemon/Makefile extras/Makefile libtransmission/Makefile utils/Makefile third-party/Makefile third-party/dht/Makefile third-party/libutp/Makefile third-party/libnatpmp/Makefile third-party/miniupnp/Makefile macosx/Makefile gtk/Makefile gtk/icons/Makefile qt/config.pri web/Makefile web/images/Makefile web/style/Makefile web/style/jqueryui/Makefile web/style/jqueryui/images/Makefile web/style/transmission/Makefile web/style/transmission/images/Makefile web/style/transmission/images/buttons/Makefile web/javascript/Makefile web/javascript/jquery/Makefile po/Makefile.in"
20155 cat >confcache
<<\_ACEOF
20156 # This file is a shell script that caches the results of configure
20157 # tests run on this system so they can be shared between configure
20158 # scripts and configure runs, see configure's option --config-cache.
20159 # It is not useful on other systems. If it contains results you don't
20160 # want to keep, you may remove or edit it.
20162 # config.status only pays attention to the cache file if you give it
20163 # the --recheck option to rerun configure.
20165 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20166 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20167 # following values.
20171 # The following way of writing the cache mishandles newlines in values,
20172 # but we know of no workaround that is simple, portable, and efficient.
20173 # So, we kill variables containing newlines.
20174 # Ultrix sh set writes to stderr and can't be redirected directly,
20175 # and sets the high bit in the cache file unless we assign to the vars.
20177 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
20178 eval ac_val
=\$
$ac_var
20182 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
20183 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
20186 _ | IFS | as_nl
) ;; #(
20187 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
20188 *) { eval $ac_var=; unset $ac_var;} ;;
20194 case $as_nl`(ac_space=' '; set) 2>&1` in #(
20195 *${as_nl}ac_space
=\
*)
20196 # `set' does not quote correctly, so add quotes: double-quote
20197 # substitution turns \\\\ into \\, and sed turns \\ into \.
20200 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20203 # `set' quotes correctly as required by POSIX, so do not add quotes.
20204 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
20213 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20215 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20217 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
20218 if test -w "$cache_file"; then
20219 if test "x$cache_file" != "x/dev/null"; then
20220 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
20221 $as_echo "$as_me: updating cache $cache_file" >&6;}
20222 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
20223 cat confcache
>"$cache_file"
20225 case $cache_file in #(
20227 mv -f confcache
"$cache_file"$$
&&
20228 mv -f "$cache_file"$$
"$cache_file" ;; #(
20230 mv -f confcache
"$cache_file" ;;
20235 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
20236 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
20241 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
20242 # Let make expand exec_prefix.
20243 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
20245 # Transform confdefs.h into DEFS.
20246 # Protect against shell expansion while executing Makefile rules.
20247 # Protect against Makefile macro expansion.
20249 # If the first sed substitution is executed (which looks for macros that
20250 # take arguments), then branch to the quote section. Otherwise,
20251 # look for a macro that doesn't take arguments.
20261 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
20263 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
20267 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
20280 DEFS
=`sed -n "$ac_script" confdefs.h`
20286 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
20287 # 1. Remove the extension, and $U if already installed.
20288 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
20289 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
20290 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
20291 # will be set to the directory where LIBOBJS objects are built.
20292 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
20293 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
20295 LIBOBJS
=$ac_libobjs
20297 LTLIBOBJS
=$ac_ltlibobjs
20300 if test -n "$EXEEXT"; then
20302 am__EXEEXT_FALSE
='#'
20304 am__EXEEXT_TRUE
='#'
20308 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
20309 as_fn_error $?
"conditional \"AMDEP\" was never defined.
20310 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20312 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
20313 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
20314 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20316 if test -z "${TR_UNSTABLE_TRUE}" && test -z "${TR_UNSTABLE_FALSE}"; then
20317 as_fn_error $?
"conditional \"TR_UNSTABLE\" was never defined.
20318 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20320 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
20321 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
20322 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20324 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
20325 as_fn_error $?
"conditional \"am__fastdepCXX\" was never defined.
20326 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20328 if test -z "${BUILD_UTP_TRUE}" && test -z "${BUILD_UTP_FALSE}"; then
20329 as_fn_error $?
"conditional \"BUILD_UTP\" was never defined.
20330 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20332 if test -z "${BUILD_MINIUPNP_TRUE}" && test -z "${BUILD_MINIUPNP_FALSE}"; then
20333 as_fn_error $?
"conditional \"BUILD_MINIUPNP\" was never defined.
20334 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20336 if test -z "${BUILD_NATPMP_TRUE}" && test -z "${BUILD_NATPMP_FALSE}"; then
20337 as_fn_error $?
"conditional \"BUILD_NATPMP\" was never defined.
20338 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20340 if test -z "${BUILD_GTK_TRUE}" && test -z "${BUILD_GTK_FALSE}"; then
20341 as_fn_error $?
"conditional \"BUILD_GTK\" was never defined.
20342 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20345 ac_config_commands
="$ac_config_commands po/stamp-it"
20348 if test -z "${BUILD_CLI_TRUE}" && test -z "${BUILD_CLI_FALSE}"; then
20349 as_fn_error $?
"conditional \"BUILD_CLI\" was never defined.
20350 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20352 if test -z "${BUILD_MAC_TRUE}" && test -z "${BUILD_MAC_FALSE}"; then
20353 as_fn_error $?
"conditional \"BUILD_MAC\" was never defined.
20354 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20356 if test -z "${BUILD_DAEMON_TRUE}" && test -z "${BUILD_DAEMON_FALSE}"; then
20357 as_fn_error $?
"conditional \"BUILD_DAEMON\" was never defined.
20358 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20360 if test -z "${WIN32_TRUE}" && test -z "${WIN32_FALSE}"; then
20361 as_fn_error $?
"conditional \"WIN32\" was never defined.
20362 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20365 : "${CONFIG_STATUS=./config.status}"
20367 ac_clean_files_save
=$ac_clean_files
20368 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
20369 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
20370 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
20372 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
20374 # Generated by $as_me.
20375 # Run this file to recreate the current configuration.
20376 # Compiler output produced by configure, useful for debugging
20377 # configure, is in config.log if it exists.
20380 ac_cs_recheck=false
20383 SHELL=\${CONFIG_SHELL-$SHELL}
20386 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
20387 ## -------------------- ##
20388 ## M4sh Initialization. ##
20389 ## -------------------- ##
20391 # Be more Bourne compatible
20392 DUALCASE
=1; export DUALCASE
# for MKS sh
20393 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
20396 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
20397 # is contrary to our usage. Disable this feature.
20398 alias -g '${1+"$@"}'='"$@"'
20399 setopt NO_GLOB_SUBST
20401 case `(set -o) 2>/dev/null` in #(
20413 # Printing a long string crashes Solaris 7 /usr/bin/printf.
20414 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
20415 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
20416 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
20417 # Prefer a ksh shell builtin over an external printf program on Solaris,
20418 # but without wasting forks for bash or zsh.
20419 if test -z "$BASH_VERSION$ZSH_VERSION" \
20420 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
20421 as_echo='print
-r --'
20422 as_echo_n='print
-rn --'
20423 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
20424 as_echo='printf %s
\n'
20425 as_echo_n='printf %s
'
20427 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
20428 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
20429 as_echo_n='/usr
/ucb
/echo -n'
20431 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
20432 as_echo_n_body='eval
20436 expr "X$arg" : "X\\(.*\\)$as_nl";
20437 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
20439 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
20441 export as_echo_n_body
20442 as_echo_n='sh
-c $as_echo_n_body as_echo
'
20444 export as_echo_body
20445 as_echo='sh
-c $as_echo_body as_echo
'
20448 # The user is always right.
20449 if test "${PATH_SEPARATOR+set}" != set; then
20451 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
20452 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
20459 # We need space, tab and new line, in precisely that order. Quoting is
20460 # there to prevent editors from complaining about space-tab.
20461 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
20462 # splitting by setting IFS to empty value.)
20465 # Find who we are. Look in the path if we contain no directory separator.
20468 *[\\/]* ) as_myself=$0 ;;
20469 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20470 for as_dir in $PATH
20473 test -z "$as_dir" && as_dir=.
20474 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
20480 # We did not find ourselves, most probably we were run as `sh COMMAND'
20481 # in which case we are not to be found in the path.
20482 if test "x$as_myself" = x
; then
20485 if test ! -f "$as_myself"; then
20486 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
20490 # Unset variables that we do not need and which cause bugs (e.g. in
20491 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
20492 # suppresses any "Segmentation fault" message there. '((' could
20493 # trigger a bug in pdksh 5.2.14.
20494 for as_var
in BASH_ENV ENV MAIL MAILPATH
20495 do eval test x\
${$as_var+set} = xset \
20496 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
20509 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
20512 # as_fn_error STATUS ERROR [LINENO LOG_FD]
20513 # ----------------------------------------
20514 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
20515 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
20516 # script with STATUS, using 1 if that was 0.
20519 as_status
=$1; test $as_status -eq 0 && as_status
=1
20521 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
20522 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
20524 $as_echo "$as_me: error: $2" >&2
20525 as_fn_exit
$as_status
20529 # as_fn_set_status STATUS
20530 # -----------------------
20531 # Set $? to STATUS, without forking.
20532 as_fn_set_status
()
20535 } # as_fn_set_status
20537 # as_fn_exit STATUS
20538 # -----------------
20539 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
20543 as_fn_set_status
$1
20549 # Portably unset VAR.
20552 { eval $1=; unset $1;}
20554 as_unset
=as_fn_unset
20555 # as_fn_append VAR VALUE
20556 # ----------------------
20557 # Append the text in VALUE to the end of the definition contained in VAR. Take
20558 # advantage of any shell optimizations that allow amortized linear growth over
20559 # repeated appends, instead of the typical quadratic growth present in naive
20561 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
20562 eval 'as_fn_append ()
20573 # as_fn_arith ARG...
20574 # ------------------
20575 # Perform arithmetic evaluation on the ARGs, and store the result in the
20576 # global $as_val. Take advantage of shells that can avoid forks. The arguments
20577 # must be portable across $(()) and expr.
20578 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
20579 eval 'as_fn_arith ()
20586 as_val
=`expr "$@" || test $? -eq 1`
20591 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
20592 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
20598 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
20599 as_basename
=basename
20604 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
20610 as_me
=`$as_basename -- "$0" ||
20611 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20612 X"$0" : 'X\(//\)$' \| \
20613 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
20615 sed '/^.*\/\([^/][^/]*\)\/*$/{
20629 # Avoid depending upon Character Ranges.
20630 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
20631 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20632 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
20633 as_cr_digits
='0123456789'
20634 as_cr_alnum
=$as_cr_Letters$as_cr_digits
20636 ECHO_C
= ECHO_N
= ECHO_T
=
20637 case `echo -n x` in #(((((
20639 case `echo 'xy\c'` in
20640 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
20642 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
20649 rm -f conf$$ conf$$.exe conf$$.
file
20650 if test -d conf$$.dir
; then
20651 rm -f conf$$.dir
/conf$$.
file
20654 mkdir conf$$.dir
2>/dev
/null
20656 if (echo >conf$$.
file) 2>/dev
/null
; then
20657 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
20659 # ... but there are two gotchas:
20660 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
20661 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
20662 # In both cases, we have to default to `cp -p'.
20663 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
20665 elif ln conf$$.
file conf$$
2>/dev
/null
; then
20673 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
20674 rmdir conf$$.dir
2>/dev
/null
20679 # Create "$as_dir" as a directory, including parents if necessary.
20684 -*) as_dir
=.
/$as_dir;;
20686 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
20690 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
20691 *) as_qdir
=$as_dir;;
20693 as_dirs
="'$as_qdir' $as_dirs"
20694 as_dir
=`$as_dirname -- "$as_dir" ||
20695 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20696 X"$as_dir" : 'X\(//\)[^/]' \| \
20697 X"$as_dir" : 'X\(//\)$' \| \
20698 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
20699 $as_echo X"$as_dir" |
20700 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20704 /^X\(\/\/\)[^/].*/{
20717 test -d "$as_dir" && break
20719 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
20720 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
20724 if mkdir
-p .
2>/dev
/null
; then
20725 as_mkdir_p
='mkdir -p "$as_dir"'
20727 test -d .
/-p && rmdir .
/-p
20731 if test -x / >/dev
/null
2>&1; then
20732 as_test_x
='test -x'
20734 if ls -dL / >/dev
/null
2>&1; then
20741 if test -d "$1"; then
20747 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
20748 ???[sx]*):;;*)false;;esac;fi
20752 as_executable_p
=$as_test_x
20754 # Sed expression to map a string onto a valid CPP name.
20755 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20757 # Sed expression to map a string onto a valid variable name.
20758 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20762 ## ----------------------------------- ##
20763 ## Main body of $CONFIG_STATUS script. ##
20764 ## ----------------------------------- ##
20766 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
20768 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20769 # Save the log message, to keep $0 and so on meaningful, and to
20770 # report actual input values of CONFIG_FILES etc. instead of their
20771 # values after options handling.
20773 This file was extended by transmission $as_me 2.51, which was
20774 generated by GNU Autoconf 2.68. Invocation command line was
20776 CONFIG_FILES = $CONFIG_FILES
20777 CONFIG_HEADERS = $CONFIG_HEADERS
20778 CONFIG_LINKS = $CONFIG_LINKS
20779 CONFIG_COMMANDS = $CONFIG_COMMANDS
20782 on `(hostname || uname -n) 2>/dev/null | sed 1q`
20787 case $ac_config_files in *"
20788 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
20793 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20794 # Files that config.status was made for.
20795 config_files="$ac_config_files"
20796 config_commands="$ac_config_commands"
20800 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20802 \`$as_me' instantiates files and other configuration actions
20803 from templates according to the current configuration. Unless the files
20804 and actions are specified as TAGs, all are instantiated by default.
20806 Usage: $0 [OPTION]... [TAG]...
20808 -h, --help print this help, then exit
20809 -V, --version print version number and configuration settings, then exit
20810 --config print configuration, then exit
20811 -q, --quiet, --silent
20812 do not print progress messages
20813 -d, --debug don't remove temporary files
20814 --recheck update $as_me by reconfiguring in the same conditions
20815 --file=FILE[:TEMPLATE]
20816 instantiate the configuration file FILE
20818 Configuration files:
20821 Configuration commands:
20824 Report bugs to <http://trac.transmissionbt.com/newticket>."
20827 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20828 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
20830 transmission config.status 2.51
20831 configured by $0, generated by GNU Autoconf 2.68,
20832 with options \\"\$ac_cs_config\\"
20834 Copyright (C) 2010 Free Software Foundation, Inc.
20835 This config.status script is free software; the Free Software Foundation
20836 gives unlimited permission to copy, distribute and modify it."
20843 test -n "\$AWK" || AWK=awk
20846 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20847 # The default lists apply if the user does not specify any file.
20853 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
20854 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
20858 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
20870 # Handling of the options.
20871 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
20873 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
20874 $as_echo "$ac_cs_version"; exit ;;
20875 --config |
--confi |
--conf |
--con |
--co |
--c )
20876 $as_echo "$ac_cs_config"; exit ;;
20877 --debug |
--debu |
--deb |
--de |
--d |
-d )
20879 --file |
--fil |
--fi |
--f )
20882 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20883 '') as_fn_error $?
"missing file argument" ;;
20885 as_fn_append CONFIG_FILES
" '$ac_optarg'"
20886 ac_need_defaults
=false
;;
20887 --he |
--h |
--help |
--hel |
-h )
20888 $as_echo "$ac_cs_usage"; exit ;;
20889 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
20890 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
20893 # This is an error.
20894 -*) as_fn_error $?
"unrecognized option: \`$1'
20895 Try \`$0 --help' for more information." ;;
20897 *) as_fn_append ac_config_targets
" $1"
20898 ac_need_defaults
=false
;;
20904 ac_configure_extra_args
=
20906 if $ac_cs_silent; then
20908 ac_configure_extra_args
="$ac_configure_extra_args --silent"
20912 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20913 if \$ac_cs_recheck; then
20914 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20916 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
20917 CONFIG_SHELL='$SHELL'
20918 export CONFIG_SHELL
20923 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20927 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20928 ## Running $as_me. ##
20934 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20938 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
20941 # The HP-UX ksh and POSIX shell print the target directory to stdout
20942 # if CDPATH is set.
20943 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
20945 sed_quote_subst='$sed_quote_subst'
20946 double_quote_subst='$double_quote_subst'
20947 delay_variable_subst='$delay_variable_subst'
20948 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
20949 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
20950 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
20951 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
20952 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
20953 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
20954 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
20955 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
20956 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
20957 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
20958 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
20959 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
20960 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
20961 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
20962 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
20963 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
20964 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
20965 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
20966 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
20967 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
20968 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
20969 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
20970 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
20971 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
20972 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
20973 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
20974 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
20975 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
20976 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
20977 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
20978 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
20979 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
20980 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
20981 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
20982 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
20983 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
20984 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
20985 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
20986 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
20987 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
20988 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
20989 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
20990 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
20991 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
20992 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
20993 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
20994 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
20995 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
20996 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
20997 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
20998 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
20999 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
21000 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
21001 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
21002 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
21003 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
21004 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"`'
21005 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
21006 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
21007 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
21008 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
21009 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
21010 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
21011 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
21012 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
21013 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
21014 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
21015 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
21016 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
21017 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
21018 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
21019 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
21020 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
21021 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
21022 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
21023 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
21024 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
21025 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
21026 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
21027 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
21028 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
21029 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
21030 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
21031 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
21032 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
21033 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
21034 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
21035 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
21036 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
21037 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
21038 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
21039 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
21040 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
21041 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
21042 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
21043 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
21044 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
21045 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
21046 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
21047 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
21048 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
21049 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
21050 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
21051 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
21052 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
21053 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
21054 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
21055 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
21056 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
21057 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
21058 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
21059 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
21060 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
21061 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
21062 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
21063 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
21064 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
21065 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
21066 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
21067 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
21068 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
21069 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
21070 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
21071 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
21072 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
21073 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
21074 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
21075 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
21076 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
21077 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
21078 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
21079 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
21080 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
21081 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
21082 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
21083 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
21084 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
21085 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
21086 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21087 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21088 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
21089 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
21090 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
21091 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
21092 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
21093 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
21094 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
21095 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
21096 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
21097 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
21098 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
21099 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
21100 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21101 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21102 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21103 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21104 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21105 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21106 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
21107 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
21108 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
21109 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
21110 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
21111 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
21112 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
21113 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
21114 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
21115 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
21116 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
21117 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
21118 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
21119 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21120 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
21121 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
21122 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21123 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21124 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
21125 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
21126 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
21127 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
21128 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
21129 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
21130 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
21131 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
21134 LTCFLAGS='$LTCFLAGS'
21135 compiler='$compiler_DEFAULT'
21137 # A function that is used when there is no print builtin or printf.
21138 func_fallback_echo ()
21140 eval 'cat <<_LTECHO_EOF
21145 # Quote evaled strings.
21160 deplibs_check_method \
21165 sharedlib_from_linklib_cmd \
21168 archiver_list_spec \
21174 lt_cv_sys_global_symbol_pipe \
21175 lt_cv_sys_global_symbol_to_cdecl \
21176 lt_cv_sys_global_symbol_to_c_name_address \
21177 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
21178 nm_file_list_spec \
21179 lt_prog_compiler_no_builtin_flag \
21180 lt_prog_compiler_pic \
21181 lt_prog_compiler_wl \
21182 lt_prog_compiler_static \
21183 lt_cv_prog_compiler_c_o \
21192 export_dynamic_flag_spec \
21193 whole_archive_flag_spec \
21194 compiler_needs_object \
21196 allow_undefined_flag \
21197 no_undefined_flag \
21198 hardcode_libdir_flag_spec \
21199 hardcode_libdir_separator \
21203 variables_saved_for_relink \
21205 library_names_spec \
21207 install_override_mode \
21211 compiler_lib_search_dirs \
21216 compiler_lib_search_path \
21220 lt_prog_compiler_no_builtin_flag_CXX \
21221 lt_prog_compiler_pic_CXX \
21222 lt_prog_compiler_wl_CXX \
21223 lt_prog_compiler_static_CXX \
21224 lt_cv_prog_compiler_c_o_CXX \
21225 export_dynamic_flag_spec_CXX \
21226 whole_archive_flag_spec_CXX \
21227 compiler_needs_object_CXX \
21229 allow_undefined_flag_CXX \
21230 no_undefined_flag_CXX \
21231 hardcode_libdir_flag_spec_CXX \
21232 hardcode_libdir_separator_CXX \
21233 exclude_expsyms_CXX \
21234 include_expsyms_CXX \
21235 file_list_spec_CXX \
21236 compiler_lib_search_dirs_CXX \
21237 predep_objects_CXX \
21238 postdep_objects_CXX \
21241 compiler_lib_search_path_CXX; do
21242 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
21243 *[\\\\\\\`\\"\\\$]*)
21244 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
21247 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
21252 # Double-quote double-evaled strings.
21253 for var in reload_cmds \
21254 old_postinstall_cmds \
21255 old_postuninstall_cmds \
21257 extract_expsyms_cmds \
21258 old_archive_from_new_cmds \
21259 old_archive_from_expsyms_cmds \
21261 archive_expsym_cmds \
21263 module_expsym_cmds \
21264 export_symbols_cmds \
21268 postuninstall_cmds \
21270 sys_lib_search_path_spec \
21271 sys_lib_dlsearch_path_spec \
21273 old_archive_cmds_CXX \
21274 old_archive_from_new_cmds_CXX \
21275 old_archive_from_expsyms_cmds_CXX \
21277 archive_expsym_cmds_CXX \
21279 module_expsym_cmds_CXX \
21280 export_symbols_cmds_CXX \
21282 postlink_cmds_CXX; do
21283 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
21284 *[\\\\\\\`\\"\\\$]*)
21285 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
21288 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
21293 ac_aux_dir='$ac_aux_dir'
21294 xsi_shell='$xsi_shell'
21295 lt_shell_append='$lt_shell_append'
21297 # See if we are running on zsh, and set the options which allow our
21298 # commands through without removal of \ escapes INIT.
21299 if test -n "\${ZSH_VERSION+set}" ; then
21300 setopt NO_GLOB_SUBST
21306 TIMESTAMP='$TIMESTAMP'
21318 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
21320 # Handling of arguments.
21321 for ac_config_target
in $ac_config_targets
21323 case $ac_config_target in
21324 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
21325 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
21326 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
21327 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
21328 "transmission-gtk.spec") CONFIG_FILES
="$CONFIG_FILES transmission-gtk.spec" ;;
21329 "cli/Makefile") CONFIG_FILES
="$CONFIG_FILES cli/Makefile" ;;
21330 "daemon/Makefile") CONFIG_FILES
="$CONFIG_FILES daemon/Makefile" ;;
21331 "extras/Makefile") CONFIG_FILES
="$CONFIG_FILES extras/Makefile" ;;
21332 "libtransmission/Makefile") CONFIG_FILES
="$CONFIG_FILES libtransmission/Makefile" ;;
21333 "utils/Makefile") CONFIG_FILES
="$CONFIG_FILES utils/Makefile" ;;
21334 "third-party/Makefile") CONFIG_FILES
="$CONFIG_FILES third-party/Makefile" ;;
21335 "third-party/dht/Makefile") CONFIG_FILES
="$CONFIG_FILES third-party/dht/Makefile" ;;
21336 "third-party/libutp/Makefile") CONFIG_FILES
="$CONFIG_FILES third-party/libutp/Makefile" ;;
21337 "third-party/libnatpmp/Makefile") CONFIG_FILES
="$CONFIG_FILES third-party/libnatpmp/Makefile" ;;
21338 "third-party/miniupnp/Makefile") CONFIG_FILES
="$CONFIG_FILES third-party/miniupnp/Makefile" ;;
21339 "macosx/Makefile") CONFIG_FILES
="$CONFIG_FILES macosx/Makefile" ;;
21340 "gtk/Makefile") CONFIG_FILES
="$CONFIG_FILES gtk/Makefile" ;;
21341 "gtk/icons/Makefile") CONFIG_FILES
="$CONFIG_FILES gtk/icons/Makefile" ;;
21342 "qt/config.pri") CONFIG_FILES
="$CONFIG_FILES qt/config.pri" ;;
21343 "web/Makefile") CONFIG_FILES
="$CONFIG_FILES web/Makefile" ;;
21344 "web/images/Makefile") CONFIG_FILES
="$CONFIG_FILES web/images/Makefile" ;;
21345 "web/style/Makefile") CONFIG_FILES
="$CONFIG_FILES web/style/Makefile" ;;
21346 "web/style/jqueryui/Makefile") CONFIG_FILES
="$CONFIG_FILES web/style/jqueryui/Makefile" ;;
21347 "web/style/jqueryui/images/Makefile") CONFIG_FILES
="$CONFIG_FILES web/style/jqueryui/images/Makefile" ;;
21348 "web/style/transmission/Makefile") CONFIG_FILES
="$CONFIG_FILES web/style/transmission/Makefile" ;;
21349 "web/style/transmission/images/Makefile") CONFIG_FILES
="$CONFIG_FILES web/style/transmission/images/Makefile" ;;
21350 "web/style/transmission/images/buttons/Makefile") CONFIG_FILES
="$CONFIG_FILES web/style/transmission/images/buttons/Makefile" ;;
21351 "web/javascript/Makefile") CONFIG_FILES
="$CONFIG_FILES web/javascript/Makefile" ;;
21352 "web/javascript/jquery/Makefile") CONFIG_FILES
="$CONFIG_FILES web/javascript/jquery/Makefile" ;;
21353 "po/Makefile.in") CONFIG_FILES
="$CONFIG_FILES po/Makefile.in" ;;
21354 "po/stamp-it") CONFIG_COMMANDS
="$CONFIG_COMMANDS po/stamp-it" ;;
21356 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
21361 # If the user did not use the arguments to specify the items to instantiate,
21362 # then the envvar interface is used. Set only those that are not.
21363 # We use the long form for the default assignment because of an extremely
21364 # bizarre bug on SunOS 4.1.3.
21365 if $ac_need_defaults; then
21366 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
21367 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
21370 # Have a temporary directory for convenience. Make it in the build tree
21371 # simply because there is no reason against having it here, and in addition,
21372 # creating and moving files from /tmp can sometimes cause problems.
21373 # Hook for its removal unless debugging.
21374 # Note that there is a small window in which the directory will not be cleaned:
21375 # after its creation but before its name has been assigned to `$tmp'.
21379 trap 'exit_status=$?
21380 : "${ac_tmp:=$tmp}"
21381 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
21383 trap 'as_fn_exit 1' 1 2 13 15
21385 # Create a (secure) tmp directory for tmp files.
21388 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21392 tmp
=.
/conf$$
-$RANDOM
21393 (umask 077 && mkdir
"$tmp")
21394 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
21397 # Set up the scripts for CONFIG_FILES section.
21398 # No need to generate them if there are no CONFIG_FILES.
21399 # This happens for instance with `./config.status config.h'.
21400 if test -n "$CONFIG_FILES"; then
21403 ac_cr
=`echo X | tr X '\015'`
21404 # On cygwin, bash can eat \r inside `` if the user requested igncr.
21405 # But we know of no other shell where ac_cr would be empty at this
21406 # point, so we can use a bashism as a fallback.
21407 if test "x$ac_cr" = x
; then
21408 eval ac_cr
=\$
\'\\r
\'
21410 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
21411 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
21414 ac_cs_awk_cr
=$ac_cr
21417 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
21422 echo "cat >conf$$subs.awk <<_ACEOF" &&
21423 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
21425 } >conf$$subs.sh ||
21426 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
21427 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
21429 for ac_last_try in false false false false false :; do
21430 . ./conf$$subs.sh ||
21431 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
21433 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
21434 if test $ac_delim_n = $ac_delim_num; then
21436 elif $ac_last_try; then
21437 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
21439 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
21442 rm -f conf$$subs.sh
21444 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21445 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
21449 s/^/S["/; s
/!.
*/"]=/
21459 s/\(.\{148\}\)..*/\1/
21461 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
21466 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
21473 s/\(.\{148\}\)..*/\1/
21475 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
21479 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
21484 ' <conf$$subs.awk | sed '
21489 ' >>$CONFIG_STATUS || ac_write_fail=1
21490 rm -f conf$$subs.awk
21491 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21493 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
21494 for (key in S) S_is_set[key] = 1
21500 nfields = split(line, field, "@
")
21502 len = length(field[1])
21503 for (i = 2; i < nfields; i++) {
21505 keylen = length(key)
21506 if (S_is_set[key]) {
21508 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
21509 len += length(value) + length(field[++i])
21520 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21521 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
21522 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
21525 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
21526 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
21529 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
21530 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
21531 # trailing colons and then remove the whole line if VPATH becomes empty
21532 # (actually we leave an empty line to preserve line numbers).
21533 if test "x
$srcdir" = x.; then
21534 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
21552 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21553 fi # test -n "$CONFIG_FILES"
21556 eval set X " :F
$CONFIG_FILES :C
$CONFIG_COMMANDS"
21561 :[FHLC]) ac_mode=$ac_tag; continue;;
21563 case $ac_mode$ac_tag in
21565 :L* | :C*:*) as_fn_error $? "invalid tag \
`$ac_tag'" "$LINENO" 5;;
21566 :[FH]-) ac_tag=-:-;;
21567 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
21584 -) ac_f="$ac_tmp/stdin";;
21585 *) # Look for the file first in the build tree, then in the source tree
21586 # (if the path is not absolute). The absolute path cannot be DOS-style,
21587 # because $ac_f cannot contain `:'.
21591 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
21593 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
21595 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
21596 as_fn_append ac_file_inputs " '$ac_f'"
21599 # Let's still pretend it is `configure' which instantiates (i.e., don't
21600 # use $as_me), people would be surprised to read:
21601 # /* config.h. Generated by config.status. */
21602 configure_input='Generated from '`
21603 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
21605 if test x"$ac_file" != x-; then
21606 configure_input="$ac_file.
$configure_input"
21607 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
21608 $as_echo "$as_me: creating
$ac_file" >&6;}
21610 # Neutralize special characters interpreted by sed in replacement strings.
21611 case $configure_input in #(
21612 *\&* | *\|* | *\\* )
21613 ac_sed_conf_input=`$as_echo "$configure_input" |
21614 sed 's/[\\\\&|]/\\\\&/g'`;; #(
21615 *) ac_sed_conf_input=$configure_input;;
21619 *:-:* | *:-) cat >"$ac_tmp/stdin
" \
21620 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5 ;;
21625 ac_dir=`$as_dirname -- "$ac_file" ||
21626 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21627 X"$ac_file" : 'X\(//\)[^/]' \| \
21628 X"$ac_file" : 'X\(//\)$' \| \
21629 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
21630 $as_echo X"$ac_file" |
21631 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21635 /^X\(\/\/\)[^/].*/{
21648 as_dir="$ac_dir"; as_fn_mkdir_p
21652 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
21654 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
21655 # A "..
" for each directory in $ac_dir_suffix.
21656 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
21657 case $ac_top_builddir_sub in
21658 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
21659 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
21662 ac_abs_top_builddir=$ac_pwd
21663 ac_abs_builddir=$ac_pwd$ac_dir_suffix
21664 # for backward compatibility:
21665 ac_top_builddir=$ac_top_build_prefix
21668 .) # We are building in place.
21670 ac_top_srcdir=$ac_top_builddir_sub
21671 ac_abs_top_srcdir=$ac_pwd ;;
21672 [\\/]* | ?:[\\/]* ) # Absolute name.
21673 ac_srcdir=$srcdir$ac_dir_suffix;
21674 ac_top_srcdir=$srcdir
21675 ac_abs_top_srcdir=$srcdir ;;
21676 *) # Relative name.
21677 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
21678 ac_top_srcdir=$ac_top_build_prefix$srcdir
21679 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
21681 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
21691 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
21692 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
21694 ac_MKDIR_P=$MKDIR_P
21696 [\\/$]* | ?:[\\/]* ) ;;
21697 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
21701 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21702 # If the template does not know about datarootdir, expand it.
21703 # FIXME: This hack should be removed a few years after 2.60.
21704 ac_datarootdir_hack=; ac_datarootdir_seen=
21715 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
21716 *datarootdir*) ac_datarootdir_seen=yes;;
21717 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
21718 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
21719 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
21721 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21722 ac_datarootdir_hack='
21723 s&@datadir@&$datadir&g
21724 s&@docdir@&$docdir&g
21725 s&@infodir@&$infodir&g
21726 s&@localedir@&$localedir&g
21727 s&@mandir@&$mandir&g
21728 s&\\\${datarootdir}&$datarootdir&g' ;;
21732 # Neutralize VPATH when `$srcdir' = `.'.
21733 # Shell code in configure.ac might set extrasub.
21734 # FIXME: do we really want to maintain this feature?
21735 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21736 ac_sed_extra="$ac_vpsub
21739 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
21741 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
21742 s|@configure_input@|
$ac_sed_conf_input|
;t t
21743 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
21744 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
21745 s
&@srcdir@
&$ac_srcdir&;t t
21746 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
21747 s
&@top_srcdir@
&$ac_top_srcdir&;t t
21748 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
21749 s
&@builddir@
&$ac_builddir&;t t
21750 s
&@abs_builddir@
&$ac_abs_builddir&;t t
21751 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
21752 s
&@INSTALL@
&$ac_INSTALL&;t t
21753 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
21754 $ac_datarootdir_hack
21756 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
21757 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
21759 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
21760 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
21761 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
21762 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
21763 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
21764 which seems to be undefined. Please make sure it is defined" >&5
21765 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
21766 which seems to be undefined. Please make sure it is defined" >&2;}
21768 rm -f "$ac_tmp/stdin"
21770 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
21771 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
21773 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21777 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
21778 $as_echo "$as_me: executing $ac_file commands" >&6;}
21783 case $ac_file$ac_mode in
21784 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
21785 # Autoconf 2.62 quotes --file arguments for eval, but not when files
21786 # are listed without --file. Let's play safe and only
enable the
eval
21787 # if we detect the quoting.
21788 case $CONFIG_FILES in
21789 *\'*) eval set x
"$CONFIG_FILES" ;;
21790 *) set x
$CONFIG_FILES ;;
21795 # Strip MF so we end up with the name of the file.
21796 mf
=`echo "$mf" | sed -e 's/:.*$//'`
21797 # Check whether this is an Automake generated Makefile or not.
21798 # We used to match only the files named `Makefile.in', but
21799 # some people rename them; so instead we look at the file content.
21800 # Grep'ing the first line is not enough: some people post-process
21801 # each Makefile.in and add a new line on top of each file to say so.
21802 # Grep'ing the whole file is not good either: AIX grep has a line
21803 # limit of 2048, but all sed's we know have understand at least 4000.
21804 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
21805 dirpart
=`$as_dirname -- "$mf" ||
21806 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21807 X"$mf" : 'X\(//\)[^/]' \| \
21808 X"$mf" : 'X\(//\)$' \| \
21809 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
21811 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21815 /^X\(\/\/\)[^/].*/{
21831 # Extract the definition of DEPDIR, am__include, and am__quote
21832 # from the Makefile without running `make'.
21833 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
21834 test -z "$DEPDIR" && continue
21835 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
21836 test -z "am__include" && continue
21837 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
21838 # When using ansi2knr, U may be empty or an underscore; expand it
21839 U
=`sed -n 's/^U = //p' < "$mf"`
21840 # Find all dependency output files, they are included files with
21841 # $(DEPDIR) in their names. We invoke sed twice because it is the
21842 # simplest approach to changing $(DEPDIR) to its actual value in the
21844 for file in `sed -n "
21845 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
21846 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
21847 # Make sure the directory exists.
21848 test -f "$dirpart/$file" && continue
21849 fdir
=`$as_dirname -- "$file" ||
21850 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21851 X"$file" : 'X\(//\)[^/]' \| \
21852 X"$file" : 'X\(//\)$' \| \
21853 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
21854 $as_echo X"$file" |
21855 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21859 /^X\(\/\/\)[^/].*/{
21872 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
21873 # echo "creating $dirpart/$file"
21874 echo '# dummy' > "$dirpart/$file"
21881 # See if we are running on zsh, and set the options which allow our
21882 # commands through without removal of \ escapes.
21883 if test -n "${ZSH_VERSION+set}" ; then
21884 setopt NO_GLOB_SUBST
21887 cfgfile
="${ofile}T"
21888 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
21891 cat <<_LT_EOF >> "$cfgfile"
21894 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
21895 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
21896 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
21897 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
21899 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
21900 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
21902 # Written by Gordon Matzigkeit, 1996
21904 # This file is part of GNU Libtool.
21906 # GNU Libtool is free software; you can redistribute it and/or
21907 # modify it under the terms of the GNU General Public License as
21908 # published by the Free Software Foundation; either version 2 of
21909 # the License, or (at your option) any later version.
21911 # As a special exception to the GNU General Public License,
21912 # if you distribute this file as part of a program or library that
21913 # is built using GNU Libtool, you may include this file under the
21914 # same distribution terms that you use for the rest of that program.
21916 # GNU Libtool is distributed in the hope that it will be useful,
21917 # but WITHOUT ANY WARRANTY; without even the implied warranty of
21918 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21919 # GNU General Public License for more details.
21921 # You should have received a copy of the GNU General Public License
21922 # along with GNU Libtool; see the file COPYING. If not, a copy
21923 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
21924 # obtained by writing to the Free Software Foundation, Inc.,
21925 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
21928 # The names of the tagged configurations supported by this script.
21929 available_tags="CXX "
21931 # ### BEGIN LIBTOOL CONFIG
21933 # Which release of libtool.m4 was used?
21934 macro_version=$macro_version
21935 macro_revision=$macro_revision
21937 # Whether or not to build shared libraries.
21938 build_libtool_libs=$enable_shared
21940 # Whether or not to build static libraries.
21941 build_old_libs=$enable_static
21943 # What type of objects to build.
21946 # Whether or not to optimize for fast installation.
21947 fast_install=$enable_fast_install
21949 # Shell to use when invoking shell scripts.
21952 # An echo program that protects backslashes.
21955 # The PATH separator for the build system.
21956 PATH_SEPARATOR=$lt_PATH_SEPARATOR
21959 host_alias=$host_alias
21963 # The build system.
21964 build_alias=$build_alias
21968 # A sed program that does not truncate output.
21971 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
21972 Xsed="\$SED -e 1s/^X//"
21974 # A grep program that handles long lines.
21980 # A literal string matcher.
21983 # A BSD- or MS-compatible name lister.
21986 # Whether we need soft or hard links.
21989 # What is the maximum length of a command?
21990 max_cmd_len=$max_cmd_len
21992 # Object file suffix (normally "o").
21995 # Executable file suffix (normally "").
21998 # whether the shell understands "unset".
22001 # turn spaces into newlines.
22004 # turn newlines into spaces.
22007 # convert \$build file names to \$host format.
22008 to_host_file_cmd=$lt_cv_to_host_file_cmd
22010 # convert \$build files to toolchain format.
22011 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
22013 # An object symbol dumper.
22014 OBJDUMP=$lt_OBJDUMP
22016 # Method to check whether dependent libraries are shared objects.
22017 deplibs_check_method=$lt_deplibs_check_method
22019 # Command to use when deplibs_check_method = "file_magic".
22020 file_magic_cmd=$lt_file_magic_cmd
22022 # How to find potential files when deplibs_check_method = "file_magic".
22023 file_magic_glob=$lt_file_magic_glob
22025 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
22026 want_nocaseglob=$lt_want_nocaseglob
22028 # DLL creation program.
22029 DLLTOOL=$lt_DLLTOOL
22031 # Command to associate shared and link libraries.
22032 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
22037 # Flags to create an archive.
22038 AR_FLAGS=$lt_AR_FLAGS
22040 # How to feed a file listing to the archiver.
22041 archiver_list_spec=$lt_archiver_list_spec
22043 # A symbol stripping program.
22046 # Commands used to install an old-style archive.
22048 old_postinstall_cmds=$lt_old_postinstall_cmds
22049 old_postuninstall_cmds=$lt_old_postuninstall_cmds
22051 # Whether to use a lock for old archive extraction.
22052 lock_old_archive_extraction=$lock_old_archive_extraction
22057 # LTCC compiler flags.
22058 LTCFLAGS=$lt_CFLAGS
22060 # Take the output of nm and produce a listing of raw symbols and C names.
22061 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
22063 # Transform the output of nm in a proper C declaration.
22064 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
22066 # Transform the output of nm in a C name address pair.
22067 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
22069 # Transform the output of nm in a C name address pair when lib prefix is needed.
22070 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
22072 # Specify filename containing input files for \$NM.
22073 nm_file_list_spec=$lt_nm_file_list_spec
22075 # The root where to search for dependent libraries,and in which our libraries should be installed.
22076 lt_sysroot=$lt_sysroot
22078 # The name of the directory that contains temporary libtool files.
22081 # Used to examine libraries when file_magic_cmd begins with "file".
22082 MAGIC_CMD=$MAGIC_CMD
22084 # Must we lock files when doing compilation?
22085 need_locks=$lt_need_locks
22088 MANIFEST_TOOL=$lt_MANIFEST_TOOL
22090 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
22091 DSYMUTIL=$lt_DSYMUTIL
22093 # Tool to change global to local symbols on Mac OS X.
22096 # Tool to manipulate fat objects and archives on Mac OS X.
22099 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
22102 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
22103 OTOOL64=$lt_OTOOL64
22105 # Old archive suffix (normally "a").
22108 # Shared library suffix (normally ".so").
22109 shrext_cmds=$lt_shrext_cmds
22111 # The commands to extract the exported symbol list from a shared archive.
22112 extract_expsyms_cmds=$lt_extract_expsyms_cmds
22114 # Variables whose values should be saved in libtool wrapper scripts and
22115 # restored at link time.
22116 variables_saved_for_relink=$lt_variables_saved_for_relink
22118 # Do we need the "lib" prefix for modules?
22119 need_lib_prefix=$need_lib_prefix
22121 # Do we need a version for libraries?
22122 need_version=$need_version
22124 # Library versioning type.
22125 version_type=$version_type
22127 # Shared library runtime path variable.
22128 runpath_var=$runpath_var
22130 # Shared library path variable.
22131 shlibpath_var=$shlibpath_var
22133 # Is shlibpath searched before the hard-coded library search path?
22134 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
22136 # Format of library name prefix.
22137 libname_spec=$lt_libname_spec
22139 # List of archive names. First name is the real one, the rest are links.
22140 # The last name is the one that the linker finds with -lNAME
22141 library_names_spec=$lt_library_names_spec
22143 # The coded name of the library, if different from the real name.
22144 soname_spec=$lt_soname_spec
22146 # Permission mode override for installation of shared libraries.
22147 install_override_mode=$lt_install_override_mode
22149 # Command to use after installation of a shared archive.
22150 postinstall_cmds=$lt_postinstall_cmds
22152 # Command to use after uninstallation of a shared archive.
22153 postuninstall_cmds=$lt_postuninstall_cmds
22155 # Commands used to finish a libtool library installation in a directory.
22156 finish_cmds=$lt_finish_cmds
22158 # As "finish_cmds", except a single script fragment to be evaled but
22160 finish_eval=$lt_finish_eval
22162 # Whether we should hardcode library paths into libraries.
22163 hardcode_into_libs=$hardcode_into_libs
22165 # Compile-time system search path for libraries.
22166 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
22168 # Run-time system search path for libraries.
22169 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
22171 # Whether dlopen is supported.
22172 dlopen_support=$enable_dlopen
22174 # Whether dlopen of programs is supported.
22175 dlopen_self=$enable_dlopen_self
22177 # Whether dlopen of statically linked programs is supported.
22178 dlopen_self_static=$enable_dlopen_self_static
22180 # Commands to strip libraries.
22181 old_striplib=$lt_old_striplib
22182 striplib=$lt_striplib
22185 # The linker used to build libraries.
22188 # How to create reloadable object files.
22189 reload_flag=$lt_reload_flag
22190 reload_cmds=$lt_reload_cmds
22192 # Commands used to build an old-style archive.
22193 old_archive_cmds=$lt_old_archive_cmds
22195 # A language specific compiler.
22198 # Is the compiler the GNU compiler?
22201 # Compiler flag to turn off builtin functions.
22202 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
22204 # Additional compiler flags for building library objects.
22205 pic_flag=$lt_lt_prog_compiler_pic
22207 # How to pass a linker flag through the compiler.
22208 wl=$lt_lt_prog_compiler_wl
22210 # Compiler flag to prevent dynamic linking.
22211 link_static_flag=$lt_lt_prog_compiler_static
22213 # Does compiler simultaneously support -c and -o options?
22214 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
22216 # Whether or not to add -lc for building shared libraries.
22217 build_libtool_need_lc=$archive_cmds_need_lc
22219 # Whether or not to disallow shared libs when runtime libs are static.
22220 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
22222 # Compiler flag to allow reflexive dlopens.
22223 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
22225 # Compiler flag to generate shared objects directly from archives.
22226 whole_archive_flag_spec=$lt_whole_archive_flag_spec
22228 # Whether the compiler copes with passing no objects directly.
22229 compiler_needs_object=$lt_compiler_needs_object
22231 # Create an old-style archive from a shared archive.
22232 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
22234 # Create a temporary old-style archive to link instead of a shared archive.
22235 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
22237 # Commands used to build a shared archive.
22238 archive_cmds=$lt_archive_cmds
22239 archive_expsym_cmds=$lt_archive_expsym_cmds
22241 # Commands used to build a loadable module if different from building
22242 # a shared archive.
22243 module_cmds=$lt_module_cmds
22244 module_expsym_cmds=$lt_module_expsym_cmds
22246 # Whether we are building with GNU ld or not.
22247 with_gnu_ld=$lt_with_gnu_ld
22249 # Flag that allows shared libraries with undefined symbols to be built.
22250 allow_undefined_flag=$lt_allow_undefined_flag
22252 # Flag that enforces no undefined symbols.
22253 no_undefined_flag=$lt_no_undefined_flag
22255 # Flag to hardcode \$libdir into a binary during linking.
22256 # This must work even if \$libdir does not exist
22257 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
22259 # Whether we need a single "-rpath" flag with a separated argument.
22260 hardcode_libdir_separator=$lt_hardcode_libdir_separator
22262 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
22263 # DIR into the resulting binary.
22264 hardcode_direct=$hardcode_direct
22266 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
22267 # DIR into the resulting binary and the resulting library dependency is
22268 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
22269 # library is relocated.
22270 hardcode_direct_absolute=$hardcode_direct_absolute
22272 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
22273 # into the resulting binary.
22274 hardcode_minus_L=$hardcode_minus_L
22276 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
22277 # into the resulting binary.
22278 hardcode_shlibpath_var=$hardcode_shlibpath_var
22280 # Set to "yes" if building a shared library automatically hardcodes DIR
22281 # into the library and all subsequent libraries and executables linked
22283 hardcode_automatic=$hardcode_automatic
22285 # Set to yes if linker adds runtime paths of dependent libraries
22286 # to runtime path list.
22287 inherit_rpath=$inherit_rpath
22289 # Whether libtool must link a program against all its dependency libraries.
22290 link_all_deplibs=$link_all_deplibs
22292 # Set to "yes" if exported symbols are required.
22293 always_export_symbols=$always_export_symbols
22295 # The commands to list exported symbols.
22296 export_symbols_cmds=$lt_export_symbols_cmds
22298 # Symbols that should not be listed in the preloaded symbols.
22299 exclude_expsyms=$lt_exclude_expsyms
22301 # Symbols that must always be exported.
22302 include_expsyms=$lt_include_expsyms
22304 # Commands necessary for linking programs (against libraries) with templates.
22305 prelink_cmds=$lt_prelink_cmds
22307 # Commands necessary for finishing linking programs.
22308 postlink_cmds=$lt_postlink_cmds
22310 # Specify filename containing input files.
22311 file_list_spec=$lt_file_list_spec
22313 # How to hardcode a shared library path into an executable.
22314 hardcode_action=$hardcode_action
22316 # The directories searched by this compiler when creating a shared library.
22317 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
22319 # Dependencies to place before and after the objects being linked to
22320 # create a shared library.
22321 predep_objects=$lt_predep_objects
22322 postdep_objects=$lt_postdep_objects
22323 predeps=$lt_predeps
22324 postdeps=$lt_postdeps
22326 # The library search path used internally by the compiler when linking
22327 # a shared library.
22328 compiler_lib_search_path=$lt_compiler_lib_search_path
22330 # ### END LIBTOOL CONFIG
22336 cat <<\_LT_EOF
>> "$cfgfile"
22337 # AIX sometimes has problems with the GCC collect2 program. For some
22338 # reason, if we set the COLLECT_NAMES environment variable, the problems
22339 # vanish in a puff of smoke.
22340 if test "X${COLLECT_NAMES+set}" != Xset
; then
22342 export COLLECT_NAMES
22349 ltmain
="$ac_aux_dir/ltmain.sh"
22352 # We use sed instead of cat because bash on DJGPP gets confused if
22353 # if finds mixed CR/LF and LF-only lines. Since sed operates in
22354 # text mode, it properly converts lines to CR/LF. This bash problem
22355 # is reportedly fixed, but why not run on old versions too?
22356 sed '$q' "$ltmain" >> "$cfgfile" \
22357 ||
(rm -f "$cfgfile"; exit 1)
22359 if test x
"$xsi_shell" = xyes
; then
22360 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
22364 \ */*) func_dirname_result="${1%/*}${2}" ;;\
22365 \ * ) func_dirname_result="${3}" ;;\
22367 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
22368 && mv -f "$cfgfile.tmp" "$cfgfile" \
22369 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22370 test 0 -eq $? || _lt_function_replace_fail
=:
22373 sed -e '/^func_basename ()$/,/^} # func_basename /c\
22376 \ func_basename_result="${1##*/}"\
22377 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
22378 && mv -f "$cfgfile.tmp" "$cfgfile" \
22379 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22380 test 0 -eq $? || _lt_function_replace_fail
=:
22383 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
22384 func_dirname_and_basename ()\
22387 \ */*) func_dirname_result="${1%/*}${2}" ;;\
22388 \ * ) func_dirname_result="${3}" ;;\
22390 \ func_basename_result="${1##*/}"\
22391 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
22392 && mv -f "$cfgfile.tmp" "$cfgfile" \
22393 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22394 test 0 -eq $? || _lt_function_replace_fail
=:
22397 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
22400 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
22401 \ # positional parameters, so assign one to ordinary parameter first.\
22402 \ func_stripname_result=${3}\
22403 \ func_stripname_result=${func_stripname_result#"${1}"}\
22404 \ func_stripname_result=${func_stripname_result%"${2}"}\
22405 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
22406 && mv -f "$cfgfile.tmp" "$cfgfile" \
22407 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22408 test 0 -eq $? || _lt_function_replace_fail
=:
22411 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
22412 func_split_long_opt ()\
22414 \ func_split_long_opt_name=${1%%=*}\
22415 \ func_split_long_opt_arg=${1#*=}\
22416 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
22417 && mv -f "$cfgfile.tmp" "$cfgfile" \
22418 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22419 test 0 -eq $? || _lt_function_replace_fail
=:
22422 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
22423 func_split_short_opt ()\
22425 \ func_split_short_opt_arg=${1#??}\
22426 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
22427 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
22428 && mv -f "$cfgfile.tmp" "$cfgfile" \
22429 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22430 test 0 -eq $? || _lt_function_replace_fail
=:
22433 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
22437 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
22438 \ *) func_lo2o_result=${1} ;;\
22440 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
22441 && mv -f "$cfgfile.tmp" "$cfgfile" \
22442 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22443 test 0 -eq $? || _lt_function_replace_fail
=:
22446 sed -e '/^func_xform ()$/,/^} # func_xform /c\
22449 func_xform_result=${1%.*}.lo\
22450 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
22451 && mv -f "$cfgfile.tmp" "$cfgfile" \
22452 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22453 test 0 -eq $? || _lt_function_replace_fail
=:
22456 sed -e '/^func_arith ()$/,/^} # func_arith /c\
22459 func_arith_result=$(( $* ))\
22460 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
22461 && mv -f "$cfgfile.tmp" "$cfgfile" \
22462 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22463 test 0 -eq $? || _lt_function_replace_fail
=:
22466 sed -e '/^func_len ()$/,/^} # func_len /c\
22469 func_len_result=${#1}\
22470 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
22471 && mv -f "$cfgfile.tmp" "$cfgfile" \
22472 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22473 test 0 -eq $? || _lt_function_replace_fail
=:
22477 if test x
"$lt_shell_append" = xyes
; then
22478 sed -e '/^func_append ()$/,/^} # func_append /c\
22481 eval "${1}+=\\${2}"\
22482 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
22483 && mv -f "$cfgfile.tmp" "$cfgfile" \
22484 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22485 test 0 -eq $? || _lt_function_replace_fail
=:
22488 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
22489 func_append_quoted ()\
22491 \ func_quote_for_eval "${2}"\
22492 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
22493 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
22494 && mv -f "$cfgfile.tmp" "$cfgfile" \
22495 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22496 test 0 -eq $? || _lt_function_replace_fail
=:
22499 # Save a `func_append' function call where possible by direct use of '+='
22500 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
22501 && mv -f "$cfgfile.tmp" "$cfgfile" \
22502 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22503 test 0 -eq $? || _lt_function_replace_fail
=:
22505 # Save a `func_append' function call even when '+=' is not available
22506 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
22507 && mv -f "$cfgfile.tmp" "$cfgfile" \
22508 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22509 test 0 -eq $? || _lt_function_replace_fail
=:
22512 if test x
"$_lt_function_replace_fail" = x
":"; then
22513 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
22514 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
22518 mv -f "$cfgfile" "$ofile" ||
22519 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
22523 cat <<_LT_EOF >> "$ofile"
22525 # ### BEGIN LIBTOOL TAG CONFIG: CXX
22527 # The linker used to build libraries.
22530 # How to create reloadable object files.
22531 reload_flag=$lt_reload_flag_CXX
22532 reload_cmds=$lt_reload_cmds_CXX
22534 # Commands used to build an old-style archive.
22535 old_archive_cmds=$lt_old_archive_cmds_CXX
22537 # A language specific compiler.
22538 CC=$lt_compiler_CXX
22540 # Is the compiler the GNU compiler?
22543 # Compiler flag to turn off builtin functions.
22544 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
22546 # Additional compiler flags for building library objects.
22547 pic_flag=$lt_lt_prog_compiler_pic_CXX
22549 # How to pass a linker flag through the compiler.
22550 wl=$lt_lt_prog_compiler_wl_CXX
22552 # Compiler flag to prevent dynamic linking.
22553 link_static_flag=$lt_lt_prog_compiler_static_CXX
22555 # Does compiler simultaneously support -c and -o options?
22556 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
22558 # Whether or not to add -lc for building shared libraries.
22559 build_libtool_need_lc=$archive_cmds_need_lc_CXX
22561 # Whether or not to disallow shared libs when runtime libs are static.
22562 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
22564 # Compiler flag to allow reflexive dlopens.
22565 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
22567 # Compiler flag to generate shared objects directly from archives.
22568 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
22570 # Whether the compiler copes with passing no objects directly.
22571 compiler_needs_object=$lt_compiler_needs_object_CXX
22573 # Create an old-style archive from a shared archive.
22574 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
22576 # Create a temporary old-style archive to link instead of a shared archive.
22577 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
22579 # Commands used to build a shared archive.
22580 archive_cmds=$lt_archive_cmds_CXX
22581 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
22583 # Commands used to build a loadable module if different from building
22584 # a shared archive.
22585 module_cmds=$lt_module_cmds_CXX
22586 module_expsym_cmds=$lt_module_expsym_cmds_CXX
22588 # Whether we are building with GNU ld or not.
22589 with_gnu_ld=$lt_with_gnu_ld_CXX
22591 # Flag that allows shared libraries with undefined symbols to be built.
22592 allow_undefined_flag=$lt_allow_undefined_flag_CXX
22594 # Flag that enforces no undefined symbols.
22595 no_undefined_flag=$lt_no_undefined_flag_CXX
22597 # Flag to hardcode \$libdir into a binary during linking.
22598 # This must work even if \$libdir does not exist
22599 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
22601 # Whether we need a single "-rpath" flag with a separated argument.
22602 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
22604 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
22605 # DIR into the resulting binary.
22606 hardcode_direct=$hardcode_direct_CXX
22608 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
22609 # DIR into the resulting binary and the resulting library dependency is
22610 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
22611 # library is relocated.
22612 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
22614 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
22615 # into the resulting binary.
22616 hardcode_minus_L=$hardcode_minus_L_CXX
22618 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
22619 # into the resulting binary.
22620 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
22622 # Set to "yes" if building a shared library automatically hardcodes DIR
22623 # into the library and all subsequent libraries and executables linked
22625 hardcode_automatic=$hardcode_automatic_CXX
22627 # Set to yes if linker adds runtime paths of dependent libraries
22628 # to runtime path list.
22629 inherit_rpath=$inherit_rpath_CXX
22631 # Whether libtool must link a program against all its dependency libraries.
22632 link_all_deplibs=$link_all_deplibs_CXX
22634 # Set to "yes" if exported symbols are required.
22635 always_export_symbols=$always_export_symbols_CXX
22637 # The commands to list exported symbols.
22638 export_symbols_cmds=$lt_export_symbols_cmds_CXX
22640 # Symbols that should not be listed in the preloaded symbols.
22641 exclude_expsyms=$lt_exclude_expsyms_CXX
22643 # Symbols that must always be exported.
22644 include_expsyms=$lt_include_expsyms_CXX
22646 # Commands necessary for linking programs (against libraries) with templates.
22647 prelink_cmds=$lt_prelink_cmds_CXX
22649 # Commands necessary for finishing linking programs.
22650 postlink_cmds=$lt_postlink_cmds_CXX
22652 # Specify filename containing input files.
22653 file_list_spec=$lt_file_list_spec_CXX
22655 # How to hardcode a shared library path into an executable.
22656 hardcode_action=$hardcode_action_CXX
22658 # The directories searched by this compiler when creating a shared library.
22659 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
22661 # Dependencies to place before and after the objects being linked to
22662 # create a shared library.
22663 predep_objects=$lt_predep_objects_CXX
22664 postdep_objects=$lt_postdep_objects_CXX
22665 predeps=$lt_predeps_CXX
22666 postdeps=$lt_postdeps_CXX
22668 # The library search path used internally by the compiler when linking
22669 # a shared library.
22670 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
22672 # ### END LIBTOOL TAG CONFIG: CXX
22676 "default-1":C
) case "$CONFIG_FILES" in *po
/Makefile.
in*)
22677 sed -e "/POTFILES =/r po/POTFILES" po
/Makefile.
in > po
/Makefile
22680 if ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev
/null
; then
22681 as_fn_error $?
"po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
22683 rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
22688 '"s|^| $ac_top_srcdir/|" \
22689 "$srcdir/po/POTFILES.in" |
sed '$!s/$/ \\/' >"po/POTFILES"
22691 sed '/^POTFILES =/,/[^\\]$/ {
22695 ' "po/Makefile.in" >"po/Makefile"
22696 rm -f "po/Makefile.tmp"
22697 mv "po/stamp-it.tmp" "po/stamp-it"
22706 ac_clean_files
=$ac_clean_files_save
22708 test $ac_write_fail = 0 ||
22709 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
22712 # configure is writing to config.log, and then calls config.status.
22713 # config.status does its own redirection, appending to config.log.
22714 # Unfortunately, on DOS this fails, as config.log is still kept open
22715 # by configure, so config.status won't be able to write to it; its
22716 # output is simply discarded. So we exec the FD to /dev/null,
22717 # effectively closing config.log, so it can be properly (re)opened and
22718 # appended to by config.status. When coming back to configure, we
22719 # need to make the FD available again.
22720 if test "$no_create" != yes; then
22722 ac_config_status_args
=
22723 test "$silent" = yes &&
22724 ac_config_status_args
="$ac_config_status_args --quiet"
22726 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
22728 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22729 # would make configure fail if this is the last instruction.
22730 $ac_cs_success || as_fn_exit
1
22732 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
22733 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22734 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22742 Source code location: ${srcdir}
22745 Build libtransmission: yes
22746 * optimized for low-resource systems: ${enable_lightweight}
22747 * µTP enabled: ${build_utp}
22749 Build Command-Line client: ${build_cli}
22751 Build GTK+ client: ${with_gtk} (GTK+ $gtk_version)
22752 * libappindicator for an Ubuntu-style tray: ${use_libappindicator}
22754 Build Daemon: ${build_daemon}
22756 Build Mac client: ${build_mac}